Commit Graph

1009 Commits

Author SHA1 Message Date
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 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 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 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
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
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
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 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
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
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 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
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
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 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 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
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 )

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 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 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 1f6df503f5 - web: don't select orphaned profile as UOTD;
delete profile when delete user.  Fixes 

svn path=/trunk/boinc/; revision=16255
2008-10-22 15:49:01 +00:00
David Anderson 87ff7b07d2 - web: if user tries to edit a BOINC-wide team,
warn them that changes will get overwritten.
    Fixes 


svn path=/trunk/boinc/; revision=16244
2008-10-21 20:33:16 +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 d786872da7 web tweeak
svn path=/trunk/boinc/; revision=16228
2008-10-17 16:47:02 +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
Janus B. Kristensen 46711e4bc8 Fixed - 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 - 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 


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 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 22773619ca - web: in checking if hosts can be merged,
do time-overlap check if either host has pending results
    Fixes 

svn path=/trunk/boinc/; revision=16163
2008-10-08 21:49:06 +00:00