Commit Graph

1016 Commits

Author SHA1 Message Date
tristanolive d6717a834b Merge pull request #1825 from drshawnkwang/drupal_fix-i18n-teamforumlist
Drupal: Fixed bug where font-awesome icons were not appearing correctly on some translated pages.
2017-03-22 17:19:42 -04:00
tristanolive 04dd60a90b Merge pull request #1823 from drshawnkwang/drupal_fix_userprofileFeature
Drupal: Removed another line in user_profiles feature to remove overrides.
2017-03-22 17:13:54 -04:00
tristanolive 901ea91cff Merge pull request #1822 from drshawnkwang/drupal_feature-i18n-add-context-other-bts
Drupal: Added ability to add context to other-boinc-translation-strings text file.
2017-03-22 17:13:07 -04:00
Shawn Kwang 64f4a3954c Drupal: Added !empty() function to check if timestamp does/does not exist. 2017-03-22 14:57:58 -05:00
Shawn Kwang 0e32f27e70 Drupal: Fixed bug where font-awesome icons were not appearing correctly on some translated pages.
Changed template for team forum topic to use different variables. Now template uses $results, not topics/rows variable. The former has numerical values, which won't be translated into another language.

https://dev.gridrepublic.org/browse/DBOINCP-360
2017-03-21 16:05:11 -05:00
Shawn Kwang 37953c0307 Drupal: Added trim() function to tokens. 2017-03-21 09:24:21 -05:00
Shawn Kwang a2b3abea5f Drupal: Added ability to add context to other-boinc-translation-strings text file.
boinctranslate module will read file and use '|' as delimiter to separate the string from its context.
Added context to a number of string in the other-boinc-translation-strings file.

https://dev.gridrepublic.org/browse/DBOINCP-361
2017-03-20 14:54:06 -05:00
Shawn Kwang 7dd7727fdb Drupal: Removed another line in user_profiles feature to remove overrides. 2017-03-20 14:39:16 -05:00
Shawn Kwang ca5f418129 Drupal: Added hook to boinctranslate to update the URL/path for l10n_update.
https://dev.gridrepublic.org/browse/DBOINCP-363
2017-03-16 14:54:57 -05:00
tristanolive 3e6398691f Merge pull request #1810 from BOINC/drupal_teamlist
Drupal: implement creditonly switch for team_email_list.php RPC
2017-03-15 11:29:25 -04:00
Christian Beer 1698897faa Drupal: implement creditonly switch for team_email_list.php RPC
This is used by stats sites to regularly query user credit stats during a special event. The default implementation is inefficient as it creates a DB query per team member which is slowing down the query in big teams. The creditonly switch is also available in upstream where it supresses certain xml outputs. We still don't support all the fields that upstream supports but the missing fields are not credit relevant.
2017-03-14 13:44:50 +01:00
Christian Beer ee12c14aa0 Drupal: fixed error messages
see comment in https://dev.gridrepublic.org/browse/DBOINCP-317
2017-03-10 15:00:05 +01:00
tristanolive eb6d5e1b2f Merge pull request #1806 from drshawnkwang/drupal_fix-usermodlinks-utf8
Drupal: Added UTF-8 encoding for loadHTML.
2017-03-09 12:04:14 -05:00
tristanolive c6fe7c810e Merge pull request #1802 from drshawnkwang/drupal_fix-respdes-paths
Drupal: Renamed moderation queue menu item as 'Queue'
2017-03-09 09:17:12 -05:00
Shawn Kwang 4ceda504bb Drupal: Added UTF-8 encoding for HTML being loaded by DOMDocument. Fixes garbage output text for links and moderator links.
https://dev.gridrepublic.org/browse/DBOINCP-359
2017-03-08 10:54:43 -06:00
Shawn Kwang 61c20207e0 Drupal: Adjusted margin, so hamburger menu is centered in menu bar. 2017-03-08 08:25:10 -06:00
Shawn Kwang df4bf42847 Drupal: Removed alter=>TRUE from user_profile menu_links, which was causing a permanent override. 2017-03-03 09:20:58 -06:00
Shawn Kwang e1c5d815fa Drupal: Fixed CSS so there is no margin/padding to push the header down; which was pushing down the mobile menu icon & text. 2017-03-03 08:13:51 -06:00
Shawn Kwang 77618f7555 Drupal: Renamed child menu as 'Queue'. 2017-03-03 08:13:51 -06:00
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