David Anderson
3a956aad13
Merge branch 'JuhaSointusalo-master'
2017-03-28 01:30:56 -07:00
David Anderson
cfc850b919
Merge branch 'master' of https://github.com/JuhaSointusalo/boinc into JuhaSointusalo-master
...
Conflicts:
clientgui/MainDocument.cpp
2017-03-28 01:30:03 -07:00
David Anderson
c0b0bc0fb0
delete_spammers.php: fix argument parsing
...
args were parsed in order, so
delete_spammers.php --teams --test
would really delete stuff.
Fix this.
2017-03-27 16:50:23 -07:00
David Anderson
04c3e538c7
disable team creation by web RPC
...
This was being used by spammers.
I can't think of a legit use of it off the top of my head.
2017-03-27 12:17:38 -07:00
David Anderson
bd0fc9a650
web: add recaptcha to team creation
...
S@h is getting lots of spam teams.
If this doesn't work, we'll add a min credit requirement.
2017-03-27 12:05:51 -07:00
David Anderson
63ed0f47f3
client: change "njobs_fail" back to "njobs_error"
...
The change broke compatibility, and there wasn't a good reason for it.
2017-03-26 19:48:42 -07:00
David Anderson
5565aa1881
enhance spam deleter; tweak moderation message
2017-03-26 18:49:29 -07:00
David Anderson
967fa51ce3
Add 7.7.2
2017-03-26 18:48:52 -07:00
David Anderson
d310efc264
client: parse njobs_error in state file (don't lose info on transition)
2017-03-26 18:47:42 -07:00
David Anderson
2c493f50c1
Update Installshield files and vboxwrapper version
2017-03-25 23:28:35 -07:00
David Anderson
7436252a47
change version to 7.7.2
2017-03-25 21:41:28 -07:00
Christian Beer
f640f89bb2
Merge pull request #1824 from BOINC/travis_mingw_build
...
Travis: fix mingw build command and add wrapper
Documentation on http://boinc.berkeley.edu/trac/wiki/CompileAppWin#mingw-cli was updated to reflect changes in lib/Makefile.mingw.
2017-03-23 09:46:17 +01:00
Christian Beer
cfa12a7e17
Travis: fix mingw build command and add wrapper
...
The previous command was only working because Travis already exports CC and CXX. This works even if this is not the case.
2017-03-23 09:06:55 +01:00
Bernd Machenschalk
348c9199cf
update lib/Makefile.mingw 'clean' and 'wrapper' targets
...
- also, if you set MINGW, the whole chain of used tools
(gcc, g++, ar, ranlib) will be set based on that
2017-03-23 08:59:44 +01:00
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
tristanolive
ee1878b3bf
Merge pull request #1815 from drshawnkwang/drupal_fix-l10n_update_newpath
...
Drupal: Added hook to boinctranslate to update the URL/path for l10n_update
2017-03-22 17:04:45 -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
Christian Beer
95af69b395
Locale: Update localization files [skip ci]
2017-03-20 15:15:54 +01:00
Christian Beer
1f0054c7e1
Locale: Update localization files [skip ci]
2017-03-20 15:01:06 +01:00
Christian Beer
405fd8b61e
Merge pull request #1798 from ffontaine/master
...
Fix LDFLAGS for cross-compilation
2017-03-20 13:36:59 +01:00
David Anderson
10bcf5ed88
client: send acct keys to acct manager only for projects attached via acct mgr.
2017-03-17 15:08:50 -07:00
David Anderson
6485e50647
DB: add indices to credit_user and credit_team
...
Should make queries for top items fast.
2017-03-17 11:45:45 -07:00
David Anderson
853de1f5f0
web: code cleanup
...
Note: the top_*.php pages should be changed so that they cache
the entire 10000 items as a unit.
Otherwise there could be inconsistency.
2017-03-17 11:44:07 -07: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
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