Commit Graph

24 Commits

Author SHA1 Message Date
David Anderson 512af1d30e - user web: don't append "/" to URL_BASE.
URL_BASE is assumed to end with a /.
    If you put another /, you end up with // in URLs.
    This leads to a situation where you can have
    one cookie for // and another for / - bad.

    If this causes problems for any projects,
    they should edit their project.inc accordingly

svn path=/trunk/boinc/; revision=14254
2007-11-18 22:42:47 +00:00
David Anderson e1ca1c5aee - User web: more DB framework changes;
extended DB framework to allow use of a read-only replica

svn path=/trunk/boinc/; revision=13985
2007-10-29 16:38:25 +00:00
Rytis Slatkevičius 27cb39ca5a Remove extra slashes when using PM preview
svn path=/trunk/boinc/; revision=13578
2007-09-12 14:08:34 +00:00
Rytis Slatkevičius 2692557dd5 user web: prevent users with RAC < 1 become a user of the day (protection from spam)
svn path=/trunk/boinc/; revision=13567
2007-09-11 19:25:35 +00:00
Rytis Slatkevičius b04aeea7d6 user web: make sure that all links that have URL_BASE have slashes after it. This makes a slash in the end of URL_BASE definition in project/project.inc no longer necessary.
svn path=/trunk/boinc/; revision=13106
2007-07-05 19:37:33 +00:00
Matt Lebofsky 2d688ca625 svn path=/trunk/boinc/; revision=13041 2007-06-27 20:44:56 +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
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 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
Matt Lebofsky ae5748636c *** empty log message ***
svn path=/trunk/boinc/; revision=11762
2007-01-03 19:12:53 +00:00
Rytis Slatkevičius d4d93cdc25 Show UOTD counter in the ops page (from Eric Myers)
svn path=/trunk/boinc/; revision=11533
2006-11-16 19:03:07 +00:00
Matt Lebofsky ab75c88183 *** empty log message ***
svn path=/trunk/boinc/; revision=10929
2006-08-15 23:02:52 +00:00
David Anderson b8c02cd8af *** empty log message ***
svn path=/trunk/boinc/; revision=10913
2006-08-14 22:50:51 +00:00
David Anderson 44658e81e5 *** empty log message ***
svn path=/trunk/boinc/; revision=10912
2006-08-14 22:11:53 +00:00
Bruce Allen c0f10ced41 Previously the only
profiles with verification=1 were those with credit, so UOTD was
selected from those.  Now there are profiles of users with zero credit
that have verification=1.  So script that selects UOTD now does
a table join to restrict profile searches to those of users with
credit only.

svn path=/trunk/boinc/; revision=7969
2005-09-11 08:09:39 +00:00
David Anderson 6df7ebc5e8 *** empty log message ***
svn path=/trunk/boinc/; revision=5144
2005-01-19 19:08:46 +00:00
David Anderson c60fb03c27 *** empty log message ***
svn path=/trunk/boinc/; revision=4946
2004-12-27 21:53:38 +00:00
Karl Chen 36ed3f715f *** empty log message ***
svn path=/trunk/boinc/; revision=3927
2004-07-21 22:19:21 +00:00
Matt Lebofsky e11033d3b7 fixed view_profile -> view_profile.php
svn path=/trunk/boinc/; revision=3832
2004-07-09 18:28:41 +00:00
David Anderson 6ac981446e *** empty log message ***
svn path=/trunk/boinc/; revision=3555
2004-06-13 17:58:18 +00:00
David Anderson 56c08a7f95 *** empty log message ***
svn path=/trunk/boinc/; revision=3538
2004-06-11 18:50:15 +00:00
David Anderson 319b4573b7 *** empty log message ***
svn path=/trunk/boinc/; revision=3519
2004-06-09 21:42:23 +00:00
David Anderson 2deee53456 *** empty log message ***
svn path=/trunk/boinc/; revision=3367
2004-05-11 22:49:23 +00:00