Commit Graph

1626 Commits

Author SHA1 Message Date
David Anderson 826e65f8d0 - client simulator: fix cpu_sched_rr_only bug
- boinc_cmd: canonicalize URLs
- user web: fix link to Top Teams
- back end: remove code related to alternate download dir

client/
    cpu_sched.C
    sim.C
html/
    inc/
        stats_sites.inc
    user/
        stats.php
lib/
    boinc_cmd.C
sched/
    file_deleter.C
    sched_config.C,h

svn path=/trunk/boinc/; revision=12694
2007-05-18 22:02:51 +00:00
Rytis Slatkevičius 1740f526d9 Encode UTF characters into HTML entities (from ChristianB, fix #57).
NOTE: teams that have name display issues will have to edit their description once the projects update the code.

svn path=/trunk/boinc/; revision=12691
2007-05-18 15:02:02 +00:00
Rytis Slatkevičius c7cf11d4af Show forum name list instead of asking for a numeric ID (from Willy de Zutter)
svn path=/trunk/boinc/; revision=12690
2007-05-18 14:49:10 +00:00
Rytis Slatkevičius 9b07b4a46e Remove unused files, fix forum rows being invisible in IE because of height issues
svn path=/trunk/boinc/; revision=12689
2007-05-18 14:20:58 +00:00
David Anderson c2edcd489e - sort team-lookup results by avg credit desc
html/user/
    team_lookup.php

svn path=/trunk/boinc/; revision=12685
2007-05-18 05:13:57 +00:00
David Anderson 477834b425 don't error out if no svn version file
svn path=/trunk/boinc/; revision=12674
2007-05-15 21:48:48 +00:00
David Anderson 293176d656 - user web: add
$s = '$s';
    at top of compiled translation files,
    to allow re-ordering of format codes
    (from H. Komori)

html/inc/
    translation.inc

svn path=/trunk/boinc/; revision=12673
2007-05-15 21:41:59 +00:00
Rytis Slatkevičius 56871331a5 - Fix #189: add links to send PMs below user name in the forum, in the user overview and in user profile page.
- Change "CVS" into "SVN" in the CVS version tracker (automatically generated comment in the pages showing page revision number)

svn path=/trunk/boinc/; revision=12666
2007-05-15 10:06:38 +00:00
David Anderson 8f25fdf2a1 David 14 May 2007
- API: Eric Myers reported that my 4 May checkin
        (which increased worker thread stack size to the limit
        returned by getrlimit())
        broke his app on several Linux platforms.
        So I added a worker_thread_stack_size element to BOINC_OPTIONS.
        If you want an increased stack size, set this.
    - web RPC: add <url> and <local_revision> elements to
        the XML returned by get_project_config.php

    html/user/
        sample_get_project_config.php
    api/
        graphics_impl.C


svn path=/trunk/boinc/; revision=12664
2007-05-14 19:52:00 +00:00
Rytis Slatkevičius 5f7ed5b8fc Remove redundant search boxes from the bottom of the forum pages
svn path=/trunk/boinc/; revision=12660
2007-05-13 18:41:34 +00:00
Rytis Slatkevičius 79e77f1de5 Fix non-unique user name handling in private messages
svn path=/trunk/boinc/; revision=12657
2007-05-11 20:34:16 +00:00
David Anderson 3612fe184f - web RPC: show lots more info in team_lookup.php, XML version
html/inc/
    xml.inc


svn path=/trunk/boinc/; revision=12656
2007-05-11 18:41:36 +00:00
David Anderson fca5836088 - web RPC: fix bug in XML variant in show_user.php, bad-ID case.
html/user/
    show_user.php


svn path=/trunk/boinc/; revision=12653
2007-05-11 17:42:33 +00:00
David Anderson 0daa5a8802 - translation.inc: backed out change of 7 May;
we need to use " to expand $PROJECT var
- scheduler:
    take work_buf_min into account in deciding whether
    a result will be reported by its deadline.
- all back end programs:
    better error message if can't parse config file

html/inc/
    translation.inc
sched/
    *.C

svn path=/trunk/boinc/; revision=12652
2007-05-11 16:30:13 +00:00
Rom Walton 2e944052a6 - Add a project config.xml option to allow moderators to ban
accounts.
        
      <moderators_allowed_to_ban>1</moderators_allowed_to_ban>
      
    html/inc/
        forum.inc
        forum_moderators.inc

svn path=/trunk/boinc/; revision=12643
2007-05-11 02:43:57 +00:00
Janus B. Kristensen ac80942579 BEncoded integers for the Bittorrent stuff.
svn path=/trunk/boinc/; revision=12640
2007-05-10 21:56:38 +00:00
David Anderson a37403a673 - scheduler: add <workload_sim> config option.
If set, the scheduler will use EDF simulation,
    together with the in-progress workload reported by the client,
    to avoid sending results that
    1) will miss their deadline, or
    2) will cause an in-progress result to miss its deadline, or
    3) will make an in-progress result miss its deadline
        by more than is already predicted.
    If this option is not set, or if the client request doesn't
    include a workload description (i.e. the client is old)
    use the existing approach, which assumes there's no workload.
    NOTE: this is experimental.  Production projects should not use it.
- EDF sim: write debug stuff to stderr instead of stdout
- Account manager:
    - if an account is detach_when_done, set dont_request_more_work
    - check done_request_more_work even for first-time projects
- update_uotd: generate a file for use by Google gadget
- user_links(): use full URLs (so can use in Google gadget)

client/
    acct_mgr.C
    work_fetch.C
html/
    inc/
        uotd.inc
        util.inc
    user/
        uotd_gadget.php (new)
sched/
    Makefile.am
    edf_sim.C
    sched_config.C,h
    sched_resend.C
    sched_send.C,h
    server_types.C,h

svn path=/trunk/boinc/; revision=12639
2007-05-10 21:50:52 +00:00
David Anderson a3c22a1bf7 - client: add constructor/destructor for APP_VERSION, WORKUNIT, RESULT
- client: with anonymous platform, don't link app version twice

client/
    client_types.h
    client_state.C
    cs_apps.C
    cs_files.C
    cs_prefs.C
    cs_scheduler.C
    cs_statefile.C
    sim_util.C
html/
    uotd.inc
sched/
    edf_sim.h
    server_types.h

svn path=/trunk/boinc/; revision=12638
2007-05-10 16:23:10 +00:00
Rytis Slatkevičius 0379a5a655 Fix #114: update BBCode to allow easy linking to Trac tickets, wiki and changesets.
svn path=/trunk/boinc/; revision=12632
2007-05-09 19:30:46 +00:00
Janus B. Kristensen 92c7e96022 Removed .inc since my editor doesn't seem to understand that it is still PHP...
svn path=/trunk/boinc/; revision=12622
2007-05-09 09:14:39 +00:00
Janus B. Kristensen a00a7f8181 BEncdoded elements (for dictionaries in dictionaries in lists in...) and BEncoded arrays (dictionaries).
svn path=/trunk/boinc/; revision=12621
2007-05-09 09:13:38 +00:00
Janus B. Kristensen a2d85647bd Fixed the stupid post-content layout-breaking overflow in some browsers and a CSS error that caused the original fix to only work in certain conditions.
svn path=/trunk/boinc/; revision=12620
2007-05-09 08:59:14 +00:00
Janus B. Kristensen aaab3954ed A BEncoding container for BEncoding dictionaries in dictionaries in lists in...etc. etc.
svn path=/trunk/boinc/; revision=12610
2007-05-08 08:22:17 +00:00
Janus B. Kristensen 56fd688f54 A tiny bit of documentation
svn path=/trunk/boinc/; revision=12608
2007-05-08 08:16:30 +00:00
David Anderson f6a06c60ac - client simulator:
- Add --server_uses_workload option
            (simulate server that does EDF simulation)
        - Add simulation of exponential backoff when don't get work.
            Otherwise it will keep asking forever.
        - move non-interesting stuff to sim_util.C
    - change simulator code to use ' instead of " in compiled translations
    
    client/
        makefile_sim
        sim_util.C
        sim.C,h
        work_fetch.C
    html/inc/
        translation.inc
    sched/
        edf_sim.C
        edf_sim.h (new)

svn path=/trunk/boinc/; revision=12604
2007-05-08 01:55:28 +00:00
Rytis Slatkevičius 8b7842b116 Fix #175 (quotes getting escaped twice)
svn path=/trunk/boinc/; revision=12599
2007-05-07 19:34:45 +00:00
Janus B. Kristensen 5a28d40e57 Removed BOINC.dk from stats sites as it is in the process of shutting down several of those services.
svn path=/trunk/boinc/; revision=12593
2007-05-07 11:05:46 +00:00
Janus B. Kristensen 80d875b076 Removed some old debug and changed a bogus error message with a more sane one
svn path=/trunk/boinc/; revision=12580
2007-05-06 22:38:43 +00:00
Rytis Slatkevičius 140b0667d5 Update user_posts RPC to include thread title and allow post content length customization
svn path=/trunk/boinc/; revision=12577
2007-05-06 09:40:42 +00:00
David Anderson be74515c58 - Server status page: fix bug that showed most daemons as not running
on FC6; needed to trim white space from pid
    - Server status page: show server software SVN revision

svn path=/trunk/boinc/; revision=12569
2007-05-05 03:11:35 +00:00
Jens Seidler e88e8758a7 Localization: Web and BOINC survey language files: Polish(pl) Czech(cs)
svn path=/trunk/boinc/; revision=12550
2007-05-04 05:55:17 +00:00
Matt Lebofsky 136ce49b84 svn path=/trunk/boinc/; revision=12536 2007-05-02 23:17:52 +00:00
Matt Lebofsky 846ec9fbb0 svn path=/trunk/boinc/; revision=12532 2007-05-02 18:51:51 +00:00
David Anderson c72634456d - make_project and upgrade now write a file 'local.revision'
in the project home directory.
        It contains the output of /usr/bin/svnversion,
        i.e. the code revision from which the server software was built.
    - Web files that create directories now give them g+rwx permissions

    html/inc/
        cache.inc
        translation.inc
    sched/
        edf_sim.C
    tools/
        make_project
        upgrade

svn path=/trunk/boinc/; revision=12521
2007-05-01 21:21:13 +00:00
Rytis Slatkevičius dd9f10a2db Add rel="nofollow" to URLs in the forum because of spammers
svn path=/trunk/boinc/; revision=12509
2007-04-30 17:23:44 +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
Rytis Slatkevičius fee5e63eca Add workunit column to pending credit page; allow fetching data via XML RPC
svn path=/trunk/boinc/; revision=12501
2007-04-29 19:57:18 +00:00
Rytis Slatkevičius c0bf6fe21a Fix for ticket #125 - problems with websites using PHP setting short_open_tag (additional files)
svn path=/trunk/boinc/; revision=12500
2007-04-29 14:45:44 +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
Rytis Slatkevičius 4ccd2698ef <no_forum_rating/> should be parsed as bool, not as string
svn path=/trunk/boinc/; revision=12497
2007-04-29 13:02:35 +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 04b3417483 make scripts executable (SVN change)
svn path=/trunk/boinc/; revision=12489
2007-04-26 20:47:37 +00:00
David Anderson b5b155e557 David 26 Apr 2007
- server: fix bug that causes PHP scripts not to run from Cron
        Fixes #129.  From Christian Beer.

    html/ops/
        update_profile_pages.php
    tools/
        run_in_ops

svn path=/trunk/boinc/; revision=12488
2007-04-26 20:24:47 +00:00
Jens Seidler 9c70d448ef Localization: Web language files updated: Japanese(ja,ja_JP)
svn path=/trunk/boinc/; revision=12484
2007-04-26 17:01:10 +00:00
Rytis Slatkevičius 606263161d Fix for ticket #125 - problems with websites using PHP setting short_open_tag
svn path=/trunk/boinc/; revision=12475
2007-04-25 19:05: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
Rytis Slatkevičius 8f960088ef Fixing a bug where not having akismet key would block forum posting
svn path=/trunk/boinc/; revision=12462
2007-04-24 16:04:04 +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
Rytis Slatkevičius 49841b2ef6 Change behaviour of BBCode [code] tag: get rid of multiple newlines, change <pre> to <div>, alter CSS so that long strings no longer break layout.
svn path=/trunk/boinc/; revision=12442
2007-04-21 12:10:15 +00:00