Commit Graph

466 Commits

Author SHA1 Message Date
David Anderson 1c6277a3d2 svn path=/trunk/boinc/; revision=13852 2007-10-16 17:15:57 +00:00
Frank Thomas fbcfeaf456 - Removed the svn:executable property from files that should not be executable,
like source code and text files. I skipped to check most files in html/
  and mac_*/ though.
- Added svn:executable to tools/watch_tcp because it has a shebang.


svn path=/trunk/boinc/; revision=13819
2007-10-10 09:25:40 +00:00
Rom Walton 38d4aecc0b Delete outdated .cvsignore files
svn path=/trunk/boinc/; revision=13814
2007-10-09 18:03:21 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson bb5f54d31f - feeder/scheduler: fix bug where APP.homogeneous_redundancy
is defined as a bool instead of int
    (see its only nonzero value is 1, so the "coarse" HR type is ignored).

svn path=/trunk/boinc/; revision=13786
2007-10-05 22:32:47 +00:00
Rytis Slatkevičius 4b8aeabf91 User web: fix an annoyance when team founder transfer is requested and the requester leaves the team.
NOTE: DB UPDATE REQUIRED.

svn path=/trunk/boinc/; revision=13673
2007-09-26 15:46:54 +00:00
David Anderson bc5b979afb - Added new script "update_versions_v6"; use this instead of
update_versions to add version 6 apps.
    It looks for API_VERSION string in main executable,
    adds the API version to the app_version XML,
    and sets min_core_version to 6 for version 6+ apps
- API: include API_VERSION string
- convert tabs to spaces here and there
- scheduler: parse unused elements in <net_stats>
- ops/show_log.php: if no URL args, just show form (fixes #415)
- client: parse and store api_version (not used yet)

svn path=/trunk/boinc/; revision=13627
2007-09-21 18:10:54 +00:00
David Anderson db08d30fee - scheduler: update host.n_bwdown
(this was omitted for some reason).
    From Kevin Reed.


svn path=/trunk/boinc/; revision=13431
2007-08-21 20:41:29 +00:00
David Anderson 14bc500cab - user web: added mechanism for recording team membership changes.
These are stored in a new DB table, "team_delta".
    The team founder can view the history in HTML or XML
    (links on Management Functions page)

svn path=/trunk/boinc/; revision=13231
2007-07-27 18:30:10 +00:00
David Anderson 2af893b0f2 - user web: code cleanup related to team creation.
Make a single function that creates teams
    and cleanses arguments.
- API: don't include config.h in parse.h.
    This file is included from apps
    (indirectly, via graphics_api.h)
    so it shouldn't assume that config.h exists

svn path=/trunk/boinc/; revision=13212
2007-07-25 03:17:31 +00:00
David Anderson ef247eed41 - user web: moved functions to send specific messages out of email.inc
- user web: code cleanup involving team founder transfer,
    and improved the text of some messages

svn path=/trunk/boinc/; revision=13210
2007-07-23 20:30:30 +00:00
David Anderson 3e340136da - feeder: simplified DB query
- make_project: remove space after URL in schedulers.txt

svn path=/trunk/boinc/; revision=13127
2007-07-09 20:09:49 +00:00
David Anderson 797c464b3a - Back end: add a feature for "blackballing" hosts.
To do this, set host.max_results_day to -1.
    If you do this, scheduler requests from that host
    will get an error message, and will otherwise be ignored
    (no jobs in or out, no trickles).
- Scheduler: send_message() should be called ONLY if you're
    not going to call handle_request();
    otherwise we'll write two separate replies.
    To fix this, I added a separate function (send_error_message())
    that can be called within handle_request()
    to deal with error situations.
- Scheduler: moved debug_sched() to main.C
- Scheduler: moved logic to send "delete file" commands
    out of handle_request() into a separate function,
    send_file_deletes() in sched_locality.C.
    Remove #ifdef EINSTEIN_AT_HOMEs; maybe someday another project
    will use locality scheduling!

svn path=/trunk/boinc/; revision=13108
2007-07-06 16:37:00 +00:00
David Anderson a97556bdfd - feeder: added a new enumerator of DB_WORK_ITEM that,
on successive calls, scans through ALL the sendable
    jobs satisfying the select clause
    (it does this by ID order, so there's no order clause)
    This is used for HR, so that if a job has been committed
    to an HR class, we eventually get it.

    With extremely minimal testing, the new HR stuff seems to work.

db/
    boinc_db.C,h
sched/
    feeder.C
    sample_work_generator.C
    server_types.C

svn path=/trunk/boinc/; revision=12988
2007-06-22 23:48:37 +00:00
David Anderson f5d94818dd - added "census", a program that counts up how much RAC
there is for each HR class, and writes it to a file.
    This will be used soon for HR support in the feeder.
- split the HR code into hr.C,h (stuff used by both census and scheduler)
    and sched_hr.C (stuff used only by the scheduler)
- database: change DB_CREDITED_JOB to treat workunitid
    as a double (which it is) rather than a long.
    BTW, long == int.
- fixed lots of compile warnings in the server code

db/
    boinc_db.C,h
lib/
    boinc_cmd.C
    miofile.C
    util.C
sched/
    Makefile.am
    census.C (new)
    feeder.C
    file_deleter.C
    file_upload_handler.C
    handle_request.C
    hr.C,h (new)
    main.C
    sample_assimilator.C
    sample_work_generator.C
    sched_array.C
    sched_hr.C,h
    sched_send.C
    server_types.C
    transitioner.C
    validator.C

svn path=/trunk/boinc/; revision=12970
2007-06-20 22:34:06 +00:00
Rytis Slatkevičius bcf948a03d user web: add a separate preference for private message notification emails.
'''NOTE: needs DB update, see html/ops/db_update.php'''

(Fix #167)

svn path=/trunk/boinc/; revision=12813
2007-06-04 19:35:11 +00:00
David Anderson d673440faf - Scheduler: increased the resolution of homogeneous redundancy (HR)
e.g. distinguish between models of Intel and AMD
- Scheduler: add a quick HR check that doesn't access the DB
- Transitioner: if a workunit has >0 error results and no success results,
    set its HR class to zero
From M.F. Somers.

db/
    boinc_db.C,h
sched/
    sched_array.C
    sched_hr.C,h
    transitioner.C

svn path=/trunk/boinc/; revision=12773
2007-05-29 23:41:31 +00:00
Rytis Slatkevičius 670bbd92d7 Donations system (running via PayPal).
Implements #211.
NOTE: DB updated needed. Documented in http://boinc.berkeley.edu/trac/wiki/PayPalDonations

svn path=/trunk/boinc/; revision=12754
2007-05-27 17:33:06 +00:00
Matt Lebofsky 136ce49b84 svn path=/trunk/boinc/; revision=12536 2007-05-02 23:17:52 +00:00
David Anderson 7ecdc2f44e - Scheduler: in reply, add <platform> element to each <app_version,
and add <platform> and <version_num> elements to <result>
        (server half of multi-version changes)
    - scheduler: make ssp a global; could eliminate from args everywhere

    db/
        boinc_db.h
    sched/
        feeder.C
        main.C,h
        sched_send.C
        sched_shmem.C,h
        server_types.C

svn path=/trunk/boinc/; revision=12535
2007-05-02 23:14:00 +00:00
Matt Lebofsky 846ec9fbb0 svn path=/trunk/boinc/; revision=12532 2007-05-02 18:51:51 +00:00
Rytis Slatkevičius 4332736ae9 Private message functionality for the forums.
NOTE: needs database update.

svn path=/trunk/boinc/; revision=12499
2007-04-29 14:22:28 +00:00
David Anderson 7e2b39c4db David 24 Apr 2007
- Server: add new database field host.error_rate.
        Stores a dynamic estimate of the fraction of the hosts's
        results that fail validation (updated by the validator).

    client/
        sim.C
        cs_prefs.C
    db/
        boinc_db.C,h
    html/ops/
        db_update.php
    sched/
        handle_request.C
        sched_msgs.h
        validator.C

svn path=/trunk/boinc/; revision=12466
2007-04-24 23:21:42 +00:00
David Anderson fe32380dcf David 23 Apr 2007
- make_project: remove --no_test_app option, add --test_app option
    - make_project: initial config in all cases has
        one_result_per_user_per_wu = 0
    - sample_assimilator: make it able to handle > 1 output file
    - boinc_cmd: make --help output more readable
    - User web: fix some undefined vars in translation.inc
        Rytis: let's try to fix PHP runtime warnings
    - DB: add default values for app table (avoid MySQL warnings)

    db/
        schema.sql
    html/
        inc/
            translation.inc
            uotd.inc
        ops/
            update_forum_activities.php
    lib/
        str_util.C
        boinc_cmd.C
    py/Boinc/
        setup_project.py
    sched/
        sample_work_generator.C
        sample_assimilator.C
    tools/
        make_project
        uc_wu, uc_result (new)

svn path=/trunk/boinc/; revision=12450
2007-04-23 16:14:47 +00:00
David Anderson bc98f0e90c *** empty log message ***
svn path=/trunk/boinc/; revision=12367
2007-04-13 22:55:18 +00:00
David Anderson 6b43ad0cbc *** empty log message ***
svn path=/trunk/boinc/; revision=12346
2007-04-11 18:05:26 +00:00
David Anderson 75a2b2c55b *** empty log message ***
svn path=/trunk/boinc/; revision=12322
2007-04-05 17:02:01 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson f7d648e350 *** empty log message ***
svn path=/trunk/boinc/; revision=12075
2007-02-13 21:41:07 +00:00
David Anderson 77e757c6f9 *** empty log message ***
svn path=/trunk/boinc/; revision=12043
2007-02-06 21:50:48 +00:00
David Anderson 01b32db626 *** empty log message ***
svn path=/trunk/boinc/; revision=12027
2007-02-02 20:14:18 +00:00
Matt Lebofsky 1ca0535532 *** empty log message ***
svn path=/trunk/boinc/; revision=11933
2007-01-22 21:49:55 +00:00
David Anderson 3967a1f924 *** empty log message ***
svn path=/trunk/boinc/; revision=11850
2007-01-12 17:42:29 +00:00
David Anderson ddd17a8b22 *** empty log message ***
svn path=/trunk/boinc/; revision=11745
2006-12-30 00:26:22 +00:00
David Anderson f4953d1829 *** empty log message ***
svn path=/trunk/boinc/; revision=11723
2006-12-27 18:22:17 +00:00
David Anderson 75af81175b *** empty log message ***
svn path=/trunk/boinc/; revision=11717
2006-12-22 20:34:58 +00:00
Rytis Slatkevičius 1a7a76a985 Missing db update in schema.sql
svn path=/trunk/boinc/; revision=11716
2006-12-22 15:57:48 +00:00
David Anderson adcd68afce *** empty log message ***
svn path=/trunk/boinc/; revision=11628
2006-12-06 20:59:29 +00:00
David Anderson ebc6c16252 *** empty log message ***
svn path=/trunk/boinc/; revision=11425
2006-10-31 20:31:21 +00:00
Rytis Slatkevičius ccff6971ca Big team change to allow founder transfer when he's no longer available
svn path=/trunk/boinc/; revision=11367
2006-10-27 16:06:42 +00:00
David Anderson 190f7d177a *** empty log message ***
svn path=/trunk/boinc/; revision=11337
2006-10-22 01:46:33 +00:00
David Anderson c98a2415af *** empty log message ***
svn path=/trunk/boinc/; revision=11336
2006-10-22 00:42:44 +00:00
Rom Walton 8fd4c7dd5e *** empty log message ***
svn path=/trunk/boinc/; revision=11286
2006-10-16 22:39:27 +00:00
David Anderson 8230f9ca6c *** empty log message ***
svn path=/trunk/boinc/; revision=10900
2006-08-13 04:27:24 +00:00
David Anderson 0328bd2122 *** empty log message ***
svn path=/trunk/boinc/; revision=10867
2006-08-08 20:32:37 +00:00
David Anderson be1c8ff44f *** empty log message ***
svn path=/trunk/boinc/; revision=10641
2006-07-12 23:18:57 +00:00
David Anderson b9b5d0ed48 *** empty log message ***
svn path=/trunk/boinc/; revision=10622
2006-07-11 21:49:20 +00:00
David Anderson 7f00b2fa3f outcome CLIENT_DETACHED
svn path=/trunk/boinc/; revision=10593
2006-07-06 17:30:03 +00:00
David Anderson 440c667e8a mass email
svn path=/trunk/boinc/; revision=10580
2006-07-05 21:38:08 +00:00
David Anderson aeac868c11 *** empty log message ***
svn path=/trunk/boinc/; revision=10559
2006-07-01 20:03:48 +00:00
Bruce Allen 086c94a309 When calling project-provided validator functions, populate the
WU.rsc_fpops_est field. This can be useful in
determining how much credit to assign, and preventing cheating.

DAVID: I was going to be a good guy and document this, but you
forgot to check validate_simple.php and validate_advanced.php
into CVS (:-).

svn path=/trunk/boinc/; revision=10297
2006-06-10 12:14:22 +00:00
David Anderson 923075d005 *** empty log message ***
svn path=/trunk/boinc/; revision=10258
2006-06-06 18:45:40 +00:00
Bruce Allen 033c6719a5 Scheduler: refuse to upload results if DB item is
(1) over and (2) validate state init and (3) NOT file_delete==INIT.

(David, please bless addition of file_delete_state to SCHED_RESULT_ITEM.)

svn path=/trunk/boinc/; revision=10245
2006-06-03 16:22:34 +00:00
Bruce Allen e37637661d Transitioner: nasty bug in logging, wrong result id/name
Scheduler: clearer logging for debugging purposes

svn path=/trunk/boinc/; revision=10243
2006-06-03 14:59:22 +00:00
David Anderson 9929015c1e xml_escape bug
svn path=/trunk/boinc/; revision=10238
2006-06-01 19:59:57 +00:00
Bruce Allen 26d08b603f Also need outcome...
svn path=/trunk/boinc/; revision=10229
2006-05-31 21:50:42 +00:00
Bruce Allen 490d4858bf scheduler: do a better job of accepting results from host machines
which may modify an EXISTING & OVER result in the database.

file_upload_handler: check for 'stop_upload' trigger file in the
project root directory.  If so, return ERR_TRANSIENT to hosts which
attempt uploads.  This is the equivalent of 'stop_sched' for the
scheduler.  (Eric, you may want to check that this is FCGI compatible).

svn path=/trunk/boinc/; revision=10227
2006-05-31 20:39:32 +00:00
David Anderson 210e22e537 *** empty log message ***
svn path=/trunk/boinc/; revision=10226
2006-05-31 17:19:29 +00:00
David Anderson f6a01ea730 *** empty log message ***
svn path=/trunk/boinc/; revision=10084
2006-05-02 22:33:00 +00:00
David Anderson 1abd12eab6 *** empty log message ***
svn path=/trunk/boinc/; revision=9671
2006-03-17 08:11:38 +00:00
Bruce Allen 527e83ce0c Missing return value causes sched horror...
svn path=/trunk/boinc/; revision=9667
2006-03-17 05:54:06 +00:00
David Anderson 1b3e1fe484 scheduler race condition
svn path=/trunk/boinc/; revision=9666
2006-03-17 04:47:51 +00:00
David Anderson f471b89bf9 propagate batch to result
svn path=/trunk/boinc/; revision=9318
2006-01-26 00:19:05 +00:00
David Anderson 88c741f0ac CPID consistency, larger trickle messages
svn path=/trunk/boinc/; revision=9303
2006-01-24 21:38:03 +00:00
David Anderson f9b7413d58 feeder/DB fixes
svn path=/trunk/boinc/; revision=9269
2006-01-19 21:46:25 +00:00
Bruce Allen 2be5446559 Fixed new unescape_string(): didn't null terminate string.
svn path=/trunk/boinc/; revision=9176
2006-01-05 09:30:41 +00:00
David Anderson 3527c41581 *** empty log message ***
svn path=/trunk/boinc/; revision=9175
2006-01-05 08:52:20 +00:00
Bruce Allen c14eb4a651 Kill unused variable
svn path=/trunk/boinc/; revision=9174
2006-01-05 08:21:10 +00:00
Bruce Allen 20004d75e4 Fixed David's mistake in simplifying my fix to escape_string()!
svn path=/trunk/boinc/; revision=9173
2006-01-05 08:15:18 +00:00
David Anderson 9edb1c083f *** empty log message ***
svn path=/trunk/boinc/; revision=9170
2006-01-05 06:42:45 +00:00
Bruce Allen c92a22c91a Nasty bug fix to sched. escape_string() replaces \ by \\ and
' by \'.  This makes the string longer.  To guarantee that the
resulting longer string does not overflow storage, escape_string()
uses safe_strncpy() to copy the longer string back.  But this
is too heavy-handed, since safe_strncpy() will blindly truncate
the string.  Thus it might clobber \\ into \ or \' into \ which
causes trouble.

David, Rom, please double-check my changes, since escape_string()
is used all over the place.

svn path=/trunk/boinc/; revision=9163
2005-12-30 18:07:46 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson a40fb4ca57 include integer ops in benchmark API
svn path=/trunk/boinc/; revision=8796
2005-11-03 05:31:21 +00:00
David Anderson 4bc558ffc8 disk usage fixes
svn path=/trunk/boinc/; revision=8442
2005-10-04 21:44:58 +00:00
Bruce Allen dc12b0895c Nuke unused variable
svn path=/trunk/boinc/; revision=8333
2005-09-29 22:14:59 +00:00
Reinhard Prix b6832575c1 fixed my erronous mysql include (should have no relative path prefix).
svn path=/trunk/boinc/; revision=8314
2005-09-29 12:03:23 +00:00
Reinhard Prix c8d09966cf Install header-files necessary for building workunit-generator externally linked to BOINC.
svn path=/trunk/boinc/; revision=8313
2005-09-29 11:56:28 +00:00
David Anderson b96bdc7c58 *** empty log message ***
svn path=/trunk/boinc/; revision=8137
2005-09-22 00:30:01 +00:00
David Anderson 20dcd8ae39 fix "no new work" bug
svn path=/trunk/boinc/; revision=8136
2005-09-22 00:15:43 +00:00
David Anderson 8a72aef655 remove email munge code
svn path=/trunk/boinc/; revision=7518
2005-08-26 22:26:26 +00:00
David Anderson 041b6f24c6 *** empty log message ***
svn path=/trunk/boinc/; revision=7492
2005-08-25 23:07:58 +00:00
Jeff Cobb 0680f23b68 *** empty log message ***
svn path=/trunk/boinc/; revision=7280
2005-08-11 23:53:24 +00:00
David Anderson b3dc4bcbe4 new account setup
svn path=/trunk/boinc/; revision=7205
2005-08-07 01:33:15 +00:00
David Anderson 3dfea63937 scheduler fix
svn path=/trunk/boinc/; revision=6860
2005-07-28 08:09:46 +00:00
Rom Walton 1e1b77375b *** empty log message ***
svn path=/trunk/boinc/; revision=6510
2005-07-04 21:47:53 +00:00
David Anderson b91a653741 *** empty log message ***
svn path=/trunk/boinc/; revision=6468
2005-06-28 05:48:41 +00:00
David Anderson 3a1b32e7d6 *** empty log message ***
svn path=/trunk/boinc/; revision=6466
2005-06-28 05:43:22 +00:00
David Anderson 483a775065 *** empty log message ***
svn path=/trunk/boinc/; revision=6444
2005-06-26 19:34:17 +00:00
David Anderson 6722611151 *** empty log message ***
svn path=/trunk/boinc/; revision=6423
2005-06-24 04:34:45 +00:00
David Anderson 6a0176e6c8 *** empty log message ***
svn path=/trunk/boinc/; revision=6415
2005-06-23 07:42:45 +00:00
David Anderson 213f2b1d1a *** empty log message ***
svn path=/trunk/boinc/; revision=6399
2005-06-22 06:02:59 +00:00
David Anderson c1f7d8a890 *** empty log message ***
svn path=/trunk/boinc/; revision=6397
2005-06-22 02:40:14 +00:00
David Anderson 197db0a3c5 *** empty log message ***
svn path=/trunk/boinc/; revision=6281
2005-06-02 07:04:29 +00:00
David Anderson 356f447680 *** empty log message ***
svn path=/trunk/boinc/; revision=6254
2005-05-26 20:25:00 +00:00
David Anderson 1103eac5c8 *** empty log message ***
svn path=/trunk/boinc/; revision=6129
2005-05-12 00:32:03 +00:00
Eric J. Korpela 3515ef9b38 Fix for machines with finite() defined in <ieeefp.h>.
svn path=/trunk/boinc/; revision=6094
2005-05-10 17:45:22 +00:00
David Anderson 57f2da16f9 *** empty log message ***
svn path=/trunk/boinc/; revision=6045
2005-05-05 20:42:06 +00:00
Bruce Allen 734dd4bdde Correcting the documentation
svn path=/trunk/boinc/; revision=6031
2005-05-05 05:23:45 +00:00
David Anderson 1ae7d9b042 *** empty log message ***
svn path=/trunk/boinc/; revision=6026
2005-05-04 22:38:14 +00:00
David Anderson 6971fddbde *** empty log message ***
svn path=/trunk/boinc/; revision=6003
2005-05-03 21:50:51 +00:00