Commit Graph

2586 Commits

Author SHA1 Message Date
David Anderson 4287dface3 svn path=/trunk/boinc/; revision=18189 2009-05-22 17:16:31 +00:00
David Anderson c21a37e77a - web: the logic for using read-only DB replicas was messed up
svn path=/trunk/boinc/; revision=18182
2009-05-20 23:29:54 +00:00
David Anderson 4281c90098 svn path=/trunk/boinc/; revision=18181 2009-05-20 23:27:05 +00:00
David Anderson 71cbc5d400 - web: in RSS feeds, replace images with [Image link]
but allow other tags (like <a>).
    Note: if the image is itself inside a <a href=x>,
    then the [Image link] will be linked to x, not to the image.

svn path=/trunk/boinc/; revision=18169
2009-05-20 18:25:36 +00:00
David Anderson fe09a9bb92 svn path=/trunk/boinc/; revision=18166 2009-05-19 21:00:03 +00:00
David Anderson f7b3bd7fff svn path=/trunk/boinc/; revision=18165 2009-05-19 20:55:43 +00:00
David Anderson 4c63fc1055 - translation updates
svn path=/trunk/boinc/; revision=18148
2009-05-18 17:17:03 +00:00
David Anderson de0bf5ad83 - web: use read-only replica when possible
svn path=/trunk/boinc/; revision=18146
2009-05-18 16:58:11 +00:00
David Anderson da217e4c59 - upgrade: don't crash if file copy fails
- db_update.php: select database (not clear if this ever worked)
- translation: fix bug if have both BOINC and project translation

svn path=/trunk/boinc/; revision=18141
2009-05-18 04:18:47 +00:00
David Anderson fce59a4840 - web: fix formatting in [pre]. Fixes #891
svn path=/trunk/boinc/; revision=18140
2009-05-18 03:08:33 +00:00
David Anderson 9574e8a003 - web: check for mismatched "'s in translation files
- build_po.php: add LANG_NAME strings

svn path=/trunk/boinc/; revision=18109
2009-05-14 22:32:05 +00:00
Rom Walton 13cc42ad2e make compatible with Pootle
svn path=/trunk/boinc/; revision=18108
2009-05-14 21:03:21 +00:00
David Anderson c2fda4db09 - scheduler: add <report_max> config parameter;
limits the # of completed results handled per scheduler RPC.
    This may be needed to avoid crashes due to memory allocation
    failure (each reported result uses about 128KB memory).
- web: In showing result lists,
    include "Validate error" results in the "Invalid" category.
    (Previously they didn't appear in any category)

svn path=/trunk/boinc/; revision=18104
2009-05-14 19:01:40 +00:00
David Anderson 282bc21c3c - web: make build_po.php usable for projects
svn path=/trunk/boinc/; revision=18093
2009-05-13 23:16:11 +00:00
David Anderson ac99693ef9 - web: trim dutch translation file
svn path=/trunk/boinc/; revision=18073
2009-05-11 19:38:53 +00:00
David Anderson 886e166103 svn path=/trunk/boinc/; revision=18069 2009-05-11 16:45:33 +00:00
David Anderson c2067ef472 svn path=/trunk/boinc/; revision=18068 2009-05-11 16:38:44 +00:00
David Anderson d593780ed8 svn path=/trunk/boinc/; revision=18063 2009-05-10 04:41:43 +00:00
Rytis Slatkevičius 2ba2d7b1a6 user web: remove an undocumented feature where anyone could do a recompile of language files by just knowing an URL parameter.
svn path=/trunk/boinc/; revision=18046
2009-05-07 15:19:42 +00:00
David Anderson 76b8b87e90 svn path=/trunk/boinc/; revision=18038 2009-05-06 21:22:14 +00:00
David Anderson b49ef19f3b svn path=/trunk/boinc/; revision=18037 2009-05-06 21:18:30 +00:00
David Anderson 5198ad31d9 - client: write message (and show new config info) when config file reread
- client: improve cpu_sched_debug messages
- web translation: code wasn't handling multi-line tokens

svn path=/trunk/boinc/; revision=18028
2009-05-06 09:49:46 +00:00
Rytis Slatkevičius c03815e614 user web: add a hook project_user_links() to user_links() to easily extend user links (very useful for adding project badges).
svn path=/trunk/boinc/; revision=17985
2009-05-03 19:17:20 +00:00
David Anderson fba2e5ee3d - Changes to get the client to build on IRIX:
don't use the variable name "sgi";
    include <xxx.h> instead of <cxxx>; the latter just adds
    overloaded functions that we avoid.

svn path=/trunk/boinc/; revision=17954
2009-04-30 21:48:20 +00:00
David Anderson f49e21d02c svn path=/trunk/boinc/; revision=17882 2009-04-27 14:55:31 +00:00
David Anderson e012253441 - web: typo
svn path=/trunk/boinc/; revision=17881
2009-04-27 04:30:33 +00:00
David Anderson 979f27d000 - team import: error out if account creation disabled
svn path=/trunk/boinc/; revision=17880
2009-04-27 03:53:47 +00:00
David Anderson 08aeba56ac - client: message tweak
- ops: don't import teams if using invitation codes

svn path=/trunk/boinc/; revision=17874
2009-04-24 10:49:54 +00:00
David Anderson 372b2a61c7 - web: swap positions of reply/delete buttons in private message display
svn path=/trunk/boinc/; revision=17850
2009-04-21 01:03:48 +00:00
David Anderson c58136e5bf - client: improve CPU sched debug messages
(say what kind of job and why we're scheduling it)
- client: log messages describing GPUs: one line per GPU; fixes #879

svn path=/trunk/boinc/; revision=17847
2009-04-20 00:00:11 +00:00
David Anderson dde7d4306a svn path=/trunk/boinc/; revision=17842 2009-04-17 02:55:46 +00:00
David Anderson c5552049d4 svn path=/trunk/boinc/; revision=17841 2009-04-17 02:40:21 +00:00
David Anderson 68b46cb37e svn path=/trunk/boinc/; revision=17840 2009-04-17 02:24:05 +00:00
David Anderson 0b11a548dc - upgrade script: do DB update even if stop_web is present,
rather than spewing an HTML error message.
    Fixes #875


svn path=/trunk/boinc/; revision=17839
2009-04-17 02:08:05 +00:00
David Anderson 217b1a6086 - client: another try at fixing the above crash
- web: don't show plan class in separate column in apps list; fixes #874

svn path=/trunk/boinc/; revision=17838
2009-04-17 01:22:38 +00:00
David Anderson 8b51226b54 svn path=/trunk/boinc/; revision=17837 2009-04-17 00:01:33 +00:00
David Anderson 6a035a0c09 svn path=/trunk/boinc/; revision=17836 2009-04-16 23:57:31 +00:00
David Anderson 20adddc862 - client: fixed a crash caused by using %f to write
working-set size into a fixed-size buffer.
    Use %e instead.
    TODO: figure out why WSS was huge.
- web: if "en" is primary language, don't read translation files

svn path=/trunk/boinc/; revision=17831
2009-04-16 09:01:41 +00:00
David Anderson 2a4a81f035 - web: update black.css
svn path=/trunk/boinc/; revision=17823
2009-04-15 21:28:28 +00:00
David Anderson 81f78a0951 svn path=/trunk/boinc/; revision=17822 2009-04-15 21:20:40 +00:00
David Anderson fb70908040 svn path=/trunk/boinc/; revision=17820 2009-04-15 20:12:19 +00:00
David Anderson 04fd1e4800 - web: improve the appearance of buttons
- web: divide the stylesheet into "main.css"
    (which has formatting stuff, rounded corners etc.)
    and "white.css" (which has colors).
    The above two from Simek.
- scheduler: change default min NVIDIA driver version
    from 17500 to 17700

svn path=/trunk/boinc/; revision=17819
2009-04-15 20:09:42 +00:00
Rytis Slatkevičius 3dfd2363d6 web: allow login from subdirectories of the site (expects login_form.php to be located in the URL_BASE).
svn path=/trunk/boinc/; revision=17792
2009-04-11 17:04:43 +00:00
David Anderson e15252513a svn path=/trunk/boinc/; revision=17790 2009-04-10 23:36:32 +00:00
David Anderson db81d33d31 svn path=/trunk/boinc/; revision=17789 2009-04-10 23:15:43 +00:00
David Anderson 0aeb39fb7e - Bossa fixes
svn path=/trunk/boinc/; revision=17788
2009-04-10 23:08:40 +00:00
David Anderson e788021b29 svn path=/trunk/boinc/; revision=17754 2009-04-08 17:47:59 +00:00
David Anderson 65560415fe - Add "html/ops/purge_profile.php" script to help admins locate
and remove spam profiles

svn path=/trunk/boinc/; revision=17753
2009-04-08 17:46:47 +00:00
David Anderson 9f33d4db27 - web and client: change the default for "run_gpu_if_user_active"
from true to false.
    Currently running CUDA apps on NVIDIA GPUs causes
    a significant slowdown in GUI response.


svn path=/trunk/boinc/; revision=17740
2009-04-07 18:21:39 +00:00
David Anderson 9dc7ecb22a - make_project: get rid of verbosity-level stuff
and fancy overwriting of stdout lines


svn path=/trunk/boinc/; revision=17736
2009-04-06 18:27:02 +00:00
David Anderson 837d3fc0a1 - get_project_config.php: include plan classes in platform list;
i.e., list both win/x86 and win/x86 + NVIDIA.
    This will allow the manager to show which projects can
    use the hosts's coprocessors,
    and also graying out projects that require an absent coproc.
- fix compile warnings

svn path=/trunk/boinc/; revision=17735
2009-04-03 21:55:26 +00:00
David Anderson c66cba7f8f - web: in filtered job lists,
"pending" should include "inconclusive",
    and "invalid" should include "too late to validate"

svn path=/trunk/boinc/; revision=17726
2009-04-02 17:41:14 +00:00
David Anderson a720fc5d52 - web: translation system didn't compile BOINC and
project-specific translations correctly.

svn path=/trunk/boinc/; revision=17658
2009-03-24 23:27:12 +00:00
David Anderson 9fa183377e svn path=/trunk/boinc/; revision=17657 2009-03-24 23:09:17 +00:00
David Anderson 4dfc96033c - web: clean out translation directories before updating
(to get rid of bad translation files)


svn path=/trunk/boinc/; revision=17656
2009-03-24 23:08:09 +00:00
David Anderson fc770dfefe - web: remove spurious translation files
svn path=/trunk/boinc/; revision=17655
2009-03-24 22:51:12 +00:00
David Anderson 82112821f3 - web: updated the master translation file
svn path=/trunk/boinc/; revision=17654
2009-03-24 21:54:12 +00:00
David Anderson 0f6de2ea58 - upgrade and make_project scripts: run update_translations.php,
which compiles the translation files into the form
    used by the web code.
    Projects that don't use "upgrade" will need to do this manually
    whenever translation files change.

svn path=/trunk/boinc/; revision=17652
2009-03-24 21:24:57 +00:00
David Anderson 6c4cc20aa1 - API: don't try to unlock lockfile if we failed to lock it
- API: more detailed message if failed to lock

svn path=/trunk/boinc/; revision=17645
2009-03-23 17:00:34 +00:00
David Anderson b340d016c2 - web: fix X-project links in Computer page
svn path=/trunk/boinc/; revision=17643
2009-03-21 03:27:18 +00:00
David Anderson 9c7d088709 - web: job lists can be filtered by status
svn path=/trunk/boinc/; revision=17629
2009-03-18 22:53:55 +00:00
David Anderson 04cdfe9cab - scheduler and web: add a project preference for whether to use the CPU.
This complements the "use GPU?" pref.
    Neither should be necessary, but what the heck.

svn path=/trunk/boinc/; revision=17628
2009-03-18 21:14:44 +00:00
David Anderson e5017daf0f - web: fix typo
svn path=/trunk/boinc/; revision=17606
2009-03-17 15:06:10 +00:00
David Anderson 09f1982229 - web: in pages that show results, combine "server state",
"client state", and "outcome" into a single status.
    The fact that there are three separate status fields
    is an implementation detail that users don't need to see.

svn path=/trunk/boinc/; revision=17599
2009-03-16 19:39:16 +00:00
David Anderson 012bf4c696 - scheduler: get work request parameters before resend_lost_jobs();
otherwise get NaNs for CPU fraction, etc.
- scheduler: show reasons in English when send job aborts


svn path=/trunk/boinc/; revision=17514
2009-03-05 22:12:21 +00:00
David Anderson c481086bc0 - client: show duration estimates for CPU and CUDA separately
- web: reverse Reply and Delete buttons in private msg page
    fixes #858

svn path=/trunk/boinc/; revision=17500
2009-03-04 21:02:18 +00:00
David Anderson 4cca81bedf - manager: when filtering messages by project,
show messages not tagged with a project (fixes #852)
- web: show X-project stats links as icons

svn path=/trunk/boinc/; revision=17456
2009-03-03 21:58:03 +00:00
David Anderson 412208b007 - web: fix buggy changeset 17278
svn path=/trunk/boinc/; revision=17418
2009-03-01 23:32:15 +00:00
David Anderson 8470b55be3 - web: link to 3rd-party signature sources on community prefs page
svn path=/trunk/boinc/; revision=17417
2009-03-01 19:00:40 +00:00
David Anderson 3709c1e9f4 - scheduler: include driver version in the CUDA description string
storing in the database;
- web: display the above

svn path=/trunk/boinc/; revision=17341
2009-02-24 00:06:45 +00:00
David Anderson 99a15ab052 - web: in lists of tasks, give the option of showing names instead of IDs
svn path=/trunk/boinc/; revision=17308
2009-02-19 18:39:03 +00:00
David Anderson d848e54518 - web tweaks
svn path=/trunk/boinc/; revision=17306
2009-02-19 05:03:02 +00:00
David Anderson 13c3841e69 svn path=/trunk/boinc/; revision=17305 2009-02-19 04:36:56 +00:00
David Anderson 6a75b78de4 - client: don't ignore jobs with fraction_done=1 (but still running)
in RR simulation; we may need to mark them as deadline miss.
- web: replace & with &amp; various places


svn path=/trunk/boinc/; revision=17278
2009-02-17 17:39:57 +00:00
David Anderson 2afd98ae70 - client: fix bug where master fetch failure doesn't clear request flag,
leading to infinite retry without backoff

svn path=/trunk/boinc/; revision=17269
2009-02-14 00:05:02 +00:00
David Anderson 2879a022cf svn path=/trunk/boinc/; revision=17250 2009-02-12 21:55:31 +00:00
David Anderson c0a93f5f76 svn path=/trunk/boinc/; revision=17249 2009-02-12 21:51:42 +00:00
David Anderson 4526c0bb3d - client, web: add preference for not using GPU while computer busy
svn path=/trunk/boinc/; revision=17235
2009-02-12 18:04:30 +00:00
David Anderson 98bd9bb328 - web: remove <nobr> around user links; doesn't play well with long user names
svn path=/trunk/boinc/; revision=17182
2009-02-08 17:35:54 +00:00
David Anderson 13ed05b8dc svn path=/trunk/boinc/; revision=17178 2009-02-07 04:28:08 +00:00
David Anderson b33db18209 - web: don't show x-project links for anonymous hosts; fix &bull's
svn path=/trunk/boinc/; revision=17177
2009-02-07 04:04:54 +00:00
David Anderson bf93abb67a - web: fix bug in cached user page stuff from 12/29/08
svn path=/trunk/boinc/; revision=17166
2009-02-06 03:40:54 +00:00
David Anderson f851c4558a - web: add another team stats link
- client: if ncpus is zero in cc_config.xml, honor it.


svn path=/trunk/boinc/; revision=17160
2009-02-05 22:34:10 +00:00
David Anderson 7300925304 - web: must have a DB connection before calling mysql_real_escape_string()
svn path=/trunk/boinc/; revision=17159
2009-02-05 22:16:45 +00:00
David Anderson 85acfeb1be - web: update stats sites URLs
svn path=/trunk/boinc/; revision=17157
2009-02-05 21:38:55 +00:00
David Anderson 03a0175d26 - web: add links to cross-project host stats sites
(currently just boincstats)

svn path=/trunk/boinc/; revision=17156
2009-02-05 21:19:19 +00:00
David Anderson 20c2566ada - web: added BOINCstats to list of team stats sites
svn path=/trunk/boinc/; revision=17155
2009-02-05 20:25:30 +00:00
David Anderson 3ad73d70ba - client: redefine "overworked" as
debt < -1.5 * work_buf * cpu_sched_period
- web: on team page, link to cross-project team stats sites

svn path=/trunk/boinc/; revision=17152
2009-02-05 19:40:01 +00:00
David Anderson 07a853d73a - Manager: change terms for STD, LTD
- web: change script that locks old threads to exempt team forums

svn path=/trunk/boinc/; revision=17121
2009-02-02 23:12:35 +00:00
David Anderson 3452a0e422 - scheduler: show message whether miss or meet deadline
svn path=/trunk/boinc/; revision=17088
2009-01-30 22:30:35 +00:00
David Anderson b7a2c227ca - Work fetch / scheduler:
There are two mechanisms to prevent the scheduler from
    sending jobs that won't finish by their deadline.
    Simple mechanism:
        The client sends the interval x for which CPUs are projected
        to be saturated.
        Given a job with estimated duration y,
        the scheduler doesn't send it if x + y exceeds the delay bound.
        If it does send it, x is incremented by y.
    Complex mechanism:
        Client sends workload description.
        Scheduler does EDF simulation, sees if deadlines are missed.
        The only project using this AFAIK is BOINC alpha test.
    Neither of these mechanisms takes coprocessors into account,
    and as a result jobs could be sent that are doomed to
    miss their deadline.
    This checkin adds coprocessor awareness to the Simple mechanism.

    Changes:
    Client:
        compute estimated delay (i.e. time until non-saturation)
        for coprocessors as well as CPU.
        Send them in scheduler request as part of coproc descriptor.
    Scheduler:
        Keep track of estimated delays separately for different resources
- client: fixed bug that computed CPU estimated delay incorrectly
- client: the work request (req_secs) for a resource is the min
    of the project's share and the shortfall.

svn path=/trunk/boinc/; revision=17086
2009-01-30 21:25:24 +00:00
David Anderson 3838ac2f19 - web: anywhere we show info about a host, show its GPUs too
- web: add script to parse GPU completed-job log
    and generate summary data;
    also add page to display this data.

svn path=/trunk/boinc/; revision=17069
2009-01-29 17:51:02 +00:00
Janus B. Kristensen 57964aaa2b Q&A is not merged with the Message Boards by default but this define enables admins to merge it.
svn path=/trunk/boinc/; revision=17014
2009-01-25 12:22:11 +00:00
Janus B. Kristensen 2f0fc42589 Allow projects to specify whether they want the Message Boards and Q&A sections merged into a single page or
displayed as two seperate pages: define ("FORUM_QA_MERGED_MODE", true); in project.inc to merge.

svn path=/trunk/boinc/; revision=17013
2009-01-25 12:17:24 +00:00
Janus B. Kristensen a9e7cea54b Fixes major bug in the translation system.
The bug caused the default language to be ignored if set to "English" 
regardless of whether this was done through the browser or through a
cookie.

svn path=/trunk/boinc/; revision=17012
2009-01-25 10:45:07 +00:00
David Anderson 7c42203c0d - web: fix apps.php so that it knows about plan class
svn path=/trunk/boinc/; revision=17001
2009-01-23 20:03:33 +00:00
David Anderson a32bba2949 - web: when using adaptive replication, show a WU's instances
if it has a canonical result, not if it's been assimilated
    (if the assimilator is not working, the latter causes
    WUs to be hidden longer than needed)

svn path=/trunk/boinc/; revision=16986
2009-01-22 20:04:19 +00:00
David Anderson 50405c89e3 - scheduler: improve no-work messages
- web: don't use DB conn in mysql_real_escape_string()
    (otherwise won't work if DB is down)

svn path=/trunk/boinc/; revision=16961
2009-01-20 21:31:13 +00:00
David Anderson b2d7812130 - GUI RPC: add the following items to PROJECT_CONFIG
(corresponding to the get_project_config.php web RPC):
    - platforms: list of platforms supported by the project
    - sched_stopped: scheduler disabled
    - web_stopped: DB-driven web features disabled
    - min_client_version
- GUI RPC: add the following items to CC_STATE:
    - platforms: list of platforms supported by the client
        (this replaces the unused <platform_name>)
- GUI RPC: add the following items to PROJECT_LIST_ENTRY
    (entry in the "all projects" list):
    - platforms: list of platforms supported by the project
- GUI RPC: move APP_VERSION pointer from WORKUNIT to RESULT;
    include plan class in APP_VERSION lookup.
    This completes the change of March 2008,
    and allows the Manager to work correctly when a project
    has two different app versions of the same (app, platform, version)
    running on a client at once (e.g., a CPU and a GPU app)
- get_project_config.php: remove logic that checks client version.
    This page is accessed by PHP, not just by client
- web: add link to forum page to get forum as RSS

svn path=/trunk/boinc/; revision=16900
2009-01-13 19:34:04 +00:00
David Anderson 7c0dd5676e svn path=/trunk/boinc/; revision=16887 2009-01-12 20:01:57 +00:00
David Anderson a7a8b2d5f3 - web: add Eric's script (not finished yet) for forum RSS
svn path=/trunk/boinc/; revision=16886
2009-01-12 19:26:44 +00:00
David Anderson 0899975be5 - get_project_config: don't send error text if no terms_of_use.txt
- client: compute and store project work-fetch attributes

svn path=/trunk/boinc/; revision=16837
2009-01-08 00:41:15 +00:00
Janus B. Kristensen f689cdad91 Added finnish web interface translation (Contribution from the ORE project)
svn path=/trunk/boinc/; revision=16785
2009-01-05 19:19:51 +00:00
Janus B. Kristensen df143e0d8b Danish translation of the web interface
svn path=/trunk/boinc/; revision=16782
2009-01-05 18:46:53 +00:00
Janus B. Kristensen 22dee265fd Fixed issue where a link was present directly in the translation text.
svn path=/trunk/boinc/; revision=16780
2009-01-05 17:40:33 +00:00
Janus B. Kristensen 57296e7004 Fixed issue where a translation text was broken into pieces making it impossible to translate for languages that have a different word order than english.
svn path=/trunk/boinc/; revision=16778
2009-01-05 15:50:33 +00:00
David Anderson 50d0bb8a31 - added a script to make profile.has_picture consistent
with the images actually on disk

svn path=/trunk/boinc/; revision=16764
2009-01-02 20:02:04 +00:00
Janus B. Kristensen 209d519fc4 - Fixed issue where the cached version of the profile page was displayed in a wrong language
- Added translation awareness to view_profile.php
- Added translation awareness to show_user.php
- Added cacheability to the community_links() by splitting it into a function for getting the cacheable object "get_community_links_object()" and another for displaying it "community_links()"
- Added the community_links cacheable object to the cache in show_user.php
- Changed view_profile.php from being full-page cached to using data caching. Only the community_links object is cached as that is the only one containing heavy queries. All other queries are simple and will be cached at the SQL query cache level.

svn path=/trunk/boinc/; revision=16749
2008-12-29 18:44:11 +00:00
Janus B. Kristensen ef3fb01631 - Added ability to mildly force a specific title on forum posts when posting
- Added ability to get a forum post title from the GET request as well as the POST request data (POST overwrites GET)


svn path=/trunk/boinc/; revision=16747
2008-12-29 10:19:25 +00:00
David Anderson b9d70d1681 - autolock.php: add --ndays option; change default to 90 days
- web: added support for KHTML and CSS 3 border radius
    (from Simek; fixes #803)

svn path=/trunk/boinc/; revision=16745
2008-12-27 00:11:27 +00:00
Jens Seidler fd552c0760 BOINC supplied web files updated: Italian(it), Czech(cs)
svn path=/trunk/boinc/; revision=16733
2008-12-22 05:56:53 +00:00
David Anderson 74423f23b6 - scheduler: if no jobs available to send, inform the user
svn path=/trunk/boinc/; revision=16730
2008-12-22 00:10:02 +00:00
David Anderson 312ffba708 - API: remove BOINC_OPTIONS::worker_thread_stack_size
- web: check whether to show profile in separate function
    from displaying profile; eliminate double headers
- scheduler: finish purge of redundant arguments

svn path=/trunk/boinc/; revision=16726
2008-12-19 18:14:02 +00:00
David Anderson 5495ec64df - web/scheduler: add a project-specific preferences for
whether to accept GPU jobs

svn path=/trunk/boinc/; revision=16723
2008-12-18 21:25:51 +00:00
David Anderson 8c7d6dc489 - web: added ops/autolock.php script;
locks threads not modified in last 60 days

svn path=/trunk/boinc/; revision=16704
2008-12-16 23:59:04 +00:00
David Anderson 0cf46274e7 - web: remove unused code; fixes #799
svn path=/trunk/boinc/; revision=16703
2008-12-16 21:39:07 +00:00
David Anderson 4a65681176 - scheduler: if client has coprocs,
put a textual summary of them in host.serialnum (currently unused)
- web: show coprocs on host detail page
- db_dump: include coproc info in host XML

svn path=/trunk/boinc/; revision=16697
2008-12-16 18:46:28 +00:00
David Anderson 0b9bb93278 - web: final purge of process_user_text()
svn path=/trunk/boinc/; revision=16696
2008-12-16 16:57:31 +00:00
David Anderson ef52366c1b - web: fix bug that caused login to fail
- sched: more global vars

svn path=/trunk/boinc/; revision=16695
2008-12-16 16:29:54 +00:00
Janus B. Kristensen 2c45b94115 Fixed issue where BBCode inside code-tags was being interpreted
svn path=/trunk/boinc/; revision=16690
2008-12-15 18:43:52 +00:00
Janus B. Kristensen fba6fb51f2 Fixes issue where sending a PM would inadvertedly strip everything that looked like tags from the text before sending it.
svn path=/trunk/boinc/; revision=16689
2008-12-15 17:46:40 +00:00
David Anderson 8848e7e424 - web: fix link text
svn path=/trunk/boinc/; revision=16687
2008-12-15 04:19:46 +00:00
David Anderson 4b5be47639 - web: replace the vaguely-named process_user_text()
with BoincDb::escape_string()
- web: have BoincDb::escape_string() also do a trim()

svn path=/trunk/boinc/; revision=16686
2008-12-14 22:18:49 +00:00
Janus B. Kristensen 519760d784 - Translation awareness (From ORE)
svn path=/trunk/boinc/; revision=16685
2008-12-13 21:56:53 +00:00
Janus B. Kristensen 9481b392a4 - Added check for host existance before displaying host results
- Added hostid to title
- Translation awareness (From ORE)
- Fixed error message when no parameters are given


svn path=/trunk/boinc/; revision=16684
2008-12-13 21:27:37 +00:00
Janus B. Kristensen 233bfc0b6b - Translation awareness (From ORE)
svn path=/trunk/boinc/; revision=16683
2008-12-13 20:13:48 +00:00
Janus B. Kristensen 973b0fe882 - Added a check for existance before displaying thread
- Fixed duplicate code segment by moving it outside the if-sentence
- A few random HTML4.01 transitional fixes
- Translation awareness (From ORE)


svn path=/trunk/boinc/; revision=16682
2008-12-13 20:04:01 +00:00
Janus B. Kristensen 31e8fe94a4 Woops, typo
svn path=/trunk/boinc/; revision=16681
2008-12-13 19:32:41 +00:00
Janus B. Kristensen dbd155b9b3 - Translation awareness (From ORE)
- Changed the text to be slightly less repetitive


svn path=/trunk/boinc/; revision=16680
2008-12-13 19:31:40 +00:00
Janus B. Kristensen ea4e1283da - Fixed issue where searchbots could accidentally vote for profiles because voting did not require that the user was logged in
- Fixed random spelling errors
- Translation awareness (From ORE)


svn path=/trunk/boinc/; revision=16679
2008-12-13 19:13:43 +00:00
Janus B. Kristensen 1146f09738 - Fixed issue where the ReCaptcha would always be ignored regardless of project settings. This allowed spammers to keep spamming.
- Fixed random spelling errors
- Fixed layouting errors
- Translation awareness (From ORE)


svn path=/trunk/boinc/; revision=16678
2008-12-13 18:54:06 +00:00
Janus B. Kristensen 0bfa2388ab - Fixed case where custom error message for missing name parameter would never be displayed.
- Translation awareness (From ORE)


svn path=/trunk/boinc/; revision=16677
2008-12-13 18:29:15 +00:00
Janus B. Kristensen fc3b1f2436 Translation awareness
(From ORE)

svn path=/trunk/boinc/; revision=16676
2008-12-13 18:21:04 +00:00
Janus B. Kristensen 2e58894aa9 Translation awareness.
(From ORE)

svn path=/trunk/boinc/; revision=16675
2008-12-13 18:13:54 +00:00
David Anderson f03a264dd8 svn path=/trunk/boinc/; revision=16665 2008-12-09 22:42:28 +00:00
David Anderson 8ef6d9c756 - web: send only 1 email on team founder transfer request
- web: if no transfer request is pending, say so

svn path=/trunk/boinc/; revision=16664
2008-12-09 22:41:29 +00:00
David Anderson e3807a8386 - scheduler: estimate CUDA device speed based on clock rate an #MP
- web: close table in WU page
- web: fix PHP error in translation script

svn path=/trunk/boinc/; revision=16648
2008-12-08 19:39:19 +00:00
Eric J. Korpela 8872180e47 Added info about forums and private messages to the default project privacy
policy.


svn path=/trunk/boinc/; revision=16632
2008-12-06 00:40:36 +00:00
David Anderson e3fd56f5e8 - client: work-fetch tweak: don't increment overall CPU shortfall
if any jobs pending in simulation

svn path=/trunk/boinc/; revision=16595
2008-12-01 22:06:24 +00:00
David Anderson 659becc98c - get_project_config.php: if config.xml has min client version,
get client version from HTTP user agent string and enforce.
- update translations script: fix apparent typos

svn path=/trunk/boinc/; revision=16586
2008-11-28 19:03:05 +00:00
David Anderson 8b1e46ad06 - web: fix scripting attack vulnerability
svn path=/trunk/boinc/; revision=16579
2008-11-27 03:16:33 +00:00
David Anderson 149b2c6794 - server: if "terms_of_use.txt" exists in project dir,
send it in get_project_config.php;
    6.4 clients will display a dialog to accept terms of use during attach.

svn path=/trunk/boinc/; revision=16563
2008-11-26 03:28:48 +00:00
David Anderson ee7a4d5a88 - add Bossa file
svn path=/trunk/boinc/; revision=16556
2008-11-25 03:23:29 +00:00
David Anderson 608b6c750d - bossa typo
svn path=/trunk/boinc/; revision=16555
2008-11-25 02:56:55 +00:00
David Anderson c9fe262b62 - web: fix remaining Bossa name conflicts
svn path=/trunk/boinc/; revision=16554
2008-11-24 23:58:49 +00:00
David Anderson c8c0e06d2e - web: rename Bossa functions to avoid name conflict
- web: bug fix in example core for app selection

svn path=/trunk/boinc/; revision=16546
2008-11-24 20:27:18 +00:00
David Anderson 9967112f60 - client: if bind fails, print port#
- web: don't randomize order of profiles
    (fixes checkin of 28 Oct)

svn path=/trunk/boinc/; revision=16520
2008-11-18 17:33:13 +00:00
Jens Seidler f76c2aeb2d Manager and supplied web files updated: Spanish(es), Chinese Simplified(zh_CN)
svn path=/trunk/boinc/; revision=16499
2008-11-17 06:28:03 +00:00
David Anderson ea4f9d7bd1 - web: fix team join bug
?? Why does omitting the "$" from a PHP variable
    cause PHP to emit a blank page?  How about an error memssage?

svn path=/trunk/boinc/; revision=16486
2008-11-13 03:48:03 +00:00
David Anderson a65166f31c - web: don't show misleading message if forum rating disabled
fixes #768; from Nicolas


svn path=/trunk/boinc/; revision=16480
2008-11-11 23:43:56 +00:00
Jens Seidler 6ba00f8d4f Manager and supplied web files updated: Spanish(es), Chinese Simplified(zh_CN)
svn path=/trunk/boinc/; revision=16404
2008-11-04 06:57:53 +00:00
David Anderson d8c923271b - web: smooth things out a bit for confused users:
- add a "forgot email address?" link
    - change text to say that the authenticator method can be used
        in case of forgotten email OR forgotten password
    - if bad password on login, show them the login form again
        (with email field populated)
        instead of a harsh failure message
    - if bad email on login, show login form again instead of harsh message
    - update authenticator method instructions
        with new BOINC data directory paths

svn path=/trunk/boinc/; revision=16399
2008-11-04 00:15:51 +00:00
David Anderson a5481e1714 - Filter questions
svn path=/trunk/boinc/; revision=16390
2008-11-03 03:06:29 +00:00
David Anderson 1de55a2842 - web: free result in count(). Fixes #763
svn path=/trunk/boinc/; revision=16389
2008-11-02 20:15:06 +00:00
David Anderson 081de3e661 - Bolt core reorg
svn path=/trunk/boinc/; revision=16384
2008-11-01 03:07:44 +00:00
David Anderson 562d7ac2d7 Bolt stuff
svn path=/trunk/boinc/; revision=16370
2008-10-30 22:58:33 +00:00
David Anderson 685ea38041 - web: change style sheet so tables are bordered only if class is "bordered"
- web: fix error if translation string missing


svn path=/trunk/boinc/; revision=16363
2008-10-30 18:27:22 +00:00
David Anderson a4030f891c Bolt stuff
svn path=/trunk/boinc/; revision=16346
2008-10-29 00:09:36 +00:00
David Anderson 2d1d47de15 - client: move round-robin simulation to its own file
- web: check for profile existence before trying to show it
- file deleter: add some debugging msgs

svn path=/trunk/boinc/; revision=16338
2008-10-28 21:59:25 +00:00
David Anderson c0c4bfdae7 - web: make the ordering of profiles in "browse profiles with pictures"
deterministic


svn path=/trunk/boinc/; revision=16330
2008-10-28 16:03:53 +00:00
David Anderson 5518259dd0 - client: accept --insecure flag even if not compiled with -DSANDBOX
- manager: pass --insecure flab only if compiled with -DSANDBOX
        (from Nicolas; fixes #762)

svn path=/trunk/boinc/; revision=16328
2008-10-28 02:21:26 +00:00
David Anderson 79c7b981b0 Bolt stuff
svn path=/trunk/boinc/; revision=16325
2008-10-27 21:30:55 +00:00
David Anderson a726775e94 - client: ignore max_cpus if max_ncpus_pct is nonzero
svn path=/trunk/boinc/; revision=16318
2008-10-25 15:21:28 +00:00
David Anderson 5109e91fb6 - added "image" exercise type
svn path=/trunk/boinc/; revision=16314
2008-10-24 22:28:34 +00:00
David Anderson b5a83796b4 - Bolt stuff
svn path=/trunk/boinc/; revision=16313
2008-10-24 20:09:16 +00:00
David Anderson e859261535 svn path=/trunk/boinc/; revision=16310 2008-10-24 16:18:28 +00:00
David Anderson 10de7876dc - enhancemenets to dbinfo.php, from Tolu
svn path=/trunk/boinc/; revision=16309
2008-10-24 16:11:44 +00:00
David Anderson 19dfe0ee71 - Add callback mechanism for exercises and exercise sets
- Default count for exercise sets is N, not 1

svn path=/trunk/boinc/; revision=16305
2008-10-23 20:35:39 +00:00
David Anderson 760cd90c7b - client: restore support for max_ncpus preference.
This and max_ncpus_pct can both be specified.
    If both are specified, we take the min.

svn path=/trunk/boinc/; revision=16268
2008-10-22 21:25:26 +00:00
David Anderson 1f6df503f5 - web: don't select orphaned profile as UOTD;
delete profile when delete user.  Fixes #761

svn path=/trunk/boinc/; revision=16255
2008-10-22 15:49:01 +00:00
David Anderson 13e6b1d558 - admin web: add dbinfo.php (shows row counts and disk usage per table)
svn path=/trunk/boinc/; revision=16251
2008-10-22 04:29:19 +00:00
David Anderson 365fb3613e - add dbinfo.php
svn path=/trunk/boinc/; revision=16250
2008-10-22 04:24:35 +00:00
David Anderson 87ff7b07d2 - web: if user tries to edit a BOINC-wide team,
warn them that changes will get overwritten.
    Fixes #758


svn path=/trunk/boinc/; revision=16244
2008-10-21 20:33:16 +00:00
David Anderson 7a3996aba0 - web: add optional $project_http_proxy to project.inc;
if project is behind an HTTP proxy,
    this fixes the SVN fetch in ops/index.php

svn path=/trunk/boinc/; revision=16243
2008-10-21 18:55:17 +00:00
David Anderson 065e05d203 - added button images
svn path=/trunk/boinc/; revision=16239
2008-10-20 23:00:20 +00:00
David Anderson 6dd22eec1c - Detect when a refresh has finished
svn path=/trunk/boinc/; revision=16237
2008-10-20 21:19:13 +00:00
David Anderson 2224b8d906 - web: delete all private msgs was broken
svn path=/trunk/boinc/; revision=16236
2008-10-20 18:28:58 +00:00
David Anderson d786872da7 web tweeak
svn path=/trunk/boinc/; revision=16228
2008-10-17 16:47:02 +00:00
David Anderson 1a1a3d20c3 - web: fix typo
svn path=/trunk/boinc/; revision=16227
2008-10-17 16:40:15 +00:00
David Anderson 6e62285252 - web: prevent a cross-site request forgery attack
svn path=/trunk/boinc/; revision=16224
2008-10-16 04:02:59 +00:00
David Anderson a4380ee9a6 - web: make some things in sample front page translatable.
TODO: make them all translatable.
- manager: compile fix for Linux

svn path=/trunk/boinc/; revision=16207
2008-10-14 21:40:14 +00:00
David Anderson 210f9202ea - web: fix bug in profile creation. fixes #755
svn path=/trunk/boinc/; revision=16194
2008-10-13 03:19:34 +00:00
Janus B. Kristensen 46711e4bc8 Fixed #557 - Hightlighting in Forum Search Results applied to HTML tags.
Highlighting is now done before parsing other special code. 

svn path=/trunk/boinc/; revision=16193
2008-10-12 17:11:19 +00:00
Janus B. Kristensen f2dda6f02c Fixed ticket #557 - Hightlighting in Forum Search Results applied to HTML tags.
Highlighting is now done before parsing other special code.

svn path=/trunk/boinc/; revision=16192
2008-10-12 17:09:38 +00:00
David Anderson 4aab5b5cb8 - web: avoid error if subscribed user doesn't exist
fixed #753


svn path=/trunk/boinc/; revision=16191
2008-10-12 15:32:12 +00:00
Janus B. Kristensen f5327c452e - Updated the translation system from token/define-based to string-based.
- Removed language interface code (noone seemed to understand/use it anyways)
- Removed a lot of debug. Compiling the language files will now only show whether the compile worked or not
- Removed automatic change-detection. You must now manually trigger compiles using ops/update_translations.php (improves performance slightly)
- Extended tra() to support arbitrary number of arguments
- Random code documentation fixes
- Fixed language override selection page to now correctly show the possible language alternatives

svn path=/trunk/boinc/; revision=16190
2008-10-12 15:22:16 +00:00
David Anderson a42ba237f3 - client: correctly null-terminate file upload handler reply
- web: fix typo

svn path=/trunk/boinc/; revision=16189
2008-10-11 18:13:33 +00:00
David Anderson e43e8a408d - client: major changes to enforce_schedule() to handle GPUs
svn path=/trunk/boinc/; revision=16178
2008-10-09 22:44:45 +00:00
David Anderson 37364ab657 - client: show message when suspending because of exclusive app
- web: remove file_get_contents() workaround for PHP4
- web: If Akismet or ReCaptcha failure,
    display the form again with a warning message at the top.
    That way the user doesn't lose the text they just typed.

svn path=/trunk/boinc/; revision=16175
2008-10-09 18:28:55 +00:00
David Anderson f9b7e262ef - enhancements to upgrade_db.php from Nicolas
svn path=/trunk/boinc/; revision=16164
2008-10-08 22:00:15 +00:00
David Anderson 22773619ca - web: in checking if hosts can be merged,
do time-overlap check if either host has pending results
    Fixes #748

svn path=/trunk/boinc/; revision=16163
2008-10-08 21:49:06 +00:00
David Anderson ebe3b090e8 - add a script "upgrade_db.php" that updates project DB structure
(after user confirmation).
    This is called from "upgrade", and can also be run by itself.

    NOTE: this mechanism will handle all DB updates going forward.
    Older updates must be done the old way (edit and run db_update.php)

- Web: let teams determine whether they're accepting new members


svn path=/trunk/boinc/; revision=16160
2008-10-08 16:48:11 +00:00
Jens Seidler bcec2aa160 svn path=/trunk/boinc/; revision=16154 2008-10-08 05:37:20 +00:00
David Anderson 56c203a9a2 - added a script (from Nicolas) to generate en.po
svn path=/trunk/boinc/; revision=16151
2008-10-07 20:24:16 +00:00
David Anderson 33ad1b3d40 - Added the above DB change to schema.sql
- Omit the "after" clause from update.
- Web: add missing arg; fixes #749
- server: more --help additions

svn path=/trunk/boinc/; revision=16136
2008-10-06 00:18:36 +00:00
Janus B. Kristensen f361f95313 - Added "Highlight special users"-feature
- Allow projects to specify how special users can be highlighted in their forums through CSS
- Special users are now highlighted by default
- Post body background is now 25% transparent in browsers that support transparency (white.css only)


svn path=/trunk/boinc/; revision=16134
2008-10-05 16:00:11 +00:00
Janus B. Kristensen 60c09bf544 - Skip posts if user has been deleted from DB
- Gracefully fail on posts from users without any forum preferences set in the DB

svn path=/trunk/boinc/; revision=16133
2008-10-05 13:06:00 +00:00
Janus B. Kristensen 0da4c42976 Having variables called 1, 2, 3... etc is really bad coding style and causes buckloads of issues in associative arrays.
Instead call them stuff like "role1", "role2" and so on.

svn path=/trunk/boinc/; revision=16132
2008-10-05 12:45:33 +00:00
Janus B. Kristensen 73b874ad26 Fixed quote-typo in sorting url
svn path=/trunk/boinc/; revision=16131
2008-10-05 12:35:44 +00:00
David Anderson f17c0879de - changed some comments for Doxygen
svn path=/trunk/boinc/; revision=16130
2008-10-04 23:44:24 +00:00