Commit Graph

130 Commits

Author SHA1 Message Date
David Anderson b3768ecc6f - client: removed -return_results_immediately cmdline option
(wasn't implemented anyway)
- client: added <report_results_immediately> configuration flag;
    causes results to be reported as soon as done.
    Needed for some WCG machines that are reformatted often.
    Should NOT be used in general, since it increases server load.

svn path=/trunk/boinc/; revision=14280
2007-11-21 19:57:40 +00:00
David Anderson 9564dc0931 - user web: bug fix in moderation email send (fixes #485)
- BOINC-wide teams: HTML-escape user-supplied text (fixes #487)


svn path=/trunk/boinc/; revision=14240
2007-11-17 16:35:02 +00:00
David Anderson d302a5e107 - client/manager/API: code cleanup to disentangle sandbox code from lib/.
- move client sandbox-specific code to a new file, sandbox.C
    - remove g_use_sandbox from util.C; move to MainDocument.cpp (manager)
        and sandbox.C (client)
    - don't declare check_security() in util.h; it's not in util.C
    - don't call remove_project_owned_file_or_dir() in
        boinc_delete_file_aux() or boinc_rmdir();
        rather, at the points in the client that delete
        dirs that are usually owned by boinc_projects,
        call remove_project_owned_file_or_dir() first,
        then clean_out_dir().
    - rename boinc_exec() to switcher_exec() and move it to sandbox.C

Note: this change was sparked by needing to remove a call to getgrnam()
from boinclib, to avoid requiring the same version of glibc
on both compile and target hosts

svn path=/trunk/boinc/; revision=13784
2007-10-05 16:47:07 +00:00
David Anderson aadcc979cd - client: first pass at fixing a fundamental design flaw:
there's a single GUI_HTTP object,
    and it works only if used sequentially,
    i.e. an op is started only after the previous one ends.
    This breaks if a GUI RPC triggerse and op while
    a project-list fetch (initiated by the client itself) is in progress.
    Or if two managers are connected at the same time,
    and both do HTTP ops.
    The solution: have a separate GUI_HTTP object for each GUI_RPC_CONN,
    and an additional one for use by the client itself.

svn path=/trunk/boinc/; revision=13692
2007-09-27 21:03:15 +00:00
David Anderson 843277ffce removed a lot of doc files
svn path=/trunk/boinc/; revision=13687
2007-09-27 17:23:21 +00:00
David Anderson 0248d4e016 - stripcharts: fix typo that could cause disk to fill up!
(from Nicolas Maire)

svn path=/trunk/boinc/; revision=13660
2007-09-25 21:51:35 +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 0505c15ec8 - boinc_cmd: improve output of --help
- scheduler: remove giant log output when use <workload_sim>
- db_purge: fix crash if nothing logged

svn path=/trunk/boinc/; revision=13556
2007-09-08 21:34:20 +00:00
David Anderson 00e3ddad69 - client: zero out xfer_speed in HTTP_OP constructor
(may fix problem w/ #INF bandwidth display)

svn path=/trunk/boinc/; revision=13517
2007-09-02 19:39:21 +00:00
David Anderson 2d9df04429 - more team stuff
svn path=/trunk/boinc/; revision=13223
2007-07-26 21:50:45 +00:00
David Anderson 3990e817e3 - add support for "BOINC teams" (to be explained later)
svn path=/trunk/boinc/; revision=13218
2007-07-25 20:58:36 +00:00
David Anderson a574d16ccd - client simulator: add --line_limit option;
splits up HTML output into multiple fixed-size files

svn path=/trunk/boinc/; revision=13147
2007-07-12 18:38:53 +00:00
David Anderson bda30b3065 - added a stats site
- added return value for copy_stream()

svn path=/trunk/boinc/; revision=13133
2007-07-10 23:42:05 +00:00
David Anderson b9d7ecdc1a - client: run_if_user_active pref applies to both
network transfers and CPU usage.
    (Note: maybe we should have a separate pref for this).

svn path=/trunk/boinc/; revision=13131
2007-07-10 17:49:51 +00:00
David Anderson 0a19dddf18 - client: read only first 63KB of stderr.txt
- user web: default work_buf_min_days is 0, not ""

html/inc/
    prefs.inc
client/
    app_control.C

svn path=/trunk/boinc/; revision=12987
2007-06-22 22:18:28 +00:00
David Anderson c912a6506b - user web: fixed bug in private-message code
- back end: moved HR_INFO to a separate file;
    did some debugging in HR code

html/
    inc/
        forum_user.inc
        util.inc
    user/
        forum_pm.php
sched/
    Makefile.am
    census.C
    feeder.C
    hr.C,h
    hr_info.C,h (new)

svn path=/trunk/boinc/; revision=12978
2007-06-22 03:46:42 +00:00
David Anderson 45f04aa04b - back end: make it possible to run multiple instances of make_work,
for WUs of different applications
    (need to count unsent results separately by app)
- feeder: major code cleanup
    - application interleaving (for -allapps) is now done
        by building a static slot-to-app array "app_indices".
        Fractional weights now work correctly.
    - enum sizes (for -allapps) are now precomputed
        in an array "enum_sizes"
    - rename "found" (confusing!!) to "collision"
    - swapped the names of mod_select_clause and select_clause,
        to reflect what they actually are
- file deleter: in finding oldest WU, order by id instead of create_time
    (there's no index on create_time)
- user web: show "merge by name" only to host owner
- add cpu_scheduler_period() member to GLOBAL_PREFS
    (so you don't have to multiply by 60 everywhere)
- infinite() fix for HPUX

client/
    cpu_sched.C
    cs_cmdline.C
    cs_scheduler.C
    rrsim_test.C
    sim.C
    work_fetch.C
html/user/
    hosts_user.php
lib/
    parse.h
    prefs.h
sched/
    feeder.C
    file_deleter.C
    make_work.C
    sample_work_generator.C
    sched_util.C,h
tools/
    updater.C

svn path=/trunk/boinc/; revision=12968
2007-06-20 16:27:27 +00:00
Rytis Slatkevičius 38d32bba97 Attempt to fix Bulgarian link in BOINC front page
svn path=/trunk/boinc/; revision=12741
2007-05-24 09:32:09 +00:00
David Anderson 087aa84915 - scheduler: fix bug that caused crash in anonymous platform case;
don't send result platform or version num if anon platform.
- back end: parse server status-related config elements
    (wwww_host etc.) to avoid XML warnings

sched/
    sched_config.C
    sched_send.C
    server_types.C

svn path=/trunk/boinc/; revision=12701
2007-05-21 14:49:00 +00:00
David Anderson dd797bc843 - API: if using graphics, set worker thread stack size limit to max
(from Rosetta@home)
    
    api/
        graphics_impl.C

svn path=/trunk/boinc/; revision=12562
2007-05-04 20:06:00 +00:00
David Anderson e4f26ad2c4 - UOTD code: don't generate a static page; add uotd.php
html/
        ops/
            update_uotd.php
        inc/
            uotd.inc
        user/
            uotd.php (new)

svn path=/trunk/boinc/; revision=12505
2007-04-30 15:29:14 +00:00
David Anderson f42e2ee623 - Major rewrite of email-sending programs.
Instead of editing their source (ugh!)
        you can now use command-line args to get testing functionality.
        
    html/ops/
        remind.php
        mass_email_script.php

svn path=/trunk/boinc/; revision=12494
2007-04-27 23:05:48 +00:00
David Anderson 3c9f9102e6 David 27 Apr 2007
- bug in language_select.php made 'auto' not work,
        i.e. its impossible to return to browser settings
        after doing a cookie-based language choice
    - translation.inc and language_select.php were using $HTTP_SERVER_VARS,
        which appears to be deprecated in PHP 5.
        Use $_SERVER instead.
    - made strings at top of web site translatable

    html/
        inc/
            translation.inc
        user/
            language_select.php
    languages/translations/
        en.po

svn path=/trunk/boinc/; revision=12493
2007-04-27 16:27:12 +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 1ea3bb781e David 18 Apr 2007
- bug fixes for sample work generator

    sched/
        sched_config.C,h
        sample_work_generator.C


svn path=/trunk/boinc/; revision=12417
2007-04-19 03:12:13 +00:00
David Anderson 3431d99471 svn path=/trunk/boinc/; revision=12414 2007-04-18 20:49:58 +00:00
David Anderson 8f8b9cc4b7 svn path=/trunk/boinc/; revision=12372 2007-04-16 22:01:52 +00:00
David Anderson d5bd5c1a79 *** empty log message ***
svn path=/trunk/boinc/; revision=12323
2007-04-05 18:17:15 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson 4d4fa94083 *** empty log message ***
svn path=/trunk/boinc/; revision=12097
2007-02-16 05:04:08 +00:00
David Anderson ca95542fed *** empty log message ***
svn path=/trunk/boinc/; revision=12029
2007-02-05 03:37:17 +00:00
David Anderson 3940c73ebf *** empty log message ***
svn path=/trunk/boinc/; revision=11740
2006-12-29 21:42:14 +00:00
David Anderson 673a2bee27 *** empty log message ***
svn path=/trunk/boinc/; revision=11619
2006-12-05 03:50:36 +00:00
David Anderson d34f09ef18 *** empty log message ***
svn path=/trunk/boinc/; revision=11614
2006-12-04 19:00:37 +00:00
David Anderson e260abf969 *** empty log message ***
svn path=/trunk/boinc/; revision=11604
2006-12-01 00:38:36 +00:00
David Anderson 6e3925cefc *** empty log message ***
svn path=/trunk/boinc/; revision=11524
2006-11-14 17:30:59 +00:00
David Anderson 3467f7e8fb *** empty log message ***
svn path=/trunk/boinc/; revision=11498
2006-11-08 22:40:03 +00:00
David Anderson a2bedc5aea *** empty log message ***
svn path=/trunk/boinc/; revision=11495
2006-11-08 00:35:25 +00:00
David Anderson 2ffc4b02e0 *** empty log message ***
svn path=/trunk/boinc/; revision=11176
2006-09-19 16:55:28 +00:00
David Anderson 79e14047f2 *** empty log message ***
svn path=/trunk/boinc/; revision=11150
2006-09-13 03:39:30 +00:00
David Anderson 8f5dfd9397 *** empty log message ***
svn path=/trunk/boinc/; revision=11114
2006-09-06 15:51:26 +00:00
David Anderson 886604d12c *** empty log message ***
svn path=/trunk/boinc/; revision=11038
2006-08-29 20:39:44 +00:00
David Anderson e526df3db5 *** empty log message ***
svn path=/trunk/boinc/; revision=10934
2006-08-16 19:45:43 +00:00
David Anderson 2d47ee0d8b *** empty log message ***
svn path=/trunk/boinc/; revision=10932
2006-08-16 03:44:47 +00:00
David Anderson da908e1c2b *** empty log message ***
svn path=/trunk/boinc/; revision=10865
2006-08-08 16:38:28 +00:00
David Anderson c94a867c8b *** empty log message ***
svn path=/trunk/boinc/; revision=10820
2006-08-02 21:33:19 +00:00
David Anderson 611e5b02d8 *** empty log message ***
svn path=/trunk/boinc/; revision=10786
2006-07-28 03:30:09 +00:00
David Anderson 7eb21f34e2 *** empty log message ***
svn path=/trunk/boinc/; revision=10701
2006-07-20 20:27:21 +00:00
David Anderson 486e704ba4 *** empty log message ***
svn path=/trunk/boinc/; revision=10654
2006-07-17 16:38:53 +00:00
David Anderson a2bf431a6e *** empty log message ***
svn path=/trunk/boinc/; revision=10607
2006-07-09 20:59:41 +00:00