Commit Graph

782 Commits

Author SHA1 Message Date
Tristan Olive 59d8c1e3c9 Drupal: Don't disable BOINC environment path overrides just because the configuration seem to be set correctly
(DBOINC-145)
2015-11-19 09:21:11 -05:00
Tristan Olive 3077f0e27d Drupal: Don't require approval of profiles for imported users who don't have profiles
(DBOINC-145)
2015-11-10 21:59:56 -05:00
Tristan Olive 57f88a1009 Drupal: Exclude Drupal admin account from BOINC integration
Since the Drupal account with UID 1 is established automatically and is not imported, it is the one account (along with the pseudo-account for anonymous users) that has no associated account in the BOINC database. Since any lookups will fail, just skip integration in this case.

(DBOINC-145)
2015-11-10 21:39:17 -05:00
Tristan Olive 8700770b9a Drupal: Add redirect handler for BOINC URLs
https://dev.gridrepublic.org/browse/DBOINCP-105
2015-11-06 02:49:47 -05:00
Tristan Olive 6f621d70c6 Drupal: Update URL transform rules
* Ignore extraneous parameters in URLs that match otherwise
* Add transform rules for results.php with userid and hosts_user.php

https://dev.gridrepublic.org/browse/DBOINCP-105
2015-11-06 01:40:22 -05:00
Tristan Olive 7ffbff6121 Drupal: Add admin interface to configure URL transform settings
Allow multiple BOINC base URLs to be specified as targets for transformation

https://dev.gridrepublic.org/browse/DBOINCP-105
2015-11-06 01:40:22 -05:00
Tristan Olive 69fe2d07f2 Drupal: Fix post counter in import process
Posts imported counter was resetting on batch loop rather than per topic, resulting in the wrong number of posts being reported in status messages as imported for a given topic

(DBOINC-145)
2015-11-06 01:40:22 -05:00
Tristan Olive 0529186c94 Drupal: Don't count special hidden container as being imported during forum import
(DBOINC-145)
2015-10-29 10:51:02 -04:00
Tristan Olive 68d4f0952d Drupal: Log case in user preference import when ignored user is not found
(DBOINC-145)
2015-10-29 10:28:37 -04:00
Tristan Olive 91b0a7c340 Drupal: Prevent content overflow due to long strings in translations on home and account pages
(https://dev.gridrepublic.org/browse/DBOINCP-218)
2015-10-22 22:26:57 -04:00
Tristan Olive 03fb0bc2c4 Drupal: Mark profiles as verified on import if already verified in BOINC
(DBOINC-136)
2015-10-19 15:26:47 -04:00
Tristan Olive 1d47227b9b Drupal: Limit username length on import
The Drupal users table definition limits username to 60 characters; on import, limit this to 56 chars, leaving room for a duplicate "tally" at the end of the string (should it be necessary)

(DBOINC-145)
2015-10-19 14:34:20 -04:00
Tristan Olive 27035e70b6 Drupal: CSS support for line wrapping in menus
Secondary and especially tertiary menus have the potential to overrun the width allotted in the layout. Allow items that exceed the width to wrap (ugly, but better than hiding them; then admins know to shorten menu titles).

(DBOINCP-205)
2015-10-19 13:20:25 -04:00
Tristan Olive 428d19f34e Drupal: Fix E_STRICT issues with PHP 5.4+ in contrib modules
Variable reference issues cause problems in PHP version higher than 5.3. The cck, content_profile, ctools, and panels modules need to be overridden to patch these issues, as no fixes are available in module releases.

(DBOINC-146)
2015-10-12 13:46:25 -04:00
Tristan Olive 42bde31896 Drupal: Add cck, content_profile, ctools, and panels modules to allow overrides
(DBOINC-146)
2015-10-12 13:46:24 -04:00
Tristan Olive fe2cf3f17e Drupal: Remove dependency on cURL from boinctranslate module
Update the boinctranslate_transifex_request() function to use drupal_http_request() rather than cURL requests to remove libcurl as a system requirement

(DBOINC-144)
2015-09-29 12:19:26 -04:00
Tristan Olive 09f2b226fb Drupal: Update stats RPC calls to fetch XML securely prior to opening it
Using drupal_http_request() followed by simplexml_load_string() supports the use of allow_url_fopen=0 in PHP config, while using simplexml_load_file() does not and is thus less secure

(DBOINC-144)
2015-09-28 15:54:12 -04:00
Tristan Olive 9d4f063eab Drupal: Add boinccore as a dependency of boincuser
(DBOINCP-215)
2015-09-28 14:10:27 -04:00
Tristan Olive 6b0b83fb79 Drupal: Fix bug in UOTD selection process
There was a SQL error in determining the users who have never been picked for UOTD (table alias was not defined, so the result was unexpected). Also, a routine has been added to lessen pool restrictions and retry, if needed.

(DBOINCP-216)
2015-09-28 14:03:09 -04:00
Tristan Olive a23bbdf4fd Drupal: Update global_search_solr feature to remove unnecessary override status
(DBOINCP-205)
2015-09-24 01:33:31 -04:00
Tristan Olive 51b3b4c06c Drupal: Clean up views definitions in user_profiles feature 2015-09-24 01:21:00 -04:00
Tristan Olive e702aa6a5f Drupal: Add text in messages panel to bts() for translation
(DBOINCP-141)
2015-09-24 01:15:51 -04:00
Tristan Olive c271e8bd86 Drupal: Adjust foundership placeholder countdown by 30 days
The countdown was using the 60 day target instead of the proper 90 day target, so it was possible for other team members to see a negative number if a user had a request open for more than 60 days

(DBOINCP-214)
2015-09-15 10:24:08 -04:00
Tristan Olive 992957dec2 Drupal: Add countdown to team foundership placeholder panel
Countdown gives the number of days until requests will be allowed again

(DBOINCP-214)
2015-09-15 08:41:09 -04:00
Tristan Olive 88be3791fc Drupal: Add missing whitespace in foundership request message
(DBOINCP-214)
2015-09-14 10:44:58 -04:00
Tristan Olive fd4356eac6 Drupal: Show foundership transfer placeholder panel
If a transfer request has been made in the last 90 days, show a message to indicate this, rather than hide the panel (which is confusing)

(DBOINCP-214)
2015-09-14 10:34:00 -04:00
Tristan Olive ae983a587d Drupal: Show notifications to team founder when there is an open transfer request
(DBOINCP-214)
2015-09-11 14:36:12 -04:00
Tristan Olive 4ae90d1f53 Drupal: Add missing function to handle manual UOTD reset
(DBOINCP-213)
2015-09-10 23:38:18 -04:00
Tristan Olive a5daa967be Drupal: Add missing BBCode and HTML Purifier variables to boinc_standard feature 2015-09-10 11:12:09 -04:00
Tristan Olive 8c19515c23 Drupal: Add menu block variables to boinc_standard feature (try to fix revert issue)
(DBOINCP-205)
2015-09-10 10:28:28 -04:00
Tristan Olive 06fda3f6cd Drupal: Add "goto" handler to map request for BOINC user ID to corresponding Drupal profile
(DBOINCP-163)
2015-09-09 19:31:28 -04:00
Tristan Olive b982a61fa2 Drupal: Link user project list items to the user's profile at that project
(DBOINCP-163)
2015-09-09 19:29:32 -04:00
Tristan Olive 77f29bdeea Drupal: Display tertiary level in main menu, as required
(DBOINCP-205)
2015-09-09 15:06:56 -04:00
Tristan Olive f16aacda02 Drupal: Update button label to "Force new UOTD"
(DBOINCP-213)
2015-09-09 12:29:00 -04:00
Tristan Olive 18b1df41a2 Drupal: Add admin tool to reset user of the day
(DBOINCP-213)
2015-09-09 11:24:04 -04:00
Tristan Olive c18cdfd0c2 Added shortcuts to a user's team and recent posts using redirects (transparent path aliases would not be easy; "me aliases" module does not seem to work with Views)
(DBOINCP-146)
2015-09-02 15:43:06 -04:00
Tristan Olive e0e2c9cbad Normalized line breaks (CRLF->LF) 2015-08-14 10:37:26 -04:00
Tristan Olive 3c3768f963 Added support for edit forum preferences RPC (no passthrough to BOINC, as BOINC forum preferences are not used by Drupal). The following preferences are supported:
* avatar
* hide signatures
* signature
* post order

(DBOINCP-184)
2015-08-12 17:05:08 -04:00
Tristan Olive e2efffb5c1 Validate XML passed into am_set_info.php RPC in case BOINC does not
(DBOINCP-184)
2015-08-10 11:21:24 -04:00
Tristan Olive ee8e0202e9 Added support for create_team.php RPC; pass-through to BOINC create team methods and add corresponding node in Drupal upon success (delete BOINC record if Drupal fails to sync)
(DBOINCP-184)
2015-08-10 10:53:08 -04:00
Tristan Olive 640d87e096 Added pass-through wrapper for team_lookup.php RPC
(DBOINCP-184)
2015-08-05 17:27:04 -04:00
Tristan Olive 411d12194d Reference get_app_types() function rather than BOINC global $app_types when determining which resource preferences to display
(DBOINCP-202)
2015-07-29 13:45:24 -04:00
Tristan Olive 6267f85d98 Point "new topic" link to the forum just like the forum name
(DBOINCP-208)
2015-07-28 22:42:57 -04:00
Tristan Olive bf19ab7c7e Updated task and computers pages on account to redirect to the login page when needed
(DBOINCP-207)
2015-07-27 14:11:24 -04:00
Tristan Olive 8a53a59855 Merge branch 'drupal-generic' of gitmaster.atlas.aei.uni-hannover.de:einsteinathome/drupal-boinc into drupal-generic 2015-07-27 13:00:03 -04:00
Tristan Olive 113deb13b0 Apply HTML purifier filter on input before BBCode filter so that BBCode output isn't filtered out 2015-07-27 12:58:28 -04:00
Oliver Bock ca67b654f5 Normalized line breaks (CRLF->LF) 2015-07-24 10:08:20 +02:00
Tristan Olive f7104c7929 Change require_boinc() call to reflect changes to BOINC code (require boinc_db.inc directly, not db.inc, in order to access BoincUser())
(DBOINCP-204)
2015-07-24 00:57:16 -04:00
Oliver Bock 47b4f92fe0 Normalized line breaks (CRLF->LF) 2015-07-22 16:09:57 +02:00
Tristan Olive 793b60f5a8 Fixed triggers to flag profile content for moderation
Triggers on image fields in particular were not working right at all. Replaced canned "field has value" or "field has been changed" triggers with custom PHP to check image fid field. Also updated field_background, field_options, and field_url triggers on new profiles to just check that they are not null to flag the profile

(DBOINCP-102)
2015-07-21 17:54:57 -04:00