Commit Graph

29923 Commits

Author SHA1 Message Date
Christian Beer 31e8427469 Manager/Lib: fix 'New Manager window' function on Linux
This was not working because the manager was not detecting its own executable name and path so it couldn't start a new instance of itself. Windows and Mac use different codepaths so it worked there.
The new library function can be extended for Windows and Mac to avoid code duplication.
2017-03-16 18:31:42 +01:00
Charlie Fenton aaa0254e4c Mac: modify Xcode project and build script setupForBOINC.sh for new approach to compatibility between production builds and Travis CI builds. The paths to the correct dependent library are now specified entirely in the Header Search Paths and Library SearchPaths for each target instead of the LD Flags, and we no longer use symbolic links in a mac3rdParty directory. 2017-03-16 02:42:50 -07: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
tristanolive 329efccd36 Merge pull request #1808 from BOINC/drupal-quickfix
Drupal: fixed error messages
2017-03-15 11:21:58 -04:00
David Anderson ee3f8f1aa2 Web: paginate user/team lists ordered by per-app credit 2017-03-15 00:59:05 -07: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
Charlie Fenton 554c1d41bc Mac: Remove references to the obsolete targets MakeAppIcon_h and WaitPermissions from build script. 2017-03-11 16:24:35 -08:00
Christian Beer 9d1a7a1222 Web: update scrutinizer settings
Modeles after the current http://boinc.berkeley.edu/trac/wiki/CodingStyle
2017-03-10 15:45:19 +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
tristanolive 72d6849c5a Merge pull request #1803 from drshawnkwang/drupal_fix-userprofile-ovrd
Drupal: Fix user_profiles Feature to eliminate Feature override
2017-03-07 13:15:14 -05:00
Charlie Fenton f1ceeab610 Mac: fix compile error from Xcode 8. All APIs deprecated as of OS 10.12 are now replaced, except for the following:
[1] MGR: MacAccessibility.mm. Updating the accessibility support will require a complete rewrite to use Apple's new NSAccessibility APIs, which are not available on systems prior to OS 10.10, while retaining the current code for use with older versions of OS X.
[2] API: Apple has deprecated many  OpenGL  / GLUT APIs as of OS 10.12. This affects these files in libboinc_graphics2.a: graphics2_unix.cpp, gutil_text.cpp and gutil.cpp. Apple recommends their proprietary APIs to replace OpenGL  / GLUT.
[3] All: Apple has deprecated libstdc++ and recommends switching to libc++ with a minimum deployment target of OS X 10.9, but that would eliminate support for OS 10.6 through OS 10.8.
2017-03-07 06:21:03 -08:00
Charlie Fenton 729a9bb6cb lib: Mac: fix compile error from Xcode 8. 2017-03-07 06:02:55 -08:00
Charlie Fenton 58f6978c1e SCR: Mac: replace all deprecated Mac APIs as of OS 10.12. 2017-03-07 06:01:26 -08:00
Charlie Fenton 5d12d626c2 MGR: Mac: finish replacing all Mac APIs deprecated in OS 10.12, except in MacAccessibility.mm as explained in commit 75179d8, but replace one API in MacAccessibility.mm that was deprecated in OS 10.6. 2017-03-07 05:58:34 -08:00
Charlie Fenton fc1cf33315 client: Mac: replace all deprecated Mac APIs as of OS 10.12 2017-03-07 05:51:20 -08:00
David Anderson bde961e8bb client: fix estimate of job RAM usage
In estimating the WSS of a job, we were using
- the observed WSS of the job itself
- if not available, the max WSS of current jobs of same app version

However, if neither is available we need a backup, namely WU.rsc_memory_bound.
Otherwise we can schedule jobs that exceed available RAM.
2017-03-06 16:12:25 -08:00
David Anderson c3eb84db1e client: add report_results_immediately config on project and app levels
see http://boinc.berkeley.edu/wiki/Client_configuration#Application_configuration
2017-03-06 16:04:44 -08:00
David Anderson 25308ea433 BOINC web: put client emulator page under version control 2017-03-06 15:31:56 -08:00
David Anderson f3624743e8 Merge pull request #1762 from obsproth/android_fix_str_comparison
Android: Fixed and reduced string comparisons
2017-03-06 15:27:51 -08:00
David Anderson 4b85e216ef Merge pull request #1789 from BOINC/fix_select_dialog
Manager: Fix select computer dialog
2017-03-06 15:26:06 -08:00
David Anderson 737a26241f COPYING is the GPL license; COPYING.LESSER is additional text for LGPL.
Thanks to Nicolas for clarifying this.
2017-03-06 11:48:18 -08:00
David Anderson 61710233cd Project creation: fix a couple of bugs 2017-03-06 11:35:00 -08:00
Charlie Fenton d29a166204 SCR: Mac: continue replacing deprecated Mac APIs 2017-03-06 05:23:38 -08:00
Charlie Fenton f7ae4c631b client: Mac: continue replacing deprecated Mac APIs 2017-03-06 05:22:22 -08:00
David Anderson 18c6f7b9fc COPYING erroneously had GPL text 2017-03-06 01:40:39 -08:00
Charlie Fenton a0c2d8a949 Mac: add new header file needed for replacing system() calls with posix_spawn() calls. 2017-03-03 15:28:50 -08: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
Charlie Fenton 75179d8ca1 Mac replace all Mac APIs deprecated in OS 10.10, except in MacAccessibility.mm. Updating the accessibility support will require a complete rewrite to use Apple's new NSAccessibility APIs, which are not available on systems prior to OS 10.10, while retaining the current code for use with older versions of OS X. This will require far more time and effort than I can spend at this time.
Note also that Apple has deprecated the UNIX standard call system(const char *) as ofd OS 10.10 and says to use posix_spawn() calls instead. I have added a macro to the precompiled header MacGUI.pch for the Manager builds that converts the calls automatically, but have not been able to do so for the other BOINC modules. If future code in the client, libraries, etc. calls system(), this will have to be handled on a case by case basis, as I have done in boinc_rename_aux() in lib/filesys.cpp and CLIENT_STATE::write_state_file() in client/cs_statefile.cpp.
2017-03-03 06:05:09 -08:00
Charlie Fenton 5192028903 Mac: Fix build break on Mac caused by commit 5df6f25. HAVE_CONFIG_H is not defined in Mac builds of most BOINC modules. 2017-03-03 05:49:53 -08:00
Christian Beer 5df6f25141 Merge pull request #1790 from renyidong/fix_mingw_cross_compile
Fix cross-compile from ubuntu with mingw
2017-03-03 14:29:46 +01:00
Christian Beer 8604fc88bd Merge pull request #1793 from BOINC/travis_mingw_build
Build: try to build libraries with mingw on travis-ci
2017-03-03 14:12:00 +01:00
David Anderson 2b6eff91f6 remove job submission: fixes to query_batch() 2017-03-02 13:38:40 -08:00
David Anderson 5b56a414cf Merge pull request #1801 from UweBeckert/patch-3
Update bootstrap.inc
2017-03-01 13:53:40 -08:00
UweBeckert 3a9d42e5d8 Update bootstrap.inc
container-fluid uses full window width for the content. Otherwise on big monitors 30% left and right is empty.
2017-03-01 21:38:46 +01: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
tristanolive b5a05fcd76 Merge pull request #1791 from drshawnkwang/drupal_fix-admin-passwdchg-mess
Drupal: Added error message- admin cannot change only a user's email.
2017-03-01 10:37:37 -05:00
Charlie Fenton 451b0296ba MGR: Mac: use a macro in Mac Manager precompiled header to substitute posix_spawn() calls for all system() calls, since system() is deprecated in Mac OS 10.10 and Apple says to use posix_spawn() instead. 2017-03-01 04:59:17 -08:00
Charlie Fenton 103eb0ce5e Mac: add new mac_spawn.cpp to project to facilitate replacing system() calls with posix_spawn() calls as instructed by Apple, since system() is deprecated in mac OS 10.10. 2017-03-01 04:53:24 -08:00
Charlie Fenton 1065b6287a SCR: Mac: replace all deprecated Mac APIs as of OS 10.9 2017-03-01 04:47:09 -08:00
Charlie Fenton bbc1c40d06 Mac installer: replace Mac APIs deprecated in OS 10.10, fix bug in AddRemoveUser utility 2017-03-01 04:45:38 -08: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
Charlie Fenton 7e213cf2f6 Mac: Remove targets from Xcode project for building obsolete applications MakeAppIcon_h and WaitPermissions.
Note: See comments in make_app_icon_h.cpp and mac_icon.cpp for new instructions for adding icons to science applications.
2017-02-28 05:28:12 -08:00
Charlie Fenton f50638109b Mac: Replace all deprecated APIs (as of OS 10.12) in AddRemoveUser command line utility 2017-02-28 05:19:45 -08:00