Commit Graph

2586 Commits

Author SHA1 Message Date
David Anderson 2e85107ff6 - admin web: "User privileges" didn't work if the project
had set forum_preferences.special_user to "0000000",
    as had been done in SETI@home for some reason.
    Also, show user ID as well as name; name is not unique.

svn path=/trunk/boinc/; revision=21143
2010-04-07 22:21:44 +00:00
David Anderson 78769ee501 - admin web: show more credit-related info
svn path=/trunk/boinc/; revision=21141
2010-04-07 20:16:43 +00:00
David Anderson 4462fe534b - client: don't do RSS fetch if network suspended
svn path=/trunk/boinc/; revision=21123
2010-04-06 20:32:02 +00:00
David Anderson 23997a28e3 - user web : improve result display
svn path=/trunk/boinc/; revision=21117
2010-04-06 16:34:31 +00:00
David Anderson 78cd631687 - server: fix messed-up app version stats export
svn path=/trunk/boinc/; revision=21105
2010-04-05 20:57:28 +00:00
David Anderson ad91353f93 svn path=/trunk/boinc/; revision=21084 2010-04-04 23:37:03 +00:00
David Anderson f1bbf5c339 - web: show anon platform correctly in task list
svn path=/trunk/boinc/; revision=21048
2010-04-01 16:32:16 +00:00
David Anderson 1d6fccfbe8 - finish up the auto-team feature
svn path=/trunk/boinc/; revision=21033
2010-03-30 20:58:39 +00:00
David Anderson 0fa5b4e129 - client/manager/GUI RPC: project_info.xml file can contain <team_name>.
If present, and a new user account is created,
    it will be made a member of that team if it exists.

svn path=/trunk/boinc/; revision=21030
2010-03-30 17:46:09 +00:00
David Anderson fb851311e0 - server: various changes;
see http://boinc.berkeley.edu/trac/wiki/CreditNew

    Projects will need to update DB and recompile all back-end programs.

    Summary:
    - new way of computing credit
    - "reliable host" mechanism is per app version
    - "host punishment" mechanism is per app version
    - adjustment of wu.rsc_fpops_est provides the
        equivalent of per app version DCF
    - max jobs in progress is now per app
    - max jobs per RPC is now per app

    TODO:
    - reliable mechanism:
        - populate and use host_app_version.error_rate
        - populate host_app_version.turnaround
    - host punishment:
        - populate host_app_version.max_jobs_per_day
        - populate host_app_version.n_jobs_today
        - use app.max_jobs_per_day_init
    - job limits:
        - use app.max_jobs_in_progress, max_gpu_jobs_in_progress
        - use app.max_jobs_per_rpc
    - adjust wu.rsc_fpops_est
    - remove old credit stuff
        fpops_cumulative, credit_multiplier
        credit computation in scheduler

- AVERAGE class: use the Knuth algorithm (Wikipedia)


svn path=/trunk/boinc/; revision=21021
2010-03-29 22:28:20 +00:00
David Anderson 6c39a91b1c - user web: in above case, remove notifications as well
svn path=/trunk/boinc/; revision=21011
2010-03-28 23:47:17 +00:00
David Anderson 03f646779c - user web: if a forum or thread is not visible to a user,
remove their subscriptions to it.


svn path=/trunk/boinc/; revision=21003
2010-03-26 05:34:14 +00:00
David Anderson 7bb82a9f83 - web RPC: include mem and disk info in host XML record
svn path=/trunk/boinc/; revision=20997
2010-03-25 16:38:17 +00:00
David Anderson 86582342a8 - GUI RPC: in the structures used in the C++ interface to GUI RPC,
change various std::string to char[n], to improve performance.

NOTE: std::string should ONLY be used in cases where there is
no a priori limit on string length.
If there's a limit (e.g. because the string originates in
a fixed-size database field) always use char[n].

svn path=/trunk/boinc/; revision=20877
2010-03-12 17:47:17 +00:00
David Anderson 08af46829a - credit test program: create a data file separately so you
don't have to do a big DB query each time


svn path=/trunk/boinc/; revision=20837
2010-03-11 04:19:07 +00:00
David Anderson 7e34f25942 - web RPC: generalize team lookup so that you can look up multiple
teams in one RPC.  From Willy de Zutter.

svn path=/trunk/boinc/; revision=20808
2010-03-06 20:25:58 +00:00
David Anderson 295d4b54ea - server: major improvements to locality scheduling from Einstein@home.
Triggering the work generator is now done via the DB
    instead of flat files.

    Since only E@h uses locality scheduling,
    I kept the DB changes in a separate file (db/schema_locality.sql).
    There's a new field in the workunit table,
    and that's a required update (in db_update.php)
- manager: compile fix


svn path=/trunk/boinc/; revision=20807
2010-03-05 22:55:16 +00:00
David Anderson b415b07785 - client: revisit the domino-effect preemption problem.
Removed my changes of 19 Jan 2010, which didn't work.
    Added new mechanism: keep track of whether a job J has ever run in EDF.
    If so, and if another job of the same project and resource type as J
    is marked as deadline miss, then mark J as deadline miss,
    so that it won't get preempted.
- web: change "result" to "task" in server status page
- admin web: show server stable SVN revision, not trunk

svn path=/trunk/boinc/; revision=20805
2010-03-05 21:13:53 +00:00
David Anderson 5b7f8b8348 - web: fix bug that caused "send email" and "show hosts"
in project prefs to always select "no"


svn path=/trunk/boinc/; revision=20786
2010-03-04 04:16:00 +00:00
David Anderson 09b0a9f93c - admin web: reorganize main page;
add "transition all" command

svn path=/trunk/boinc/; revision=20745
2010-02-26 21:34:20 +00:00
David Anderson 263720bd0e svn path=/trunk/boinc/; revision=20743 2010-02-26 16:41:30 +00:00
David Anderson 811c61e79a svn path=/trunk/boinc/; revision=20734 2010-02-25 17:51:41 +00:00
David Anderson 6214524fbe - web: translation typo
svn path=/trunk/boinc/; revision=20712
2010-02-23 22:09:11 +00:00
David Anderson 575cec858c - admin web: a project must provide an .htaccess file
or an auth_ops() function (not necessarily both).
    New projects are given an .htaccess file with no .htpasswd,
    so they must either create a .htpasswd file
    or define auth_ops() in order to use admin web pages.

svn path=/trunk/boinc/; revision=20671
2010-02-21 04:45:52 +00:00
David Anderson 83ffe9306b svn path=/trunk/boinc/; revision=20665 2010-02-19 18:27:42 +00:00
David Anderson 04425c51af - web: translation stuff
svn path=/trunk/boinc/; revision=20657
2010-02-19 17:51:00 +00:00
David Anderson 6dd7401da7 - various components: fix inconsistencies in how user names
and team names are represented.
    In particular, edit_user_info_action.php was using
    htmlentities() on names; this led to double-encoding.

    The new rules:
    1) no HTML tags allowed in either one.
        This is enforced silently, using strip_tags()
    2) names are stored in the DB exactly as entered.
        They may contain chars like & and >.
        They may contain non-ASCII characters
        (use UTF-8 if you want them displayed correctly).
        None of these are not escaped.
    3) When the names are put in XML
        (e.g. in scheduler reply or db_dump output)
        they are XML-escaped.
        This escapes <, &, and non-ASCII chars
    4) The client leaves them in this form,
        and writes them that way in GUI RPCs
        and init_data.xml files.
    5) The parsing of GUI RPC replies and init_data.xml files
        XML-unescapes them.

svn path=/trunk/boinc/; revision=20647
2010-02-18 22:33:26 +00:00
David Anderson 9bc2e0a281 - web: fix typo
svn path=/trunk/boinc/; revision=20612
2010-02-17 21:12:31 +00:00
David Anderson fb4d03579e - manager: first whack at "suspend if CPU load exceeds x" in dialog
svn path=/trunk/boinc/; revision=20594
2010-02-16 18:38:39 +00:00
David Anderson 21a18b7045 - web: more translations, from Christian. fixes #982
svn path=/trunk/boinc/; revision=20582
2010-02-16 01:06:03 +00:00
David Anderson f5ab42494a - client: fix typos
svn path=/trunk/boinc/; revision=20581
2010-02-16 01:00:35 +00:00
David Anderson 4a963143ec - web: more translations, from Christian. fixes #981
svn path=/trunk/boinc/; revision=20568
2010-02-15 04:30:25 +00:00
David Anderson e441fdcd37 - web: make strings translatable. fixes #980
svn path=/trunk/boinc/; revision=20563
2010-02-13 22:52:55 +00:00
David Anderson eebee6f71b svn path=/trunk/boinc/; revision=20562 2010-02-13 22:33:50 +00:00
David Anderson d78b5fb79a - client: if a project is anonymous platform and it has no
app versions that use a resource,
    don't request work from it for that resource.

svn path=/trunk/boinc/; revision=20549
2010-02-11 22:19:22 +00:00
David Anderson 40416fa27b - more tra()s from Christian. fixes #976
svn path=/trunk/boinc/; revision=20463
2010-02-07 23:53:37 +00:00
David Anderson dd358791b7 - web: make a bunch of strings translatable (from Christian Beer)
fixes #977


svn path=/trunk/boinc/; revision=20462
2010-02-07 23:51:37 +00:00
David Anderson b9db4b16db - web: fix bug that caused news RSS to show wrong items
svn path=/trunk/boinc/; revision=20427
2010-02-05 04:46:10 +00:00
David Anderson 5f1bf70056 - web: Drupal stuff
svn path=/trunk/boinc/; revision=20418
2010-02-04 16:55:16 +00:00
David Anderson e44ac6dede - web: code shuffle for Drupal
svn path=/trunk/boinc/; revision=20417
2010-02-04 16:15:54 +00:00
David Anderson ae6420ab65 - client: if GPU get available RAM fails, don't use the GPU
- web: put $languages_in_use into $GLOBALS.
    Apparently it can't be referenced as a global in Drupal otherwise

svn path=/trunk/boinc/; revision=20412
2010-02-03 23:04:34 +00:00
David Anderson 83353ad7f9 svn path=/trunk/boinc/; revision=20404 2010-02-03 17:32:25 +00:00
David Anderson 1600c26206 svn path=/trunk/boinc/; revision=20403 2010-02-03 17:28:03 +00:00
David Anderson ce2b061ddf svn path=/trunk/boinc/; revision=20336 2010-02-01 17:52:59 +00:00
David Anderson 2be75c38a7 svn path=/trunk/boinc/; revision=20319 2010-01-29 19:59:03 +00:00
David Anderson f7d29f6651 - user web: if Akismet rejects thread reply, show warning
svn path=/trunk/boinc/; revision=20318
2010-01-29 17:00:14 +00:00
David Anderson 65b581b28d svn path=/trunk/boinc/; revision=20316 2010-01-29 16:28:46 +00:00
David Anderson 09b92f0841 - user web: allow zero resource share
- client: allow zero resource share


svn path=/trunk/boinc/; revision=20315
2010-01-29 15:50:47 +00:00
David Anderson 04b8cf965f - web: assume all translation files are UTF-8
svn path=/trunk/boinc/; revision=20270
2010-01-27 04:04:17 +00:00
David Anderson 6b3ea3d339 - user web: don't show "database error" if result refers
to deleted app version

svn path=/trunk/boinc/; revision=20251
2010-01-23 00:36:12 +00:00