Commit Graph

108 Commits

Author SHA1 Message Date
Michael Kulabuhov a4cac1009c Optimized the counts of results by states and apps for results page 2018-01-23 19:25:02 +07:00
Shawn Kwang 6ed586bbae Fixed bug where assignment '=' was used instead of comparison '=='.
Fixes #2011.

https://github.com/BOINC/boinc/issues/2011
2017-08-04 11:52:33 -05:00
David Anderson c054358a6e web: tweaks to fix Scrutinizer complaints; few visible effects 2016-12-07 11:32:25 -08:00
David Anderson 9d673e1c93 web: appearance tweaks
- use form-control class for text inputs and selects.
    This makes them all full-width, but I guess that's OK.
- use success class (green) for action buttons
- right-align table headings where appropriate
- use <small> instead of text-muted.
- tweak custom CSS to fix link and navbar visited colors
2016-12-04 21:04:23 -08:00
David Anderson 107b170ae1 web: finish job of making headings blue in striped tables
i.e. use row_heading() or row_heading_array() to generate the heading
2016-12-02 23:25:01 -08:00
David Anderson 1d1c9eb444 web: tweaks for bootstrap
A bunch of little things.
Also new BOINC front page, by accident.
2016-11-28 00:47:25 -08: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 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
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 b4722fdccd web: show UTF8 chars in result stderr_out correctly (from Marius Millea) 2016-02-03 02:35:41 -08:00
Oliver Bock 74b33e4dfc HTML: Make platforms accessible to Drupal by declaring it as global 2016-01-13 15:55:39 +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
David Anderson d4dec27a68 web: include platform name in app version string 2015-11-20 12:25:40 -08:00
David Anderson 1dcbac0bf1 web: change "Aborted by user" to "Aborted" 2015-11-18 14:34:33 -08:00
Oliver Bock 8be519a616 HTML: Make various variables accessible to Drupal by declaring them as global 2015-07-14 14:47:31 +02:00
David Anderson e6ecb981b3 web: change CSS usage to partly match Twitter Bootstrap. From Christian Beer. 2014-10-02 12:15:54 -07:00
David Anderson 6c73f71cee web: fix PHP warnings 2014-09-25 13:39:05 -07:00
David Anderson 9904d7b920 web: use symbols instead of numbers in result.inc 2014-07-16 19:29:30 -07:00
David Anderson e437d09824 web: show peak device FLOPS on result page 2014-07-06 19:59:08 -07:00
David Anderson 640d6dc16a web: show elapsed and CPU time has X hrs Y min Z sec on result page.
Not sure if we should adopt this everywhere
2014-05-06 00:58:18 -07:00
David Anderson fc7c75b200 server: parse peak memory/disk info from client, store in DB, display in web
The latest client reports the peak working set size, swap size,
and disk usage for completed jobs.
Add fields to the results table to store these.
Parse them in scheduler request messages, and write to the DB.
Display them in the result web page.

This data can be used to improve (or even automate)
the job estimates for memory and disk usage.
2014-04-02 19:35:59 -07:00
David Anderson 0bedadd429 web: result display tweak, and code cleanup 2013-11-21 11:34:43 -08:00
David Anderson 92b25f841d admin web: in result display, improve the way app version is shown 2013-11-17 11:45:11 -08:00
David Anderson e798bf50eb Web: in result list, sort by name if showing names, and allow search by result name. 2013-09-08 15:20:49 -07:00
David Anderson cca4b96152 admin web: fix PHP warning 2013-08-16 12:20:40 -07:00
David Anderson 033a47691b - client: write log flags in alpha order 2013-03-15 13:38:44 +01:00
David Anderson 5df6bb88ff - web: workunit display tweak 2013-03-04 15:23:38 +01:00
David Anderson f05aeb7aea - web: project info tweak 2013-03-04 15:23:38 +01:00
David Anderson ddf4551108 - web: add hook for "science info" link in result lists (for CAS@home) 2013-03-04 15:23:38 +01:00
David Anderson 690c494612 - web: add "Validation inconclusive" state for task lists 2013-02-26 16:53:20 +01:00
David Anderson 0335c357ab - web: use &middot; instead of | as a separator
svn path=/trunk/boinc/; revision=25873
2012-07-13 22:19:26 +00:00
David Anderson f3c8ab83e9 - web: show job status correctly for new exit codes
svn path=/trunk/boinc/; revision=25858
2012-07-10 20:21:12 +00:00
Rom Walton 474401c51d - OPS: Update error code translation table
html/inc
        result.inc

svn path=/trunk/boinc/; revision=24964
2012-01-01 23:54:58 +00:00
David Anderson 70bbd5673c - web: combine ops and regular functions for displaying
various result attributes as strings


svn path=/trunk/boinc/; revision=24857
2011-12-21 18:29:11 +00:00
David Anderson 9b45adb7cc - web: typo fix
svn path=/trunk/boinc/; revision=24379
2011-10-11 18:58:54 +00:00
David Anderson cb3cdae1a5 - client/server: add a new result state RESULT_UPLOAD_FAILED
for when the job completed successfully but
    one or more output files had permanent upload failures.
    Show this state in web interfaces.
- sample_work_generator: check return value of count_unsent_results(),
    so that we don't generate infinite work if there's a DB problem
- web: RSS feed shows news items from last 90 days, rather than 14


svn path=/trunk/boinc/; revision=24377
2011-10-11 17:41:10 +00:00
David Anderson 9d2ba11e09 - back end: extend the access control system for remote job submission
and other operations.
    You can now designate a user as "manager" for a particular app.
    They can then:
    - control job-submit permissions for that app
    - deprecate/undeprecate versions of the app.
    - abort jobs for that app

    You can also designate a user a manage for the project.
    They can then edit permissions and quotas,
    as well as performing the app-specific functions for all apps.

    This is described here:
    http://boinc.berkeley.edu/trac/wiki/MultiUser#Accesscontrol

    This required some changes to the DB schema.


svn path=/trunk/boinc/; revision=24250
2011-09-21 21:26:00 +00:00
David Anderson 90c84d2c7b - web: fix PHP warning
svn path=/trunk/boinc/; revision=24145
2011-09-08 19:10:10 +00:00
David Anderson bc52bf3563 - remote job submission: bug fixes
svn path=/trunk/boinc/; revision=23943
2011-08-07 22:36:17 +00:00
David Anderson 6e5acbbe60 - web: remote job submission:
- add fields to batch table, extend APIs accordingly
    - require that example web interface run on BOINC server
        (this makes many things easier;
        an actual remote interface would require a bit more work)


svn path=/trunk/boinc/; revision=23881
2011-07-27 06:20:48 +00:00
David Anderson 17e947f543 - web: remote job submission: implement abort and cleanup functions
svn path=/trunk/boinc/; revision=23880
2011-07-26 15:13:10 +00:00
David Anderson 83965db576 - web: more remote job submission code. Not finished.
svn path=/trunk/boinc/; revision=23871
2011-07-25 21:45:53 +00:00
David Anderson bc18d1dd74 svn path=/trunk/boinc/; revision=23627 2011-06-01 05:08:14 +00:00
David Anderson 09cb4daeda svn path=/trunk/boinc/; revision=23625 2011-06-01 04:53:16 +00:00
David Anderson 538b55ae09 - web: add counts in task list pages
svn path=/trunk/boinc/; revision=23624
2011-06-01 04:29:43 +00:00