Commit Graph

816 Commits

Author SHA1 Message Date
Tristan Olive 61b2f581ab Drupal: Add php-format flag to all translation strings in .po output
https://dev.gridrepublic.org/browse/DBOINCP-222
2016-03-31 22:50:58 -04:00
Tristan Olive a3f1b9e2c3 Drupal: Clean out unnecessary debug info
https://dev.gridrepublic.org/browse/DBOINCP-222
2016-03-31 09:48:59 -04:00
Tristan Olive 52e38291fa Drupal: Set bts() context for "Home" preference set
Designating a translation context allows this string to have a different translation than the "Home" menu

https://dev.gridrepublic.org/browse/DBOINCP-222
2016-03-31 09:48:59 -04:00
Tristan Olive a132f5f350 Drupal: Add context support to translation strings
On import and export of strings, support context functionality so that strings can have alternate translations in different contexts
* Replace _locale_export_po_generate() with a boinctranslate version that adds msgctxt to strings
* Add translation tools to download BOINC and project-specific .pot files (for manual import to Transifex)
* When importing strings, look up by location in addition to source and textgroup

https://dev.gridrepublic.org/browse/DBOINCP-222
2016-03-31 09:48:59 -04:00
Tristan Olive c734b6e2d4 Drupal: Remove pre-defined project-specific translation resource
Require that at least one project-specific resource be provided in Transifex settings and set the first one given as the target for translation exports

https://dev.gridrepublic.org/browse/DBOINCP-222
2016-03-30 02:50:00 -04:00
Oliver Bock de82430656 Drupal: fix reference (regression in 71831ee6) 2016-03-10 14:35:01 +01:00
Tristan Olive 0d278e0abf Drupal: Couple translation import logging to debug flag
https://dev.gridrepublic.org/browse/DBOINCP-235
2016-03-10 00:12:34 -05:00
Tristan Olive 423714b3c0 Drupal: "Install official BOINC languages" tool update
* Automatically enable languages imported from Transifex
* Disable languages that exist locally but not in Transifex

https://dev.gridrepublic.org/browse/DBOINCP-233
2016-03-09 23:45:06 -05:00
funkydude 71831ee639 Expand usage of HTTPS and fix a few URLs 2016-03-08 20:04:28 +00:00
Tristan Olive 93eadb036f Drupal: Add progress logging for translation import
https://dev.gridrepublic.org/browse/DBOINCP-235
2016-03-02 16:15:01 -05:00
Tristan Olive bc38aa452a Drupal: Update private message submodule version string format
Fix privatemsg submodules to support Drush 7 and 8 as well

https://dev.gridrepublic.org/browse/DBOINCP-227
2016-02-18 10:14:41 -05:00
Tristan Olive 53b1d04b0f Drupal: Update overridden module version string format
In order to support Drush 7 and 8, rearrange the version string so that "-dev" is at the end

https://dev.gridrepublic.org/browse/DBOINCP-227
2016-02-18 00:21:49 -05:00
Tristan Olive d90865704e Drupal: Add fallback support for locale flags
Not every locality has a flag in the theme, so fall back to the language code if the specific region is not found (i.e. use "fr.png" for fr-CA if "fr-ca.png" does not exist)

https://dev.gridrepublic.org/browse/DBOINCP-191
2016-02-12 15:33:01 -05:00
Tristan Olive e12a539b61 Drupal: Match case insensitive / longest prefix in language negotiation
https://dev.gridrepublic.org/browse/DBOINCP-191
2016-02-12 00:02:24 -05:00
Tristan Olive 13cca13640 Drupal: Disable autocomplete on account name/pw fields (HTML5)
https://dev.gridrepublic.org/browse/DBOINCP-230
2016-02-06 23:17:55 -05:00
Tristan Olive 8aa2b43bd5 Drupal: Update customized contrib modules
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

https://dev.gridrepublic.org/browse/DBOINCP-227
2016-01-28 01:41:42 -05:00
Tristan Olive 6de723f6ed Drupal: E_STRICT issues fixed upstream for panels module
This module no longer needs to be overridden as of version 6.x-3.11

https://dev.gridrepublic.org/browse/DBOINCP-227
2016-01-22 14:44:54 -05:00
Tristan Olive 23c9362961 Drupal: E_STRICT issues fixed upstream for ctools module
This module no longer needs to be overridden as of version 6.x-1.15

https://dev.gridrepublic.org/browse/DBOINCP-227
2016-01-22 14:40:37 -05:00
Tristan Olive af85bd4e13 Drupal: Clean up boinc_standard feature module
Recreated the boinc_standard feature to get rid of pointless overrides that cannot be reverted, specifically in bbcode and htmlpurifier filters
2016-01-22 14:09:23 -05:00
Tristan Olive 5914657e19 Drupal: Add configuration for handling comments on page nodes 2016-01-22 14:09:23 -05:00
Tristan Olive e06311e3e7 Drupal: Add user search capability to admin interface
https://dev.gridrepublic.org/browse/DBOINCP-228
2016-01-22 14:09:23 -05:00
Tristan Olive 3547758089 Drupal: Remove the Top Users view from boinc_standard
This view is also defined in the work_and_host_stats feature module, which is the more appropriate container
2016-01-22 14:09:22 -05:00
Tristan Olive fc2778c074 Drupal: Add support for image captions in WYSIWYG content editor
https://dev.gridrepublic.org/browse/DBOINCP-221
2016-01-22 00:09:09 -05:00
Tristan Olive 754893810d Drupal: Add workaround for conflict between language negotiation and page cache
This avoids a situation where pages could be cached in arbitrary languages for URLs without a language prefix. If a non-default language is negotiated by the browser when browsing anonymously, the user is redirected to a language prefixed version of the page.

https://dev.gridrepublic.org/browse/DBOINCP-191
2016-01-19 15:12:29 -05:00
Tristan Olive 6fc49eb833 Drupal: Revert to using t() on maintenance page template, as bts() may be undefined if DB is inaccessible
(DBOINCP-226)
2016-01-16 00:31:21 -05:00
Tristan Olive c9d933e5d1 Drupal: Update customized modules
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-227)
2016-01-16 00:01:54 -05:00
Tristan Olive 45dca9cb83 Drupal: Grant image upload ability to content editors
Users responsible for content management need to be able to upload images. The IMCE module enables this functionality, but only the superuser (uid 1) was granted this ability. Establish an IMCE profile for content editors.

https://dev.gridrepublic.org/browse/DBOINCP-221
2016-01-13 23:34:28 -05:00
Tristan Olive d0f6ef973b Drupal: Support old and new forum post URL formats in transform
The URL transform function already converted old style BOINC post URLs that used anchor references, but now also converts URLs in the newer format that uses the postid parameter

(https://dev.gridrepublic.org/browse/DBOINCP-105)
2015-12-17 11:37:28 -05:00
Tristan Olive 1568553637 Drupal: Override "Home" menu item to use translations
The Home menu is baked into Drupal and thus seems reluctant to accept translations from bts(); override the menu template to force the use of translations as available

(DBOINCP-222)
2015-12-15 23:03:04 -05:00
Tristan Olive ea3bee5f50 Drupal: Change log message in failure case of post import
In order for the import of a topic's posts to fail, zero posts must have been imported; therefore, there is no reason to report that zero posts have been imported

(DBOINC-145)
2015-12-10 12:07:27 -05:00
Tristan Olive a1445ef791 Drupal: Remove unnecessary warnings when importing posts of topics with no replies
(DBOINC-145)
2015-12-09 23:36:43 -05:00
Tristan Olive 468c9ed213 Drupal: Delineate database failures in topic import
(DBOINC-145)
2015-12-08 11:06:38 -05:00
Tristan Olive 276599e0c2 Drupal: Post import counter revisions
* Join BOINC thread table to post table during post import for consistency with the topic import process
* Sort posts by id rather than timestamp in post import batch
* Removed tracking of invalid topics in post import

(DBOINC-145)
2015-12-08 11:06:38 -05:00
Tristan Olive c13c78044c Drupal: Revised post import process to count topics with no replies and topics without associated posts
(DBOINC-145)
2015-11-23 04:50:00 -05:00
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