Commit Graph

1535 Commits

Author SHA1 Message Date
Shawn Kwang 9af1b8242d Drupal: Added facetapt module to list of contrib/ modules.
Change version number by adding suffix boinc-1-dev.

Part of https://dev.gridrepublic.org/browse/DBOINCP-468
2019-01-28 14:10:19 -06:00
Shawn Kwang 28d5de26b9 Drupal: Modified view module info version number of timestamp. 2019-01-28 14:03:06 -06:00
Shawn Kwang 110bcf26ac Drupal: Modified panels module info version number and timestamp. 2019-01-28 14:01:51 -06:00
Shawn Kwang 1e70da9eb8 Drupal: Added jump module info version number and timestamp. 2019-01-28 14:00:21 -06:00
Shawn Kwang a179f2c3a7 Drupal: Modified flag module info version number and timestamp. 2019-01-28 13:59:43 -06:00
Shawn Kwang 7f3e19bbcb Drupal: Modified filefield info version number of timestamp. 2019-01-28 13:59:07 -06:00
Shawn Kwang 7a4c10328f Drupal: Modified elysia_cron info version number and timestamp. 2019-01-28 13:58:36 -06:00
Shawn Kwang 076abeb001 Drupal: Modified content_profile version number of timestamp. 2019-01-28 13:58:00 -06:00
Shawn Kwang 2780909ca4 Drupal: Modified cck info files with updated version numbers and timestamps. 2019-01-28 13:57:15 -06:00
Shawn Kwang e09e0305da Drupal: Updated boinc-x-dev version number and timestamps. 2019-01-28 13:42:33 -06:00
Shawn Kwang f4925f8cf6 Drupal: Add curly braces so that strings are correctly parsed.
Part of PHP 7.0 compatibility.
2019-01-28 13:36:42 -06:00
Shawn Kwang 9df1a67893 Drupal: Add tableofcontents module to contrib/ modules directory.
Change version number by adding suffix boinc-1-dev.

Part of https://dev.gridrepublic.org/browse/DBOINCP-468
2019-01-28 13:35:50 -06:00
Shawn Kwang d03bf519d8 Drupal: content_profile module - Fixed PHP old style constructor.
Part of PHP 7.0 compatibility.
2019-01-24 12:50:52 -06:00
Shawn Kwang 13e5ffb01e Drupal: ctools module - Fixed old style PHP4 constructors
Part of PHP 7.0 compatibility.
2019-01-24 12:19:53 -06:00
Shawn Kwang 4eafefe4b9 Drupal: ctools module - func_get_args() changes.
Behavior of func_get_args() has changed, added code to mimic old behavior: saving args in a variable which is passed to instances where func_get_args is needed.

Part of PHP 7.0 compatibility.

Part of https://dev.gridrepublic.org/browse/DBOINCP-468

Also see:
* https://www.drupal.org/files/issues/2018-11-26/ctools-func_get_args-3006202-4.patch
* https://www.drupal.org/project/ctools/issues/3006202
2019-01-24 12:17:43 -06:00
Shawn Kwang 6841f737d6 Drupal: panels module - Fixed old style PHP4 constructors.
Part of PHP 7.0 compatibility.

Part of https://dev.gridrepublic.org/browse/DBOINCP-468
2019-01-24 11:51:03 -06:00
Shawn Kwang 254456c51a Drupal: views module - Fixed old style PHP4 constructors.
Part of PHP 7.0 compatibility.
2019-01-24 10:56:17 -06:00
Shawn Kwang fb25a9cb91 Drupal: views module - replaced deprecated split() with preg_split(). 2019-01-24 10:56:17 -06:00
Shawn Kwang 7d58e568aa Drupal: views module - add curly braces to remove indirect access to variables.
Part of PHP 7.0 compatibility.
2019-01-24 10:56:17 -06:00
Shawn Kwang 3cba593c69 Drupal: Removed deprecated settings.
Part of PHP 7.0 compatibility.

https://dev.gridrepublic.org/browse/DBOINCP-468
2019-01-24 10:53:29 -06:00
Shawn Kwang 7fbf42d2f4 Drupal: mobile_menu_toggle module - add <php? header to template. 2019-01-24 10:48:31 -06:00
Shawn Kwang ce58fb86a5 Drupal: jump module - add curly braces to remove indirect access to variables.
Part of PHP 7.0 compatibility.
2019-01-24 10:48:31 -06:00
Shawn Kwang 9e14e0e24c Drupal: flag module - add curly braces to remove indirect access to variables.
Part of PHP 7.0 compatibility.
2019-01-24 10:48:30 -06:00
Shawn Kwang bd3fa2e9f4 Drupal: filefield module - add curly braces to remove indirect access to variables.
Part of PHP 7.0 compatibility.
2019-01-24 10:48:30 -06:00
Shawn Kwang ccc6ae6b3d Drupal: elysia_cron module - Renamed functions with double underscores to use single underscore.
Part of PHP 7.0 compatibility.
2019-01-24 10:48:30 -06:00
Shawn Kwang a43ff13967 Drupal: elysia-cron module - add curly braces to remove indirect access to variables.
Part of PHP 7.0 compatibility.
2019-01-24 10:48:30 -06:00
Shawn Kwang 6c728379dc Drupal: cck module- Add curly braces to remove indirect access to variables.
Part of PHP 7.0 compatibility.
2019-01-24 10:48:30 -06:00
Shawn Kwang 4f1dcde14b Drupal: Replace mysql_error() with mysqli_error().
Part of PHP 7.0 compatibility.
2019-01-24 10:46:32 -06:00
Shawn Kwang 9e047dddf9 Drupal: Update class constructor to be PHP7.0 compatible.
Part of PHP 7.0 compatibility.
2019-01-24 10:46:32 -06:00
Shawn Kwang b453e646cb Drupal: Removed ini setting 'safe_mode', which is deprecated.
Part of PHP 7.0 compatibility.
2019-01-24 10:46:32 -06:00
Shawn Kwang 93e5a76678 Drupal: Replace mysql_num_rows() with mysqli_num_rows().
Part of PHP 7.0 compatibility.

https://dev.gridrepublic.org/browse/DBOINCP-468
2019-01-24 10:46:31 -06:00
Shawn Kwang 72df2c0346 Drupal: Fixed PHP problem with variables in strings.
Add curly braces so that strings are correctly printed.

https://dev.gridrepublic.org/browse/DBOINCP-480

Also see the following:
https://www.drupal.org/project/ctools/issues/2635876
https://cgit.drupalcode.org/ctools/commit/?id=79bcc03ad92da09c4b11784ba06bd1d185d692e4
2019-01-16 10:14:33 -06:00
Shawn Kwang 702ba87319 Drupal: Add ctools module to contrib/ modules directory.
Change version number by adding suffix boinc-dev-1.
2019-01-16 10:02:00 -06:00
Shawn Kwang 187aebf86b Drupal: Modified email messages to remove language code.
Modified triggered rules email messages to moderators to use the URL without a language code. Use PHP evaluation to produce URI with language 'en', which corresponds to the default language, which has no language code.

https://dev.gridrepublic.org/browse/DBOINCP-463
2019-01-03 10:21:20 -06:00
Shawn Kwang 1f92d0af0c Drupal: Updated bbcode test files.
These are for copy-and-paste. No functional changes.
2018-12-06 13:18:53 -06:00
Shawn Kwang b9a169318d Drupal: Additional backport of bbcode module.
Backported bbcode filter.

Corresponds to commit: http://cgit.drupalcode.org/bbcode/commit/?id=7d0413b55c3eeb8273563ef4473734d527d7f72a

Additionally, updated bbcode help. Made a few minor edits to help as well.
2018-12-06 13:18:27 -06:00
Shawn Kwang e4791d4480 Drupal: Backport bbcode module commits.
Backported BBcode module changes, backported from upstream: http://cgit.drupalcode.org/bbcode/log/

Corresponds to the following commits:
* http://cgit.drupalcode.org/bbcode/commit/?id=cc2bb34783c67783e7f98223b9ab0c38db12ace8
* http://cgit.drupalcode.org/bbcode/commit/?id=5cccfa373b65bb0ac1912a935322352629eddaa0
* http://cgit.drupalcode.org/bbcode/commit/?id=87f51bd2a79ff740824218ff9e958458c10aa693

https://dev.gridrepublic.org/browse/DBOINCP-478
2018-12-06 11:47:56 -06:00
tristanolive 0332bb59c8
Merge pull request #2877 from drshawnkwang/drupal_fix-bbcodephp7
Drupal: Update bbcode-filter for PHP7
2018-12-06 09:51:50 -05:00
Shawn Kwang 3d0781e7cd Modified bbcode module information file. 2018-12-05 15:37:22 -06:00
Shawn Kwang bb086c4f63 Drupal: bbcode-filter update
Replace deprecated preg_replace() /e with preg_replace_callback().

Copied from http://cgit.drupalcode.org/bbcode/commit/?id=46a16e5
Part of: https://dev.gridrepublic.org/browse/DBOINCP-468
2018-12-05 15:16:36 -06:00
Juha Sointusalo a0b26dcea9 drupal: change a few "ATI" string to "AMD"
See #2063.
2018-11-25 00:09:58 +02:00
tristanolive 197ef2a324
Merge pull request #2804 from drshawnkwang/drupal_feature-consent-statsexports
Drupal: Add privacy consent options to privacy preference form.
2018-11-08 10:42:09 -05:00
tristanolive 4327824300
Merge pull request #2803 from drshawnkwang/drupal_feature-boincuser-consentenroll
Drupal: Modified boincuser to use upstream consent functions.
2018-11-08 10:40:40 -05:00
Shawn Kwang 596373df1e Drupal: Add privacy consent options to privacy preference form.
Add code to add privacy consent options from consent_type table into privacy preferences form. Form allows users to select their privacy options.

https://dev.gridrepublic.org/browse/DBOINCP-445
2018-11-06 09:12:15 -06:00
Shawn Kwang 2775fab525 Drupal: Modified boincuser to use upstream consent functions.
Change the check and set consent functions to use boinc upstream functions for consent. This is mostly for the enroll consent type.

https://dev.gridrepublic.org/browse/DBOINCP-428
2018-11-06 09:12:11 -06:00
Peppernrino 95070c01a3 Image File Compression
Ran a series of lossless compression algorithms to make the images smaller. Total reduction of ~13MB.
2018-10-29 16:27:45 -06:00
Shawn Kwang 08d95b14bf Drupal: Changed layout and style of account delete and account delete final confirmation pages.
https://dev.gridrepublic.org/browse/DBOINCP-464
2018-10-18 10:47:01 -05:00
tristanolive 734a0a3bb4
Merge pull request #2725 from drshawnkwang/drupal_feature-ignorepath-adminlist
Drupal: Add admin ability to customize the list of ignored paths.
2018-10-03 13:44:03 -04:00
tristanolive 3dc80acbe3
Merge pull request #2730 from drshawnkwang/drupal_fix-hide-forum-bug
Drupal: Fixed minor moderator forum hide bug.
2018-10-03 12:09:57 -04:00
tristanolive 8941f4cecb
Merge branch 'master' into drupal_feature-ignorepath-adminlist 2018-10-03 12:07:30 -04:00
tristanolive f0d5215b0e
Drupal: Cleaned up comment on static exemptions from ToU redirect 2018-10-03 12:05:47 -04:00
tristanolive 2a0028aed0
Drupal: Altered wording in form description for "Paths to ignore" 2018-10-03 12:02:06 -04:00
tristanolive 22e65c4ce8
Merge pull request #2724 from drshawnkwang/drupal_feature-webreg-emailvalidate
Drupal: new accounts require email validation.
2018-10-03 11:56:30 -04:00
tristanolive aeadbe4770
Merge pull request #2723 from drshawnkwang/drupal_feature-username-blacklist
Drupal: Add BOINC username blacklist
2018-10-03 11:54:52 -04:00
tristanolive 9180a8caa7
Drupal: Fixed typo in community prefs form error message 2018-10-03 11:54:08 -04:00
tristanolive 669b795a70
Merge pull request #2703 from drshawnkwang/drupal_fix-boincuser_quote-dep
Drupal: Add dependency to discussion_forum: boincuser_quote.
2018-10-03 11:39:27 -04:00
Shawn Kwang 1e6533f9cd Drupal: Fixed minor moderator forum hide bug.
Fixed bug where moderator hiding a forum topic would reach a 404 Access Denied page.

https://dev.gridrepublic.org/browse/DBOINCP-456
2018-10-02 13:02:08 -05:00
Shawn Kwang 6291abd0e5 Drupal: Add admin interface to customize the list of ignored paths.
Paths that are ignored will not require user to agree to terms-of-use before viewing. The admin may add pages/paths they want ignored, such as a privacy policy page.
Sensible defaults are provided.

https://dev.gridrepublic.org/browse/DBOINCP-457
2018-09-27 12:07:03 -05:00
Shawn Kwang 5b242342e7 Drupal: Set sensible defaults for variable blacklist if it is not defined. 2018-09-27 11:47:13 -05:00
Shawn Kwang 2e2e2774bb Revert "Drupal: Add default blacklisted names to boinc_standard Feature."
This reverts commit 4ad3308359.

Drupal: I do not want to set the blacklist in boinc_standard Feature because and customizations will override the Feature.
2018-09-27 11:38:10 -05:00
Shawn Kwang 0f73966542 Drupal: Fixed minor bug found by scrutinizer.
If preg_split() returns false, an array is still passed to array_map().
2018-09-27 09:33:00 -05:00
Shawn Kwang 4ad3308359 Drupal: Add default blacklisted names to boinc_standard Feature. 2018-09-26 12:02:21 -05:00
Shawn Kwang 8c9d383583 Drupal: Add admin option to blacklist a list of names.
Users may not choose or change their BOINC display/username to any blacklisted name.

https://dev.gridrepublic.org/browse/DBOINCP-462
2018-09-26 11:38:26 -05:00
Shawn Kwang 0808b405c0 Drupal: Add dependency to discussion_forum: boincuser_quote.
Part of
https://dev.gridrepublic.org/browse/DBOINCP-284
2018-09-20 12:49:03 -05:00
Shawn Kwang 1d07958562 Drupal: Add edit column to mdoeration queue so moderators may edit user profiles. 2018-09-20 11:38:02 -05:00
Shawn Kwang 16a0580226 Drupal: Added messages to user to inform them that user profiles require credits to create or modify. 2018-09-20 11:30:42 -05:00
Shawn Kwang 75f8091e6a Drupal: Add user profile permission.
Part of https://dev.gridrepublic.org/browse/DBOINCP-466
2018-09-20 09:36:08 -05:00
Shawn Kwang 5a68a4e2e4 Drupal: new accounts require email validation.
Changed Drupal config so new accounts require email validation. After validating their account via a one-link link they choose a password.

https://dev.gridrepublic.org/browse/DBOINCP-466
2018-09-18 13:11:14 -05:00
tristanolive ebc947f7a1
Merge pull request #2682 from drshawnkwang/drupal_fix-boincquote-module
Drupal: Added boincuser_quote module.
2018-09-12 21:14:17 -04:00
tristanolive 24b6b8ee64
Clean out a leftover line of dev code 2018-09-12 21:10:54 -04:00
Shawn Kwang 31dcdd014e Drupal: Fixed bug where upper-case letters in email address broke login.
strtolower() used on all email addresses input. All passwords are now hashed using lower-case email address.
User may chose an email with upper-case letters, but it will be saved lower-case in the project database.

https://dev.gridrepublic.org/browse/DBOINCP-461
2018-09-05 12:08:39 -05:00
Shawn Kwang e9836b4d82 Drupal: Added boincuser_quote module.
This small module does one thing: it atlers the comment form to replace the drupal username with the BOINC display name, when quoting another user in the forums.
Module weight is +1 to ensure it activates after the 'quote' module.

https://dev.gridrepublic.org/browse/DBOINCP-284
2018-09-05 11:38:27 -05:00
tristanolive bbc83f3863
Merge pull request #2656 from drshawnkwang/drupal_fix-bug-deleteacct-wording
Drupal: Fixed typo and clarified some text. No functional changes.
2018-08-30 09:33:24 -04:00
Shawn Kwang 76902e770e Drupal: Fixed bug in how new users' passwords are saved.
https://dev.gridrepublic.org/browse/DBOINCP-465
2018-08-24 16:36:01 -05:00
Shawn Kwang 28bd506422 Drupal: Fixed typo and clarified some text. No functional changes.
https://dev.gridrepublic.org/browse/DBOINCP-464
2018-08-24 09:15:30 -05:00
tristanolive 515620c9a3
Merge pull request #2649 from drshawnkwang/drupal_feature-deleteuser-improve
Drupal: Improved delete user operations.
2018-08-23 10:38:32 -04:00
tristanolive 21e544f4cf
Merge pull request #2626 from drshawnkwang/drupal_feature-forum-acl-changes
Drupal: Improve forum ACL to allow new user to post in limited forums.
2018-08-16 10:10:00 -04:00
Shawn Kwang 455dbc780e Drupal: Scrutinizer found a few bugs, which have been fixed. 2018-08-16 08:27:26 -05:00
Shawn Kwang c1e768404b Drupal: Additional changes to user delete functionality.
Added delete options to admin interface. Fixed admin interface slightly.
Moved delete functionality to helper function.
Cleaned up code.
2018-08-14 11:25:33 -05:00
Shawn Kwang 39477d65b2 Drupal: Updated boinc_standard Feature.
Account Page has selection condition, if user's status is non-zero, the page is not found.
2018-08-14 11:25:33 -05:00
Shawn Kwang b9f24ade1c Drupal: Changed user profile template.
User profile is now longer shown if user's status is non-zero. i.e. if user is blocked/disabled there is no user profile.
2018-08-14 11:25:33 -05:00
Shawn Kwang 34e607f8d9 Drupal: Improve user delete functionality with additional delete choice.
Add admin option to chose between soft and hard delete; or let user choose.
User form updated with two options: soft and hard delete. Presentation is up to admin based on admin variable.
Added additional menu path for soft delete confirmation.
Added new confirmation form for soft-delete.
Drupal user data modified for soft-delete.

https://dev.gridrepublic.org/browse/DBOINCP-452
2018-08-14 11:25:32 -05:00
Shawn Kwang 79cd8bcb76 Drupal: Minor spacing change. 2018-08-14 08:15:01 -05:00
Shawn Kwang 10699973c6 Drupal: Fixed bug where changing email would reset username.
https://dev.gridrepublic.org/browse/DBOINCP-460
2018-08-10 12:26:33 -05:00
tristanolive f245bcce36
Merge pull request #2612 from drshawnkwang/drupal_feature-boincusername-adminchange
Drupal: Allow Admin to change BOINC username of another user.
2018-08-07 01:38:10 -04:00
tristanolive 6f698c05d9
Merge pull request #2614 from drshawnkwang/drupal_fix-bug-profiletitle
Drupal: Fixed bug where profile nodes are created without a title.
2018-08-07 01:37:48 -04:00
Shawn Kwang ff39cd673c Drupal: Removed extraneous typoes in a comment. No functional changes. 2018-08-06 08:47:05 -05:00
Shawn Kwang 6d5f78bff1 Drupal: Removed Post New Topic link from team forum for those who do not have permission to post. 2018-08-02 10:29:00 -05:00
Shawn Kwang 3c46b45301 Drupal: Added CAPTCHA to comment form and forum post forum.
Moved comment-form alter code to boinccore.
Added code block to add CAPTCHA to both comment form and form post form for role='community member' only.
2018-08-02 10:27:10 -05:00
Shawn Kwang 07d488b2eb Drupal: Replaced conditional to be more clear. 2018-08-01 15:22:58 -05:00
Shawn Kwang 388e81c609 Drupal: Modified module to add feature: user may comment on own topics.
If a user has permission to create a new forum topic, s/he has permission to write comments on that forum topic only. They will not have permission to add comments elsewhere.

Feature updated with new site-wide permissions to allow 'community member' role to create forum topics and make comments.

Forum ACL will need to be set to restrict the 'community member' role to specific forums.

https://dev.gridrepublic.org/browse/DBOINCP-455
2018-07-31 14:21:54 -05:00
Shawn Kwang d94973d6a0 Drupal: Fixed bug where profile nodes are created without a title.
https://dev.gridrepublic.org/browse/DBOINCP-458
2018-07-19 11:54:46 -05:00
Shawn Kwang 6033d2d8bd Drupal: Fixed bug in community pref form.
When saving community preference form: the user_profile is loaded. If it does not exist, there should be no 'node_save()' function call, otherwise empty nodes are created.

https://dev.gridrepublic.org/browse/DBOINCP-437
2018-07-19 11:26:11 -05:00
Shawn Kwang 5385595af8 Drupal: Allow Admin to change BOINC username of another user.
User will not see this form element because only admins may access it; users may still change their username in the Community Preferences form.
Fixed some spelling errors and bts() problems.

Part of: https://dev.gridrepublic.org/browse/DBOINCP-435
2018-07-19 10:25:09 -05:00
Shawn Kwang 35ce74d93e Drupal: Fixed bug- When admin user changing email address, email sent to user contains correct time.
Part of https://dev.gridrepublic.org/browse/DBOINCP-436
2018-07-18 09:24:38 -05:00
tristanolive 28c167bdd2
Merge pull request #2601 from drshawnkwang/drupal_fix-recovery-email-path
Drupal: Add a 'menu redirect' to sent users to recover email menu path.
2018-07-16 14:26:35 -04:00
Shawn Kwang c7f61844fb Drupal: Add a 'menu redirect' to sent users to recover email menu path.
Part of https://dev.gridrepublic.org/browse/DBOINCP-436
2018-07-12 16:08:55 -05:00
Shawn Kwang 8cda423988 Drupal: Fix bug in recovery email workflow. 2018-07-12 12:40:51 -05:00
tristanolive aa6e1fac07
Merge pull request #2566 from drshawnkwang/drupal_feature-harden-email-change-2
Drupal: Harden email change procedure
2018-06-28 15:30:57 -04:00
Shawn Kwang 85fa89bc1c Drupal: Fix create_account RPC.
Buggy RPC regression introduced recently. Authenticator not returned for existing accounts.
2018-06-22 08:39:44 -05:00