Commit Graph

21186 Commits

Author SHA1 Message Date
Tristan Olive 11c86b6a74 Team forum link
Removed support for multiple team forums, giving instead a generic link to enter a single team forum

(DBOINCP-80)
2014-04-08 09:00:51 -04:00
Tristan Olive 41fde391eb BOINC account loading bug
The boincuser_load() function was expecting a drupal uid instead of a boinc user id. This has been changed to accept either, but now uses boinc id as the more logical default.

(DBOINC-133)
2014-04-07 17:50:10 -04:00
Tristan Olive acd210e71e Default content for new installs
The function to generate default site content (i.e. Help page) is not available yet when the boinccore module is first being enabled. Explicitly include the admin.inc file to ensure it is in place first.

(DBOINC-133)
2014-04-07 15:12:25 -04:00
Tristan Olive 06b42b3630 Fixed template override regression
A change to the friend page templates was too broad and broke the friend block on the account page. Renamed the template file to be more specific and only apply to friend pages.

(DBOINCP-96)
2014-04-07 11:03:05 -04:00
Tristan Olive 4d5a8389e2 Updated friends links
Since links on friend pages are in the right column, float them to the right

(DBOINCP-96)
2014-04-04 12:56:29 -04:00
Tristan Olive 971e697a13 Updated friend links
* Removed "Actions" label from friend lists
* Fixed rendering issue for "Approve | Deny" links

(DBOINCP-96)
2014-04-04 12:02:13 -04:00
Tristan Olive edeb2ed8c3 Updated friend links
Some issues were resolved with friend links:
* Use a more proper approach for determining link context by checking the flag status for a given user-friend relationship
* Set the friend link on the user profile page to be "Approve friend request" if appropriate; this prevents a user from adding someone when there is already an open approval for that person (which did not fail smoothly)
* Added templates for fields on friend pages to format links properly

(DBOINCP-96)
2014-04-04 11:36:08 -04:00
Tristan Olive 382e0425e8 Enabled moderation of team forums
* Set up general permissions for the team_forum node type
* Gave "manage boincteam forum" permission to administators
* Added forum sidebar to team page for team members, users with permission to manage team forums, or in general for teams with public forums

(DBOINCP-80)
2014-04-03 21:36:23 -04:00
Tristan Olive d600eb8118 Default disk prefs for max preset
Updated the default disk usage values for the maximum preset.

(DBOINCP-99)
2014-04-01 10:34:08 -04:00
Tristan Olive 599303333f Friend request process streamlining
The friend request process needed some polish:
* Determined contexts for different friend forms to that action buttons are appropriate (i.e. "Send request" or "Remove friend instead of a generic label)
* Added a "goto/friend-requests" URL for use in notification emails to handle login sessions automatically
* Updated friend email templates to use proper URLs, the correct user name, and less repetative text

(DBOINCP-96)
2014-03-31 11:43:58 -04:00
Tristan Olive d63759de9b Team search
Added separate Solr search page for searching teams only

(DBOINCP-59)
2014-03-31 10:08:09 -04:00
Tristan Olive dfe6f39099 User profile page tweaks
Applied the proper CSS classes to the profile container and user links.

(DBOINCP-97)
2014-03-25 13:08:09 -04:00
Tristan Olive fb7b961312 Computing preference updates
* Added descriptions to make it less confusing when "0 means no limit"
* Fixed bug in preset admin form that could break the submitter's preferences rather than update the preset

(DBOINCP-99)
2014-03-25 10:42:17 -04:00
Tristan Olive 95ac7d1a63 Captcha session re-use attack
Patched Captcha module to fix session re-use attack issue.

(DBOINCP-98)
2014-03-25 09:43:42 -04:00
Tristan Olive 3d98c63831 Captcha session re-use attack
The Captcha module has a bug that causes image uploads to a user profile to result in captcha session re-use attack error messages. A patch has been released, but the module was never updated, so it must be overridden locally.

(DBOINCP-98)
2014-03-25 09:20:44 -04:00
Tristan Olive c4f4aeeb8e Team search
* Removed team_forum content from search index
* Fixed site search title
* Hide facets for team search
* Added search form to team pages
* Fixed links on team search results

(DBOINCP-59)
2014-03-25 08:45:36 -04:00
Tristan Olive 2dcb1ecd36 Content format for new teams
Set the input format properly for new teams using the filter_default_format variable.

(DBOINCP-59)
2014-03-25 00:44:26 -04:00
Tristan Olive 362b4fd619 Team import bug
Added quotes around team import script path to handle spaces

(DBOINCP-59)
2014-03-25 00:44:04 -04:00
Tristan Olive 3b9c8132d6 Updated form buttons
The confirmation form when adding a friend had unstyled buttons:
* Added proper formatting to form control buttons
* Changed label on Send button to "Send request"
* Set link on Cancel button to go to the target user's profile

(DBOINCP-95)
2014-03-05 21:19:13 -05:00
Tristan Olive 44c91e2ac9 Comment quote preview layout bug
When quoting another comment, an inconsistency in how form buttons are defined causes the buttons to render below the quoted post rather than below the form. This has been updated to be consistent, but further caused another layout bug that would somehow move the form above the preview of the post. This has been worked around also.

(DBOINCP-93)
2014-03-04 22:46:36 -05:00
Tristan Olive 9cf15fd115 Task sort order
Updated user and host task lists to be sorted in descending order by task ID.
2014-03-03 23:59:09 -05:00
Tristan Olive 90ee41d6fe Updated form buttons
The "Create forum topic" form had unstyled buttons:
* Added proper formatting to form control buttons
* Changed label on Save button to Post topic
* Added Cancel button

(DBOINCP-94)
2014-03-03 23:54:30 -05:00
Tristan Olive 7ad8c5cbdd Update forum permissions on import
Remove permissions from the moderator role to manage hidden forums; only admin users should have this access.

(DBOINCP-91)
2014-03-03 22:02:47 -05:00
Tristan Olive 683d44245b Versions for patched contrib modules
Updated .info files for submodules of locally-patched contrib modules, which seem to affect which version is reported for the main module.
2014-02-27 15:14:01 -05:00
Tristan Olive 3fb627017c Versions for patched contrib modules
Updated datestamps on locally-patched contrib modules. When an update is available for one of these (i.e. it has a newer timestamp), it will have to be reviewed. If the local version is still needed, the timestamp of the local module can be updated again.
2014-02-27 14:43:54 -05:00
Tristan Olive f0050ab373 Merge branch 'drupal-generic' of gitmaster.atlas.aei.uni-hannover.de:einsteinathome/drupal-boinc into drupal-generic
Conflicts:
	drupal/sites/default/boinc/modules/contrib/bbcode/bbcode.info
	drupal/sites/default/boinc/modules/contrib/forum_access/forum_access.info
	drupal/sites/default/boinc/modules/contrib/privatemsg/privatemsg.info
	drupal/sites/default/boinc/modules/contrib/r4032login/r4032login.info
	drupal/sites/default/boinc/modules/contrib/wysiwyg/wysiwyg.info
2014-02-27 11:29:23 -05:00
Tristan Olive d7756a2bb5 Versions for patched contrib modules
Further added a "-dev" flag to the revision number to all contrib modules that are patched locally. This is required to prevent Drupal from assuming that the recommended release with the same major and minor version numbers should be installed. The "-dev" flag forces the update process to look at the datestamp of the module as well as the version information and uses that to determine whether a recommended release is actually newer.
2014-02-27 11:13:39 -05:00
Oliver Bock 41a0751986 Revert "Versions for patched contrib modules"
The intended goal couldn't be achieved as the Drupal update mechanism always judged our custom versions to be older than the stock ones of the same major.minor version.

This reverts commit 82779e834f.
This reverts commit 40e88c2a88.
2014-02-27 13:18:51 +00:00
Tristan Olive 82779e834f Versions for patched contrib modules
Further added a revision number to all contrib modules that are patched locally.
2014-02-26 22:29:41 -05:00
Tristan Olive 40e88c2a88 Versions for patched contrib modules
Added a "-boinc" suffix to all contrib modules that are patched locally. This allows identification of which modules are patched and also what the original version of the module was prior to patching.
2014-02-26 08:48:58 -05:00
Tristan Olive 133d20d4df Filter bug in BBcode module
The BBcode module has an unfixed bug that allows improper usage of [quote] tags to break the page output. This has been patched locally until the problem is solved by a new release.

(DBOINCP-92)
2014-02-25 12:51:46 -05:00
Tristan Olive 7dc7e33d17 Fixed credit reported on team dashboard panel
Removed the conversion to ghours, since it is not used elsewhere on the site. Also, set format to 2 decimal places there and on the team overview page.

(DBOINCP-59)
2014-02-25 10:48:40 -05:00
Tristan Olive f5685a1d57 Fixed post counts
Post and topic counts were not always adding up. Updated queries to account for topic starting posts, empty topics, and topics and posts already imported.

(DBOINCP-59)
2014-02-25 09:59:36 -05:00
Tristan Olive 576c837baf Fixed message timestamp
The timestamp variable was being referenced incorrectly, causing the template to display the unix epoch for every message.

(DBOINCP-90)
2014-02-25 08:30:27 -05:00
Tristan Olive 3ba5d691fd Fix forum privileges
The Forum Access module was incorrectly defining the rid field as INT(11) rather than INT(10) unsigned. Because INT(11) isn't actually any bigger than INT(10), dropping the unsigned declaration causes half of the available rid space to be lost.

Until the module is fixed by the maintainer, it must be overridden locally. A database update has been added to the install file to redeclare the rid field as INT(10) unsigned.

(DBOINCP-91)
2014-02-25 08:09:58 -05:00
Tristan Olive 8f7a7fe24f Team forums
Added pages for adding, editing, and viewing team forums

(DBOINCP-59)
2014-02-18 10:23:05 -05:00
Tristan Olive f79aaaac4f Import topic counts
Updated topic import messages to include better statistics on which topics were imported or skipped and why (i.e. already imported, empty, or error)

(DBOINCP-59)
2014-02-18 09:59:19 -05:00
Tristan Olive 80efeb28fe Team forum insert hook
Fixed hook to add entry to mapping table on team_forum node insert. The UID must be from the node, not the current user, in case the node is being created by a third party (i.e. during import)

(DBOINCP-59)
2014-02-18 02:23:33 -05:00
Tristan Olive e6e573da2d Private message template
Added new design for private messages and cleaned up form control buttons

(DBOINCP-89)
2014-02-18 00:22:49 -05:00
Tristan Olive 2ac57d851b Convert team email list to plain text
Added boincteam_members_email_list() callback to output an email list with content-type text/plain; disabled corresponding variant in page manager.

(DBOINCP-80)
2014-02-11 16:35:16 -05:00
Tristan Olive a2baa0892e Handling the Forum Access moderator role
A duplicate role was showing up for the special "Forum Moderator" role that the forum access module creates. The code that renames this has been improved to ensure that the role is set up and named properly when the discussion forums feature is enabled.

(DBOINCP-80)
2014-02-11 15:55:24 -05:00
Tristan Olive 963aa7d653 Update PM permissions
Do not allow administrators to view all private messages.

(DBOINCP-88)
2014-02-11 10:24:09 -05:00
Tristan Olive b1d6f2de77 Fixed missing tfid in team topic import
The call to node_save() while importing team topics was not including the tfid, so it was always being set to zero. Added this to the node_save call.

(DBOINCP-59)
2014-02-11 09:13:37 -05:00
Tristan Olive b42b4befb5 Removed old menu entry
The forum menu export is no longer needed and has caused the discussion_forums feature to be stuck in an overridden state. Just delete the menu export file for this feature.

(DBOINCP-59)
2014-02-11 09:02:12 -05:00
Tristan Olive 7e84f2fe30 Fixed forum links
Moving the forum path under "community" caused links in forum lists and breadcrumbs to be incorrect. Updated to use the new path.

(DBOINCP-59)
2014-02-11 08:49:42 -05:00
Tristan Olive 31afdb010f Team forum import
Report the actual number of teams imported, not a count of records in the boincteam table
Removed duplicate insert into boincteam_forum_node (this is handled more properly by boincteam_forum_node_insert())

(DBOINCP-59)
2014-02-10 17:17:56 -05:00
Tristan Olive 9716db2d79 Fixed Community menu contexts
Updated the Community menu to be active when viewing team forums;
Set the Message Boards submenu as active for the top level community path
2014-02-06 22:59:02 -05:00
Tristan Olive 5561b7e48b Renamed Forum vocabulary
The Forum section is labeled "Message Boards" elsewhere; changed for consistency
2014-02-06 21:53:09 -05:00
Tristan Olive d09428d57e Forum vocabulary bugfix
The incorrect variable was being saved to establish the Forum vocabulary; renamed to proper variable.
Also, fix the cleanup process to unset team forum variables.
2014-02-06 21:46:55 -05:00
Tristan Olive 0a04894995 Organize Community menu
Moved the forum link to Community -> Message Boards; enable Teams menu to be nested under this category automatically

(DBOINCP-59)
2014-02-05 23:53:37 -05:00