Commit Graph

1579 Commits

Author SHA1 Message Date
Oliver Behnke 4c7e613333 Allow for HTTP redirects
* In case of a redirect the return code does NOT overwrite the original return code
* It's stored in the result's `redirect_code` instead, so check that as well
2021-03-10 14:06:26 +01:00
Oliver Behnke 09b7d5e80f Drupal: ignore temporary field 2021-01-11 16:58:11 +01:00
Oliver Behnke 8e3657e90c Drupal: SA-CORE-2020-007 fix for ctools
https://dev.gridrepublic.org/browse/DBOINCP-530
2020-09-17 11:04:46 +02:00
Oliver Behnke de0bac0e7d Drupal: fixed regression in df966c74
* The original commit fixed the goto/pagination for admins/mods but broke it for regular users
* We need to handle *both* user groups differently (i.e. conditionally include hidden comments)
2020-07-09 18:34:19 +02:00
brevilo 21b99d674c
Merge pull request #3573 from drshawnkwang/drupal_feature-ckeditormodulelibrary
Drupal: Add CKEditor module and library
2020-04-28 15:12:54 +02:00
brevilo 711afac999
Merge pull request #3648 from drshawnkwang/drupal_fix-missingformatting
Drupal: Fixes missing HTML format.
2020-04-28 08:09:23 +02:00
Shawn Kwang db8836a14d Drupal: Fixes missing HTML format.
Help text needs HTML format.
2020-04-27 10:45:50 -05:00
Shawn Kwang df966c7447 Drupal: Fixed bug in comment goto code.
Fixed bug in pagination where hidden comments would result in incorrect page number for the drupal goto.

Fixes: https://dev.gridrepublic.org/browse/DBOINCP-524
2020-04-27 10:26:06 -05:00
Shawn Kwang c52c9f1506 Drupal: Misc change in whitespace to fix Feature override. 2020-04-17 12:15:28 -05:00
Shawn Kwang 20fe0483dc Drupal: Changed order of input filters to get Table of Contents working.
CKEditor profile changes too because of this.
2020-04-17 11:53:20 -05:00
Shawn Kwang 14ed3c2fad Revert "Drupal: Disable table-of-contents show/hide javascript."
This reverts commit ad0cf5e83f.
2020-04-17 11:33:08 -05:00
Shawn Kwang ad0cf5e83f Drupal: Disable table-of-contents show/hide javascript. 2020-04-16 13:06:00 -05:00
Shawn Kwang 50be058462 Drupal: Added user_role file. 2020-04-16 10:57:50 -05:00
Shawn Kwang 0d2a4bcd34 Drupal: Changes to Feature boinc_standard.
Added user_roles to Feature, needed for CKEditor.
Fixed array declaration that was overriding the Feature.
Removed old wysiwyg code.
2020-04-16 10:49:03 -05:00
Shawn Kwang 98aad893c7 Drupal: Added boinc_standard Feature configuration for CKEditor.
Added user permissions and CKEditor profiles.
2020-04-06 14:40:42 -05:00
Shawn Kwang 4979f2adc2 CSS Styling for CKeditor. 2020-04-06 14:19:04 -05:00
Shawn Kwang bd3e95b5c6 Drupal: Changed Features to use ckeditor as dependency. 2020-04-06 14:19:04 -05:00
Shawn Kwang 6fd0facc25 Drupal: Patched ckeditor module
For SA-CONTRIB-2020-007

See https://www.drupal.org/project/d6lts/issues/3120661

Part of https://dev.gridrepublic.org/browse/DBOINCP-523
2020-04-06 14:19:04 -05:00
Shawn Kwang df5ed3c6ae Drupal: Added ckeditor module to contrib. Added ckeditor library.
Adds ckeditor module and JS library to drupal.

Part of https://dev.gridrepublic.org/browse/DBOINCP-523
2020-04-06 14:19:04 -05:00
Shawn Kwang 1d3bb77163 Drupal: Updated tinyMCE to v3.5.12.
https://dev.gridrepublic.org/browse/DBOINCP-523
2020-04-01 15:16:02 -05:00
Shawn Kwang 11c984940d Drupal: Removed two admin options. 2020-02-13 16:00:10 -06:00
Shawn Kwang 2c21ccb8a0 Revert "Drupal: Added two admin-mneu variables to boinc_standard Feature."
This reverts commit 2bf44c848d.

Drupal: Reverts changes to boinc_standard Feature.
2020-02-12 13:02:21 -06:00
Shawn Kwang 92fa0383c7 Drupal: Fixed issue in variable_get() found by Scrutinizer. 2020-02-07 10:41:11 -06:00
Shawn Kwang 2bf44c848d Drupal: Added two admin-mneu variables to boinc_standard Feature. 2020-02-07 09:58:58 -06:00
Shawn Kwang 01f642ba07 Drupal: Added code to print description below consent question about statistics aggregation.
Description text and link is controled by two admin-menu variables in Preferences: General.

https://dev.gridrepublic.org/browse/DBOINCP-521
2020-02-07 09:57:35 -06:00
Shawn Kwang 2aef9b3c5a Drupal: Created new div id for Captcha for password reset.
Moved the Captcha box to align with email address field.

Part of https://dev.gridrepublic.org/browse/DBOINCP-509
2019-12-18 13:09:15 -06:00
Shawn Kwang f041fcae04 Drupal: Changed weight of Captcha to move it above submit buttons.
Part of https://dev.gridrepublic.org/browse/DBOINCP-509
2019-12-11 15:18:30 -06:00
Shawn Kwang 89b196cc38 Drupal: Add ID to captcha element to theme it.
Moves the captcha box to the left for certain forms.

Part of https://dev.gridrepublic.org/browse/DBOINCP-509
2019-12-05 15:32:39 -06:00
Shawn Kwang 393f701370 Drupal: Made default flag entries identical to the flags in boinc_standard Feature. 2019-11-18 15:36:31 -06:00
Shawn Kwang e7173a27a8 Revert "Drupal: Removed flag default file as it seems to create problems with Features."
This reverts commit 8b5c760045.
2019-11-18 14:58:42 -06:00
Shawn Kwang 8b5c760045 Drupal: Removed flag default file as it seems to create problems with Features. 2019-11-13 10:14:26 -06:00
Shawn Kwang a060c2f46b Drupal: Replaced t() with bts() for translations. 2019-11-06 10:25:59 -06:00
Shawn Kwang 8b26d5f4e9 Drupal: Clean-up removed commented out block 2019-11-06 10:22:56 -06:00
Shawn Kwang 720896e164 Drupal: Fix some issues found by Scrutinizer. 2019-11-06 10:22:11 -06:00
Shawn Kwang 3308ec7c53 Drupal: Add rules for emailing moderators when comment/forum/user profile is flagged. 2019-11-06 09:34:58 -06:00
Shawn Kwang 82153c7af4 Drupal: Added CSS to style link for flag link-look-alike text. 2019-11-06 09:34:57 -06:00
Shawn Kwang 004e94d006 Drupal: Modified forum_access module to ignore nodes/forum threads that are locked.
Fixes a bug in DBOINCP-298.
2019-11-06 09:34:55 -06:00
Shawn Kwang 48a743ce0c Drupal: Changed from global user to user in $variables. 2019-11-06 09:34:52 -06:00
Shawn Kwang f30fd6c44b Drupal: Changed flags machine names to 1, 2, 3.
Modified logic when flags are locked: now user sees link as 'Locked'.
Removed flag_access function.
2019-11-06 09:34:43 -06:00
Shawn Kwang 9aff2b7fc9 Drupal: Replaced flag_abuse with new flag_abuse_reason in boinc_standard. 2019-11-06 09:34:43 -06:00
Shawn Kwang 2157fbf230 Drupal: Changed link for user profiles to new abuse_user_meta. 2019-11-06 09:34:42 -06:00
Shawn Kwang e8998e3995 Drupal: Add dropdown box to templates for flag_abuse_reason. 2019-11-06 09:34:42 -06:00
Shawn Kwang 41f46bd5ec Drupal: Add module flag_abuse_reason.
This is a 'replacement' for the flag_abuse module. It contains the feature that when a user clicks Report to flag content for abuse a drop-down with different reasons.

Note: this module must work with conjunction with BOINC theme which has the dropdown in the templates.

Part of
https://dev.gridrepublic.org/browse/DBOINCP-298
2019-11-06 09:34:41 -06:00
Shawn Kwang 3f4e67e7f4 Drupal: Add ReCaptcha to user password reset form.
https://dev.gridrepublic.org/browse/DBOINCP-509
2019-08-14 12:51:04 -05:00
Shawn Kwang cac7f95617 Drupal: Modified boinc_standard and teams Features to use the new admin parameter. 2019-04-12 14:23:51 -05:00
Shawn Kwang d9c83c9754 Drupal: Add new admin parameter to boincwork module. 2019-04-12 13:49:01 -05:00
Shawn Kwang e585b1b9f8 Drupal: Add new admin parameter to boincteam module. 2019-04-12 13:48:47 -05:00
Shawn Kwang ec8fc74a03 Drupal: Add new admin parameter to boincuser_delete module. 2019-04-12 13:48:34 -05:00
Shawn Kwang ebba31c1c4 Drupal: Add new admin parameter to boincuser module. 2019-04-12 13:48:16 -05:00
Shawn Kwang f045e97d9b Drupal: Add additional admin parameter fot admin notification mailing list subject tag. 2019-04-12 13:47:41 -05:00