Commit Graph

213 Commits

Author SHA1 Message Date
Tristan Olive a79b22b795 Check default privileges assignments
Added permissions file for global search feature
2013-06-24 14:50:48 +02:00
Tristan Olive 7ad72eba20 Check default privileges assignments
Set sensible default permissions
2013-06-24 14:50:47 +02:00
Tristan Olive 41c20c9994 Login button links to non-existent page
Redirect to home on login and fixed View Account link to target dashboard
2013-06-24 14:50:47 +02:00
Tristan Olive 9cd24971b7 Revise registration flow
Added registration instructions for new and existing BOINC users
2013-06-24 14:50:47 +02:00
Tristan Olive 380cae03fa BOINC import process
Added locking to the import process to prevent multiple processes from running at once.
2013-06-24 14:50:47 +02:00
Tristan Olive 27db1e4bc7 BOINC import process
Check for duplicate mail in users table prior to importing an account;
Removed avatar messages during import
2013-06-24 14:50:46 +02:00
Tristan Olive 7808451bd6 BOINC import process
Fixed syntax issue with schema installation script;
Moved unique user validation from import_users script to boincuser_create_drupal_user() function
2013-06-24 14:50:46 +02:00
Tristan Olive 5d017aa482 BOINC import process
Made uid and boinc_id unique fields in the boincuser table
2013-06-24 14:50:46 +02:00
Tristan Olive fbbc200d7c Forum moderator tools
Added a link to user profiles to ban or lift an existing ban
2013-06-24 14:50:45 +02:00
Tristan Olive 0e1146ae49 BOINC import process
Added info messages to log for all import functions
2013-06-24 14:50:45 +02:00
Tristan Olive 2dac4adf49 BOINC import process
Added info messages to log during user import
2013-06-24 14:50:45 +02:00
Tristan Olive 5fe8526c5a BOINC environment configuration
Removed unnecessary configuration notices
2013-06-24 14:50:45 +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 f762a7fcb7 BOINC environment configuration
Fixed redirect loop problem when boinc_standard has not yet been reverted and is stuck on the garland theme. Set to boinc theme by default.
Removed configuration of site_name and site_mail, which are set during install. Also removed site_mission and site_slogan, which are not used in the theme and should not be controlled by the feature.
2013-06-24 14:50:44 +02:00
Tristan Olive 6121d31124 BOINC environment configuration
Removed duplicate error messages and stragglers showing up after the error has been fixed
2013-06-24 14:50:44 +02:00
Tristan Olive 81d3cd3c3a BOINC environment configuration
Fixed redirect loop in fresh install so that user can see that the error that the environment needs to be configured (rather than a white screen!)
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 ff8d3ddfed Forum moderator tools
Added hide link to comments;
Set access controls for moderation
2013-06-24 14:50:43 +02:00
Tristan Olive fef7937b06 Forum moderator tools
Added BOINC core module to hold common functions;
Added hide, lock, and sticky links to forum nodes
2013-06-24 14:50:43 +02:00
Tristan Olive 6a01393860 BOINC environment configuration
Fixed a bug in unconfigured environments that could prevent the environment from being configured.
2013-06-24 14:50:42 +02:00
Tristan Olive 694bb44412 Global search feature
Removed dependency on search_by_path module, which was causing memory issues
2013-06-24 14:50:42 +02:00
Tristan Olive 908ed88925 Global search feature
Fixed base path bug causing problems with URL parsing
2013-06-24 14:50:42 +02:00
Tristan Olive cc82613b54 Global search feature
Added a global search that finds content in pages, forums, and profiles. Stemming is enabled, but functional for english only.
2013-06-24 14:50:42 +02:00
Tristan Olive 7b382cbcdf Convert user stats to views pane
Replaced custom content panes with views panes for user account stats widgets. This allows the stats_charts feature to provide the stats pane and all dependencies.
2013-06-24 14:50:41 +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 36924a7aa3 BOINC scheduler tag
Reworded warning message when scheduler is not configured;
Set up persistent environment check for admin users
2013-06-24 14:50:41 +02:00
Tristan Olive 4c3dbe0e03 Add captcha feature
Removed dependencies on BOINC code (including BOINC libraries causes conflict/redefinition of recaptcha functions)
2013-06-24 14:50:40 +02:00
Tristan Olive 73791391f6 Add captcha feature
Added re-captcha to the user profile form with the spam controls feature
2013-06-24 14:50:40 +02:00
Tristan Olive 2b65fe6ba7 Forum import issues
Use INSERT ... ON DUPLICATE KEY UPDATE instead of REPLACE SQL statement;
Import empty containers as hidden;
Set permissions on hidden elements in addition to placing them into hidden container;
Preserve the order of forums
2013-06-24 14:50:40 +02:00
Tristan Olive 081bc18ce4 BOINC Configuration Update
Renamed configuration sections for better organization;
Changed error message to warning when scheduler configuration is incomplete
2013-06-24 14:50:39 +02:00
Tristan Olive 90c53a0eca Fixed bug in BOINC scheduler admin page
Trim whitespace when reading cgi_url from config.xml
2013-06-24 14:50:39 +02:00
Tristan Olive 316331faaf BOINC scheduler URL support
Added admin configuration interface for BOINC scheduling server URLs;
Added <scheduler> tags newer <link> tags to front page for scheduler URLs
2013-06-24 14:50:39 +02:00
Tristan Olive 8acbad86eb Hide IP address field entirely for public hosts 2013-06-24 14:50:38 +02:00
Tristan Olive fe7339c19b Update host list permissions and data
Fixed permissions issue where the account computers view could be used to see the private details of another user's host;
Miscellaneous host detail output tweaks
2013-06-24 14:50:38 +02:00
Tristan Olive 881c1b8c74 Dashboard computer list links
Make each row clickable, taking the user to the detail page for the host
2013-06-24 14:50:38 +02:00
Tristan Olive 5bf8025924 Set forum permissions on import
Permissions were being set with an UPDATE statement, though it seems they may not be established immediately, requiring an INSERT. Using REPLACE to cover both cases.
2013-06-24 14:50:38 +02:00
Tristan Olive 9878fde8e2 Improved post import error handling
Added a new counter for empty posts, distinct from import errors
2013-06-24 14:50:37 +02:00
Tristan Olive 08961ee6a1 Added default image for profiles 2013-06-24 14:50:37 +02:00
Tristan Olive 851e932710 Avatar reference fix
Through "featurization," development systems have slightly different db structures. Avatars info, in particular, is stored differently on the original dev system than a system that has been automatically built from the ground up by features. This updates the code to reflect the new structure.
2013-06-24 14:50:37 +02:00
Tristan Olive 2aa4e3f104 Stats configuration support
Created administrative page for configuration of the stats system used to pull data for charts and some credit aggregation;
Updated stats code to use this configuration and handle cases where config is missing
2013-06-24 14:50:37 +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 41d8aabf96 Forum link conversion
Check for changes in the original node or comment text so as not to call a db UPDATE if it isn't necessary
2013-06-24 14:50:36 +02:00
Tristan Olive c7915ce1a8 Moved new topic link to bottom of topic list 2013-06-24 14:50:36 +02:00
Tristan Olive 37ab235a1e Forum status indicators
Added "Featured item" label in place of "Last reply" for sticky topics;
Moved "new" links to be on the thread and reply counts of forum and topic lists, respectively
2013-06-24 14:50:35 +02:00
Tristan Olive f2109d8ebf Code cleanup
Removed references to non-existent sequences table, as it is not relevant
2013-06-24 14:50:35 +02:00
Tristan Olive 2f1acec0e9 Added custom user profile page
Canned user profile page cannot be managed by features, so, clone it as a custom page...
2013-06-24 14:50:35 +02:00
Tristan Olive 57719c95d6 Friends feature updates
Updated home and dashboard views
2013-06-24 14:50:35 +02:00
Tristan Olive b1c3d7ce96 Friends feature updates
Current user's friend view could not be tracked via features as it is provided by a contrib module, so view cloned as boinc_friends;
Updated css and template to support this change
2013-06-24 14:50:34 +02:00
Tristan Olive dbcc7826a8 Fixed batch limit calculations 2013-06-24 14:50:34 +02:00