Commit Graph

2567 Commits

Author SHA1 Message Date
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
David Anderson 03be4edeab - user web: clean up LANG_NAME_* mess
svn path=/trunk/boinc/; revision=20248
2010-01-22 18:09:05 +00:00
David Anderson ec59acc24c svn path=/trunk/boinc/; revision=20240 2010-01-22 04:05:34 +00:00
David Anderson b5124fe729 - client: brute-force attempt at eliminating domino-effect preemption:
if job A is unstarted and EDF,
    and there's a job B that is later in the list,
    is started, has the same app version,
    and has the same arrival time,
    move A after B.
- client: remove the "temp_dcf" mechanism,
    which had the same goal but didn't work.
- client: in computing overall debt for a project,
    subtract a term that reflects pending work.
    This should reduce repeated fetches from the same project.
- client simulator: tweaks

svn path=/trunk/boinc/; revision=20223
2010-01-21 00:14:56 +00:00
David Anderson eeffc6de96 - web: translation fix from Nicolas:
"There is a bug in tra() that causes problems if one of the arguments
    contains a replacement marker itself. For example, if the first
    argument contains an encoded URL, which contains '%2', the second
    argument may appear in the middle of the URL."
- client simulator: further fiddling around.  Not done.

svn path=/trunk/boinc/; revision=20201
2010-01-19 23:01:09 +00:00
David Anderson e2d3f75eef - client and user web: finish the above.
Should add the Adv Prefs dialog as well.

svn path=/trunk/boinc/; revision=20193
2010-01-19 00:38:31 +00:00
Rytis Slatkevičius d6d8037f5d user web: do SQL escaping before storing prefs in the database as some projects store user-editable strings in the preferences.
svn path=/trunk/boinc/; revision=20188
2010-01-18 15:19:23 +00:00
David Anderson f48de8625a svn path=/trunk/boinc/; revision=20184 2010-01-16 23:52:05 +00:00
David Anderson 4ab335eb49 - user web: make a bunch of strings translatable (from Nicolas)
svn path=/trunk/boinc/; revision=20180
2010-01-16 06:19:19 +00:00
David Anderson e84d691136 - update BOINC project translation template
svn path=/trunk/boinc/; revision=20179
2010-01-15 23:25:46 +00:00
David Anderson e7dcff182f - web DB code: fix PHP warning when enumeration returns nothing.
From Nicolas. fixes #974
- client: tiny code shuffle

svn path=/trunk/boinc/; revision=20178
2010-01-15 23:08:55 +00:00
David Anderson 737952dbb5 - server: client version numbers are represented as
10000*major + 100*minor + release,
    rather than 100*major + minor.
    Sometimes you need release-level resolution.
    This affects:
    - app_version.min_core_version
    - config: min_core_client_version_announced
    - config: min_core_client_version
    Projects using these must multiply them by 100.

svn path=/trunk/boinc/; revision=20149
2010-01-13 17:28:59 +00:00
David Anderson ee343cea02 - client: small tweak to work fetch:
if project has crazy DCF, don't automatically request 1 sec;
    only request work if there's a shortfall.
- intermediate checkin for notices stuff

svn path=/trunk/boinc/; revision=20145
2010-01-12 21:53:40 +00:00
David Anderson f10384af43 - client: add <stderr_head> config option;
sends the first rather than last 64KB of stderr to server.
    This doesn't belong here; this choice should come from the server.
    I may take this out later.
- user web: when add a private message, always add a notification

svn path=/trunk/boinc/; revision=20141
2010-01-12 18:39:59 +00:00
David Anderson 335f5506a9 - user web: make user search translatable
svn path=/trunk/boinc/; revision=20118
2010-01-10 04:28:54 +00:00
David Anderson 31ca27bf6b - admin web: allow setting per-app HR class
svn path=/trunk/boinc/; revision=20086
2010-01-06 21:47:24 +00:00
David Anderson 2e6e97cfe6 - web: don't show news items if they're hidden
svn path=/trunk/boinc/; revision=20063
2010-01-04 17:06:54 +00:00
David Anderson 36dc2bfaf5 - user web: set user.has_profile when user edits profile
(shouldn't be necessary, but will fix problem cases)

svn path=/trunk/boinc/; revision=20053
2009-12-31 06:30:43 +00:00
David Anderson 98df3052c5 - web: if someone edits their profile, remove it from the cache
so that they and others will see the new version.

svn path=/trunk/boinc/; revision=20039
2009-12-25 04:23:48 +00:00
David Anderson 4ae4fce8c0 svn path=/trunk/boinc/; revision=20038 2009-12-25 01:27:29 +00:00