Commit Graph

3738 Commits

Author SHA1 Message Date
David Anderson 0e5ad6dfbf comment 2016-06-20 09:35:54 -07:00
David Anderson d77ddbf1d8 Merge branch 'master' of github.com:BOINC/boinc 2016-06-20 09:32:52 -07:00
David Anderson fc995ea829 result_status web RPC: accept names as well as IDs 2016-06-20 09:32:26 -07:00
Christian Beer dff8fcffc6 Web: read-only RPCs should use the replica DB 2016-06-20 15:14:55 +02:00
David Anderson 8300b08968 Add web RPC for getting status of results 2016-06-17 15:00:15 -07:00
Christian Beer 572c0e46f0 Web: display Windows error messages
- int2hex() now uppercases the actual value to make it easier to compare.
- Decode large negative values as Windows error codes. Right now assumes everything smaller than -400 to be a Windows error code. Unfortunately there are also positive codes that overlap with Linux and BOINC ones.
2016-06-16 17:55:56 +02:00
Christian Beer 7568edb8b8 Web: substitute tab with spaces 2016-06-16 16:48:30 +02:00
Christian Beer f085a0229b Web: fix display of error codes
Exit codes (32 bits) with the high order bit set (e.g. 0xc0000005) were being displayed as 0xffffffffc0000005.
This seems to be a problem with php's printf("%x") where negative values are shown as 64 bit integers in the hex representation (dechex() has the same problem).
2016-06-16 15:17:43 +02:00
Christian Beer f4c2f46ac0 allow for 2 donation levels
Atomic rewrite of 939a9012cc from David Anderson.
2016-06-16 13:21:29 +02:00
Christian Beer ef50492daf Revert "web: fix display of exit codes"
untangling non-atomic commit

This reverts commit e060f2d5ad.
2016-06-16 11:48:18 +02:00
Christian Beer 78d16d5129 Revert "web tweaks; allow for 2 donation levels"
untangling non-atomic commit

This reverts commit 939a9012cc.
2016-06-16 11:48:04 +02:00
David Anderson 939a9012cc web tweaks; allow for 2 donation levels 2016-06-01 14:16:41 -07:00
David Anderson e060f2d5ad web: fix display of exit codes
Exit codes (32 bits) with the high order bit set (e.g. 0xc0000005)
were being displayed as 0xffffffffc0000005.

Also: fix some confusion between exit codes and error numbers.
BOINC doesn't use error numbers as exit codes.
2016-06-01 13:13:38 -07:00
Christian Beer 6e828f2269 Ops: hide sensitive data in read-only ops 2016-05-26 13:19:54 +02:00
Christian Beer 8c325112f0 Web: fix GD detection
This broke when 2.1.0 was released.
2016-05-09 11:36:44 +02:00
Laurence Field b4becd9fcc Added error codes
Added three error codes for use with the file completion trigger file mechanism of the vboxwrapper.
2016-05-03 11:32:05 +02:00
David Anderson 2581ac688d Add <no_opencl/> option in cc_config.xml 2016-04-23 20:47:31 -07:00
David Anderson 2b7c11d369 user web: don't gag if prefs have <venue> tag with no name attribute 2016-04-08 18:29:35 -07:00
David Anderson 34dd5f5868 user web: don't double-escape profile text 2016-04-08 13:22:22 -07:00
David Anderson d2e822091b Merge branch 'master' of github.com:BOINC/boinc 2016-04-05 12:14:04 -07:00
David Anderson 46c3753492 BOINC web site tweaks 2016-04-05 12:13:43 -07:00
David Anderson 5cfd1bd59e add XML header in team export 2016-04-05 12:11:59 -07:00
David Anderson 39a57c07eb PHP code: avoid using a global var 2016-04-05 12:10:40 -07:00
Christian Beer 644c567e32 Ops: improved version of pass_percentage_by_platform
* Selection is by app_version_num isntead of app_version_id
* Sorting does not change between most recent and all app versions
* Main query ignores not needed and timed out results
* Displays and links various metrics
* Uses the platfom name from the platform table
* Always shows anonymous platform applications
2016-03-24 14:21:19 +01:00
Christian Beer 0040bd9817 Ops: enhance errorwus.php again
Added more filters and moved logic from PHP to the DB. This results in a smaller memory footprint of the script but stresses the database a little more for big projects.
2016-03-18 10:51:09 +01:00
Christian Beer 3b6df98c44 Ops: update cancel_workunits scripts to use db layer
Also uses the wrapper functions for variables supplied by post and get requests.
2016-03-17 14:37:59 +01:00
Oliver Bock fd3e17b04c Improve DB queries
* WHERE IN clauses perform really bad for long lists/sub-queries
* Using INNER JOINs to speed up the queries
* Down from a couple of minutes to less than a second :-)
2016-03-17 13:45:03 +01:00
Christian Beer 407a2fce47 Ops: combine statements for better performance
No need to change the same rows in two statements.
2016-03-17 13:45:03 +01:00
Christian Beer ae5b283e1a Ops: use db layer in db_ops.inc 2016-03-17 12:45:34 +01:00
Christian Beer f8250782f1 Ops: cancel workunits directly from errorwus.php
Also added a cache refresh when going back from cancel_workunits_action.php so the freshly canceled workunits are gone.
2016-03-15 18:03:42 +01:00
Christian Beer fc6cd28172 Ops: restructured errorwus.php to use data cache
Also added a checkbox to hide already canceled workunits.
2016-03-15 17:27:54 +01:00
Christian Beer 9b48d3e526 Ops: show more information on WUs with errors
Now uses the DB interface but still uses the old cache mechanism.
2016-03-15 15:25:06 +01:00
funkydude 71831ee639 Expand usage of HTTPS and fix a few URLs 2016-03-08 20:04:28 +00:00
UweBeckert 759b6b3b4a remove spaces in pid_file
$d-pid_file has spaces in front of it and at the end, so the composed path is wrong.
Therefore trim it.
2016-02-28 22:57:04 +01:00
Christian Beer 1d1b2fdc61 Web: fix CPU performance list
Since it is a read only page, use the replica if available. Fix the query that gets the data to correctly exclude old hosts.
2016-02-24 12:11:23 +01:00
Christian Beer d806276335 Allow admins to post even if not enough RAC
[skip-ci]
2016-02-22 17:11:58 +01:00
David Anderson d1cf081eb8 Add --profiles_strict option to delete_spammers.php
This deletes users who have a profile and no forum posts.
Intended for use only on the BOINC message boards.
2016-02-20 10:16:59 -08:00
Christian Beer 31134df412 Web: remove non working email
fixes #1494
2016-02-20 15:59:26 +01:00
David Anderson e658092255 Add ops script for creating account and team
This is for my own use in BOINC-wide teams.
It must work even if account/team creation are disabled
(as they are in the BOINC-wide teams site).
To do this, I moved the <disable_team_creation> check out of make_team()
and moved it to the existing places that call make_team().
The logic now matches that of make_user().
2016-02-10 14:51:34 -08:00
David Anderson 302cc2ddb7 Merge branch 'master' of github.com:BOINC/boinc 2016-02-09 22:01:40 -08:00
David Anderson 864bdac235 Merge pull request #1445 from BOINC/recaptcha-update
Web: update the reCAPTCHA PHP client library to 1.1.2
2016-02-09 22:01:30 -08:00
David Anderson b4722fdccd web: show UTF8 chars in result stderr_out correctly (from Marius Millea) 2016-02-03 02:35:41 -08:00
Greg Childers f5c252ac83 Add closing td tag on team members list 2016-01-28 18:54:44 -08:00
David Anderson 1fd5978270 add mod_time field to team table (for Drupal team import; not sure why) 2016-01-27 14:56:31 -08:00
Oliver Bock 74b33e4dfc HTML: Make platforms accessible to Drupal by declaring it as global 2016-01-13 15:55:39 +01:00
David Anderson 85ab367894 Merge pull request #1464 from brevilo/fix-regression-d4dec27
Fix regression in d4dec27
2016-01-11 20:00:31 -08:00
Christian Beer fd41262f4f Web: fix last resort UOTD selection query
The query was failing with the error "Every derived table must have its own alias" thus not selecting a new user of the day.
2016-01-11 14:20:45 +01:00
Oliver Bock 62d73e10e3 Fix regression in d4dec27
* Added still required code that was removed without apparent reason
* If in doubt about a code's purpose, please check the history first
* Original commit: 8be519a
2016-01-11 09:48:07 +01:00
Juha Sointusalo 4c6a530d5e ops: show large numbers in human readable format 2016-01-05 21:10:19 +02:00
Juha Sointusalo 263e9ac701 web: remove debug output from account pages 2016-01-05 21:08:38 +02:00