Commit Graph

31 Commits

Author SHA1 Message Date
Shawn Kwang bd3e95b5c6 Drupal: Changed Features to use ckeditor as dependency. 2020-04-06 14:19:04 -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 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 263fb0bc0f Drupal: Fixed team forum CSS and other bugs
Change CSS so team forums style matches regular forums.
Fixed bugs 1) Quote did not show up as a link in the team forum starting topic,
2) When posting a new team forum topic, form links at bottom (Post Topic, Preview, Cancel) added, same format and style as regular forums,
3) Added flags (report comment/topic) to team forums.
4) Drupal report/log messages complained about a variable in template, due to PHP strict warnings. Made an intermediate variable ($imv)

https://dev.gridrepublic.org/browse/DBOINCP-314
2016-09-27 14:33:40 -05:00
Oliver Bock ca67b654f5 Normalized line breaks (CRLF->LF) 2015-07-24 10:08:20 +02:00
Tristan Olive b35eb1a9f5 Added forum_tweaks module as a dependency of the "Discussion forums" feature
(DBOINCP-156)
2014-09-11 17:47:46 -04: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 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 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 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
Tristan Olive d615899a01 Team support
Initialized support for Teams:
* Team landing page
* Team details page
* Team management
* Team dashboard widget
* Team forums
* Team / team forum import

(DBOINCP-59)
2014-01-14 10:18:28 -05:00
Tristan Olive b4746d2df5 Reorganization of roles and permissions
Changed roles to include a general concept of community member and a specific verified contributor role that is granted additional privileges;
Added role_export module to replace built in role export, which did not synchronize role ID between systems and led to improper role assignments on import

(DBOINCP-85)
2013-11-30 11:24:01 -05:00
Tristan Olive 050d463881 Comment quoting
Added default quote settings to feature

(DBOINCP-36)
2013-10-22 07:55:47 -04:00
Tristan Olive 4b6f7c05d8 Forum topic locking
Topic locking was being broken by a hack that set nodes to read only mode. That setting has been removed and the comment form block has been updated to only render when comments are enabled.

(DBOINCP-78)
2013-10-21 23:49:21 -04:00
Tristan Olive ac4dd15c81 Normalize generic theme
The generic BOINC theme has been updated with changes from the E@H theme, which was the primary theme used in development.
Also, a significant advancement has been made in stats chart integration, which now pulls color configuration from the active theme.

(DBOINC-6)
2013-09-19 16:29:01 -04:00
Tristan Olive 056aec1993 Active menu in forum topics
Set the Community context when viewing a forum topic
2013-09-18 13:00:52 -04:00
Tristan Olive 92189855a8 Comments / form separation
Reorganized comment and form blocks to be managed by separate modules, preventing conflicts when enabling independent features for each (DBOINCP-68)
2013-09-18 12:51:20 -04:00
Tristan Olive ece153fa61 Comments / form separation
Comments broken into separate region on news discussion page
* Removed comments and form from news pages
* Created block containing node comments and form
* Appended block to news node pages

Comment form broken into separate region in forums
* Removed existing comment form
* Created block containing node comment form
* Appended block to forum node pages

Updated template to support styling of content-bottom region

(DBOINCP-68)
2013-09-17 23:02:01 -04:00
Tristan Olive d292628344 Forum topic pagination
Changed default posts per page from 50 to 10
2013-08-07 14:10:32 -04:00
Tristan Olive 847db2a643 Forum topic pagination
Updated setting for forum topic controls to fix pagination. This enables the user preference for posts per page.
2013-07-29 15:41:59 -04:00
Tristan Olive 3501887ed3 Continuous change integration
Added default comment settings to forum feature so that discussions are shown oldest first and unthreaded to match current BOINC forum style.
2013-06-24 15:02:03 +02:00
Oliver Bock 23a772898c Fixed menu link weights
1) Reset to default values (set all weights to NULL in DB)
2) Ordered links in admin GUI
3) Fixed has_children leftovers (apparently a bug in Drupal)
2013-06-24 14:59:21 +02:00
Tristan Olive 2766afc0dc Forum moderator tools
* Added a new "community member" role, assigned by default to all users (new or imported).
* The standard authenticated users role may no longer create topics or comment on other content.
* Users with the role of community members may participate in discussions, but this role can be revoked by moderators.
* Dependency added for the Role Delegation module, which establishes permissions for specific roles to assign other roles (in this case, moderator can manage community member assignment).
2013-06-24 14:50:44 +02:00
Tristan Olive cfa72c4f84 Forum moderator tools
Removed moderator permission to delete forum topics
2013-06-24 14:50:43 +02:00
Tristan Olive 16d21c9007 Forum control role
Removed permissions settings definition for "Forum Moderator"
2013-06-24 14:50:41 +02:00
Tristan Olive 4500c525be Configure forum access system role
Automatically create the system role for forum_access if it hasn't been created yet;
Rename the role to not be so incredibly confusing to end users. Calling it "Forum Moderator" and then insisting that no user can have that role makes no sense at all to anyone.
2013-06-24 14:50:41 +02:00
Tristan Olive de6afe27b7 Hidden forum support
Added a default hidden container for forums without a valid category during import;
Grant hidden forum access to moderator role, which is established in the Discussion Forums feature;
Removed redundant Forum Moderator role from BOINC Standard feature (role is used internally by Forum Access module, no users should be assigned to it)
2013-06-24 14:50:36 +02:00
Tristan Olive 8d3840c1ac Updated forum permissions
Created assistant moderator role, as the "Forum Moderator" is inflexible and cannot be restricted from deleting posts.
2013-06-24 14:40:55 +02:00
Tristan Olive 8765aa1b76 Added forum moderator role 2013-06-24 14:40:54 +02:00
Tristan Olive 52ade2a02b Forum import issues
Updated flag module to support export to features;
Check for nid in import process before flagging content for a user (subscribing);
Added subscription and abuse flags to boinc standard feature;
Added friend flag to friend feature... this stuff doesn't work without flags first being created!
2013-06-24 14:40:54 +02:00
Tristan Olive 8b33b231e0 Initial features release
Packaged and configured the highest priority features (and a few others...) for deployment testing
2013-06-24 14:34:19 +02:00