Commit Graph

604 Commits

Author SHA1 Message Date
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 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 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 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 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 62e8b023e6 Fixed number formatting of computer and project lists on dashboard
(DBOINCP-158)
2015-06-03 01:04:16 -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 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 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 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 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 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
Tristan Olive c096ade1a6 Reordered BOINC resources on Transifex settings form and no longer require special permission to see the Official BOINC Drupal resource setting
(DBOINCP-141)
2015-04-17 11:41:13 -04:00
Tristan Olive 8650fc3871 Added handling for HTTP 405 status when doing Transifex requests; this covers attempts to POST updates through the API when the configured user does not have permission to do so
(DBOINCP-141)
2015-04-17 11:39:12 -04:00
Tristan Olive 50bf1687b7 Do not create the official BOINC Transifex resource if it does not exist already
(DBOINCP-141)
2015-04-17 11:02:40 -04:00
Tristan Olive 8caf89cf8e Updated boinctranslate_update_official_boinc_translations() tool to use a configurable resource name
(DBOINCP-141)
2015-04-17 02:04:37 -04:00
Tristan Olive b18adf9388 Added configuration file for manually adding strings to the BOINC textgroup; this is useful if a string on a public page needs to be translated, but is not otherwise being exported to Transifex (add one string per line)
(DBOINCP-141)
2015-04-16 02:24:07 -04:00
Tristan Olive 18c2522442 Added translation tool to Update official BOINC translations from strings in the "boinc" textgroup
(DBOINCP-141)
2015-04-16 01:24:31 -04:00
Tristan Olive b29c43674a Replaced t() with bts() so that custom strings are inserted into the boinc textgroup for translation
(DBOINCP-141)
2015-04-16 00:17:52 -04:00
Tristan Olive 26df782034 Replaced t() calls with bts() to get custom strings into the boinc textgroup for translation
(DBOINCP-141)
2015-04-16 00:13:33 -04:00
Tristan Olive e2daad91fc Defined "update official BOINC translations" permission for controlling access to some translation management tools
(DBOINCP-141)
2015-04-15 23:54:03 -04:00
Tristan Olive 8d33399281 Added BOINC translation textgroup; established bts() translation function to use instead of t() to add strings to the BOINC textgroup
(DBOINCP-141)
2015-04-15 23:51:04 -04:00
Tristan Olive bb45d45990 Apply any local translations available when initializing BOINC languages or importing / refreshing translations
(DBOINCP-141)
2015-04-09 15:57:00 -04:00
Tristan Olive a16cdcf109 Converted boinctranslate import process to use batch processing (to show progress)
(DBOINCP-141)
2015-03-23 16:41:24 -04:00
Tristan Olive 12e88500fa Fixed typo in boincimport status message 2015-03-23 16:39:45 -04:00
Tristan Olive 2e9a94b60c Skip languages with no translated strings from translation export (to avoid Transifex error messages that no strings were found)
(DBOINCP-141)
2015-03-18 09:59:10 -04:00
Tristan Olive 9514abe572 Removed explicit mapping of Transifex codes to Drupal codes; rely on fuzzy matching
(DBOINCP-141)
2015-03-16 16:41:56 -04:00
Tristan Olive 0b35fae65d Add "drupal-project" resource to Project-specific resources config on translation export, if it doesn't exist already
(DBOINCP-141)
2015-03-16 16:37:29 -04:00
Tristan Olive b64ac2b039 Improved ambiguous resource update message displayed during translation export
(DBOINCP-141)
2015-03-16 16:06:17 -04:00
Tristan Olive db00eb0e35 Reordered tool buttons on Translation environment settings page
(DBOINCP-141)
2015-03-13 16:22:29 -04:00
Tristan Olive 2213a260b3 Replaced hard-coded exceptions with fuzzy mapping of POSIX locale codes to RFC5646 languages codes
(DBOINCP-141)
2015-03-12 13:14:13 -04:00
Tristan Olive 3245e6fbf9 Fixed language export request formatting
(DBOINCP-141)
2015-03-12 12:45:29 -04:00
Tristan Olive eb024cbcc7 Added Transifex-Drupal language code mappings for it, pt-br, and pt-pt
(DBOINCP-141)
2015-03-12 11:35:44 -04:00
Tristan Olive 5a6340076d Improved error message in language initialization when possibly due to Transifex account permissions
(DBOINCP-141)
2015-03-12 11:34:26 -04:00
Tristan Olive 6753c52a65 Fixed error message in language initialization
(DBOINCP-141)
2015-03-12 10:30:56 -04:00
Tristan Olive 22c9e44655 Added translation tool to export existing translations
* NOTE: NOT YET FUNCTIONAL
* Created a function for handling Transifex requests

(DBOINCP-141)
2015-03-12 02:40:48 -04:00
Tristan Olive d88477c9e2 Added tool to Install official BOINC languages in translation environment config
(DBOINCP-141)
2015-03-11 01:50:37 -04:00
Tristan Olive 7389bf9b2d Updated BOINC translation settings form
* Added fields to configure Transifex settings for BOINC project
* Added Tools section for Import translations button
* Collapse Transifex settings section when configuration is complete

(DBOINCP-141)
2015-03-10 22:42:49 -04:00
Tristan Olive dd26d1f7dc Removed repetitive notices following translation string import
(DBOINCP-141)
2015-03-04 02:44:48 -05:00
Tristan Olive 56baa82cff Overhauled translation import:
* Integrate more tightly with the Transifex API
* Accept a Transifex user name and password in the configuration
* Accept multiple project:resource tuples that define which Transifex resources to import
* Automatically import boinc:project-generic and boinc:web resources
* Import translations for all enabled languages (other than 'en')
* Import boinc resources into default, taxonomy, and views textgroups
* Import project resources into blocks, menu, and project textgroups

(DBOINCP-141)
2015-03-04 02:02:56 -05:00
Tristan Olive 0e40bb1895 Added ability to enter separate translation file URLs for project specific strings
(DBOINCP-141)
2015-02-17 02:24:38 -05:00
Tristan Olive 32ec9f1ee9 Handle JSON responses from translation file URLs
(DBOINCP-141)
2015-02-17 01:40:57 -05:00