Commit Graph

998 Commits

Author SHA1 Message Date
tristanolive 30fe06a559 Merge pull request #1800 from drshawnkwang/drupal_feature-solr-userprofiles
Drupal: Use boinc username in Solr searches.
2017-03-01 11:17:47 -05:00
tristanolive b2f7e46311 Merge pull request #1799 from drshawnkwang/drupal_feature-respdes-fm
Drupal: Add responsive design to Drupal Web site
2017-03-01 11:10:48 -05:00
Shawn Kwang 6d452e7aed Drupal: Use boinc username in Solr searches.
Changed bundle name from "Profile" to "User".
Boinc username is used in Solr index (replaces drupal username).
Search template updated to use bundle name "User" and to use boinc username.

https://dev.gridrepublic.org/browse/DBOINCP-357
2017-02-28 13:01:09 -06:00
Shawn Kwang 834a46b0d2 Drupal: Changed user_profiles Feature to update Moderation menu.
Changed view to have default tab menu for moderate/profiles, which creates parent Moderation menu.
Used Feature menu_link to create child Moderation Queue menu item, which is child in Moderation menu.
2017-02-27 16:01:56 -06:00
Shawn Kwang ea1c9fda38 Drupal: Changed boinc_standard Feature to remove Tertiary Menu block from Navigation Bar region. 2017-02-27 16:01:56 -06:00
Shawn Kwang adc28261d3 Drupal: Added Feature mobilemenu to save configuration options for mobile_menu_toggle and dthtml_menu. 2017-02-27 16:01:56 -06:00
Shawn Kwang 1a4e6ed44a Drupal: Updated README for mobile_menu_toggle. 2017-02-27 16:01:56 -06:00
Shawn Kwang 95c78fd252 Drupal: Added dependency to dhtml_menu to moble_menu_toggle module. 2017-02-27 16:01:56 -06:00
Shawn Kwang 8f59ee754b Drupal: Added mobile_menu_toggle template which uses font-awesome for main menu botton.
Added text "Menu" to right of hamburger menu.
2017-02-27 16:01:56 -06:00
Shawn Kwang 6d2f278fda Drupal: Modified page template to put menu links in div tags.
Manually added action links to page template.
Added mobile menu for no JS browsers.
2017-02-27 16:01:56 -06:00
Shawn Kwang d7031fc657 Drupal: Modified template.php for mobile screens and to generate mobile menu tree.
Added viewport meta tag to HTML head, adjusted whitespace.
Changed how the menu tree is obtained using menu_tree_xyz().
Added boinc action links function to template.
2017-02-27 16:01:55 -06:00
Shawn Kwang 84a8d17d40 Drupal: Add CSS for BOINC theme. Add mobile mneu toggle to layout. 2017-02-27 16:01:55 -06:00
Shawn Kwang 759f5da612 Drupal: Added responsive design with JS/jQuery width detection function. CSS is injected into header tag.
Changed breakpoints for jQuery to match CSS @media directives.
Added some documentation to JS file.
Fixed bug where window resizing smaller would not show menu if width was smaller than mobile breakpoint.
Fixed bug where window resizing larger would show both nav bar and mobile menu. Fixed by having JS call CSS display:none for mobile menu when window is resized larger than breakpoint.
2017-02-27 15:49:56 -06:00
Shawn Kwang ba53f2f65f Drupal: Added responsive-design-jswidth CSS file.
Add CSS for BOINC theme. Add responsive JS width CSS file.
Changed BOINC theme to match changes to einstein theme.
Removed unused non-JS menu. Fixed some minor CSS bugs.
2017-02-27 15:49:37 -06:00
Shawn Kwang 067b8ee5ce Drupal: Added responsive-media.css CSS file to theme.
CSS is used to display/hide elements depending on if the width of the navigation bar is larger than that of the window width.
Changed BOINC theme to match changes in einstein theme.
Removed unused CSS classes. Fixed minor CSS bugs.
Updated CSS to remove unneeded tag.
Removed tab CSS style for mobile screens.
2017-02-27 15:48:49 -06:00
Shawn Kwang 03467ed30e Drupal: Add JS and CSS to boinc theme.
Added responsive-media.css to boinc theme.
Added javascript file to detect widths to boinc theme.
Added responsive-jswidth.css to boinc theme.
2017-02-27 15:42:33 -06:00
Shawn Kwang ff068a4369 Drupal: Added mobile_menu_toggle to contrib directory. Module installes menu which toggles navigation bar. 2017-02-27 14:39:09 -06:00
Tristan Olive adb92d3794 Drupal: Replace fixed widths of standard page sections
For better small screen support, use fixed width values as max-width and allow main content sections on pages to be responsive to viewport width

https://dev.gridrepublic.org/browse/DBOINCP-250
2017-02-27 14:31:09 -06:00
Shawn Kwang f3a13d42fc Drupal: Revert changes from PR 1733. Removes CSS that sets page at min (fixed) width. 2017-02-27 14:30:47 -06:00
Shawn Kwang 87da32cf77 Drupal: Added error message- admin cannot only change a user's email.
Either both email and password must be changed, or just the password.

https://dev.gridrepublic.org/browse/DBOINCP-355
2017-02-16 13:05:08 -06:00
Christian Beer 783a98f950 Drupal: adapt POT and PO header to BOINC header
This adapts the header used in POT and PO exports from Drupal to what is currently used in BOINC. Some caveats:
- Project-Id-Version normally contains the SHA1 of the commit where the generic template was generated from but this is not available in Drupal. In the project-specific case I use the current date just so there is a value that can be used later on.
- POT-Creation-Date is always the same as PO-Revision-Date because Drupal internally does always use the latest strings when exporting languages (not relevant for BOINC-Drupal.pot)
2017-02-13 15:38:14 +01:00
tristanolive 25693388e9 Merge pull request #1783 from drshawnkwang/drupal_fixprofileimage
Drupal: Search result returns user profile image
2017-02-09 02:27:12 -05:00
Shawn Kwang 6331b931ba Drupal: Search result should return user profile image. (Not community avatar.) 2017-02-08 14:49:34 -06:00
Shawn Kwang 32e1695a67 Drupal: Fixes PHP error due to wrong object/array call. 2017-02-03 10:41:41 -06:00
Shawn Kwang cb319f7fb2 Drupal: Capitalize the bundle for "Comment".
Cosmetic fix part of
https://dev.gridrepublic.org/browse/DBOINCP-274
2017-01-27 09:08:39 -06:00
tristanolive ed2e3e472a Merge pull request #1763 from drshawnkwang/drupal_feature-limitstats
Drupal: Change top host, user, and team views
2017-01-26 09:36:29 -05:00
tristanolive f6c6799343 Merge pull request #1761 from drshawnkwang/drupal_feature_apachesolr-index-comments
Drupal: Add module to index forum comments in Apache Solr
2017-01-26 09:35:41 -05:00
Shawn Kwang fbd86db655 Drupal: Changed number of hosts to show from 25 to 50. 2017-01-23 08:18:33 -06:00
Shawn Kwang 0d533b036c Drupal: Changed users, teams, and hosts views to show 100, 100, and 25 results without a pager.
https://dev.gridrepublic.org/browse/DBOINCP-354
2017-01-23 08:18:33 -06:00
tristanolive b56f2fa4ce Merge pull request #1760 from drshawnkwang/drupal_fix-removedebugstm
Drupal: Removed debugging statements left in accidentally.
2017-01-19 08:48:47 -05:00
tristanolive 9ad8195e77 Merge pull request #1745 from drshawnkwang/drupal_updatephpmailer
Drupal: Updated phpmailer library to v5.2.21
2017-01-19 08:42:20 -05:00
Shawn Kwang 0adad0b124 Drupal: Removed debugging statements left in accidentally. 2017-01-18 15:51:31 -06:00
tristanolive 11dbab6093 Merge pull request #1746 from drshawnkwang/drupal_fix-profilesearchresults
Drupal: Fixes profile search result issue regarding 'Joined' date.
2017-01-12 10:30:27 -05:00
Shawn Kwang adf22bcaed Drupal: Added to boincuser module, hook_apachesolr_index_documents_alter(), which alters the ApaceSolr document in order to change the ds_created timestamp to be the user account creation timestamp. 2017-01-03 12:28:43 -06:00
Shawn Kwang ce313a97aa Drupal: Fixed search result template to get NID from search result directly.
NID is now obtained from Apache Solr Results. If the title field is empty, then use the user account name.
2017-01-03 12:28:43 -06:00
Shawn Kwang 74cafd2052 Drupal: Updated phpmailer library to v5.2.21.
https://dev.gridrepublic.org/browse/DBOINCP-353
2017-01-03 11:53:39 -06:00
Shawn Kwang de8e7b53f7 Drupal: Fixed bug where if conditional used '=' and not '=='. 2016-12-23 09:32:28 -06:00
Shawn Kwang a0b5996f2f Drupal: Changed news view menu type to "Normal Menu".
Fixes issue where Drupal would add extra <span> tag to the menu link.

https://dev.gridrepublic.org/browse/DBOINCP-348
2016-12-15 12:56:15 -06:00
Shawn Kwang d4778af86f Drupal: Adds page-wrapper min-width 980px.
Manully reverts navigation width back to 980px.
2016-12-09 09:59:10 -06:00
Shawn Kwang 2a8f919095 Drupal: Fixed fixed-width CSS for smaller browser windows.
https://dev.gridrepublic.org/browse/DBOINCP-345
2016-12-08 11:13:52 -06:00
Shawn Kwang a4daed58f8 Drupal: Added boinc_solr_search Feature.
This Features is for the boinc_solr_comments module, it includes a single Drupal varaible, an array, which is used to set which node_types have their comments indexed.
2016-12-02 13:46:19 -06:00
Shawn Kwang f5ea2fdf94 Drupal: Made boinc_solr_comments module dependent on boincore module. 2016-12-02 12:09:45 -06:00
Shawn Kwang 215c825179 Drupal: Moved boinc_solr_comments module into a parent folder boinc_solr_search which contains search modules. 2016-12-02 12:09:45 -06:00
Shawn Kwang 736627e72d Drupal: Handle (un)publishing of comments.
Add functionality to remove comments form Solr index when they are unpublished (hidden).
And to update the Solr index when they are published (unhidden).
Boinccore module altered to interface with new boinc_solr_comments module.
2016-12-02 12:09:45 -06:00
Shawn Kwang f53c418df7 Drupal: Added additional documentation to boinc_solr_comments module. 2016-12-02 12:09:45 -06:00
Shawn Kwang e62ea665a5 Drupal: Added README and INSTALL documentation for boinc_solr_comments module. 2016-12-02 12:09:45 -06:00
Shawn Kwang 1f53117008 Drupal: Add configuration of this module to admin interface. Admin can choose which node types (content_types) are selected for having their comments indexed by Apache Solr. By default, all node types will be indexed. 2016-12-02 12:09:44 -06:00
Shawn Kwang 0d9881a4b4 Drupal: Changed search result template to show parent forum and comment only. 2016-12-02 12:09:44 -06:00
Shawn Kwang fbe3fe57b9 Drupal: Renamed module to boinc_solr_comments 2016-12-02 12:09:44 -06:00
Shawn Kwang 44947870ab Drupal: Changed comment document's label to be a truncated version of a comment's content. 2016-12-02 12:09:44 -06:00