Commit Graph

2675 Commits

Author SHA1 Message Date
David Anderson 1c4422985f - client: add <no_info_fetch> config option and --no_info_fetch
cmdline arg.
    Suppresses the fetch of project list and of current client version #.
    Use when running on grid nodes.
- debugging on client simulator.  Not done yet.

svn path=/trunk/boinc/; revision=22414
2010-09-27 20:34:47 +00:00
David Anderson fcbb8a286e - client simulator: major remodel and upgrade.
Insteady of using its own XML input files,
    the simulator now takes a client_state.xml file as input.
    The simulator generates a synthetic workload based on the
    projects, apps, app versions, WUs, and result it finds there.

    This means that a user seeing aberrant behavior
    can just send their client_state.xml file
    and (hopefully) we can use the simulator to repro.

    The simulator now can model GPUs.

    As of this checkin, the simulator compiles but doesn't work.
    There should be no change in the actual client.


svn path=/trunk/boinc/; revision=22409
2010-09-24 20:02:42 +00:00
David Anderson 695eb80680 - web: authenticate notices request
svn path=/trunk/boinc/; revision=22397
2010-09-22 22:48:15 +00:00
David Anderson b3383c281e - client/web: change RSS feed mechanism a little.
If <use_since_time> is included in feed description,
    the client will append &since_time=x to the URL,
    where x is the lastBuildDate of the previous reply.
    This notices handler (notices.php) sends only notices
    newer than this.
- client: discard old notices as they arrive

svn path=/trunk/boinc/; revision=22396
2010-09-21 23:49:21 +00:00
David Anderson d1e66f0427 - web: appearance tweaks from Simek; fixes #1012
svn path=/trunk/boinc/; revision=22394
2010-09-20 23:59:25 +00:00
David Anderson e4763dc759 - web: server_status.php is not an ops page
svn path=/trunk/boinc/; revision=22381
2010-09-17 03:45:39 +00:00
David Anderson 82c80f73be - web: bug fix
svn path=/trunk/boinc/; revision=22379
2010-09-16 19:01:14 +00:00
David Anderson 884a53ff91 svn path=/trunk/boinc/; revision=22378 2010-09-16 18:55:48 +00:00
David Anderson 1c953745ed - web: don't call filter_var() if it doesn't exist (PHP version < 5.2)
svn path=/trunk/boinc/; revision=22377
2010-09-16 18:53:39 +00:00
David Anderson d3e4c729e5 - web: don't require that SECURE_URL_BASE be set,
or that it end with a /

svn path=/trunk/boinc/; revision=22366
2010-09-15 23:47:49 +00:00
David Anderson 0ccf399136 - web: move server status page from ops/ to user/.
Remove funky file-writing stuff - just use caching.
    fixes #913
- web: include link to server status page on sample front page

svn path=/trunk/boinc/; revision=22361
2010-09-15 22:28:33 +00:00
David Anderson a766b9c766 - web: improve server status page, and make it translatable
From Christian Beer

svn path=/trunk/boinc/; revision=22360
2010-09-15 22:06:45 +00:00
David Anderson 3de5a1d410 - client: remove spurious msgs about deleting files while in use
- scheduler: add log messages related to max jobs in progress

svn path=/trunk/boinc/; revision=22342
2010-09-13 21:20:30 +00:00
Rytis Slatkevičius b812b28e5b Quick fix of result filtering by app
svn path=/trunk/boinc/; revision=22340
2010-09-13 16:12:00 +00:00
Rytis Slatkevičius 4c1dfc6701 user web: filter results by application.
svn path=/trunk/boinc/; revision=22339
2010-09-12 09:43:20 +00:00
Rytis Slatkevičius 97528f873a user web: fix division by zero in host app versions page.
svn path=/trunk/boinc/; revision=22331
2010-09-09 17:28:36 +00:00
David Anderson 7f0d38ae0c - web: make strings translatable. From Simek, fixes #1007
svn path=/trunk/boinc/; revision=22319
2010-09-07 18:20:29 +00:00
David Anderson 9ed4f892b8 - web: make some strings translatable, fixes #1006, from Simek
svn path=/trunk/boinc/; revision=22316
2010-09-06 13:31:18 +00:00
David Anderson d6315c7112 - fix various XSS vulnerabilities reported by the
Acunetix Web Vulnerability Scanner (free edition)


svn path=/trunk/boinc/; revision=22315
2010-09-04 22:13:27 +00:00
David Anderson 98d44b0120 - web: finish the above
svn path=/trunk/boinc/; revision=22313
2010-09-02 19:29:28 +00:00
David Anderson acb8d8ed0c - web: if SECURE_URL_BASE is defined in html/project/project.inc,
use it a prefix for forms that include passwords,
    namely login_form.php and create_account.php.
    Typically SECURE_URL_BASE would start with "https://".


svn path=/trunk/boinc/; revision=22307
2010-08-29 10:24:39 +00:00
David Anderson 5d05a8d49e - web: check the "next URL" passed to login and account
creation scripts to ensure they refer only to local pages
    (i.e. they don't contain "://").
    This prevents cross-site scripting attacks (I think).

svn path=/trunk/boinc/; revision=22300
2010-08-28 00:06:29 +00:00
David Anderson 84679f482a - scheduler: change the "primary_platform_only" config option
to "prefer_primary_platform".
    If an app has only only 32-bit versions, use the for 64-bit clients.


svn path=/trunk/boinc/; revision=22282
2010-08-22 19:13:25 +00:00
David Anderson 0894974aa7 Update Translations
svn path=/trunk/boinc/; revision=22275
2010-08-20 19:04:09 +00:00
David Anderson 7ca6eeecd2 - web: remove align=right on BBcode images
svn path=/trunk/boinc/; revision=22228
2010-08-14 01:49:08 +00:00
David Anderson d44e403fbf - admin: fix bug with "upgrade --server_only".
It wasn't copying html/ops/db_update.php,
    so it wasn't doing necessary DB updates.
    Fixed this by always copying html/ops/*.

    Even with this fix, there is a problem when using
    the --server_only or --web_only options of upgrade:
    if any DB updates are done, they may affect the
    server code that's not being updated, resulting in crashes.

    I added a warning message in this case,
    recommending that a full upgrade be done.

svn path=/trunk/boinc/; revision=22200
2010-08-11 20:08:13 +00:00
David Anderson b2064d0cd0 - admin: add script for deleting results with no workunit.
There were ~1,400 of these on SETI@home,
    presumably because of a bug at some point in the past.

svn path=/trunk/boinc/; revision=22197
2010-08-11 18:52:11 +00:00
David Anderson c87b089770 - user web: add platform names and elapsed-time info
(represented as "average processing rate")
    to host application details page.

svn path=/trunk/boinc/; revision=22180
2010-08-10 19:45:34 +00:00
David Anderson ede7c8cea9 - web: right-align bbcode images
- API: warning fix

svn path=/trunk/boinc/; revision=22160
2010-08-07 03:33:25 +00:00
David Anderson 1d9e52ca20 svn info http://boinc.berkeley.edu/svn/branches/server_stable
svn path=/trunk/boinc/; revision=22147
2010-08-05 20:16:01 +00:00
David Anderson 1143616bce svn path=/trunk/boinc/; revision=22125 2010-08-04 16:29:04 +00:00
David Anderson 8677a50473 svn path=/trunk/boinc/; revision=22102 2010-08-03 03:56:13 +00:00
David Anderson c0776ea188 - user web: put RSS item titles in CDATA
- sched: get rid of unused config items
- manager: msg tweak

svn path=/trunk/boinc/; revision=22045
2010-07-22 22:57:15 +00:00
David Anderson 8856092154 svn path=/trunk/boinc/; revision=22032 2010-07-22 18:03:30 +00:00
David Anderson 673d44ad0d - client: fix bug with --abort_jobs_on_exit that caused the client
to request new work on exit
- client: change "unparsed tag" to "unrecognized tag" in msgs
- client: get rid of unused var work_fetch_no_new_work

svn path=/trunk/boinc/; revision=22000
2010-07-19 16:44:43 +00:00
David Anderson 0562df07b1 - user web: don't cache XML version of show_user.php
svn path=/trunk/boinc/; revision=21952
2010-07-15 18:10:00 +00:00
David Anderson fe156c945c - user web: translation fixes
svn path=/trunk/boinc/; revision=21938
2010-07-14 19:20:31 +00:00
David Anderson b1851ce02c - user web: PHP 5.3 compatibility fix, from Nicolas. Fixes #787
svn path=/trunk/boinc/; revision=21878
2010-07-06 23:31:26 +00:00
David Anderson 1dca36cdc3 svn path=/trunk/boinc/; revision=21851 2010-06-30 20:14:36 +00:00
David Anderson 8fb8548867 - admin web: tweaks
svn path=/trunk/boinc/; revision=21848
2010-06-30 19:04:36 +00:00
David Anderson 4b48120b05 - user web: show app name in anonymous platform case on task list
svn path=/trunk/boinc/; revision=21846
2010-06-30 18:37:39 +00:00
David Anderson 1d11ad5c61 - user web: notices fix
svn path=/trunk/boinc/; revision=21827
2010-06-27 04:05:48 +00:00
David Anderson 21d697fe9f svn path=/trunk/boinc/; revision=21816 2010-06-25 20:26:08 +00:00
David Anderson 56293c22d1 svn path=/trunk/boinc/; revision=21815 2010-06-25 20:25:42 +00:00
David Anderson 7c51512cbf - transitioner: the format string for a DB query had %.15d instead of %.15e.
That produced a messed-up query that assigned garbage values to:
        host_app_version.turnaround_var
        host_app_version.turnaround_q
        host_app_version.max_jobs_per_day
        host_app_version.consecutive_valid
    To repair these:
        - set turnaround_var and turnaround_q to zero
        - if max_jobs_per_day is outside of
            (0..config.daily_result_quota)
            set it to config.daily_result_quota
        - if consecutive_valid is outside (0..1000), set it to zero
    I added a script, html/ops/repair_21812.php, that does this;
    if you ran server code between [21181] and [21812], run this script.
- scheduler/transitioner: add <debug_quota> log flag
- changed the build system to always use -Wall
    (if we'd done this before, this bug wouldn't have happened)
- fixed a bunch of other compile warnings


svn path=/trunk/boinc/; revision=21812
2010-06-25 18:54:37 +00:00
Rytis Slatkevičius 6c5fc14a23 user web: flag to send less information on team member XML requests (from Willy de Zutter).
svn path=/trunk/boinc/; revision=21780
2010-06-20 08:35:36 +00:00
David Anderson 30d7ced4ca - user web: code cleanup in prefs.inc
svn path=/trunk/boinc/; revision=21766
2010-06-17 19:11:00 +00:00
David Anderson e260b47bd5 - database: app.min_avg_pfc should default to 1, not 0
svn path=/trunk/boinc/; revision=21763
2010-06-17 16:44:33 +00:00
David Anderson 5978cd0c3b - user web: don't show claimed credit
svn path=/trunk/boinc/; revision=21761
2010-06-16 23:52:28 +00:00
David Anderson 989dda3d43 - translation updates
svn path=/trunk/boinc/; revision=21754
2010-06-15 22:23:02 +00:00