David Anderson
4ff667a888
remove file mgt: small fix
2016-07-24 23:11:06 -07:00
David Anderson
a259991c7a
Fix bugs in content-based file management system
...
- stray return in compute_boinc_name()
- BoincJobFile::delete() was wrong
- error-check DB record deletions
2016-07-24 22:55:33 -07:00
David Anderson
d738c4e879
Web RPCs: handle only warning/notice types; show type
2016-07-22 11:52:44 -07:00
Bernd Machenschalk
c4d79c39d8
web: job_file.php: use project_dir() to get the project directory (instead of ../..)
2016-07-22 11:04:44 +02:00
David Anderson
e11b62adab
Improve error reporting for XML RPCs
...
- If handling an XML RPC, use set_error_handler() to output PHP warnings as XML.
Otherwise they appear as strings in the XML reply, making them not parse.
- suppress warnings from PHP function calls where we're already checking errors
2016-07-22 01:41:43 -07:00
Bernd Machenschalk
daa9daf563
web: submit_rpc_handler.php: return create_work output in case of an error
2016-07-20 14:50:19 +02:00
Bernd Machenschalk
08935eab0d
web: submit_rpc_handler.php: use project_dir() to get the project directory (instead of ../..)
2016-07-20 14:47:16 +02:00
Bernd Machenschalk
f84ed84c93
web: submit_rpc_handler.php: avoid name clash with get_app() in result.inc
2016-07-20 12:17:19 +02:00
Bernd Machenschalk
3529d9483c
web: ops: script to add a user account
2016-07-20 12:15:51 +02:00
Bernd Machenschalk
417fff7a50
web: ops: cancel_workunits.php: correctly close '</form>'
2016-07-20 12:15:14 +02:00
David Anderson
4d3ac8af57
ops: option for creating boinc-wide team w/o creating account
2016-06-29 11:32:12 -07:00
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