Commit Graph

3149 Commits

Author SHA1 Message Date
Wenjing Wu 1b73c9864b job submit: get batch output file size and disable direct downloading of output files if it exceeds 100MB
svn path=/trunk/boinc/; revision=25745
2012-06-06 10:19:55 +00:00
Wenjing Wu da2f59137e enable downloading one result file of a workuint, enable sandbox file downloading
svn path=/trunk/boinc/; revision=25743
2012-06-06 09:11:56 +00:00
Wenjing Wu 4fdfe8d4dd submit.php: enable downloading result files of individual Workunit
svn path=/trunk/boinc/; revision=25740
2012-06-06 05:35:39 +00:00
David Anderson b05f02e5aa - small code cleanup
svn path=/trunk/boinc/; revision=25737
2012-06-05 20:13:19 +00:00
Wenjing Wu 897527d470 sandbox: prevent user from deleting files being used by processing batches
svn path=/trunk/boinc/; revision=25736
2012-06-05 11:14:46 +00:00
Wenjing Wu 0ada75fbe7 sandbox,prevent from uploading files with the same content
svn path=/trunk/boinc/; revision=25735
2012-06-05 08:49:41 +00:00
David Anderson 158aab8d5c - DB: add project_state and description fields to batch table.
Both are for use by project.
- job submission file sandbox: don't delete physical file
    when delete sandbox entry.
    We'll have to figure out how to garbage-collect physical files.
- LAMMPS job submission:
    use the 50th-percentile host,not 0th


svn path=/trunk/boinc/; revision=25734
2012-06-05 05:57:55 +00:00
David Anderson 69a595329d - scheduler: various fixes to plan_class_spec.cpp; from Bernd
- admin web: don't include the project's stylesheet,
    which may assume a layout not used by admin pages


svn path=/trunk/boinc/; revision=25731
2012-06-03 17:31:00 +00:00
Wenjing Wu 3335da8567 svn path=/trunk/boinc/; revision=25730 2012-06-01 08:41:02 +00:00
Wenjing Wu e673a433a1 more accurate estimation of lammps output file
svn path=/trunk/boinc/; revision=25727
2012-05-29 12:37:03 +00:00
David Anderson 07501af2bc - web: allow users with admin privileges to abort or retire batches
svn path=/trunk/boinc/; revision=25725
2012-05-29 05:59:23 +00:00
David Anderson 4ee93b2da2 - fix tools/manage_privileges script
svn path=/trunk/boinc/; revision=25724
2012-05-29 05:48:25 +00:00
David Anderson 62d12c946e - user web: job submission home page has
1) links to job submission pages for relevant apps
    2) links to Admin pages for relevant apps


svn path=/trunk/boinc/; revision=25723
2012-05-29 04:47:48 +00:00
David Anderson 965faa3b71 - web RPC: in am_set_info, if both GET and POST args are present, use POST
svn path=/trunk/boinc/; revision=25721
2012-05-27 07:53:57 +00:00
David Anderson 44c75becca - admin web: fix revalidated script
svn path=/trunk/boinc/; revision=25720
2012-05-27 06:26:10 +00:00
David Anderson 389a95a6a7 svn path=/trunk/boinc/; revision=25719 2012-05-27 06:13:45 +00:00
David Anderson e43f04c52a - web RPC: make am_set_info available by POST as well as GET,
since its args can be too long for a URL


svn path=/trunk/boinc/; revision=25718
2012-05-26 21:53:03 +00:00
David Anderson e7a7a4e1a2 - web: increase size of thread title input field to 80
svn path=/trunk/boinc/; revision=25717
2012-05-26 20:09:39 +00:00
David Anderson 22af0334b9 - web: don't truncate thread titles
svn path=/trunk/boinc/; revision=25716
2012-05-26 20:08:24 +00:00
David Anderson 0a686c5195 - fix typos in two PHP scripts
svn path=/trunk/boinc/; revision=25715
2012-05-26 05:18:04 +00:00
David Anderson 761fb3f4c1 - admin web: add a function for "revalidating" a given set of jobs.
This reruns validation for instances that are successful
    but marked as invalid or inconclusive.
    Use this if you changed your validator to be more permissive,
    and you want to grant credit for instances that were
    originally marked as invalid.


svn path=/trunk/boinc/; revision=25714
2012-05-25 23:49:17 +00:00
David Anderson a596560a17 - server: rename fix_venue.php to fix_prefs.php
svn path=/trunk/boinc/; revision=25713
2012-05-25 20:41:07 +00:00
David Anderson e82d605554 - server: make fix_venue.php work faster
svn path=/trunk/boinc/; revision=25712
2012-05-25 20:39:37 +00:00
David Anderson 2db88e20a8 - web: add DbConn::max() function
svn path=/trunk/boinc/; revision=25711
2012-05-25 18:44:56 +00:00
David Anderson d2d9110584 - add script to repair damaged user.global_prefs fields
- compile warning fixes


svn path=/trunk/boinc/; revision=25707
2012-05-23 00:25:19 +00:00
David Anderson aafdf3a312 svn path=/trunk/boinc/; revision=25701 2012-05-20 23:04:42 +00:00
David Anderson 13f51d42e5 - API: add boinc_network_usage();
lets an application report its network usage to BOINC,
    and hence take it into account with monthly limits etc.
- API: get rid of deprecated boinc_ops_per_cpu_sec(),
    boinc_ops_cumulative(), and
    boinc_set_credit_claim();
- admin web: update manage_apps.php;
    add the ability to set homogeneous app version


svn path=/trunk/boinc/; revision=25700
2012-05-20 23:02:12 +00:00
David Anderson 1aea1fb0f3 - client: show <vbox_window> option in log,
and give warning if include this while in sandbox mode
- web: update URLs for BOINCstats

svn path=/trunk/boinc/; revision=25697
2012-05-18 22:13:36 +00:00
David Anderson 138c8f5f7d - web: fix PHP warnings by calling date_default_timezone_set().
Set it to the timezone specified by the constant TIMEZONE
    (in project.inc) or "UTC" if none specified.
- web: fix bugs in submit.php

svn path=/trunk/boinc/; revision=25693
2012-05-18 17:57:14 +00:00
David Anderson 87fcaea0ce - web: show "run beta apps?" project pref if the project
has any beta applications
        (don't require project to specify this in project_specific_prefs.inc)

svn path=/trunk/boinc/; revision=25692
2012-05-18 17:48:50 +00:00
David Anderson 7f3fd1f45e - LAMMPS script: chdir back to html/user, else page_head() breaks
svn path=/trunk/boinc/; revision=25674
2012-05-14 06:54:38 +00:00
David Anderson 245aa70cf9 - web: use gmdate() instead date() to avoid time zone warning
svn path=/trunk/boinc/; revision=25673
2012-05-12 15:13:43 +00:00
David Anderson 4d1063728b - web: if user.has_profile = 0 but there actually is a profile,
update user.has_profile


svn path=/trunk/boinc/; revision=25654
2012-05-07 06:46:36 +00:00
David Anderson 3b363f9a87 - web RPC: include rpc_time in XML host description
- client: if acct mgr sends us an account with no authenticator,
    show an error message instead of trying to attach


svn path=/trunk/boinc/; revision=25608
2012-04-30 18:46:50 +00:00
David Anderson e06a11174c - web: put <nobr> around username | log in
svn path=/trunk/boinc/; revision=25605
2012-04-27 06:10:08 +00:00
David Anderson c34093e374 - web: don't show account keys on account page;
rewrite the page explaining and showing account keys.
- client: remove <std_debug> log flag
- client: remove <zero_debts> config option


svn path=/trunk/boinc/; revision=25581
2012-04-19 07:36:47 +00:00
Wenjing Wu dffcd99498 fix bugs of step cpu calc and killing child process
svn path=/trunk/boinc/; revision=25580
2012-04-18 13:20:57 +00:00
Wenjing Wu ccad62b912 - wrapper: when reading fraction-done file, read the last line
(or at least the last double).
    This accommodates a particular application (LAMMPS)
    that can only append to this file.
- CAS@home stuff


svn path=/trunk/boinc/; revision=25557
2012-04-13 09:44:01 +00:00
Wenjing Wu bd3d4fee43 - CAS@home stuff
svn path=/trunk/boinc/; revision=25556
2012-04-13 05:45:16 +00:00
Wenjing Wu dfc84b1916 - add script for canceling jobs
- CAS@home stuff


svn path=/trunk/boinc/; revision=25550
2012-04-12 12:20:16 +00:00
Wenjing Wu b15b04c6e8 - add cancel_wu script
svn path=/trunk/boinc/; revision=25549
2012-04-12 08:54:37 +00:00
Wenjing Wu 6c02937500 - CAS@home stuff
svn path=/trunk/boinc/; revision=25548
2012-04-12 07:30:45 +00:00
David Anderson d35758bedb - CAS@home stuff
svn path=/trunk/boinc/; revision=25547
2012-04-12 05:18:22 +00:00
David Anderson eb52ef9545 - stuff for CAS@home
svn path=/trunk/boinc/; revision=25546
2012-04-12 02:50:53 +00:00
David Anderson 30ec61bc7b svn path=/trunk/boinc/; revision=25544 2012-04-11 04:10:41 +00:00
David Anderson 8b9c871002 - API: fix C compile error
- initial checkin of remote job stuff for app from ICT


svn path=/trunk/boinc/; revision=25543
2012-04-10 06:11:19 +00:00
David Anderson 759c23ed27 - server: create a harness for testing validator code.
If you link your functions (init_result(), compare_results(),
    cleanup_result()) with validate_test.cpp,
    you'll get a program that you can run as
        validate_test file1 file2
    and it will compare the two files
    (this works only for validators that expect 1 file per result).

    I added a makefile, sched/makefile_validator_test,
    that you can use for this.
- server: shuffle code so that the above doesn't need to
    link MySQL libraries
- client: if we fetch a master file and it contains no scheduler URLs,
    show a message of class INTERNAL_ERROR
- client/scheduler: make CUDA_DEVICE_PROP.totalGlobalMem a double,
    and remove dtotalGlobalMem.
    Although NVIDIA reports RAM size as a size_t,
    there's no reason to store it as an integer after that.


svn path=/trunk/boinc/; revision=25542
2012-04-10 00:32:35 +00:00
Wenjing Wu 96b549ee6a svn path=/trunk/boinc/; revision=25537 2012-04-09 06:52:06 +00:00
David Anderson 86f50ba080 - admin web: when resetting app statistics,
clear elapsed time stats as well as PFC stats


svn path=/trunk/boinc/; revision=25530
2012-04-05 11:01:38 +00:00
David Anderson 36529da919 - client: change some unsigned int to size_t in our versions
of NVIDIA APIs.  This apparently caused crashes
    (in app, not client, which I don't understand) for Einstein@Home.
    From Steffen Moller.


svn path=/trunk/boinc/; revision=25527
2012-04-02 21:31:02 +00:00
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