Commit Graph

1000 Commits

Author SHA1 Message Date
Shawn Kwang a7010ec15b Drupal: Add Join a Team link to account dashboard.
https://dev.gridrepublic.org/browse/DBOINCP-417
2017-12-21 09:05:46 -06:00
Shawn Kwang f7f5db1da7 Drupal: Unbanned users set role 'community member'.
Fixed bug returning a previously banned user to the role 'community member'.

https://dev.gridrepublic.org/browse/DBOINCP-416
2017-11-21 11:32:49 -06:00
Shawn Kwang 90d3302219 Drupal: Fixed bug in autocomplete function.
Part of https://dev.gridrepublic.org/browse/DBOINCP-328
2017-11-13 10:14:18 -06:00
Tristan Olive 94984795e4 Drupal: Minor reorganization of team management panel
* Move code that constructs a link to PM all team members inside of the module_exists() block, since privatemsg_get_link() will fail if the module is not enabled
* Make "View member list" a link rather than a label and move it down in the list for asthetic reasons
* Move the "Edit team info" link up in the list, since it is more commonly used than "Change founder", "Remove team", etc.
* Remove the "Send member private message" column from assorted team views, since it is not relevant in most contexts and the functionality is easily accessed via the user profile page otherwise
2017-11-09 12:38:44 -05:00
Tristan Olive bd78271dd1 Merge branch 'drupal_feature-team-pm-all-remove-emails' of https://github.com/drshawnkwang/boinc into drshawnkwang-drupal_feature-team-pm-all-remove-emails 2017-11-09 09:59:24 -05:00
Shawn Kwang ef521b6de2 Drupal: Removed the unused hook for the text-based members' email list from boincteam_hook.
Minor text changes to reflect that emails are no longer available to team founders.
2017-11-08 11:06:31 -06:00
Tristan Olive 6b01fb3d2d Drupal: Handle team_email_list RPC SQL error cases
* Remove explicit "drupal" database selector as it is already handled by db_set_active(); this broke the query on a system with a different name for the Drupal database
* Handle the case where a team has no members (or an invalid team ID is given); MySQL IN() cannot be empty or it will generate a SQL error

https://dev.gridrepublic.org/browse/DBOINCP-362
2017-11-08 10:52:14 -05:00
Tristan Olive dc21f1f9de Merge branch 'drupal_fix-team-email-rpc' of https://github.com/drshawnkwang/boinc into drshawnkwang-drupal_fix-team-email-rpc 2017-11-08 10:05:07 -05:00
Shawn Kwang 56a65753e6 Drupal: Removed email addresses from displayed team information. Replaced with PM team members.
Removed email addresses from team Views. Replaced with link to send the member a private message.
Added ability for team founder/admin to send a private message to all team members.

https://dev.gridrepublic.org/browse/DBOINCP-328
2017-11-06 10:40:35 -06:00
tristanolive 46e16206af
Merge pull request #2192 from drshawnkwang/drupal_fix-accountfinish-linknewwindow
Drupal: Changed moderation link to open in a new window (tab).
2017-11-02 11:02:05 -04:00
tristanolive f4a402a14a
Merge pull request #2186 from drshawnkwang/drupal_fix-privatemsg-delimiterbug-3
Drupal: Reverted code to use a comma as separated between BOINC username
2017-11-02 10:57:31 -04:00
Tristan Olive 09caf25b46 Drupal: Remove debugging code from delete profile confirmation form 2017-11-02 10:32:32 -04:00
Shawn Kwang bcb1c5af98 Drupal: Fixed minor PHP issue for Scrutinizer: needed to declare as an array. 2017-11-02 10:32:32 -04:00
Shawn Kwang e38debe68d Drupal: Added button styling to clear profile page. 2017-11-02 10:32:32 -04:00
Shawn Kwang 0fcc0337cb Drupal: Modified boinccode to present a custom node deletion page to user when clearing his/her user profile. 2017-11-02 10:32:32 -04:00
Shawn Kwang cdef592eae Drupal: Allow users to delete their own user profiles.
https://dev.gridrepublic.org/browse/DBOINCP-286
2017-11-02 10:32:32 -04:00
Shawn Kwang 88f04fe117 Drupal: Fixed minor PHP issue for Scrutinizer: declare $xml as array. 2017-11-02 08:10:47 -05:00
Shawn Kwang d10f778957 Drupal: Modified how team users' data are queried.
Replaced user_load() with separate queries into BOINC and drupal databases to build team member information.
2017-11-01 10:15:24 -05:00
Shawn Kwang 5f768bfcb5 Drupal: Removed emails returned from this RPC.
https://dev.gridrepublic.org/browse/DBOINCP-362
And
https://dev.gridrepublic.org/browse/DBOINCP-328
2017-11-01 08:27:53 -05:00
Shawn Kwang 49d5550e3c Drupal: Changed moderation link to open in a new window (tab).
https://dev.gridrepublic.org/browse/DBOINCP-395
2017-10-26 10:58:40 -05:00
Shawn Kwang dbd7c7707d Drupal: Added space between username and BOINC id in autocomplete box. 2017-10-26 10:07:57 -05:00
Shawn Kwang 6ec195ca8a Drupal: Reverted code to use a comma as separated between BOINC usernames.
https://dev.gridrepublic.org/browse/DBOINCP-411
2017-10-24 14:21:02 -05:00
tristanolive f0c38d5d60 Merge pull request #2173 from drshawnkwang/drupal_feature-solrhelp-date
Drupal: Add Search Help block.
2017-10-19 22:58:23 -04:00
Tristan Olive c8e53fd035 Merge branch 'drshawnkwang-drupal_feature-addpages-generator' 2017-10-19 22:43:46 -04:00
Tristan Olive 022a825e49 Drupal: Fix wording in page generator help message 2017-10-19 22:40:06 -04:00
tristanolive c5707ec3c9 Merge pull request #2169 from drshawnkwang/drupal_fix-privatemsg-delimiterbug-2
Drupal: Delimiter changed to space.

This is being merged as an improvement to using commas, which may conflict with usernames and cause unexpected behavior (sending to the wrong user, etc.). However, further work is needed for usability; it's quite confusing visually that non-breaking spaces are in user names and regular spaces are used as the delimiter, since they look the same.
2017-10-19 22:10:32 -04:00
Shawn Kwang 0d4647c042 Drupal: Addd bts() function calls to text.
Added documentation, removed unused function.
2017-10-17 09:37:31 -05:00
Shawn Kwang b0c4a1b97b Drupal: Added Search Help block to search pages.
Search Help block added via a separate modue: boinc_solr_search, which contains customiations to the solr search functionality for BOINC.
Also modified date format to use consistent date.

https://dev.gridrepublic.org/browse/DBOINCP-331
2017-10-17 09:37:30 -05:00
Shawn Kwang 1cbeb31d65 Drupal: Delimiter changed to space.
BOINC usernames may contain any character, including commas. Now when the BOINC username is loaded, spaces are replaced by UTF-8 hex code: "\xc2\xa0", non-breaking space. This allows the code to use a regular space as a delimiter between usernames.

https://dev.gridrepublic.org/browse/DBOINCP-411
part of https://dev.gridrepublic.org/browse/DBOINCP-254
2017-10-16 12:09:25 -05:00
Shawn Kwang 5934c5388e Drupal: Added moderation and rules and policies page/node to the BOINC standard page generator.
https://dev.gridrepublic.org/browse/DBOINCP-401
2017-10-16 12:08:50 -05:00
Shawn Kwang 1de898a417 Drupal: Fix moderation link on account finish landing page.
https://dev.gridrepublic.org/browse/DBOINCP-395
2017-10-16 11:49:46 -05:00
Shawn Kwang 63e325dac9 Drupal: Revert commits:
09b619bb97
62b64347f7
3fead8d9a5
c3d8d4dfcf

These four commits are associated with Pull Request (PR) 2025, topic branch drshawnkwang:drupal_feature-projprefxml-apps.

Conflicts:
	drupal/sites/default/boinc/modules/boincwork/includes/boincwork.helpers.inc
Conflict was manually fixed.

See:
https://dev.gridrepublic.org/browse/DBOINC-87
2017-10-05 10:02:53 -05:00
tristanolive f26ef90b93 Merge pull request #2144 from drshawnkwang/drupal_feature-privatemsg-useboinc-id-name
Drupal: Modified private message module to use BOINC username (and id).
2017-10-05 10:11:17 -04:00
Shawn Kwang 35a7f27c39 Drupal: Bug fixes and layout changes.
Fixed bug where users could send message to users who did not exist.
Changed autocomplete dropdown to use BOINC id in parenthesis.
Removed dpm() debugging statements.
2017-09-28 10:51:13 -05:00
tristanolive a112cd4322 Merge pull request #2091 from drshawnkwang/drupal_fix_commentlinkborder
Drupal: Fix boinc theme css
2017-09-12 15:33:51 -04:00
Shawn Kwang b32d3a0f9d Drupal: Removes extra border from comment link when user cannot post comments to the Web site. 2017-09-06 12:04:10 -05:00
Shawn Kwang 80f2aa2471 Drupal: Changed subscription links to use <ul> and <li> tags, and thus CSS classes which set the border between links. 2017-09-06 11:23:57 -05:00
Shawn Kwang 4ee2840a2b Drupal: Modified how subscribe link layout. Removed "|" for divider, use CSS for a border divider.
Part of https://dev.gridrepublic.org/browse/DBOINCP-309
2017-08-29 15:30:07 -05:00
Shawn Kwang 3d6c8c1071 Drupal: Modified private message module to use BOINC username (and id).
Private message module will now use the BOINC username (display name) in the "to" field, in the autocomplete, and in sending the email notification.
Added custom email body and other variables to private_messages Feature via strongarm.
Added field to User Profile which displays BOINC ID.

https://dev.gridrepublic.org/browse/DBOINCP-254
2017-08-28 15:50:26 -05:00
tristanolive c796f3f7e0 Merge pull request #2025 from drshawnkwang/drupal_feature-projprefxml-apps
Drupal: Changed how application list is obtained for project preferences.
2017-08-24 10:42:21 -04:00
tristanolive 4f2a9aced7 Merge pull request #2062 from drshawnkwang/drupal_use-boinc-username
Drupal: Use BOINC username in place of Drupal username
2017-08-24 10:36:16 -04:00
tristanolive 5155910727 Merge branch 'master' into drupal_feature-projprefxml-apps 2017-08-24 09:43:23 -04:00
tristanolive 902a0247f9 Merge pull request #2015 from drshawnkwang/drupal_fix-tasktablebugs2
Drupal: Fixed two bugs in task table.
2017-08-24 09:35:25 -04:00
Shawn Kwang 9071002c46 Drupal: Two minor changes to the display of usernames.
Added boinc username (display name) to Admin User Search View.
Modified admin user edit page to describe the two different usernames.
2017-08-24 08:13:37 -05:00
Shawn Kwang c3d8d4dfcf Drupal: Misc change to documentation/comment in code. 2017-08-23 11:06:56 -05:00
Shawn Kwang 3fead8d9a5 Drupal: Removed <title> element from <app_overrides> container.
Fixed some minor bugs/code issues.
2017-08-23 09:19:50 -05:00
Shawn Kwang d87b09f5fc Drupal: Minor changes to documentation and switch statement. 2017-08-23 08:51:47 -05:00
Shawn Kwang 10be0cab3b Drupal: Use BOINC username in place of Drupal username in various places.
1. Community Stats: top users list uses boinc username.
1. Account dashboard, friends block: hover/alt/title text uses boinc username.
1. User profile images: hover/alt/title text uses boinc username.

https://dev.gridrepublic.org/browse/DBOINCP-254
2017-08-22 10:03:52 -05:00
Shawn Kwang 62b64347f7 Drupla: Removed commented-out code. 2017-08-21 15:45:16 -05:00
Oliver Bock 1b4e2d1503 Drupal: D6 LTS / views
* https://dev.gridrepublic.org/browse/DBOINCP-407
* Applied SA-CONTRIB-2017-068-6.x-2.x patch
2017-08-18 15:22:33 +02:00