Commit Graph

1174 Commits

Author SHA1 Message Date
Rytis Slatkevičius 6c5fc14a23 user web: flag to send less information on team member XML requests (from Willy de Zutter).
svn path=/trunk/boinc/; revision=21780
2010-06-20 08:35:36 +00:00
David Anderson 30d7ced4ca - user web: code cleanup in prefs.inc
svn path=/trunk/boinc/; revision=21766
2010-06-17 19:11:00 +00:00
David Anderson 5978cd0c3b - user web: don't show claimed credit
svn path=/trunk/boinc/; revision=21761
2010-06-16 23:52:28 +00:00
David Anderson 2eef482a12 - API: fix bug that caused parallel apps to get compute error
when they were suspended without "leave in memory" pref
- user web: if in-progress result has credit, show it; fixes #998

svn path=/trunk/boinc/; revision=21748
2010-06-14 21:24:07 +00:00
David Anderson 4147249de2 - server: delete old credit stuff
- user web: show host link in user result list.  Fixes #999


svn path=/trunk/boinc/; revision=21735
2010-06-12 22:08:15 +00:00
David Anderson 7802d3f253 - server: change credit constant from 100 to 200.
Data from S@h beta (running for a month or so)
    suggests that this will almost exactly match the
    average credit granted by S@h's old system
    (which, in theory, is the reference for other projects)

svn path=/trunk/boinc/; revision=21727
2010-06-10 18:05:42 +00:00
David Anderson 875397d1b0 - admin web: add start/end times to team import log output
svn path=/trunk/boinc/; revision=21693
2010-06-04 19:20:19 +00:00
David Anderson e80e54fd4d - user web: add "Application info" link in host page,
linking to new page showing host_app_versions for this host
- scheduler: message tweaks

svn path=/trunk/boinc/; revision=21690
2010-06-03 20:26:02 +00:00
David Anderson 9e556fd9fc - user web: fix forum RSS feed
svn path=/trunk/boinc/; revision=21678
2010-06-02 04:20:48 +00:00
Rytis Slatkevičius d07da32b55 Fixed line order in the last patch
svn path=/trunk/boinc/; revision=21669
2010-06-01 18:40:17 +00:00
Rytis Slatkevičius a3b27efb6f user web: do not wait for cross-project stats for more than 3 seconds as it slows down "Your account" page load in case stats server is slow to respond.
svn path=/trunk/boinc/; revision=21667
2010-06-01 14:07:53 +00:00
Rytis Slatkevičius c2ffa60527 user web: fix boolean type preferences for non-english languages where PREF_BOOL is used
svn path=/trunk/boinc/; revision=21553
2010-05-17 16:13:23 +00:00
Rytis Slatkevičius 328e3ad2b4 user web: use CDATA section for title in the RSS feed
svn path=/trunk/boinc/; revision=21474
2010-05-12 15:33:56 +00:00
Rytis Slatkevičius a002ba4845 - user web: use full output transform for frontpage news posts (to handle newlines and other related stuff).
- user web: add a warning in case admin hasn't changed show_news() call to the new format.

svn path=/trunk/boinc/; revision=21459
2010-05-11 19:25:13 +00:00
Rytis Slatkevičius ea8fd996a0 user web: fix PHP warning when netsoft stats are down
svn path=/trunk/boinc/; revision=21422
2010-05-09 08:42:51 +00:00
David Anderson 5fe3ea66a7 - user web: fix PHP warning
- admin web: add tool for debugging credit


svn path=/trunk/boinc/; revision=21417
2010-05-07 21:46:04 +00:00
David Anderson 65679fcfca - user web: in BBCode->HTML conversion there was a limit of
20 tags converted.
    I don't think a limit is needed.
    In any case, I changed it to 1000

svn path=/trunk/boinc/; revision=21329
2010-04-29 15:36:49 +00:00
David Anderson 7933287457 - user web: no limit on PMs for moderators, admins etc.
svn path=/trunk/boinc/; revision=21328
2010-04-29 15:28:27 +00:00
David Anderson 91665c7109 - user web: bug fixes for prefs
svn path=/trunk/boinc/; revision=21301
2010-04-26 20:28:54 +00:00
David Anderson 26c0814d26 - client: clean up network suspension logic.
There are now separate flags for
    "file_xfers_suspended": don't do file transfers
    "network_suspended": don't do any network comm
        (scheduler RPCs, RSS fetch, master fetch, etc.)
    The policy:
    if preferences/settings say no network
    (quota exceeded, no-network mode, user active, time, excl. app)
    then:
        file_xfers_suspended = true
        if (no recent network-related RPC) network_suspended = true
- user web: code cleanup for project prefs

svn path=/trunk/boinc/; revision=21299
2010-04-26 19:31:28 +00:00
David Anderson 37f08f46b0 - user web: message tweaks
svn path=/trunk/boinc/; revision=21290
2010-04-26 02:34:58 +00:00
David Anderson 8f91d96150 - user web: add network quota pref (the goal that spurred all this cleanup)
- rename prefs.daily_xfer_period to daily_xfer_period_days


svn path=/trunk/boinc/; revision=21269
2010-04-23 20:29:02 +00:00
David Anderson a32dca3fbc - user web: separate general stuff from prefs.inc
svn path=/trunk/boinc/; revision=21268
2010-04-23 18:32:30 +00:00
David Anderson 9619791ad3 - user web: more cleanup of prefs.inc
- client: code cleanup


svn path=/trunk/boinc/; revision=21267
2010-04-23 17:46:57 +00:00
David Anderson 1b044796c9 - user web: first whack at cleaning up the mess which is prefs.inc
(to be continued)


svn path=/trunk/boinc/; revision=21260
2010-04-22 23:19:49 +00:00
David Anderson bede9972b1 - client: fix bug with NVIDIA GPUs.
Some of them allow only 1 CUDA context at a time.
    You need to create a CUDA context to get available VRAM.
    So the client would run a CUDA job, then immediately kill it.
    Solution:
    - If a GPU app is running,
        let it keep running regardless of available VRAM
        (if it's still running, it has enough VRAM).
    - But don't start new apps if there's not enough available VRAM,
        or it the amount is unknown
        (if the client can't create a CUDA context,
        the app won't be able to either)
- client: if <coproc_debug> is set, print available GPU RAM periodically

svn path=/trunk/boinc/; revision=21253
2010-04-22 17:45:33 +00:00
David Anderson b71d3e6cf4 - back end: typo and tweaks
svn path=/trunk/boinc/; revision=21196
2010-04-16 21:16:18 +00:00
David Anderson a92b7a5c32 - client: attempt to fix bug where a GPU would be assigned
to multiple jobs at the same time.
    I fixed one error (reference arg to assign_coprocs())
    but I can't see why this would explain the problem.
    I added a lot of extra <coproc_debug> log messages.
- user web: give scientists moderator privileges

svn path=/trunk/boinc/; revision=21158
2010-04-09 20:27:42 +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 23997a28e3 - user web : improve result display
svn path=/trunk/boinc/; revision=21117
2010-04-06 16:34:31 +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 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 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 811c61e79a svn path=/trunk/boinc/; revision=20734 2010-02-25 17:51:41 +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 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 21a18b7045 - web: more translations, from Christian. fixes #982
svn path=/trunk/boinc/; revision=20582
2010-02-16 01:06:03 +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 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 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 1600c26206 svn path=/trunk/boinc/; revision=20403 2010-02-03 17:28:03 +00:00