Commit Graph

3149 Commits

Author SHA1 Message Date
David Anderson 6d8cf13abe svn path=/trunk/boinc/; revision=25495 2012-03-26 22:46:02 +00:00
David Anderson 0e0c7f758b - web: add script for replacing blank user names with the user ID
svn path=/trunk/boinc/; revision=25494
2012-03-26 22:45:14 +00:00
Rytis Slatkevičius 1abf76b7e6 Fix account creation RPC
svn path=/trunk/boinc/; revision=25488
2012-03-26 05:48:38 +00:00
Rytis Slatkevičius 2bb7957386 Fix previous commit
svn path=/trunk/boinc/; revision=25486
2012-03-24 14:55:58 +00:00
David Anderson 24761958fd - client/server: estimate FLOPS for NVIDIA GPUs with
compute capability 3.x.
    Not sure if the parameters are right
    (128 cores/proc, 2 flops/clock)
    but they're better than nothing.
- web: don't allow user names that have leading or trailing white space,
    or HTML tags, or are empty


svn path=/trunk/boinc/; revision=25485
2012-03-24 06:31:03 +00:00
David Anderson adab6254bc Update Translation
svn path=/trunk/boinc/; revision=25477
2012-03-23 16:25:19 +00:00
David Anderson c229667415 Update Translations
svn path=/trunk/boinc/; revision=25418
2012-03-14 01:21:36 +00:00
David Anderson 71066313a8 Update Translations
svn path=/trunk/boinc/; revision=25406
2012-03-12 22:50:41 +00:00
David Anderson d5347f0ff1 - web: allow a project to specify 2 stylesheets
svn path=/trunk/boinc/; revision=25398
2012-03-09 21:40:57 +00:00
Wenjing Wu 9c3e4b76f0 fix bug: batch_name
svn path=/trunk/boinc/; revision=25390
2012-03-07 02:36:55 +00:00
David Anderson 6da0094f84 - LAMMPS: fix code formatting
svn path=/trunk/boinc/; revision=25383
2012-03-06 04:53:38 +00:00
David Anderson 7558829e4a - web: open BBCode instructions in new window (or tab).
Otherwise, on IE, you lose the text you already entered
    when you go back.


svn path=/trunk/boinc/; revision=25378
2012-03-04 20:37:10 +00:00
David Anderson 3f5c03d813 - LAMMPS job submission: set rsc_fpops_bound to 20 times rsc_fpops_est
svn path=/trunk/boinc/; revision=25377
2012-03-04 05:29:14 +00:00
David Anderson d5bf5c46e3 - Manager: in Project Properties page,
show if a GPU type is excluded by configuration
- client: don't fetch work for a resource type if all instances
    of that type are excluded
- web: don't use filter_var(, FILTER_SANITIZE_STRING)
    to strip HTML tags from a string.
    This escapes singles quotes also.
    Use strip_tags() instead.


svn path=/trunk/boinc/; revision=25375
2012-03-04 04:58:41 +00:00
Wenjing Wu f088060382 lammps job submission
svn path=/trunk/boinc/; revision=25370
2012-03-03 07:13:33 +00:00
David Anderson b519207cee svn path=/trunk/boinc/; revision=25366 2012-03-02 08:22:29 +00:00
David Anderson 65625c50ad - initialize batch state
svn path=/trunk/boinc/; revision=25365
2012-03-02 08:16:28 +00:00
Wenjing Wu 74a549df1e wuwj fix bugs of caculation of njobs
svn path=/trunk/boinc/; revision=25364
2012-03-02 07:08:08 +00:00
Wenjing Wu 048b43b544 wuwj sandbox file selection filter
svn path=/trunk/boinc/; revision=25363
2012-03-02 06:12:36 +00:00
Wenjing Wu 242b104f05 wuwn add disk estimation to lammps.php
svn path=/trunk/boinc/; revision=25360
2012-03-01 12:34:50 +00:00
David Anderson f18ffd6fe7 - VDA: add some log messages
- scheduler: add VDA
- client, web: change default prefs to min_buf=.1 days, max_buf=.5 days
- scheduler: app plan function for vbox requires 7.0+ client


svn path=/trunk/boinc/; revision=25351
2012-02-28 06:57:28 +00:00
David Anderson 08d7dcd6d9 - client: amend checkin of 18 Feb to not request work if
work buffer is above upper limit


svn path=/trunk/boinc/; revision=25335
2012-02-24 16:42:38 +00:00
David Anderson 14199c7b97 - web: change wording of buffer-size prefs
svn path=/trunk/boinc/; revision=25272
2012-02-16 16:52:07 +00:00
David Anderson 58e26b9b4b - web: in user search, show most recent rather than oldest users
- web: don't show URL in account page if expavg_credit < 1.
    This discourages a type of spam.


svn path=/trunk/boinc/; revision=25267
2012-02-15 19:25:41 +00:00
David Anderson ff7fcb293a - admin web: fix error when showing unsent results
svn path=/trunk/boinc/; revision=25260
2012-02-14 21:12:57 +00:00
David Anderson 739f40c4f7 - client: HTTP range request errors are permanent.
svn path=/trunk/boinc/; revision=25213
2012-02-07 07:58:08 +00:00
David Anderson 8f84416ab7 - scheduler: add log messages to show VM-related request items
- fix typos in db_update script


svn path=/trunk/boinc/; revision=25183
2012-02-02 00:18:42 +00:00
David Anderson 480e28b54c - web: fix the user search feature
- scheduler: parse d_project_share
- scheduler: if vbox and vbox_mt are both available,
    use vbox for a 1-CPU machine


svn path=/trunk/boinc/; revision=25176
2012-02-01 03:30:14 +00:00
David Anderson 004c5692e3 - create_work tool: change option names for assigned jobs
- admin web: show actual platform name in result summary page


svn path=/trunk/boinc/; revision=25175
2012-01-31 20:25:26 +00:00
David Anderson ddd98cf8ec - admin web: fixes and clarifications to failure summaries
svn path=/trunk/boinc/; revision=25171
2012-01-31 07:21:42 +00:00
David Anderson 9285bc3961 - admin web: improvements to the pages for investigating result failures
(though considerable funkiness remains)


svn path=/trunk/boinc/; revision=25170
2012-01-30 23:57:18 +00:00
David Anderson 130d6ed4f0 - server: revamp the "assigned job" mechanism.
This now supports two main use cases:
    1) there's a job that you want to run once on all hosts,
        present and future
        (or all hosts belonging to a user, or to a team).
        The job is never transitioned, validated, or assimilated.
    2) There's a normal job for which you want to use only
        hosts belonging to a specific user (e.g. cluster or cloud hosts).
        This restriction can be made either when the job is created,
        or on the fly,
        e.g. as part of a scheme for accelerating batch completion.
        For the latter purposes we now provide a function
            restrict_wu_to_user(DB_WORKUNIT&, int userid);

        The job goes through the standard
        transitioner/validator/assimilator path.

    These cases are enabled by config flags
        <enable_assignment_multi/>
        <enable_assignment/>
    respectively.

    Assignment of type 2) are no longer stored in shared mem,
    so there is no limit on their number.

    There is no longer a rule that assigned job names must contain "asgn".

    NOTE: this requires a database update.


svn path=/trunk/boinc/; revision=25169
2012-01-30 22:39:13 +00:00
David Anderson f092fe8aa8 - web: msg tweak
- screensaver coordinator: use new XML parser

svn path=/trunk/boinc/; revision=25165
2012-01-29 07:25:55 +00:00
David Anderson b0e3fadef1 - manager: in Disk View, try to make colors more distinct.
In addition to varying the hue,
    cycle through 3 different luminance values (.5, .7, .9)
- web: update the wording of buffer-size preferences


svn path=/trunk/boinc/; revision=25162
2012-01-27 19:24:20 +00:00
David Anderson 3caa013033 - web: use et_n instead of pfc_n for #jobs completed
in host app details page
    (pfc_n is not populated for hosts running old clients)


svn path=/trunk/boinc/; revision=25134
2012-01-24 04:44:08 +00:00
David Anderson 29769e132c - admin web: if change app or app version params,
advise user to stop/restart the project


svn path=/trunk/boinc/; revision=25115
2012-01-21 00:04:54 +00:00
David Anderson 91317aa576 - WAP interface to credit info: return correct timestamp,
and don't bother with caching.


svn path=/trunk/boinc/; revision=25101
2012-01-18 20:59:24 +00:00
David Anderson 8dd9d309fa - web: link between LAMMPS job submission page and file sandbox page
svn path=/trunk/boinc/; revision=25090
2012-01-18 09:04:35 +00:00
David Anderson d4a91e5877 - LAMMPS job submission: improve completion estimate
svn path=/trunk/boinc/; revision=25033
2012-01-12 08:01:07 +00:00
Wenjing Wu f5c434fc49 wuwj update lammps.php
svn path=/trunk/boinc/; revision=25026
2012-01-11 07:57:59 +00:00
David Anderson 5020e3af2f - validator: for credit_from_runtime,
use result.flops_estimate rather than host.p_fpops;
    otherwise it doesn't work for multicore apps.
    TODO: cheat-proofing


svn path=/trunk/boinc/; revision=25006
2012-01-06 22:22:02 +00:00
David Anderson 5be4be2c68 - LAMMPS
svn path=/trunk/boinc/; revision=24986
2012-01-03 09:47:21 +00:00
David Anderson e05e872132 - sandbox stuff
svn path=/trunk/boinc/; revision=24985
2012-01-03 09:30:43 +00:00
David Anderson d81fa10439 - LAMMPS
svn path=/trunk/boinc/; revision=24984
2012-01-03 08:13:38 +00:00
David Anderson d1b85524db - remote job submission
svn path=/trunk/boinc/; revision=24983
2012-01-03 08:10:12 +00:00
David Anderson fb34f36b1c svn path=/trunk/boinc/; revision=24982 2012-01-03 05:41:54 +00:00
David Anderson a3ac9a8169 svn path=/trunk/boinc/; revision=24981 2012-01-03 05:39:13 +00:00
David Anderson fb8c2ee566 - remote job submission: show input file links
- ops: fix message: app.min_version applies to HR app versions,
    not client version


svn path=/trunk/boinc/; revision=24980
2012-01-03 03:51:43 +00:00
David Anderson 54c4c19d90 svn path=/trunk/boinc/; revision=24975 2012-01-02 10:30:06 +00:00
David Anderson a8c8c020c7 svn path=/trunk/boinc/; revision=24974 2012-01-02 09:16:13 +00:00
David Anderson f1b6ef7628 svn path=/trunk/boinc/; revision=24973 2012-01-02 09:14:19 +00:00
David Anderson 30952ed708 svn path=/trunk/boinc/; revision=24972 2012-01-02 09:12:55 +00:00
David Anderson 62b4b2aaf9 - LAMMPS
svn path=/trunk/boinc/; revision=24971
2012-01-02 08:54:28 +00:00
David Anderson b1a51d7d11 - LAMMPS stuff
svn path=/trunk/boinc/; revision=24970
2012-01-02 08:46:21 +00:00
David Anderson 33b607dab1 - upgrade script:
- prompt user for DB user/passwd if DB updates needed
    - error out immediately if any DB update fails
    Fixes #1169, #1170
- create_work: check for duplicate <file_info>s in input template
    NOTE: the input template syntax is pretty clunky


svn path=/trunk/boinc/; revision=24969
2012-01-02 07:33:08 +00:00
David Anderson bba4ce24ce - client: compute projects' disk share (based on resource share).
Report it (along with disk usage) in scheduler request messages.
    This will allow the scheduler to send file-delete commands
    if the project is using more than its share.
- client: add <disk_usage_debug> log flag
- create_work: add --help, show --command_line option


svn path=/trunk/boinc/; revision=24968
2012-01-02 05:53:42 +00:00
David Anderson f056c12866 svn path=/trunk/boinc/; revision=24966 2012-01-02 02:47:28 +00:00
David Anderson fe56372ada - ops: fix link in index page
svn path=/trunk/boinc/; revision=24965
2012-01-02 02:31: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
Rom Walton c55350d0a6 - OPS: Update failure_result_summary_by_platform.php to include
plan class information.
        
    html/ops
        failure_result_summary_by_platform.php

svn path=/trunk/boinc/; revision=24963
2012-01-01 23:44:48 +00:00
David Anderson 8b4df3817e svn path=/trunk/boinc/; revision=24961 2012-01-01 03:35:29 +00:00
David Anderson 324f24b4c4 svn path=/trunk/boinc/; revision=24960 2011-12-31 08:58:16 +00:00
David Anderson 2b4e6c2f65 - web: new page to manage job submission
svn path=/trunk/boinc/; revision=24959
2011-12-31 08:57:53 +00:00
David Anderson 1eff1601d2 - web: add script for submission of batches of LAMMPS jobs
svn path=/trunk/boinc/; revision=24958
2011-12-31 07:50:55 +00:00
David Anderson c201b30561 - web: implement file sandbox for remote job submission
svn path=/trunk/boinc/; revision=24957
2011-12-31 04:33:11 +00:00
David Anderson ac2e3581d3 svn path=/trunk/boinc/; revision=24943 2011-12-30 06:18:57 +00:00
David Anderson 0f46b80985 - scheduler: record Vbox version correctly in host records
- remote job submission: partial checkin for new file sandbox stuff


svn path=/trunk/boinc/; revision=24937
2011-12-29 06:30:18 +00:00
David Anderson fe16024982 - scheduler: in vbox plan class, require that host have
VM acceleration hardware feature
- remove job submission: typo fix


svn path=/trunk/boinc/; revision=24902
2011-12-26 08:27:40 +00:00
David Anderson eaddebab61 - web: more translatability. From Uwe Becker.
svn path=/trunk/boinc/; revision=24886
2011-12-24 15:37:20 +00:00
David Anderson f1bd6cfa2d - web: show actual URL and weak auth on weak auth page
- web: make merge and pending pages translatable
From Uwe Becker


svn path=/trunk/boinc/; revision=24885
2011-12-24 05:19:21 +00:00
Rom Walton 3aa01ec513 - Web: Don't display VirtualBox version number information in the coproc field while
displaying host information.
        
    html/inc/
        host.inc

svn path=/trunk/boinc/; revision=24882
2011-12-24 02:01:54 +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 125b825846 - web: clean up the logic for when to allow 2 hosts to be merged
svn path=/trunk/boinc/; revision=24819
2011-12-16 19:40:22 +00:00
David Anderson fa3f5a945e - bug fixes in remote job submission tools
(manage_privileges and get_output.php).
    From Nico Schlitter.
- change things so that
    make_project --test_app
    will produce input/output templates that are compatible
    with the remote job submission tools


svn path=/trunk/boinc/; revision=24774
2011-12-10 22:03:43 +00:00
David Anderson dd93780787 - API and client: add "ncpus" field to APP_INIT_DATA.
Tells multicore apps how many cores to use.
    The --nthreads command line arg to the app is now deprecated
    though we'll keep it around for the time being.


svn path=/trunk/boinc/; revision=24708
2011-12-01 18:44:19 +00:00
David Anderson 517a49e607 - web: add [sup] BBCode tag for superscripts.
- web: show BBCode info in the same page, rather than target=new.
    On Firefox, this opens a new tab but doesn't switch to it,
    which makes it look like nothing happened.


svn path=/trunk/boinc/; revision=24622
2011-11-20 17:26:32 +00:00
David Anderson 3b5f49ed79 - fixes to gpu_ratios.php
svn path=/trunk/boinc/; revision=24616
2011-11-16 20:13:13 +00:00
David Anderson de8b7e2041 - fix gpu_ratios.php
svn path=/trunk/boinc/; revision=24615
2011-11-16 20:09:06 +00:00
David Anderson 8877aa5183 - web: in GPU model list page,
look for plan classes containing "nvidia" as well as "cuda".


svn path=/trunk/boinc/; revision=24614
2011-11-16 19:47:40 +00:00
David Anderson a7e7da6bff - client: show error messages (as notices) when get an error
parsing cc_config.xml
- client: if an <exclude_cpu> element in cc_config.xml
    specifies a nonexistent app, show an error msg with
    a list of existing app names
- web: increase the default mem limit from 64MB to 256MB
    TODO: change user_hosts.php to show N at a time


svn path=/trunk/boinc/; revision=24593
2011-11-14 23:31:12 +00:00
David Anderson 7c201eba3f - DB: use %u when writing result IDs in SQL queries;
this is to support SETI@home, which ran out of result IDs
    and changed the DB field type to int unsigned.
    Note: eventually I'll make this change official
    and change the .h types as well.
- web: put <apps_selected> tags around <app_id> elements
    in project-specific prefs.


svn path=/trunk/boinc/; revision=24555
2011-11-09 07:41:49 +00:00
David Anderson ad2f3771da - client: fix bugs when writing/parsing cc_config.xml via GUI RPCs
(e.g. when editing it via the Manager).
    Include only the GPUs that were specified in the original cc_config.xml,
    not those detected by the client.
- client: fix bug that failed to require authorization for
    GUI RPCs that are supposed to be authorized
- client: report parse errors in acct_mgr_url.xml and acct_mgr_login.xml
- fix compile warnings
- user web: in sample project_specific_prefs.inc,
    get app names from the DB instead of listing them in the PHP code.


svn path=/trunk/boinc/; revision=24518
2011-11-03 19:19:36 +00:00
David Anderson 690e18bbe3 - server: plan class names containing 'nvidia' or 'cuda'
are assumed to be for NVIDIA GPU apps;
    plan class names containing 'ati' are assumed to be for AMD GPU apps.
    Clauses for 'nvidia' were missing in a couple of places.


svn path=/trunk/boinc/; revision=24512
2011-11-03 05:26:19 +00:00
Rom Walton 687195e7f0 Quick Updates
svn path=/trunk/boinc/; revision=24510
2011-11-03 02:35:04 +00:00
David Anderson 47e5627c6e - web: fix typo that failed to show ATI GPUs in top-GPU page
svn path=/trunk/boinc/; revision=24499
2011-10-26 22:11:37 +00:00
David Anderson 6297bdbc77 - web: typo in forum RSS from Daniel L G; fixes #1147
- client: message tweak


svn path=/trunk/boinc/; revision=24483
2011-10-25 17:22:18 +00:00
David Anderson 6c0bae7fb2 - web: forum RSS shouldn't filter sticky threads.
Not sure why that was in there.

svn path=/trunk/boinc/; revision=24466
2011-10-24 04:24:44 +00:00
David Anderson 53af2ae778 - client/API: pass bool using_sandbox in APP_INIT_DATA;
says whether the client is using account-based sandboxing.
    Needed by vboxwrapper.
- web: don't show authenticator in Your Account page.
    The problem with authenticators is that if a bad guys gets yours,
    they can log in to your account even if you change your password.
    Eventually we should not use them at all
    (i.e. in cookies and sent to client).
- make_project: copy python stuff (e.g. bin/start) for web-only projects;
    generate appropriate project.readme file for web-only projects.


svn path=/trunk/boinc/; revision=24447
2011-10-21 06:58:35 +00:00
David Anderson c22f8f41b9 - client simulator: make the output more graphical
svn path=/trunk/boinc/; revision=24406
2011-10-17 06:13:51 +00:00
David Anderson 836e8aacf7 - scheduler: in cuda_check(), ati_check() and opencl_check()
(in sched_customize.cpp)
    the flops_scale argument is intended to express the
    GPU efficiency (actual/peak).
    Pass appropriate values.


svn path=/trunk/boinc/; revision=24405
2011-10-16 06:04:13 +00:00
David Anderson 37c71fd18c - web: fix bug in user search when enter empty name prefix
svn path=/trunk/boinc/; revision=24392
2011-10-13 19:21:25 +00:00
David Anderson 9b45adb7cc - web: typo fix
svn path=/trunk/boinc/; revision=24379
2011-10-11 18:58:54 +00:00
David Anderson 0793e66ff7 - client and user web: show NVIDIA driver version and CUDA version
as, e.g., 275.33 instead of 27533


svn path=/trunk/boinc/; revision=24378
2011-10-11 18:57:49 +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 36fc4b7bb3 - web: fix error in profile listings.
From Uwe Becker.


svn path=/trunk/boinc/; revision=24324
2011-10-03 17:11:45 +00:00
David Anderson 090050c0ca - client: fix bug that could cause GPU idleness
in the presence of GPU exclusions.
    The problem was in the job-selection phase,
    which picks enough jobs to use all devices.
    It was ignoring GPU exclusions, so for example on
    a 2 GPU system it could pick 2 jobs from a project
    for which 1 GPU is excluded,
    and as a result 1 GPU would be idle.

    Solution: during job selection,
    keep track of GPU usage on a per-instance basis.
    Select a job only if it can run on a non-excluded GPU.

- client: in computing ncprocs_excluded (which is used in
    work fetch policy) don't count exclusions of non-existent devices


svn path=/trunk/boinc/; revision=24316
2011-10-03 03:29:58 +00:00
David Anderson d8a5fe6074 - team import script: don't exit if fail to create user.
The failure may be because the email is banned
	(as happened w/ SETI@home)


svn path=/trunk/boinc/; revision=24315
2011-10-02 06:59:00 +00:00
David Anderson b7f1aa0226 - client: fix a bug reported by Jacob Klein,
where work fetch didn't work right in the presence of
    multiple GPUs and <exclude_gpu> config options.
    For example: suppose:
        - you have 2 GPUs and 2 projects
        - Project A is excluded from GPU 1
        - you have lots of jobs for project A
    Then the client won't try to fetch jobs from project B.

    The problem had 2 parts:
    a) round-robin simulation wasn't taking GPU exclusions into account.
        In the above example, it would think that both GPUs had jobs.
        I fixed this by computing the # of GPUs from each project
        is excluded, and using this in the RR simulation.
    b) Once this was done, I needed to make the client
        request GPU jobs from project B rather than project A.
        I did this with following policy:
        If a project has excluded GPUs of a given type,
        and has a runnable job of that type,
        don't ask it for more work of that type.

    Notes:
    - the policy in b) is crude, and it means that work-buffer
        preferences are ignored in some cases.
    - neither a) nor b) takes into account app-level exclusions.

    I could fix both of these with a lot of work,
    but I'd rather move to a model in which dissimilar GPUs
    are modeled as different resources,
    which would remove the need for the <exclude_gpu> mechanism
    in the first place.

- web: remove extraneous ) at end of button tooltips


svn path=/trunk/boinc/; revision=24312
2011-10-01 16:23:28 +00:00
Rom Walton d8a2fe743a - web: The create_account RPC supports taking an invite_code parameter
but we currently do not expose a way in get_project_config to determine
        that a UI should prompt for one.  Add a <invite_code_required/> tag
        if the project is only accepting new accounts by invitation.
        
    html/user/
        get_project_config.php

svn path=/trunk/boinc/; revision=24300
2011-09-27 15:22:34 +00:00
David Anderson d886dfcc37 - web: when showing a user's posts, don't show the ones
in hidden threads
- web: in showing the context of a post, link the thread also.


svn path=/trunk/boinc/; revision=24298
2011-09-27 07:35:26 +00:00
David Anderson b9eda96e8a web: message tweak
svn path=/trunk/boinc/; revision=24278
2011-09-23 17:18:33 +00:00
David Anderson 02a14b56af - web: don't addslashes() for button titles; this was left over
from when buttons were implemented in Javascript


svn path=/trunk/boinc/; revision=24277
2011-09-23 17:17:12 +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 e49f945908 - Validator: allow project-specific code to mark a result
is a "runtime outlier", i.e. its runtime does
    not correspond to the job's rsc_fpops_est.
    Runtime outliers are not counted in the statistics for
    elapsed time, turnaround time, and peak FLOPs count.

    The is intended for applications like SETI@home,
    some of whose jobs finish more or less instantly
    (this happens if the data contains a lot of interference).
    If a host happens to get a bunch of these short jobs,
    its statistics will get skewed: in essence, the server
    will think that the host is extremely fast,
    and will send it too many jobs.


svn path=/trunk/boinc/; revision=24225
2011-09-16 16:43:15 +00:00
David Anderson 38d6c26fff - web: add <no_web_account_creation> config option
svn path=/trunk/boinc/; revision=24174
2011-09-13 04:53:13 +00:00
David Anderson 61082ca10a - web: suppress warning on cache unlink
svn path=/trunk/boinc/; revision=24152
2011-09-09 16:05:46 +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 8c49c174c3 - preliminary stuff for mechanism where privileged users
can create apps and app versions
- crontab commands should be preceded by cd to project root


svn path=/trunk/boinc/; revision=24137
2011-09-07 06:54:44 +00:00
David Anderson fa419731dd - scheduler RPC: add <override_file_present> element to
the <working_global_preferences> element in
    scheduler RPC request
    (tells the server that there's an override file).
- account manager RPC: add <working_global_preferences> element,
    including the override flag.
- web: add "no time limit" option for forum search
- web: increase show-user-post query limit to 10000


svn path=/trunk/boinc/; revision=24129
2011-09-06 04:34:29 +00:00
David Anderson 7c81d72378 - web: fix warnings in forum pages
- scheduler: when using elapsed time stats to predict runtime,
    cap the estimated FLOPS at twice the peak FLOPS;
    otherwise, if a host has received a lot of very short jobs
    recently, it will get a too-high FLOPS estimate and
    will exceed the rsc_fpops_bound limit.


svn path=/trunk/boinc/; revision=24128
2011-09-05 17:29:53 +00:00
David Anderson 60f0b3ed4e - web: when displaying a user's posts, limit the query to 1000
so the page doesn't exceed CPU limit


svn path=/trunk/boinc/; revision=24127
2011-09-03 04:24:01 +00:00
David Anderson 94d32d8eb9 - web: fix bug in add project prefs for a venue
svn path=/trunk/boinc/; revision=24124
2011-09-02 21:45:13 +00:00
David Anderson 4d55e4db1b - web: fix bug in "allow beta apps" preferences editing
svn path=/trunk/boinc/; revision=24109
2011-09-01 20:54:49 +00:00
David Anderson c3c2d33827 - web: show relative performance on GPU list
svn path=/trunk/boinc/; revision=24102
2011-09-01 05:05:53 +00:00
David Anderson 0972aa28d4 svn path=/trunk/boinc/; revision=24099 2011-08-31 20:09:58 +00:00
David Anderson a65291ce1f - web: show actual project info on "forget password?" page
svn path=/trunk/boinc/; revision=24096
2011-08-31 17:14:51 +00:00
David Anderson d36ebb68c3 - web: sort GPUs by average elapsed time
svn path=/trunk/boinc/; revision=24085
2011-08-30 21:39:05 +00:00
David Anderson f4a42d10f7 svn path=/trunk/boinc/; revision=24072 2011-08-30 07:05:22 +00:00
David Anderson 0bb992197d svn path=/trunk/boinc/; revision=24071 2011-08-30 07:01:55 +00:00
David Anderson c36c2fe639 svn path=/trunk/boinc/; revision=24070 2011-08-30 07:00:53 +00:00
David Anderson 3125f3ecbd - web: add page showing top GPU models
svn path=/trunk/boinc/; revision=24069
2011-08-30 05:54:34 +00:00
David Anderson f732b0b470 - web: fix bug in "report post" function
svn path=/trunk/boinc/; revision=24067
2011-08-29 17:50:00 +00:00
David Anderson e88b88f3cd - web: fix typo in profile credit/edit
svn path=/trunk/boinc/; revision=24065
2011-08-29 16:33:18 +00:00
David Anderson 1c054907c7 - web: fix some stuff broken by my checkin [24039].
- web: use &amp; instead of & in URLs (not complete)


svn path=/trunk/boinc/; revision=24064
2011-08-29 05:37:52 +00:00
David Anderson 1daa9c804e - web: fix to the above
- web: fix forum search


svn path=/trunk/boinc/; revision=24063
2011-08-28 21:27:52 +00:00
David Anderson 34efc9a85e - web: add a magic header string that supposedly will make
Recaptcha work on some IE variants.  WTF??


svn path=/trunk/boinc/; revision=24062
2011-08-28 05:15:16 +00:00
David Anderson eff9838226 - web: more tra() stuff
svn path=/trunk/boinc/; revision=24061
2011-08-28 01:22:54 +00:00
David Anderson 595df001cc - web: fix glitch in forum next/prev links
svn path=/trunk/boinc/; revision=24060
2011-08-28 00:31:40 +00:00
David Anderson 4696fbd9b6 - web: comment out OpenID login - not working yet
svn path=/trunk/boinc/; revision=24056
2011-08-27 15:25:08 +00:00
David Anderson 78a9c920c7 - web: more fixes from Christian Beer. Fixes #1129
svn path=/trunk/boinc/; revision=24050
2011-08-26 18:30:13 +00:00
David Anderson 4d45dda3d9 - validator: update credit statistics even if credit_from_wu
is being used.
- web: make almost everything translatable.  From Christian Beer.


svn path=/trunk/boinc/; revision=24048
2011-08-25 22:12:48 +00:00
David Anderson 49205acfd9 - job submission: fix bug where parameters specified in the
input template (e.g., delay bound) were ignored
- web: fix PHP warning


svn path=/trunk/boinc/; revision=24039
2011-08-25 05:08:47 +00:00
David Anderson c3649f289b - add script to purge trickle message records from DB
- fix spelling errors in db_purge


svn path=/trunk/boinc/; revision=24019
2011-08-21 13:26:46 +00:00
David Anderson b7d0d94770 svn path=/trunk/boinc/; revision=24015 2011-08-19 14:02:11 +00:00
David Anderson 12f7c6e04e - web: when sending emails to other users, don't translate anything
(since they don't necessarily speak our language)


svn path=/trunk/boinc/; revision=23948
2011-08-08 06:12:17 +00:00
David Anderson 578d5f924f - scheduler: fix nasty bug where SCHED_DB_RESULT::parse()
was doing memset(this, 0, sizeof(RESULT)),
    i.e. it wasn't zeroing out the whole structure.
    The elapsed_time field (which isn't reported by old clients),
    is near the end of the struct,
    and it was getting garbage, e.g. 1e-304, in some cases,
    which led to zero credit (and maybe other problems)
- validator: treat 1e-304 like zero in case of other problems
    like the above.
- remote job submission: tweaks


svn path=/trunk/boinc/; revision=23947
2011-08-08 04:37:53 +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 dec057eaab - update_versions: fix bug where files not listed in version.xml
are not processed correctly
- remote job submission: debug
- create_work: --rsc_fpops_est etc. should override the template file


svn path=/trunk/boinc/; revision=23942
2011-08-07 04:32:02 +00:00
David Anderson 69912085b9 - web: send user a private message when
- one of their posts is moderated
    - a banishment vote starts or completes.
    This is needed in cases where the user can't or doesn't
    read email to their account's address.
    The "from" address of the PM is that of the user, not the moderator.

svn path=/trunk/boinc/; revision=23941
2011-08-06 07:11:17 +00:00
David Anderson 2d85ed6ed3 - scheduler: apparently some hosts send GPU parameters that cause
the peak_flops to be negative (probably #processors = -1).
    This leads to negative credit.
    Fix: if peak flops is negative, set it to 50 GFLOPS
- web: fix email validate page


svn path=/trunk/boinc/; revision=23932
2011-08-04 15:33:40 +00:00
David Anderson f3b9286d78 - client: fix bug in get_descendants(),
which prevented the client from cleaning up
    subprocesses of misbehaving multiprocess apps.
- remote job submission system:
    assign physical names to input files (based on their MD5)
    rather than having the user provide physical names
- VM apps: eliminate vbox64 plan class.  Only vbox.


svn path=/trunk/boinc/; revision=23923
2011-08-03 16:45:00 +00:00
David Anderson a01d8d8ccd - web: fix bug in next_url mechanism
svn path=/trunk/boinc/; revision=23912
2011-08-01 21:09:29 +00:00
David Anderson 8837274aae - scheduler: check for negative elapsed time in results
reported by client, set to zero


svn path=/trunk/boinc/; revision=23909
2011-07-31 17:31:12 +00:00
David Anderson 601c574ab6 - web: fix +/- forum rating, and tweak messages. Fixes #1123
svn path=/trunk/boinc/; revision=23908
2011-07-31 16:23:37 +00:00
David Anderson 966c7d46b4 - web: fix typo that prevented users from seeing their own hidden posts
svn path=/trunk/boinc/; revision=23906
2011-07-31 05:09:08 +00:00
David Anderson 9178cf5381 - user web: in instructions for logging in with authenticator,
show the actual account file name.


svn path=/trunk/boinc/; revision=23905
2011-07-31 03:37:28 +00:00
David Anderson 5b159c6735 - remote job submission: bug fix and tweaks
- client: cc_config.xml: if <devnum> is omitted from a <exclude_gpu>,
    it means exclude all instances of that GPU type
- client: if all instances of a GPU type are excluded for a project,
    don't ask the project for jobs of that type


svn path=/trunk/boinc/; revision=23898
2011-07-29 00:07:20 +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 0bb15a2620 - user web: remove job submission:
add the ability to download zipped output files


svn path=/trunk/boinc/; revision=23873
2011-07-25 23:12:45 +00:00
David Anderson 80db207b64 - user web: internationalization, from Christian Beer
svn path=/trunk/boinc/; revision=23872
2011-07-25 22:05:49 +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 5ad821df21 - server: some remote job submission code. Not finished.
svn path=/trunk/boinc/; revision=23868
2011-07-22 22:47:41 +00:00
David Anderson 4d261afbe6 - web: tweak last checkin
svn path=/trunk/boinc/; revision=23854
2011-07-18 18:10:23 +00:00
David Anderson eb592baf15 - web: when listing a user's message-board posts,
don't show team message-board posts unless
    a) the requesting user is a member of the team, and
    b) if the post is hidden, the requesting user is a team admin
    This enforces the goal that a team's message board
    is visible only to the team.


svn path=/trunk/boinc/; revision=23852
2011-07-18 17:49:07 +00:00
David Anderson 9f27824fba - admin web: improve the FLOPs estimation tool so that
it works for GPU versions too


svn path=/trunk/boinc/; revision=23840
2011-07-13 21:50:48 +00:00
David Anderson e521a112a9 - admin web: finish page for resetting app statistics
svn path=/trunk/boinc/; revision=23836
2011-07-12 18:03:20 +00:00
David Anderson 3d02f9f361 - admin web: add page for showing app and app version details
svn path=/trunk/boinc/; revision=23835
2011-07-12 05:19:15 +00:00
David Anderson bfc04f03eb - back end: fix bugs in [23648] which caused create_work
to mess up input templates containing
    <copy_file/> or other attribute tags.
    XML_PARSER now contains a member element() for when
    you want to copy an element without knowing its structure.


svn path=/trunk/boinc/; revision=23790
2011-07-04 23:51:00 +00:00
David Anderson da74e5caf2 - back end: strip <output_template> tags from output templates
- web: main RSS feed should include all news items, even non-notices


svn path=/trunk/boinc/; revision=23783
2011-06-29 22:26:45 +00:00
David Anderson 322617d616 - lib: fix compile warning
svn path=/trunk/boinc/; revision=23773
2011-06-23 20:44:25 +00:00
David Anderson 8a9605e48c - web: add a web-service interface for remotely submitting, querying
and controlling batches of jobs
- web: add an administrative interface for controlling
    user permissions for submitting jobs
- web: add an interface where users can view and control
    their submitted jobs
See: http://boinc.berkeley.edu/trac/wiki/RemoteJobs
This is at a functional but rough stage.


svn path=/trunk/boinc/; revision=23762
2011-06-21 22:56:15 +00:00
David Anderson 04c48d67b8 - web: use ReCaptcha for account creation as well as profile creation
(from Daniel)
- GUI RPC: remove have_cuda from CC_STATE.
    Use the info in host_info.coprocs instead.


svn path=/trunk/boinc/; revision=23755
2011-06-20 17:17:56 +00:00
David Anderson 61cbe110ef - web: when creating an item in News forum,
show "Export as Notice?" checkbox, and default to off.


svn path=/trunk/boinc/; revision=23721
2011-06-14 05:42:52 +00:00
David Anderson 436415cfe1 - scheduler, back end: add "homogeneous app version" feature.
Lets you specify, on a per-app basis,
    that all instances should be done using the same app version.
    This is for validation in the presence of GPUs.
- scheduler: code cleanup
    - Instead of adding a bunch of non-DB fields to RESULT,
        used a derived class SCHED_DB_RESULT.
    - Instead of storing a pointer to BEST_APP_VERSION in RESULT,
        store the structure itself.
        This simplifies the memory allocation situation.
- client: condition "Got server request to delete file" messages
    on <file_xfer_debug>


svn path=/trunk/boinc/; revision=23636
2011-06-06 03:40:42 +00:00
David Anderson bc18d1dd74 svn path=/trunk/boinc/; revision=23627 2011-06-01 05:08:14 +00:00
David Anderson 466fe8aa81 svn path=/trunk/boinc/; revision=23626 2011-06-01 04:57:04 +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
David Anderson 3f2f56906e - web: make front page work for Bossa projects
svn path=/trunk/boinc/; revision=23618
2011-05-27 19:38:18 +00:00
David Anderson 9665363a2e - Bossa tweaks
svn path=/trunk/boinc/; revision=23617
2011-05-27 19:05:23 +00:00
David Anderson 51c652640f - create_work: allow multiple URLs for non-local input files
(from Zoltan Farkas)
- scheduler: fix message describing per-app limits


svn path=/trunk/boinc/; revision=23546
2011-05-13 18:40:10 +00:00
David Anderson e4f104f917 - Change the way update_versions works, and reimplement it in PHP.
Problems with the old version:
    - Lots of info encoded in file and directory names: messy kludge
    - The convention that directory name == main program name
        created a bad situation when using the wrapper:
        if you made a new version of your application,
        you were forced make a new version of the wrapper
        just so it could have a different name.
    The new version is described here:
    http://boinc.berkeley.edu/trac/wiki/AppVersionNew
- Remove some Python code that suppored the old version
- client: some fixes to dir_size() that might fox
    a buffer overflow when using symbolic links


svn path=/trunk/boinc/; revision=23525
2011-05-12 04:11:40 +00:00
David Anderson 2385c00b67 - wrapper: tell the client when we checkpoint
(else checkpoint_elapsed_time etc. don't get set)
- make_project: enable update_stats by default
- update_stats: add --min_age option


svn path=/trunk/boinc/; revision=23509
2011-05-06 12:33:12 +00:00
David Anderson d2b3c97ea7 - web RPC bug fix
svn path=/trunk/boinc/; revision=23508
2011-05-05 16:12:12 +00:00
David Anderson db9c2fa850 - web RPC: add RPC for getting teams by country
svn path=/trunk/boinc/; revision=23507
2011-05-05 16:05:23 +00:00
David Anderson bffeeb0851 - web: don't error out on old-style notice URL
svn path=/trunk/boinc/; revision=23506
2011-05-05 14:56:32 +00:00
David Anderson 0bafa188b0 - web: don't show login stuff on server status page
svn path=/trunk/boinc/; revision=23505
2011-05-05 14:51:10 +00:00
David Anderson f45681c48b - vbox wrapper: add Makefile
- notices: fix bug where the URL in "friend request" notices
    doesn't work if you're not already logged in.


svn path=/trunk/boinc/; revision=23498
2011-05-04 15:37:09 +00:00
David Anderson 025b31e650 - scheduler: compile fix
- client: don't print "Insufficient GPU" messages
    unless <coproc_debug> is set


svn path=/trunk/boinc/; revision=23480
2011-04-28 22:13:13 +00:00
David Anderson 8757e07f4f - client: change the handling of account manager replies:
Old:
        If the AM sends us a project we're already attached to,
        and the authenticator is different,
        print an error message and don't change anything.
    Problem:
        If the AM is using weak authenticators,
        and the user has changed their password,
        the weak authenticator changes.
        In this case the AM will send the new weak auth,
        the client will ignore it,
        and all subsequent scheduler RPCs will fail
        until the user removes/adds the project.
    Solution:
        If the AM sends us a new auth for a project, use it.
    Note:
        From the time the password is changed on the project
        to the next AM RPC,
        the client will have a bad weak auth and scheduler RPCs will fail.
        That's OK.

client/
    acct_mgr.cpp

svn path=/trunk/boinc/; revision=23479
2011-04-28 22:10:23 +00:00
David Anderson dc222e1cfe - web: fix bug that cause "use signature" preference to be ignored
svn path=/trunk/boinc/; revision=23466
2011-04-26 21:38:22 +00:00
David Anderson d4ea250185 - web: eliminate double calls to page_head()
svn path=/trunk/boinc/; revision=23460
2011-04-26 19:04:11 +00:00
David Anderson ada35ec2ce - web: fix infinite recursion when project is down
svn path=/trunk/boinc/; revision=23457
2011-04-26 17:34:07 +00:00
David Anderson 48368624c4 - web: tweak
svn path=/trunk/boinc/; revision=23399
2011-04-20 16:06:35 +00:00
David Anderson 298b06c6f7 - web: don't show "log in" link on login or create account pages
svn path=/trunk/boinc/; revision=23388
2011-04-20 15:30:35 +00:00
David Anderson a3cccc85e6 - web: show "logged in as" info on every page;
remove funky "log out" link from user page
- web: go to home page on logout,
    not dorky "you are logged out" page


svn path=/trunk/boinc/; revision=23387
2011-04-20 14:50:50 +00:00
David Anderson b062bd03f4 - admin web: all specifying an SVN config dir in the web config file,
in case your svn requires a proxy or something.
    From Boris Dayma.


svn path=/trunk/boinc/; revision=23386
2011-04-19 20:17:51 +00:00
David Anderson a225fe12ba - user web and notices: fix message describing friend request
svn path=/trunk/boinc/; revision=23378
2011-04-18 23:41:53 +00:00
David Anderson c83781a91c - admin web: remove options to delete apps and app versions.
This is almost always a bad idea.


svn path=/trunk/boinc/; revision=23364
2011-04-13 19:19:36 +00:00
David Anderson f56051a182 - user web: use special icon for hidden threads (from Jord)
svn path=/trunk/boinc/; revision=23361
2011-04-11 06:46:22 +00:00
David Anderson e2b4d48ab4 - user web: fix "delete profile" function
svn path=/trunk/boinc/; revision=23359
2011-04-10 15:23:42 +00:00
David Anderson 3fc341fc60 - user web: fix numeric field sanitization in prefs. Fixes #1087.
- client: if PREFS::max_ncpus_pct is 0, don't set it to 100;
    doing so prevents PREFS::max_ncpus from having any effect.


svn path=/trunk/boinc/; revision=23355
2011-04-08 00:14:01 +00:00
David Anderson edcd09bded - client sim stuff
svn path=/trunk/boinc/; revision=23354
2011-04-07 23:10:06 +00:00
David Anderson f508218e4c - scheduler: <max_wus_in_progress> and <max_wus_in_progress_gpu>
are per-processor, not per-host.


svn path=/trunk/boinc/; revision=23326
2011-04-04 22:15:04 +00:00
David Anderson 02e7aa6678 - client and API: pass "network suspended" flag from client to app;
make it available as part of BOINC_STATUS


svn path=/trunk/boinc/; revision=23243
2011-03-20 07:04:32 +00:00
David Anderson 47f89ea688 - update script that counts GPUs
svn path=/trunk/boinc/; revision=23236
2011-03-14 23:57:38 +00:00
David Anderson 3c74717d04 - client simulator stuff
svn path=/trunk/boinc/; revision=23235
2011-03-14 23:56:14 +00:00
Rytis Slatkevičius c819d552c0 user web: change remaining occurrences of fullpage caching to object cache. start_cache() and end_cache() are now deprecated.
svn path=/trunk/boinc/; revision=23230
2011-03-13 20:05:25 +00:00
Rytis Slatkevičius b11b56ecbb user web: implement Memcache as an option for caching (defaults to in-file cache). Can be enabled by installing php5-memcached package and defining MEMCACHE_SERVERS in project.inc
svn path=/trunk/boinc/; revision=23228
2011-03-12 15:36:58 +00:00
David Anderson a191566a6a - user web: show date/time on friend request page
svn path=/trunk/boinc/; revision=23131
2011-03-02 18:36:51 +00:00
David Anderson b51aee4cdf - user web: bug fix to the last checkin
- boinccmd: fix --get_project_config operation


svn path=/trunk/boinc/; revision=23120
2011-03-01 06:17:54 +00:00
David Anderson 0bc1a36451 - user web: add a feature allowing project admins to control
whether news items are exported as notices.
    The creator of a news item is shown a "Don't export" or "Export"
    button on the thread page.
    By default, news items are exported.


svn path=/trunk/boinc/; revision=23119
2011-02-28 19:02:59 +00:00
David Anderson eaee1ddba6 - user web: fix wrong user ID
svn path=/trunk/boinc/; revision=23117
2011-02-26 23:10:06 +00:00
Rytis Slatkevičius 72f5d33661 user web: add a config option to always show workunit details when using adaptive replication.
svn path=/trunk/boinc/; revision=23116
2011-02-26 13:22:51 +00:00
David Anderson f0ef6140ef - user web:
- in friend request notification, link to user page
    - in user page, show ID
    - remove "Account data for " in page title


svn path=/trunk/boinc/; revision=23112
2011-02-25 19:10:36 +00:00
David Anderson f30812355d - user web: fix "friend" functions
svn path=/trunk/boinc/; revision=23100
2011-02-24 20:55:12 +00:00
David Anderson 3b05dc6203 - scheduler: fix a problem with job resend.
When we first send a job, we pick an app version,
    then call wu_is_infeasible_fast()
    to see if the host is able to run the job with that app version.
    In addition to checking disk space etc.
    this calls wu_is_infeasible_custom() to do project-specific checks
    (e.g. for SETI@home: don't use GPUs for VLAR jobs).

    However, when we resend a job, we pick an app version
    (possibly different from the original one)
    and send the job without any checking.
    So, for example, we might send a VLAR job to a GPU,
    or send a job to a host with insufficient disk space
    (because free space has changed since original send).

    Solution: call wu_is_infeasible_fast() before resending a job,
    and if it returns true, mark the job as done and don't resend it.


svn path=/trunk/boinc/; revision=23098
2011-02-24 19:30:43 +00:00
David Anderson 4e1561279e - user web: fixes to private message functions
svn path=/trunk/boinc/; revision=23045
2011-02-16 18:08:21 +00:00
David Anderson c62a55b47f svn path=/trunk/boinc/; revision=23034 2011-02-14 21:35:29 +00:00
David Anderson 226d70d174 svn path=/trunk/boinc/; revision=23033 2011-02-14 21:01:37 +00:00
David Anderson 8c9c412249 svn path=/trunk/boinc/; revision=23032 2011-02-14 20:57:07 +00:00
David Anderson e615cefbaa - user web: fixes
svn path=/trunk/boinc/; revision=23031
2011-02-14 20:50:59 +00:00
David Anderson 7b98cccc37 - user web: various fixes
svn path=/trunk/boinc/; revision=23030
2011-02-14 19:49:30 +00:00
David Anderson c9cf1f85a2 - user web: fix [img] BBcode problem
svn path=/trunk/boinc/; revision=23029
2011-02-14 19:06:42 +00:00
David Anderson 4b9ef1e012 - user web: bug fix
svn path=/trunk/boinc/; revision=23028
2011-02-14 17:55:58 +00:00
David Anderson 4b8e5855eb - user web: bug fix
svn path=/trunk/boinc/; revision=23027
2011-02-14 00:06:40 +00:00
David Anderson 164299c66f - user web: bug fix
svn path=/trunk/boinc/; revision=23026
2011-02-13 23:57:39 +00:00
David Anderson 2564465174 - user web: bug fixes
svn path=/trunk/boinc/; revision=23025
2011-02-13 23:49:28 +00:00
David Anderson e3b2c06823 - user web: fix venue change
svn path=/trunk/boinc/; revision=23024
2011-02-13 19:00:08 +00:00
David Anderson 45ddf393fe - user web: bug fixes
svn path=/trunk/boinc/; revision=23023
2011-02-11 18:32:47 +00:00
David Anderson 58c5c0c5b3 - user web: disable "delete account" feature
svn path=/trunk/boinc/; revision=23022
2011-02-11 18:18:17 +00:00
David Anderson 4392d8b40f - user web: style tweaks
svn path=/trunk/boinc/; revision=23021
2011-02-11 18:09:08 +00:00
David Anderson faf7fe54c8 - client: if a logical filename contains /'s,
create the needed dirs under the slot dir
- user web: pages with translatable text should not be cached.
    Fix this for home page; there are some others

svn path=/trunk/boinc/; revision=23019
2011-02-11 00:37:01 +00:00
David Anderson 3e2e5f2fdc - user web: CSS cleanup.
Use classes instead of IDs.
    white.css and black.css are cleaned up; style2.css needs work


svn path=/trunk/boinc/; revision=23018
2011-02-10 22:45:39 +00:00
David Anderson 25493bff27 - user web: fix "nowrap" post display
svn path=/trunk/boinc/; revision=23017
2011-02-10 19:42:52 +00:00
David Anderson 15e406e1ea - user web: warning on account delete
svn path=/trunk/boinc/; revision=23014
2011-02-09 23:45:46 +00:00
David Anderson 9552bd3670 - user web: appearance tweaks
svn path=/trunk/boinc/; revision=23013
2011-02-09 23:42:05 +00:00
David Anderson c6d3904766 - web tweak
svn path=/trunk/boinc/; revision=23012
2011-02-09 22:24:48 +00:00
David Anderson d27af6214d - user web: finish dealing with get args spam
svn path=/trunk/boinc/; revision=23010
2011-02-09 22:11:34 +00:00
David Anderson ad77989928 - user web: make all forum tables full-width
svn path=/trunk/boinc/; revision=23009
2011-02-09 21:45:00 +00:00
David Anderson fc5ee59787 - user web: apparently if you put links of the form
http://setiathome.berkeley.edu/help.php?key=Viagra.uk
    all over the web, Google will list "Viagra.uk" in your site outline (why??).
    Preliminary checkin for dealing with this.

svn path=/trunk/boinc/; revision=23008
2011-02-09 19:10:10 +00:00
David Anderson 91c251c103 - user web: add "delete account" feature.
This allows a user to delete all traces of themselves from a project.
    Namely:
    - clear fields of user record: email_addr, authenticator,
        name, country, postal_code
        Note: record is not deleted
    - clear the domain_name and last_ip_addr fields of hosts
        Note: records are not deleted
    - quit team
    - delete private messages sent and received
    - delete forum posts, subscriptions, and forum prefs
    - delete profile and associated images
- server: compile fix


svn path=/trunk/boinc/; revision=23006
2011-02-08 21:38:16 +00:00
David Anderson 8145cb86b0 - create_work: add some debugging printfs for Kamran
svn path=/trunk/boinc/; revision=22993
2011-02-03 23:27:30 +00:00
David Anderson 229b1373dc - client: make "wrong URL" message not be a notice
- web: fix caching problem when PHP not installed as Apache module

svn path=/trunk/boinc/; revision=22968
2011-02-01 04:43:19 +00:00
David Anderson 4dbe2c8fdf - new script sched/transitioner_catchup.php: transitions all WUs
that need it, then exits.
    For big projects coming up after an outage, run this before bin/start
    to minimize startup overload
- tweaks to PHP libraries to allow them to be used
    by scripts anywhere in the dir hierarchy


svn path=/trunk/boinc/; revision=22959
2011-01-29 06:28:10 +00:00
David Anderson 43a3036101 - back end: allow the specification of a read-only DB replica
(in config.xml) to include DB name, user, and password.
- back end: add read-only replica info to SCHED_CONFIG,
    so that C++ programs can use the replica
    (currently only PHP code can use it)
- db_dump: use the read-only DB replica if it exists.


svn path=/trunk/boinc/; revision=22958
2011-01-28 22:03:46 +00:00
David Anderson da19f328e9 - web: tweaks so that BOINC-Wide Teams site can warn people if
their email address is not validated

svn path=/trunk/boinc/; revision=22946
2011-01-26 22:43:23 +00:00
David Anderson c7ab17fa21 - single-job submission system: don't hardwire i686 architecture;
make it work on any Linux system.
    From Steffen Moller.

svn path=/trunk/boinc/; revision=22899
2011-01-13 00:05:49 +00:00
David Anderson 6784283211 - user web: fix bugs in server status page
- fix some indentation


svn path=/trunk/boinc/; revision=22890
2011-01-06 23:09:13 +00:00
David Anderson 5bbafef4b0 - fix some bad file permissions
- delist defunct stats site


svn path=/trunk/boinc/; revision=22859
2011-01-02 03:07:14 +00:00
Rytis Slatkevičius 1e55d118e9 user web: change forum RSS encoding from ISO-8859-1 to UTF-8
svn path=/trunk/boinc/; revision=22854
2010-12-24 19:35:08 +00:00
Rytis Slatkevičius e0bcf3805f user web: add some CSS classes for easier styling
svn path=/trunk/boinc/; revision=22850
2010-12-21 17:15:57 +00:00
David Anderson 7baddb24e3 - Fix bugs in Rappture wrapper
- Add README file and templates for Rappture wrapper
- create_work: create defaults for --wu_name, --wu_template, --result_template
- user web: fix typo on workunit.php

svn path=/trunk/boinc/; revision=22826
2010-12-07 19:28:08 +00:00
David Anderson e7db8d5eba - web: show details of single-replicated WUs if they have an error
fixes #1036

svn path=/trunk/boinc/; revision=22752
2010-11-29 00:02:01 +00:00
David Anderson bbaff5d2da - web: remove DBNAME hack, which allowed users to see the DB name
(not a big deal, but bad form).
    Fixes #1028

svn path=/trunk/boinc/; revision=22748
2010-11-25 05:54:09 +00:00
David Anderson 6478b3e05d - client: implement more scheduler changes that use
recent estimated credit (REC) instead of debt.
    These changes are enabled by
        #define USE_REC
    in work_fetch.h.
    If this is commented out (the default) the client uses
    debt-based scheduling, same as before.
    TODO: work-fetch policy changes
- client simulator: various fixes:
    - compute idle and wasted fraction based on all processing resources,
        not just CPU
    - compute job completion times based on FLOPS, not CPU seconds
    - compute and use project->no_X_apps
    etc.


svn path=/trunk/boinc/; revision=22741
2010-11-23 19:39:47 +00:00
David Anderson 2e6e93214e - client: restore code to maintain recent estimated credit
- admin web: clean up manage_user.php

svn path=/trunk/boinc/; revision=22713
2010-11-18 20:29:30 +00:00
David Anderson 8d9cf013c5 - client: account manager RPC:
Additions to request message:
        <not_started_dur>X</not_started_dur>
        <in_progress_dur>X</in_progress_dur>
        The estimated remaining duration of unstarted
        and in-progress tasks
    Additions to reply message, within <project>, optional:
        <suspend>0|1</suspend>
            suspend or resume project (overrides local state)
        <abort_not_started>0|1</abort_not_started>
            if set, abort unstarted jobs


svn path=/trunk/boinc/; revision=22698
2010-11-17 20:04:58 +00:00
David Anderson c6f72463cc - admin web: fix bug in credit.php
svn path=/trunk/boinc/; revision=22697
2010-11-14 17:04:56 +00:00