Commit Graph

782 Commits

Author SHA1 Message Date
Tristan Olive 25944ac53c Bypass user_access check on boincuser_moderation_queue_count() when calling from cron (this may be preventing notifications from being sent to moderators, as the function is returning NULL, suggesting to cron that there are no items in the queue)
(DBOINCP-102)
2015-07-21 16:26:20 -04:00
Tristan Olive c6bdf2953a Moved team name / link to second line on Team dashboard panel
(DBOINCP-23)
2015-07-21 15:42:39 -04:00
Tristan Olive 2d8ead5f78 Set static width of the name column on Computers and Projects dashboard tables so that word wrapping matches on the headings
(DBOINCP-23)
2015-07-17 17:56:53 -04:00
Tristan Olive 1350800045 Added links to the name columns on Computers and Projects dashboard lists for consistency
(DBOINCP-23)
2015-07-17 17:43:49 -04:00
Tristan Olive 82627e5e5f Removed zip code field from triggers for profile vetting
(DBOINCP-102)
2015-07-09 19:08:38 -04:00
Tristan Olive 21acaff5cd Moved content management links in footer to account for footer message
(DBOINCP-201)
2015-07-09 01:15:49 -04:00
Tristan Olive 7511371469 Renamed "News & Blogs" menu to just "News" for now
(DBOINCP-23)
2015-07-08 10:56:42 -04:00
Tristan Olive 8820d6fb1e Merge branch 'drupal-generic' of gitmaster.atlas.aei.uni-hannover.de:einsteinathome/drupal-boinc into drupal-generic
Conflicts:
	drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc
2015-07-08 10:21:45 -04:00
Tristan Olive 8400ba720f Added reference to BOINC wiki for instructions on finding the BOINC data directory
(DBOINCP-200)
2015-07-08 10:07:39 -04:00
Oliver Bock a0d1977055 Fix and partially reverted previous commit (added link doesn't work that way) 2015-07-08 15:52:05 +02:00
Oliver Bock f9373def9c Update BOINC data path on Windows and reference the BOINC wiki just in case (DBOINCP-200) 2015-07-08 15:23:44 +02:00
Oliver Bock 3e6efe4488 Use a more fitting example :-) 2015-07-08 10:41:28 +02:00
Tristan Olive dd0190243c Added shortcut link to footer for creating content
(DBOINCP-201)
2015-07-07 22:40:26 -04:00
Tristan Olive f7fdbee893 Update and reactivate the authenticator-based login (now accessible from the forgot password page)
(DBOINCP-200)
2015-07-07 21:24:54 -04:00
Tristan Olive cc2910943f Recent updates to the wysiwyg dev module have been reviewed and found not relevant; update the datestamp so that this release no longer is deemed an update
(DBOINCP-193)
2015-07-07 18:42:13 -04:00
Tristan Olive e235d91a41 Add a configurable link in the footer to the Applications page
(DBOINCP-121)
2015-07-07 18:31:59 -04:00
Tristan Olive 00c0eea9e8 Added support for team_email_list.php RPC (uses info from Drupal and BOINC databases, but no pass-through to BOINC RPC)
(DBOINCP-184)
2015-07-02 02:12:50 -04:00
Tristan Olive 7bf789a488 Added support for forum_get_data.php RPC using Drupal data only (no pass-through support)
(DBOINCP-184)
2015-07-02 00:07:52 -04:00
Tristan Olive 0cf74df8d6 Added pass-through support for apps.php RPC
(DBOINCP-184)
2015-06-25 23:57:50 -04:00
Tristan Olive 67286068ce Added pass-through support for pending.php RPC
(DBOINCP-184)
2015-06-25 23:53:05 -04:00
Tristan Olive 62b8788695 Added support for show_user.php RPC; override pass-through data with country, URL, and has_profile status from Drupal
(DBOINCP-184)
2015-06-25 23:38:59 -04:00
Tristan Olive ffc16361f1 Added pass-through support for am_set_host_info.php RPC
(DBOINCP-184)
2015-06-25 23:27:34 -04:00
Tristan Olive 6a6c3a0515 Added support for am_set_info.php RPC; in addition to pass-through, capture changes to country, URL, and email address and update Drupal data accordingly
(DBOINCP-184)
2015-06-25 22:54:36 -04:00
Tristan Olive 79c50f0fe4 Updated subscription preferences page for consistency with dashboard pane; also link to first unread comment if there are new comments
(DBOINCP-41)
2015-06-25 21:41:47 -04:00
Tristan Olive 780010c870 Format stats in user project table to use a suffix scheme to prevent numbers from being too long and breaking the layout
(DBOINCP-197)
2015-06-25 16:41:53 -04:00
Tristan Olive 6dec366743 Changed user_activity feed to look at the node table for uid, not node_revisions; if a moderator closes a forum topic, the revision is owned by the moderator, which disconnected the original author of the post with respect to the user activity feed
(DBOINCP-198)
2015-06-25 12:04:22 -04:00
Tristan Olive 190c2e7436 Only count "posts contributed" on nodes that are published
(DBOINCP-198)
2015-06-23 11:37:48 -04:00
Tristan Olive 3f0db933e0 Fixed am_get_info RPC to use the correct uid for Drupal overrides
(DBOINCP-184)
2015-06-18 10:22:00 -04:00
Tristan Olive b57b5aed14 Added wrapper for am_get_info RPC
(DBOINCP-184)
2015-06-18 09:58:11 -04:00
Tristan Olive efb10a49cc Added wrapper for lookup_account RPC
(DBOINCP-184)
2015-06-18 09:47:46 -04:00
Tristan Olive d625dfdc6a Updated include_boinc() function to include files relative to the html subdirectory of the BOINC root
(DBOINCP-184)
2015-06-18 09:46:39 -04:00
Tristan Olive 427fd682f8 Send a notification every 24 hours to moderators if there is content awaiting moderation
(DBOINCP-102)
2015-06-17 16:16:39 -04:00
Tristan Olive 0ff232bb43 Updated the "discuss" links on the home page news widget to link to the first unread comment for the user, if applicable
(DBOINCP-167)
2015-06-12 14:13:00 -04:00
Tristan Olive ee5a484685 Updated the "discuss" links on the home page news widget to link to the first unread comment for the user, if applicable
(DBOINCP-167)
2015-06-12 14:07:46 -04:00
Tristan Olive db181f42b5 Established a function to get the first unread comment for a given user and node
(DBOINCP-167)
2015-06-12 14:06:40 -04:00
Tristan Olive 8e33b034a0 Replaced t() call with bts() in status message
(DBOINCP-141)
2015-06-12 13:14:15 -04:00
Tristan Olive 4c04dca0d5 Fixed failure to redirect to appropriate language prefix when user language preference is changed
(DBOINCP-195)
2015-06-12 13:12:35 -04:00
Tristan Olive b01962cafe Add subscription support for News items
(DBOINCP-164)
2015-06-12 11:30:26 -04:00
Tristan Olive 841ce3c6cc Fixed alignment of "You are now subscribed..." notice when subscribing / unsubscribing to a topic
(DBOINCP-41)
2015-06-12 11:10:38 -04:00
Tristan Olive b000c0944f Add a dashboard widget for subscriptions
(DBOINCP-41)
2015-06-12 10:59:33 -04:00
Tristan Olive a33c666b23 Recent updates to the wysiwyg dev module have been reviewed and found not relevant; update the datestamp so that this release no longer is deemed an update
(DBOINCP-193)
2015-06-11 14:48:21 -04:00
Tristan Olive 06530b8705 The r4032login module no longer differs locally, so this override can be removed
(DBOINCP-193)
2015-06-11 14:08:00 -04:00
Tristan Olive 76a4444b95 The Captcha module has been updated upstream to include the session re-use fix that was previously made locally; this module no longer needs to be overridden
(DBOINCP-193)
2015-06-11 13:41:30 -04:00
Tristan Olive 761d7fe715 Do not add a profile to the vetting queue if only the country field has been changed
(DBOINCP-102)
2015-06-10 01:35:29 -04:00
Tristan Olive ef45e86b61 Fixed bug that was creating detached profiles in on-demand user import (i.e. import on login)
(DBOINCP-102)
2015-06-10 00:32:24 -04:00
Tristan Olive 502137da7d Fixed user_access() call preventing moderation queue count from showing in menu
(DBOINCP-102)
2015-06-09 12:55:16 -04:00
Tristan Olive 21526a8767 Added task-name class to Task ID column of workunit and user tasks to apply CSS so that long names will be broken
(DBOINCP-29)
2015-06-09 12:32:02 -04:00
Tristan Olive b19936cf80 Link notification bubble on Account menu item to message inbox page
(DBOINCP-170)
2015-06-09 10:58:18 -04:00
Tristan Olive 19a23d3dfb Limit user of the day selection pool to users who have never been picked before (if there are any)
(DBOINCP-110)
2015-06-08 13:16:39 -04:00
Tristan Olive 597f72b3d3 Don't style platform names on home page as links (they aren't links)
(DBOINCP-110)
2015-06-08 12:21:13 -04:00
Tristan Olive 189cc3698b Implement improved designs for login and password reset forms
(DBOINCP-58)
2015-06-05 00:06:10 -04:00
Tristan Olive 7851661f25 Added wrapping of task names in task lists when names are long
(DBOINCP-29)
2015-06-04 17:48:15 -04:00
Tristan Olive c200d47a5c Standardized style of user of the day and volunteer info on home page
(DBOINCP-110)
2015-06-04 15:20:59 -04:00
Tristan Olive 20359124f7 Added speech bubble indicator of items in the moderation queue to the Moderation menu item
(DBOINCP-102)
2015-06-04 14:23:43 -04:00
Tristan Olive 04172928cd Revert "Added new mail notification icon for logged in users"
This reverts commit 7ed4ab5bad.
2015-06-04 14:20:42 -04:00
Tristan Olive 8911c32420 Added speech bubble indicator of new private messages to the Account menu item
(DBOINCP-170)
2015-06-04 14:19:40 -04:00
Tristan Olive 8c72a46627 Ensure team description info is filtered prior to output:
* Call check_markup() on description prior to saving to DB and before displaying on team page
* Fixed newline conflict between bbcode and htmlpurifier filters

(DBOINCP-135)
2015-06-04 11:14:06 -04:00
Tristan Olive befc102989 Removed explicit declaration of roles for Rich text format, as anonymous and authenticated users implies the rest (and it's the default format, anyway, so all roles have access to it)
(DBOINCP-135)
2015-06-04 09:41:31 -04:00
Tristan Olive 9654a2838d Added pager to moderation queue
(DBOINCP-102)
2015-06-04 09:22:30 -04:00
Tristan Olive 6b2500bb66 Added user of the day to front page:
* Altered boincuser database table to include uotd_time field
* Added logic to determine the current user of the day (or establish a new one, if due)
* Replaced screensaver info on front page with user of the day photo and link to profile

(DBOINCP-110)
2015-06-04 02:03:58 -04:00
Tristan Olive 6b1f9d9e50 Fixed bug preventing administrators from approving profiles
(DBOINCP-102)
2015-06-03 23:00:14 -04:00
Tristan Olive 62e8b023e6 Fixed number formatting of computer and project lists on dashboard
(DBOINCP-158)
2015-06-03 01:04:16 -04:00
Tristan Olive b33e7cfa3b Added task name to task table views
(DBOINCP-29)
2015-05-28 08:53:36 -04:00
Tristan Olive bce4340e4a Replaced task ID with name in task tables
(DBOINCP-29)
2015-05-28 08:49:12 -04:00
Tristan Olive 59005a19aa Made permissions consistent for access to profile vetting and user banning (based on 'edit any profile content' and 'assign community member role' permissions, respectively)
(DBOINCP-102)
2015-05-28 08:29:28 -04:00
Tristan Olive 6152808ee9 Added the HTMLPurifier library to the HTML Purifier module
(DBOINCP-188)
2015-05-28 07:53:05 -04:00
Tristan Olive 8688e46439 Added HTML Purifier module; this is being tracked only because it otherwise requires manual installation of the HTMLPurifier library
(DBOINCP-188)
2015-05-28 07:52:29 -04:00
Tristan Olive 8a60393c8f Added HTML Purifier to Rich Text input format; this prevents user content from breaking layouts, but still allows rich content (such as embedded images)
(DBOINCP-188)
2015-05-28 07:47:39 -04:00
Tristan Olive cc80608da1 Alter the languages.formula field to increase the length from 128 to 1024 (Belarusian plurals formula was being truncated at 128, which caused errors in export to Transifex)
(DBOINCP-141)
2015-05-22 20:58:48 -04:00
Tristan Olive ce11ffa3ca Remove duplicates from merged textgroup PO file when updating strings at Transifex
(DBOINCP-141)
2015-05-22 20:29:48 -04:00
Tristan Olive 737c481cc6 Added debug messages to Transifex request function when debug_mode is enabled
(DBOINCP-141)
2015-05-22 15:20:14 -04:00
Tristan Olive 180b95deaf Added debug mode option to Environment configuration
(DBOINCP-141)
2015-05-22 15:19:43 -04:00
Tristan Olive d704a2905c Apply input filters on Background and Opinion fields of user profiles
(DBOINCP-188)
2015-05-21 00:41:03 -04:00
Tristan Olive 7ed4ab5bad Added new mail notification icon for logged in users
(DBOINCP-170)
2015-05-20 23:17:53 -04:00
Tristan Olive a6e103b019 Added support for setting the duration of user bans and sending email notifications of bans
(DBOINCP-87)
2015-05-12 10:33:48 -04:00
Tristan Olive d670551ab3 Restrict access to user banning functions
(DBOINCP-87)
2015-05-11 21:02:51 -04:00
Tristan Olive fdd221e7a0 Be sure the correct, non-cached version of a user's profile node is loaded when approving or rejecting it
(DBOINCP-102)
2015-05-08 16:06:44 -04:00
Tristan Olive ca7e39caa6 Removed delete button from edit profile form
(DBOINCP-102)
2015-05-08 15:02:34 -04:00
Tristan Olive 3724992a20 Updated profile rejection email template to give more focus to the reason given
(DBOINCP-102)
2015-05-08 13:33:44 -04:00
Tristan Olive 56b5696f43 Use PUT instead of POST when updating project-specific resources at Transifex
(DBOINCP-141)
2015-05-07 01:20:17 -04:00
Tristan Olive c5b2e89feb Updated profile vetting process:
* Instead of just unpublishing profiles when edited, mark them as needing moderator review
* Show a banner on unvetted profiles that it is awaiting moderator approval
* Updated moderation queue to show only content marked for moderation
* Added moderation overview panel to moderator dashboard
* Hid the Edit profile link from moderators
* Replaced the Remove profile link with Reject profile link
* Added profile rejection form to allow a reason to be added for the rejection
* Send an email to the user whose profile is rejected

(DBOINCP-102)
2015-05-07 00:50:27 -04:00
Tristan Olive b22ef90ae9 Updated titles on stats pages
(DBOINCP-57)
2015-05-05 12:09:28 -04:00
Tristan Olive dbfcdbb06e Allow mailing list for moderator notification:
* Added general moderator notification rule
* Added moderator mailing list and individual notification preference to Community admin configuration form
* Updated node, comment, and user abuse flag actions to use the new moderator notification method
* Fixed bugs in comment abuse link that prevented the link from working or even appearing on the page

(DBOINCP-86)
2015-05-05 01:10:33 -04:00
Tristan Olive eb10d63ecc Added "Posts contributed" pane to user dashboard 2015-05-04 23:31:28 -04:00
Tristan Olive 2e48009139 Vetting of user profiles:
* Added rules to unpublish profiles that are added or edited
* Allow moderators permission to edit or delete any profile content
* Added Moderation menu with a queue for profile content in need of review
* Added handlers for moderators to approve, edit, or remove profile content

(DBOINCP-102)
2015-05-04 16:58:18 -04:00
Tristan Olive a5d0301141 Stats page under Community:
* Added stats overview page
* Added panes and pages for top users, computers, and teams

(DBOINCP-57)
2015-05-04 11:53:52 -04:00
Tristan Olive 6529afbc98 Disable writing of PHP errors to screen by default (only show in Drupal log)
(DBOINCP-192)
2015-04-30 14:08:27 -04:00
Tristan Olive 511a0c332e Added static content translation
* When a page node is edited, add or update the source translation of the content body
* When a page node is viewed, render the translated body, if available

(DBOINCP-141)
2015-04-30 00:44:50 -04:00
Tristan Olive f4dfa9a8e7 Added forum rules to translation
(DBOINCP-141)
2015-04-28 13:27:58 -04:00
Tristan Olive ba58bda785 Replaced t() calls with bts() in Views configuration (to enable translation of field value strings)
(DBOINCP-141)
2015-04-23 01:35:35 -04:00
Tristan Olive 51ccfd94da Replaced t() calls with bts() in Views definitions (to enable translation of labels and column headers)
(DBOINCP-141)
2015-04-23 01:28:13 -04:00
Tristan Olive e2d545e082 Add the Official BOINC Drupal resource to the list of resources to use during import of translations (import it after importing any additional configured resources)
(DBOINCP-141)
2015-04-22 11:40:03 -04:00
Tristan Olive 4c14f1c3c6 Updated description text of Additional BOINC resources field to include how additional resources relate to the official resource (official resource overrides in the event of overlap / duplicate strings)
(DBOINCP-141)
2015-04-22 11:31:51 -04:00
Tristan Olive baff82a0be Updated button labels for translation tools
(DBOINCP-141)
2015-04-22 11:20:46 -04:00
Tristan Olive e0c1a257ec Fixed bug preventing changes to Transifex auth settings
(DBOINCP-141)
2015-04-22 10:40:33 -04:00
Tristan Olive 042ccc9faa Replaced t() calls in custom modules with bts() for public (non-admin) strings
(DBOINCP-141)
2015-04-22 00:30:00 -04:00
Tristan Olive e67a3ad6f6 Replaced t() calls with bts() on site templates
(DBOINCP-141)
2015-04-21 17:15:31 -04:00
Tristan Olive 316c42fb52 Added handling for 200 OK responses in Transifex requests
(DBOINCP-141)
2015-04-17 13:05:19 -04:00
Tristan Olive 65fb1d1049 Fixed handling of unauthorized requests to update official BOINC translations
(DBOINCP-141)
2015-04-17 12:34:46 -04:00
Tristan Olive 8d13b21ee8 Do not try to update the Official BOINC resource, as this is handled by other means; only update translations
Also be sure to skip updating english translations (this was done improperly)

(DBOINCP-141)
2015-04-17 12:23:48 -04:00