Commit Graph

2498 Commits

Author SHA1 Message Date
David Anderson 94b1dc93c9 svn path=/trunk/boinc/; revision=19263 2009-10-05 21:44:53 +00:00
David Anderson d585913f8e svn path=/trunk/boinc/; revision=19232 2009-10-02 20:57:54 +00:00
David Anderson b817b8ed7a - admin web: changed protection scheme as follows:
- default: script can be run from command line;
        to run from web you need to be logged in as a particular user.
        (in addition to .htaccess protection).
    - if include $cli_only at start of script:
        can only be run from the command line.
    - if include $skip_auth_ops at start of script:
        can run from web without being logged in
        (this is set ONLY in login_action.php)
- admin web: added $cli_only = true to a bunch of scripts


svn path=/trunk/boinc/; revision=19230
2009-10-02 18:32:40 +00:00
David Anderson c76d166344 - user web: forum_preferences.{low_rating_threshold, high_rating_threshold}
were deprecated, but were still used in deciding whether to show a post.
    This broke the "ignore list" function.

svn path=/trunk/boinc/; revision=19218
2009-09-29 21:58:54 +00:00
David Anderson 14a88dd54b - user web: show ATI GPUs correctly; show multiple GPUs correctly.
svn path=/trunk/boinc/; revision=19217
2009-09-29 19:46:14 +00:00
David Anderson 8e51669769 - tweak to start
svn path=/trunk/boinc/; revision=19201
2009-09-28 16:19:20 +00:00
David Anderson 71c7e7a74b - client/scheduler/web: add per-project preferences for whether
to accept CPU, NVIDIA and ATI jobs.
    These prefs are shown only where relevant:
    e.g., only for processor types for which the project has app versions,
    and if it has versions for only one type, no pref is shown.

    These prefs affect both client and scheduler.
    The client won't ask for work for a device blocked by prefs,
    and the scheduler won't send it.

    This replaces earlier optional project-specific prefs for
    "no CPU jobs" and "no GPU jobs".
    (However, these prefs continue to be honored on the server side).

- client: if NVIDIA driver is unknown, say that rather than 0


svn path=/trunk/boinc/; revision=19194
2009-09-28 04:24:18 +00:00
David Anderson 4e63946ea2 - admin web: show plan class in "manage app versions" page
from Jon Sonntag.


svn path=/trunk/boinc/; revision=19190
2009-09-26 04:39:50 +00:00
David Anderson d34cc69d45 - user web: remove "enforced by version X+" for X < 6.0
- screensaver: added some comments

svn path=/trunk/boinc/; revision=19167
2009-09-25 17:39:50 +00:00
David Anderson 0f9cda3ea3 - admin web: finished the above.
Got rid of auth_ops_cmdline() (not needed).
    auth_ops() is now called in util_ops.inc;
    every script in html/ops/ must include util_ops.inc.

Note: for existing projects, the admin web interface
    will now show "access denied".
    Projects must think about what access control policy they want,
    and specify it in project.inc


svn path=/trunk/boinc/; revision=19053
2009-09-15 18:14:37 +00:00
David Anderson 17802a2a90 - admin web: add a notion of login to a project's admin pages
(this is separate from login to user pages,
    since the cookie path is different).
- admin web: added a framework for project-specified
    access control to admin pages.
    Can be on the basis of user ID, user flags, etc.
    To do this, define functions auth_ops() and auth_ops_cmdline()
    in html/project/project.inc
    (see the one in project.samples/ for an example)
    This is in addition to .htaccess protection.


svn path=/trunk/boinc/; revision=19052
2009-09-15 04:48:08 +00:00
David Anderson b4ad10182f svn path=/trunk/boinc/; revision=19045 2009-09-11 18:08:54 +00:00
David Anderson 3bcaefd1d7 - web: show BOINC version in host displays
svn path=/trunk/boinc/; revision=19038
2009-09-10 20:30:46 +00:00
David Anderson 8f2a014f58 svn path=/trunk/boinc/; revision=19030 2009-09-08 20:37:40 +00:00
David Anderson c397a9dd9e - web: remove usage of ereg_replace()
Fixes #787.  From Nicolas Alvarez.

svn path=/trunk/boinc/; revision=19010
2009-09-06 05:33:19 +00:00
David Anderson ae3f3e74f1 - client: in choosing GPU jobs in FIFO order,
use job name as tiebreaker if received times are the same.
    This makes the order deterministic.
- web: show elapsed time and CPU time,
    and show app version info, in result display

svn path=/trunk/boinc/; revision=19008
2009-09-06 03:51:12 +00:00
David Anderson da7e82fe15 - scheduler and back end: add new fields to result table:
elapsed_time: the elapsed time (runtime) as reported by client
    flops_estimate: the app's estimated FLOPS as reported by app_plan()
    app_version_id: the DB ID of the app_version used
        (or -1 if anonymous platform)
    TODO: show these in the web interfaces,
    and use them where appropriate

svn path=/trunk/boinc/; revision=19002
2009-09-03 20:26:31 +00:00
David Anderson a412f6d6d1 svn path=/trunk/boinc/; revision=18987 2009-09-02 15:23:20 +00:00
David Anderson dd2bb6d4ba - scheduler: put client version in host.serialnum
- web: parse serialnum correctly

svn path=/trunk/boinc/; revision=18986
2009-09-02 15:18:15 +00:00
David Anderson 12d4b978be - scheduler: if client request uses a weak authenticator,
don't modify user preferences or CPID.
- client: fix bug that shows ATI version incorrectly
- database: host.posts has been repurposed as a salt (or seqno)
    for a new type of weak authenticator that won't depend on password
- web code:
    modify forum_preferences.posts instead of host.posts.
    (actually, the former isn't used either, we just do a select count(*);
    should fix this at some point).

svn path=/trunk/boinc/; revision=18865
2009-08-18 20:44:12 +00:00
David Anderson f3cd007656 - web: export app ID in apps.php
svn path=/trunk/boinc/; revision=18787
2009-07-31 21:27:03 +00:00
David Anderson 786f61cfbe - file upload handler: don't treat zero-length file as an error!
(This bug has been there since 28 Oct 2004)
- GUI RPC and manager: include project backoff in FILE_TRANSFER,
    so that manager gets up-to-date value


svn path=/trunk/boinc/; revision=18786
2009-07-31 19:46:47 +00:00
David Anderson 2c03cb2732 - client: if an HTTP op fails within 30 sec of client startup,
don't skip the reference site check.
    Instead, defer the reference site check until 30 secs after startup.
    Also, if during this interval (when the check has been requested
    but not started) return net status as LOOKUP_PENDING

svn path=/trunk/boinc/; revision=18760
2009-07-28 22:24:14 +00:00
David Anderson 0f0a29b5b7 - client: in get_project_config_poll() GUI RPC,
return ERR_IN_PROGRESS is the reference site check is in progress.
    This hopefully fixes a bug where:
    - the user is connected via a proxy
    - the manager is run for the first time, and an attach is tried
    - the get_project_config.php fetch fails because no proxy config
    - the manager gets the CC_STATUS before the ref site check has
        finished, so it thinks there's a network connection,
        and it doesn't ask the user for proxy info

svn path=/trunk/boinc/; revision=18712
2009-07-24 19:09:37 +00:00
David Anderson a4e82069d6 - client: add a bunch of debugging messages (<task_debug>)
for showing how GPU instances are being reserved
- scheduler: add "sse3" plan class example
- web: add option (NO_TEAMS constant) for suppressing teams

svn path=/trunk/boinc/; revision=18658
2009-07-22 18:41:02 +00:00
David Anderson e9a028db93 svn path=/trunk/boinc/; revision=18638 2009-07-21 17:30:08 +00:00
David Anderson b358089006 svn path=/trunk/boinc/; revision=18632 2009-07-20 17:30:10 +00:00
David Anderson ce711b7acc svn path=/trunk/boinc/; revision=18618 2009-07-17 16:18:25 +00:00
David Anderson 390e7b3c3a svn path=/trunk/boinc/; revision=18617 2009-07-17 16:13:51 +00:00
David Anderson 13c647ece8 - fix client simulator
- web: if DB server down, say so


svn path=/trunk/boinc/; revision=18554
2009-07-06 16:33:02 +00:00
David Anderson 2a0a83d1c8 svn path=/trunk/boinc/; revision=18502 2009-06-25 16:53:17 +00:00
David Anderson 88a08ce2c4 svn path=/trunk/boinc/; revision=18501 2009-06-25 16:52:02 +00:00
David Anderson 98d6eb5830 svn path=/trunk/boinc/; revision=18500 2009-06-25 05:20:19 +00:00
David Anderson a884f77597 svn path=/trunk/boinc/; revision=18499 2009-06-25 05:16:27 +00:00
Jeff Cobb 15ccf7b778 Added table state_counts.
svn path=/trunk/boinc/; revision=18490
2009-06-23 21:45:22 +00:00
David Anderson f2d6d98807 svn path=/trunk/boinc/; revision=18488 2009-06-23 17:18:29 +00:00
David Anderson 5e94337e8e - more code cleanup
svn path=/trunk/boinc/; revision=18487
2009-06-23 17:15:17 +00:00
David Anderson df9547fcf4 - web: code cleanup
svn path=/trunk/boinc/; revision=18486
2009-06-23 17:13:35 +00:00
David Anderson 9f8fda388b - web: add buttons for BBCode editing.
From John Hallissey

svn path=/trunk/boinc/; revision=18485
2009-06-23 16:37:13 +00:00
David Anderson 64bcd9e9e2 svn path=/trunk/boinc/; revision=18484 2009-06-23 16:31:42 +00:00
David Anderson 0faaf89068 - web: change "CPU time" to "run time"
svn path=/trunk/boinc/; revision=18426
2009-06-16 17:15:55 +00:00
David Anderson d4a43f05eb - web RPC: tweak to forum_get_data.php
svn path=/trunk/boinc/; revision=18415
2009-06-15 03:39:27 +00:00
David Anderson 7fbe9edc15 - web: fix up country flags a little
svn path=/trunk/boinc/; revision=18397
2009-06-12 16:35:08 +00:00
David Anderson 5f6f1fe8a6 svn path=/trunk/boinc/; revision=18391 2009-06-12 04:36:18 +00:00
David Anderson 5a14204a1a - web: country flags
svn path=/trunk/boinc/; revision=18390
2009-06-12 04:26:01 +00:00
David Anderson 08e4ba3df6 - server: suppress verbosity of update_translations in make_project and upgrade
svn path=/trunk/boinc/; revision=18381
2009-06-11 17:25:01 +00:00
David Anderson bf2f9942bd - web: don't show user ID next to posts
- web: fix [pre] bbcode


svn path=/trunk/boinc/; revision=18357
2009-06-10 22:54:21 +00:00
David Anderson 54bf84dd4e svn path=/trunk/boinc/; revision=18353 2009-06-10 18:42:15 +00:00
David Anderson d6d738a47d - web: allow projects to account email addresses in certain domains.
Add the following to html/project/project.inc:

    $banned_email_domains = array(
        "foo.bar",
        "blah"
    );

    Email addresses ending with any of those strings will be disallowed.
- Web RPCs: have am_set_info.php do the same checking for
    email addresses (invalid, banned) as the other web code


svn path=/trunk/boinc/; revision=18352
2009-06-10 18:34:51 +00:00
David Anderson ca44344068 - GUI RPC: include hostid in PROJECT
- web: include timed-out and "client detached" results in error category


svn path=/trunk/boinc/; revision=18330
2009-06-08 17:08:52 +00:00