Commit Graph

194 Commits

Author SHA1 Message Date
Marton Kiss 7f67c8b9c1 Add absolute urls to embedded map
The embedded map /map now provides absolute urls for group pages instead
of relative ones. The map marker's title contains plain text, and the
click event on marker icon redirects to group page directly instead of
showing a balloon popup.

Change-Id: Ib4c1e35b20bc287b275b072e65369de18e574b7b
2017-08-01 13:22:41 +02:00
Sonia Ramza e883573ec7 Update how to link
The link was previously going to an old wiki page, changes it to go to right page

Change-Id: Ie390f4f9cbd2bc61cebf38ef46fb1bd0f0896589
2017-03-29 16:19:35 +11:00
Marton Kiss 98e1d18f56 Alter library search path to include commons libraries
Multi-profile inheritance not includes the base profile library
path, so this alter hook simply adds the missing path.

Change-Id: I2969085faf444d839a85dfd5002e18f30b0d3d67
2016-10-13 14:03:32 +02:00
Marton Kiss 8effe73e31 Remove forked commons modules
This change break the site, but prepares the commons profile
refactoring, where the profile will be fetched as a drupal
project and patches can be applied in a more visible way.

Change-Id: I6daa321c97511fa0e432edd86981bb5b8e819568
2016-10-12 17:15:33 +02:00
Marton Kiss 2aad953dd8 Flag module v3 patch applied to commons modules
Update Flag module to v3.9 as the 2.x branch is discontinued. The
patch 0004-accomodate-flag-v3.patch merged with local commons
modules under modules/commons directory.

SA-CONTRIB-2016-050
https://www.drupal.org/node/2793115

Change-Id: I335963fa16b66d8914071ee5c08b61849384ae6f
2016-09-29 10:17:06 +02:00
Marton Kiss 00e2b30471 Group contanct report csv dump filter by group status
The reports/group-contact-report/csv export now filterable by the
group status using the ?status parameter. The format is:

https://<baseurl>/reports/group-contact-report/csv?status=official

Valid values:
- official: filter the official groups only
- unofficial: list the non-official groups

When the status parameter is not present in the query, the
resultset will contain all the user group independenlty of
the group's status.

The reports/group-status-report also includes this url filter,
and the title contains the official status.

Change-Id: I8fcfe6e9963c8b4bbfaee6e1231acc1227ff37c7
2016-08-18 14:39:50 +02:00
Marton Kiss ffe419d1a1 Custom membership fields and reporting
Until we don't have integration for other social media tools
than meetup.com and cannot automate data fetching, this patch
adds the ability to enter the data manually by group admins.

Two fields has been added:
- group_members_source: represents the data source of group size data
- field_group_members: represents the size of the group

The reports were also updated, so the regional membership report
and membership report calculates with the aggregated membership data.

Change-Id: Id1df05e4f7181c9109a7737da4fbb8ec60fa5053
2016-08-08 18:26:37 +02:00
Marton Kiss 719d8f3a17 Fix Undefined index: und in groups_events_date_formatter_dates_alter
The date alter throw this notice when the timezone field was not
properly hold a value.

Change-Id: I59a79714fb7dc1fcfce61318ad90889cba45db18
2016-07-23 08:26:07 +02:00
Marton Kiss 72005bde95 Token based access for organizer contact report
Provide a public token based access for the organizer contact report.
Usage: https://<base-url>/reports/group-contact-report/csv?token=<token>

The token must match the value stored in the groups_contact_report_key
variable. The module also provides an admin inteface to set the
token value at Configuration > System Settings > Groups report settings
page.

Change-Id: I8742ff26fd78e8baae6743d8ca15c92a13d86bdc
2016-07-22 12:24:05 +02:00
Jenkins c10d336f40 Merge "Allow per group timezone setting" 2016-07-22 08:27:13 +00:00
Jenkins ddb7284910 Merge "Fix oauth2 user profile name construction" 2016-07-22 08:14:00 +00:00
Marton Kiss 4e7c20a449 Allow per group timezone setting
Event dates will be rendered using the custom timezone setting of the user
group instead of site defaults. This patch adds a new Timezone field to the
groups entity and alters the event date output rendering.

The tzfield module (http://drupal.org/project/tzfield) is a new dependency now.

Change-Id: If79b836e2911d13964c405793333268c716540bb
2016-07-13 11:26:45 +02:00
Marton Kiss adce279d51 Fix oauth2 user profile name construction
This patch removes the family name addition to full name and user name
of user profile when used with openstackid.org oauth2. This integration
issue resulted in duplicated last name's in user profile during
registration.

Change-Id: I952239bb442e2aa58cf29a7e45f0e9e760329f25
2016-06-28 19:02:58 +02:00
Marton Kiss 209d444c00 User profile migration tool for user name normalization
The user name and full name fields of the user profile contains
duplicated last name for newly registered users. This drush tool
helps to migrate the user profile data into a normalized format.
The duplication happened due to an integration issue between
groups portal and oauth2 service.

Usage:
  drush migrate-profiles

Change-Id: I4a2f64b93fc320448cc1b250674fb99604ebd01b
2016-06-28 18:13:24 +02:00
Jenkins 6c5fde4c9e Merge "Link group name to group URL in status report" 2016-06-28 10:40:29 +00:00
Tom Fifield 989d0de438 Link group name to group URL in status report
Status report's usefulness can be improved by making it easier to
dive into the details of why a group is lacking organisers/urls/etc

This patch links the group's name to the groups page.

Change-Id: I6ab23adc06871aca809a28d19a53d9cba2b3c133
2016-06-28 12:20:08 +02:00
Tom Fifield 997d42f5e8 Add line about funding to ambassador role
Adds a sentence to the ambassador role page on groups.o.o regarding funding

Change-Id: I8ba4edc6ab3962880495494c7dd8b8344eed675b
2016-05-30 22:20:30 +08:00
Ian Y. Choi d584cb3d17 Fix strict warning on retrieving profile images
Currently users' profile and ambassador-program pages show
"Strict warning" messages on rendering profile images.

This commit is fixing the pass reference bug,
similar to https://review.openstack.org/#/c/302634

Change-Id: Ieda5be19ea8c32fcaa948c2385be88461aa0ee5a
2016-04-10 17:09:57 +09:00
Marton Kiss ab60b7a0dd Fix strict warning on user group page
Trusty's php raised a strict warning on groups directory block rendering.
This patch is fixing the pass reference bug of Drupal's render call.

Change-Id: Idf773276708a1609881846bce9475ffdeb1db925
2016-04-07 11:49:06 +02:00
Marton Kiss 13dc22c740 Remove map panel title from home
Remove the title of map panel from the home page.

Change-Id: I7ee92121b69607049e788e4f1b0db430c1e168ff
2016-03-29 16:36:46 +02:00
Marton Kiss adef663bbc Add a standalone map page
Render an embeddable map at /map url, so it won't contain any footer
or header content.

Change-Id: I462d5d641bb96372f8a8086eacf43165fb74420a
2016-03-01 13:59:25 +01:00
Marton Kiss 69d7293ba0 Disable leaflet_more_maps module
We are no more using this module, so this patch will disable it,
and can be removed in a future release.

Change-Id: Ia641e4052faa336af90c1440ebaa0209546df037
2016-02-04 10:12:32 +01:00
Marton Kiss 9ccc63bc31 Fix broken map on frontpage
The mapbox's freely available warden map tiles was discontinued as
a product, and not accessible anymore. This patch upgrades the
leaflet_mapbox module to 1.3 and sets initial mapbox variables.
The service requires a token stored in leaflet_mapbox_token
variable.

Change-Id: Ibe6e2859c247a24cb41b78cdb39a94a1aeb498b2
2016-02-03 15:13:20 +01:00
Ian Y. Choi 3465c81195 Fixed some footer link & added news link
For consistency with www.openstack.org footer,
- api link: from api.openstack.org -> developer.o.o
- news link which is in www.openstack.org is added
- fixed CLA link to exactly reference the target page

Change-Id: Id3c48232c46b54020577b0fa02b6de4aba3d0875
2016-01-16 03:44:22 +09:00
Andreas Jaeger 46f5972b2c Use git.openstack.org everywhere
Our official git master is at git.openstack.org, update places
that use github instead.

Change-Id: Ia14f51be3f268cdc2afd2124c03e3c4850fe3f25
2015-12-29 21:28:23 +01:00
Marton Kiss 7bb8990481 Fix markdown link formatting issue
The markdown content embedded links were improperly formatted.
This patch is fixing it by an override markdown text filter
options. The filter processing order looks like that now:
- Markdown
- Convert URLs into links

Change-Id: I488d07ab0b7501e51f856317396ebf066fa958fb
2015-10-07 13:49:53 +01:00
Tom Fifield 8b7a241d51 Fix Ambassador Page wording
Wording tweaks to make the ambassador page more accessible to its
primary audience - user group leaders and community members.

Change-Id: I98481c140c6686ca814780631d4845a2aff5ba17
2015-09-15 17:15:01 +08:00
Marton Kiss 79f7599ec3 Refactor Ambassador pages layout
The new layout brings the ambassador profile closer to top of the page.

Change-Id: I61ae00d3a53dcbc5d691dce93b46388a75516289
2015-09-02 09:49:37 +02:00
Marton Kiss 079b22f2b3 Enable message email notification
Enable email notification of private messages, add a new
user/%user/message-settings form to override default
email settings for authorized users.

Change-Id: I13c629f4fbf2790d5a6fc8a1333e607a42beca3f
2015-09-01 17:04:42 +02:00
Marton Kiss 49f3f19d11 Remove duplicate declaration in groups ambassadors ask form.
groups_ambassador_get_privatemsg_recipients() declared in module only.

Change-Id: I1e75afce53fe5718719e36fac98a722239f48674
2015-09-01 12:59:16 +02:00
Marton Kiss bc02052b0e Add ambassador application form
Add an ambassador application form, registered users can apply
to the position. The submit hook will save the registration form
data to content management and invoke a notification message
to ambassadors.

Change-Id: Ia702ae80f44b1289c164dcca8e70f993b98c346f
2015-08-27 20:15:03 +02:00
Marton Kiss e40241a18c Add alternate user profile image
This patch allows to display alternate user profile pictures on
ambassador pages, instead the upload ones provided by openid.

Change-Id: Ie6d43dd90fec0a73bf2f0a5fef8cc4855957c772
2015-08-26 11:44:14 +02:00
Marton Kiss 1abb1493d7 Revert the ambassador program menu link
https://review.openstack.org/216739

Change-Id: Ic70b4c46a89746ae7e87ab8ccd06bab35a5cc8b8
2015-08-25 17:36:04 +02:00
Marton Kiss ed43e41749 Disable the Ambassador Program menu link temporarily
Hide the menu link on production site.

Change-Id: Iaa504a5b54cd734e4df48d06377190422c8ca840
2015-08-25 16:37:32 +02:00
Marton Kiss 580e5a4fd0 Implement message sending for ask the ambassador form
Send the ambassador form message to proper recipients filtered by
region. The message will be saved into Drupal's standard
messaging system. (privatemsg)

Change-Id: Ia68925c05b3c4fd21b520fd13c50995e2265ae36
2015-08-25 12:20:41 +02:00
Marton Kiss 50b402d693 Add ask the ambassadors page
Add a message form and the ask the ambassadors banner to ambassador page.

Change-Id: I7014497e12140a15ecf1426c064065001c7edf9a
2015-08-25 10:11:23 +02:00
Marton Kiss 53bcf3fc53 Add region to ambassador user profile
Add ambassador region to user profile and display next to
user name on ambassador page.

Change-Id: I6dded1fdba5548101682a5156e434940569c1bf2
2015-08-24 08:51:35 +02:00
Marton Kiss 287960bcb5 Commons twitter url display override
Override the user-user-field_twitter_url's display settings, add
profile_teaser display with groups_link_social_formatter.

Change-Id: I3eeeb5bedb28101a4a59cb66b0577cec88d1b7d3
2015-08-23 11:17:42 +02:00
Marton Kiss 69f8fcef37 Add missing user profile avatar to groups user profile module
Fix of profile view rendering issue.

Change-Id: I5d52fd30d8b97b1d6fb4f39e39442c44ca807a40
2015-08-23 08:53:00 +02:00
Marton Kiss b2ae6ce838 Ambassador pages profile images and banner update
- 300x300 scale and crop image style to profile teaser
- ambassador banner image update
- enlist layout and styling

Change-Id: Ic62094e514732afbb7d231ebcaa04a4fe4d6732b
2015-08-22 21:47:10 +02:00
Marton Kiss f9de076005 Weibo support for ambassador user profiles
Add weibo support to user profiles:
- groups_user_profile module
- add weibo url to user profile
- update of user profile's profile teaser settings

Change-Id: I98d220ada8f74e4fe72005b13a6f13aab8ed3881
2015-08-22 17:10:19 +02:00
Marton Kiss 59baa41584 Add social link to user profile on ambassador page
Display the twitter account of ambassadors on the ambassador page.
- groups_social_link formatter module for link_fields
- fontawesome iconset to support font icons (CDN version)
- update of user profiles's profile teaser display suite settings

Change-Id: Ieba3b5ff047792625fdb23fb7ab498ee355e9dfc
2015-08-22 12:51:17 +02:00
Marton Kiss b967d01702 Add groups ambassador page
The new page enlist the ambassadors and include a lead block for
ambassador program faq. New assets defined by the patch:

groups ambassador module: building blocks
  - profile teaser view mode for user entity
  - groups_ambassador_list view
  - ambassador roles block
  - ambassador selection process block
  - ambassador program faq block

groups ambassador page module: landing pages
  - ambassador program main menu
  - ambassador program page

Change-Id: I0e2d92b74c34baaff7aacb4055e9b6c2f1614e0a
2015-08-21 20:12:51 +02:00
Marton Kiss ef57ac4e26 Fix of #208953
Resolve the bug introduced in the previous patch of commons_event module.

Change-Id: I6e389f2d5bb6d956a09a9cc1c2a31034c9488f34
2015-08-05 07:53:40 +02:00
Marton Kiss 4f9e38d86f Fix RSS event feed item count in commons_events module
Regarding to changeset 206507, also need to upgrade the default
feed element count in commons_events module.

Change-Id: Iaceb8c8d84e3d656a3ebb228c66e2d2c4af76cff
2015-08-04 12:05:24 +02:00
Marton Kiss 11d664adfb RSS event feed element count update
Raise the visible upcoming event element count to 50. This change
helps to export events well advance.

Change-Id: I2351074099e2c327775a5fd4a6b4badf8809aacc
2015-07-28 13:49:59 +02:00
Marton Kiss d5e5652f28 Fix meetup event import venue field handling
The venue name was improperly saved to event entity, this patch
is fixing that. This issue was related to character encoding
problems of UG Japan event import failure.

Change-Id: I782820b7549db04ab3fdb6c8e5e6a88bfdd0c75e
Story: 2000304
2015-06-26 11:14:18 +02:00
Tom Fifield 97144356c8 Stop importing data from groups.json
Groups.JSON has fallen out of use as we successfully migrated
the majority of our community leaders to use the portal directly.

Keeping the import going is also causing some problems - eg deleted
groups coming back from the dead - so this patch disables the cron
that performs the groups.json import.

Change-Id: I62ee7001142a25598231ce098a94b4258a56c8a9
2015-06-23 17:57:57 +02:00
Marton Kiss d0534fd4cb Fix csv export notice messages on missing emails
Change-Id: I748e903e07ba8eb242aae41af72d1bdf6f5fe810
2015-04-18 10:59:22 +02:00
Marton Kiss d8d652e839 Include json imported group organizer in reports
Contact export csv now includes the contact data from json
group imports.

Change-Id: I198c3cda24c9e9f071dcbf69f6339d562c88ea77
2015-04-16 23:40:51 +02:00