Commit Graph

2498 Commits

Author SHA1 Message Date
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
Janus B. Kristensen 932eabba94 Allow projects to define their own overrides for the login forms - this helps enable CMS systems like Drupal to handle the logins for BOINC
svn path=/trunk/boinc/; revision=16127
2008-10-04 14:24:56 +00:00
David Anderson 823df337a4 - add an interface for parsing XML attributes
svn path=/trunk/boinc/; revision=16096
2008-09-30 16:57:07 +00:00
Janus B. Kristensen ed032e15c1 Fixes Ticket #662 - list items are now kept open to allow more than one line of content
svn path=/trunk/boinc/; revision=16081
2008-09-27 11:52:19 +00:00
Janus B. Kristensen fc0ddc1d0d Fixes Ticket #662 - list items are now kept open to allow more than one line of content
svn path=/trunk/boinc/; revision=16080
2008-09-27 11:49:32 +00:00
Janus B. Kristensen c593b76967 Mark all threads as read button should be on its own line
svn path=/trunk/boinc/; revision=16079
2008-09-27 10:33:43 +00:00
Janus B. Kristensen 5949689542 Removed some old leftover layout code from the HTML, this should now be controlled from CSS.
svn path=/trunk/boinc/; revision=16078
2008-09-27 10:08:16 +00:00
Janus B. Kristensen 5aa7779aaf Part 2 of 2 for the fix of Ticket #740.
svn path=/trunk/boinc/; revision=16077
2008-09-27 09:52:28 +00:00
Janus B. Kristensen 527cb2d6d4 Introducing the notion of "action lists" - list of actions.
This is part 1 of 2 for the fix of Ticket #740.

svn path=/trunk/boinc/; revision=16076
2008-09-27 09:51:29 +00:00
Janus B. Kristensen 5b01e52e02 "Mark forum read"-button should be on its own line.
svn path=/trunk/boinc/; revision=16075
2008-09-27 08:19:30 +00:00
David Anderson b5fa84f084 - web: remove check on user agent
svn path=/trunk/boinc/; revision=16073
2008-09-26 23:02:53 +00:00
Janus B. Kristensen 7922a57a25 Fixes Ticket #399. Warnings no longer show up if the crossproject website was down and the lookup is not done at all for XML format since it isn't used.
svn path=/trunk/boinc/; revision=16062
2008-09-26 07:12:01 +00:00
David Anderson 560b65dd85 - web: don't send an email after account is created via web;
it serves no purpose and some people apparently view it as spam.

svn path=/trunk/boinc/; revision=16060
2008-09-25 22:03:56 +00:00
Janus B. Kristensen de956c8eb0 Implementing Ticket #309 - you can now either reply to or quote a post
svn path=/trunk/boinc/; revision=16053
2008-09-25 12:56:42 +00:00
Janus B. Kristensen f5c7925298 Fixed Ticket #565 - "overflow: overflow" should have been "overflow: visible". word-wrap is a css3 property which is correctly dropped by earlier parsers - not a bug.
svn path=/trunk/boinc/; revision=16052
2008-09-25 12:33:45 +00:00
Janus B. Kristensen c85dff5011 - Fixed layouting issue with IE browsers due to forms by unwrapping the form from the table cell
svn path=/trunk/boinc/; revision=16051
2008-09-25 12:26:41 +00:00
Janus B. Kristensen e2b48b6b34 - Fix form layouting issue in IE browser series by unpacking it from the table cell
- Fix missing newline after "Send message" button in authorcol
- Added CSS class forum_toplinks for links at the top of forum pages


svn path=/trunk/boinc/; revision=16048
2008-09-25 10:48:49 +00:00
Janus B. Kristensen ff29445385 - Replace nasty javascript generated HTML <input> buttons with normal links and CSS buttons.
- Fix CSS compatibility issues towards IE6-series of browsers
- Buttons will now light up when hovering over them with the mouse


svn path=/trunk/boinc/; revision=16047
2008-09-25 10:39:51 +00:00
David Anderson e432bb1182 - web: sub_sentence() went into an infinite loop
for a particular (non-ASCII) profile text.
    Not sure why, but I rewrote sub_sentence() in
    less obscure way and it works now
- web: slight cleanup of translation code.
    Can we please replace this with gettext()??

svn path=/trunk/boinc/; revision=16035
2008-09-22 17:14:03 +00:00
David Anderson 65a1bdab39 - lib: change XML_PARSER to handle attributes and spaces in tags.
e.g. it handles <foo /> correctly,
    and handles <foo attr="x">
    (it doesn't return the attributes, but it doesn't choke on them).
- GUI RPC client lib:
    use XML_PARSER to process authorization replies,
    e.g. so that it handles <authorized />

    TODO: use XML_PARSER to parse all GUI RPC requests and replies

- web: add a CSS entry for news item titles
- web (news items): add an optional "category" field to news items:
    suggested values: "server status", "news", "emergency".
    These are not used to display the items,
    but are passed in the RSS feed and could be used by news aggregators.
- manager: replace "BOINC-based account managers" with "account managers"


svn path=/trunk/boinc/; revision=16028
2008-09-19 18:08:17 +00:00
David Anderson 6379b2682b - feeder: fix bug from changset 15984 that changed "r" to "w",
causing the feeder to truncate hr_info.txt on startup


svn path=/trunk/boinc/; revision=16008
2008-09-17 15:59:14 +00:00
Jens Seidler 7ac2c0bef3 svn path=/trunk/boinc/; revision=16007 2008-09-17 11:23:47 +00:00
David Anderson fd3dbc1058 - client: ignore CUDA devices with major versions > 100
(apparently some report 9999)
- web: security changes: sanitize some params; escape some strings

svn path=/trunk/boinc/; revision=16005
2008-09-16 23:06:37 +00:00
Eric J. Korpela 3be692ce7f - Added additional spam fighting measure to profile.inc. Profiles for
users with RAC less than <profile_min_credit> with only be displayed if
 the viewing user is logged in.


svn path=/trunk/boinc/; revision=16004
2008-09-16 22:03:43 +00:00
David Anderson d5cc059efe - web: if user requests foundership of a team with userid=0
(which in theory shouldn't happen, but apparently can)
    immediately make them the founder


svn path=/trunk/boinc/; revision=15992
2008-09-12 20:23:41 +00:00
Rytis Slatkevičius 0e020bfbce Web: fix David's fix from Sep 7.
svn path=/trunk/boinc/; revision=15982
2008-09-09 14:59:50 +00:00
David Anderson 95ebdbda2d - web: report error correctly
svn path=/trunk/boinc/; revision=15980
2008-09-09 06:07:54 +00:00
David Anderson 7a2cc095bc - web: fix bug in host list page
svn path=/trunk/boinc/; revision=15979
2008-09-08 20:47:16 +00:00
David Anderson 1a75514084 - web: various security fixes
svn path=/trunk/boinc/; revision=15975
2008-09-07 07:40:56 +00:00
Rytis Slatkevičius d137aee934 web: significantly reduce file size of blue_gradient.png to reduce loading times (more dialup friendly).
svn path=/trunk/boinc/; revision=15974
2008-09-06 19:07:01 +00:00
David Anderson e6ba967a60 - web: stylesheet tweak
svn path=/trunk/boinc/; revision=15953
2008-09-04 08:15:09 +00:00
David Anderson 3154eba509 - web: improve stylesheet for quoted messages (from Michael Roberts)
svn path=/trunk/boinc/; revision=15949
2008-09-03 15:22:23 +00:00
Jens Seidler b04970df0b Localization: Manager and supplied web files updated: Spanish(es), Chinese Simplified(zh_CN), Dutch(nl), Polish(pl), Czech(cs)
svn path=/trunk/boinc/; revision=15946
2008-08-30 07:42:32 +00:00
David Anderson ca00559575 - client (Unix): don't assume that LD_LIBRARY_PATH is defined
svn path=/trunk/boinc/; revision=15944
2008-08-28 18:41:18 +00:00
David Anderson 5322312588 - specify UTF-8 in en.po
svn path=/trunk/boinc/; revision=15938
2008-08-25 15:24:35 +00:00
David Anderson 1d99bfec2b svn path=/trunk/boinc/; revision=15921 2008-08-21 23:24:11 +00:00
David Anderson dded9ec2e5 - make_project: fix --test_app
- fix formatting (no long indents)

svn path=/trunk/boinc/; revision=15911
2008-08-20 22:09:51 +00:00
Rom Walton bba5980102 - web: fix a parsing error in sample_index.php which would
cause new projects to report an error when they first
        attempt to start up.
    - tools: Add the missing x86_64-apple-darwin platform type
        used for 64-bit Mac OS X applications.  I used the
        description from the alpha project.
    - MGR: delete obselete make files.
    

    clientgui/
        Makefile.linux.fedora
        Makefile.linux.suse
        Makefile.linux.ubuntu
    html/user/
        sample_index.php
    tools/
        project.xml

svn path=/trunk/boinc/; revision=15906
2008-08-20 18:32:32 +00:00
David Anderson a5f80bc2e6 - lib: fix typo
svn path=/trunk/boinc/; revision=15903
2008-08-20 16:49:37 +00:00
David Anderson 56db46b0ef - typo in sample_index.php
svn path=/trunk/boinc/; revision=15892
2008-08-19 21:33:21 +00:00
David Anderson 53ccd10f13 - scheduler: add <debug_resend> config option to enable messages
about job resending

svn path=/trunk/boinc/; revision=15889
2008-08-19 03:00:17 +00:00
Bruce Allen 2aca840e83 User web pages, scheduler logs: link was missing because of incorrect path
svn path=/trunk/boinc/; revision=15872
2008-08-18 11:51:15 +00:00
David Anderson 9f6c4a133e - client: don't leak handles to shared-mem files
- client: don't leak process handles when abort jobs
- client: if an app exits or we kill it, always destroy the shmem segment.
- web: more HTML 4.01 Transitional conformity changes

svn path=/trunk/boinc/; revision=15865
2008-08-16 20:59:53 +00:00
David Anderson af38142142 - Bolt stuff
svn path=/trunk/boinc/; revision=15860
2008-08-15 22:07:24 +00:00
David Anderson 5b9e089cd8 - web: fix bugs in translation system
(language_select.php wasn't working)
- tr.po had some syntax error, and was way out of date.
    replaced it with en.po

svn path=/trunk/boinc/; revision=15858
2008-08-15 17:33:32 +00:00
David Anderson afbfeaa637 - web: start working towards the goal of passing the
"HTML 4.01 Transitional" test.
    The BOINC home page, project home page, and forum index now pass.
- web: .po files need to have CHARSET, LANG_NAME_NATIVE,
    and LANG_NAME_INTERNATIONAL

svn path=/trunk/boinc/; revision=15855
2008-08-15 16:26:55 +00:00
David Anderson 0e14fa8f9e - Finished implemenation of refresh intervals;
added "count" field to DB table to keep track of how many times
    we've refreshed.
- show refresh schedule on main courses page
- default for random structure is all units, not 1

svn path=/trunk/boinc/; revision=15846
2008-08-14 21:05:02 +00:00
David Anderson c69186ef74 - remove "doc_file" field; use short_name.inc
- fix tabl_exists()
- fix bugs when return to answer page
- create bolt_result records correctly

svn path=/trunk/boinc/; revision=15836
2008-08-14 15:46:30 +00:00
David Anderson 54081d3eeb - fix bug that made email address validation worthless
(from Janus K.).  Fixes #718


svn path=/trunk/boinc/; revision=15813
2008-08-13 02:53:43 +00:00
David Anderson 0ed39fcd5e - web: improve sample project_specific_prefs.inc
to add "allow_non_preferred_apps pref
    and remove frame rate pref

svn path=/trunk/boinc/; revision=15810
2008-08-12 22:09:28 +00:00
David Anderson 2b6f80af15 - web: stylesheet tweaks (from Simek)
svn path=/trunk/boinc/; revision=15807
2008-08-12 17:08:14 +00:00
Janus B. Kristensen 8ef70f4ec7 Removed warnings about empty language files at the first webpage hit of a new project.
These files (and hence missing arrays) are automatically generated and the warnings are therefore irrelevant.


svn path=/trunk/boinc/; revision=15802
2008-08-10 18:31:54 +00:00
David Anderson 26852af2f4 - web: forum tweaks (from Simek)
svn path=/trunk/boinc/; revision=15800
2008-08-10 01:13:00 +00:00
Rytis Slatkevičius 92e3e07e0c web: fix thread being marked as unread after posting to it (fix #506)
svn path=/trunk/boinc/; revision=15796
2008-08-09 19:27:17 +00:00
David Anderson 9cb87d2fc8 - client: don't use fixed-size buffer when looking for app files
in project prefs (avoid buffer overrun)
- web: don't show credit info if no_computing flag set

svn path=/trunk/boinc/; revision=15793
2008-08-09 16:39:20 +00:00
David Anderson bd492ae414 - web: forum tweak
svn path=/trunk/boinc/; revision=15778
2008-08-08 03:38:03 +00:00
David Anderson ee56ea3341 - validator: get_credit_from_wu() returns an error, rather than exiting,
if WU doesn't have <credit> element

svn path=/trunk/boinc/; revision=15777
2008-08-07 22:50:05 +00:00
David Anderson 13f51d2402 svn path=/trunk/boinc/; revision=15776 2008-08-07 22:13:37 +00:00
David Anderson d561c91a3e - web: add table.noborder class for S@h
svn path=/trunk/boinc/; revision=15775
2008-08-07 22:04:08 +00:00
David Anderson a41848b43f svn path=/trunk/boinc/; revision=15774 2008-08-07 21:43:02 +00:00
David Anderson bff8ebcf8e svn path=/trunk/boinc/; revision=15773 2008-08-07 21:17:38 +00:00
David Anderson 534c9911c9 svn path=/trunk/boinc/; revision=15772 2008-08-07 21:12:18 +00:00
David Anderson 896bdb2e23 - web: improve white.css, and make corresponding PHP changes
(mostly from Simek)
    fixes #716
- validator: tweak the way host error rate is computed,
    e.g. on error bump rate by .1 instead of .05

svn path=/trunk/boinc/; revision=15771
2008-08-07 20:43:52 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
David Anderson 9baf78fe5f - web: added copyright and license info to PHP files
svn path=/trunk/boinc/; revision=15758
2008-08-05 22:43:14 +00:00
David Anderson 6db22d8c0c - web: stylesheet fixes
fixes #708
- sched: slightly revise Bruce's fix


svn path=/trunk/boinc/; revision=15753
2008-08-05 15:06:42 +00:00
Rytis Slatkevičius b2304c576c user web: make team.inc translatable, and update en.po using the new script (fix #661)
svn path=/trunk/boinc/; revision=15747
2008-08-04 10:07:09 +00:00
David Anderson e866381c4a - Bossa stuff
svn path=/trunk/boinc/; revision=15726
2008-07-31 18:28:49 +00:00
David Anderson 884bad0975 - client: show proxy info in messages at startup and when changed
fixes #704
- web: fix the am_set_info.php RPC
    (most args are optional, not mandatory)

svn path=/trunk/boinc/; revision=15716
2008-07-30 21:37:41 +00:00
David Anderson dd59703811 - web: allow profiles to have blank text fields
svn path=/trunk/boinc/; revision=15707
2008-07-30 02:16:10 +00:00
David Anderson 80bde8a4c6 - ops: add script to fix backslashes in posts etc.
- DB: add db_update.php entry for Eric's new table

svn path=/trunk/boinc/; revision=15700
2008-07-28 22:24:57 +00:00
David Anderson c68c6b92f7 svn path=/trunk/boinc/; revision=15688 2008-07-27 02:10:37 +00:00
David Anderson 79e227e5e5 - web: escape text on edit thread title
svn path=/trunk/boinc/; revision=15687
2008-07-27 02:08:35 +00:00
David Anderson 7686a1ca16 - web: fix profile rate
svn path=/trunk/boinc/; revision=15668
2008-07-24 17:22:06 +00:00
Jens Seidler bb5310ff8b Localization: Manager and supplied web files updated: Spanish(es), Russian(ru), Italian(it), Chinese Simplified(zh_CN)
svn path=/trunk/boinc/; revision=15666
2008-07-24 05:38:14 +00:00
David Anderson df4ae4f07a svn path=/trunk/boinc/; revision=15646 2008-07-21 22:08:23 +00:00
David Anderson b18a45ec97 - manager: display days w/ 2 decimals
svn path=/trunk/boinc/; revision=15645
2008-07-21 22:07:25 +00:00
David Anderson 0496591da2 - client: if an app is using CUDA coprocessors,
pass it additional command line arg(s) "--device X" (X=0,1,...)
    to tell it which GPU(s) to use.

svn path=/trunk/boinc/; revision=15642
2008-07-21 16:25:03 +00:00
David Anderson 27dee4e450 - manager: fix typo
svn path=/trunk/boinc/; revision=15640
2008-07-20 21:27:44 +00:00
Rytis Slatkevičius 96068182bc Forums: add support for Globally Recognized Avatars.
svn path=/trunk/boinc/; revision=15637
2008-07-19 17:31:10 +00:00
David Anderson e70273774a - scheduler: in matchmaker scheduler, if find a "locked" array slot,
which whether we're the process that locked it (from Artyom Sharov)

svn path=/trunk/boinc/; revision=15635
2008-07-18 20:59:59 +00:00
David Anderson a227801dd8 - scheduler: in matchmaker scheduler, if find a "locked" array slot,
which whether we're the process that locked it (from Artyom Sharov)

svn path=/trunk/boinc/; revision=15630
2008-07-17 20:58:42 +00:00
David Anderson a6cf172fb0 - scheduler: fix logic to not send plan-class apps to clients
that don't know about plan class

svn path=/trunk/boinc/; revision=15609
2008-07-16 04:25:11 +00:00
David Anderson fa0dbd20c7 - scheduler: with matchmaker scheduling, avoid infinite loop
if result not in DB
    (from Artyom Sharov, DerMeister)

svn path=/trunk/boinc/; revision=15608
2008-07-15 22:44:36 +00:00
David Anderson 8c41a07992 - scheduler: Add a notion of "hard app" for SETI@home.
If an app is hard, the scheduler always does the deadline check,
    even if the client has no other jobs for this project.
    And the estimated wallclock duration is multiplied by 1.3,
    to avoid sending jobs to hosts that will barely make the deadline.

    Hard apps are marked by setting weight = -1.
    This is a total kludge, to avoid adding another field to app.

svn path=/trunk/boinc/; revision=15607
2008-07-15 21:43:45 +00:00
David Anderson ba6526f8c9 - scheduler: add constructor for HOST_USAGE structure
(otherwise get random crap in cmdline)


svn path=/trunk/boinc/; revision=15605
2008-07-14 22:32:20 +00:00
David Anderson 1147e60b1a - web: fix bugs that cause backslashes to be introduced
in global prefs update via account manager RPC

svn path=/trunk/boinc/; revision=15602
2008-07-14 19:13:19 +00:00
Rytis Slatkevičius 679229b859 Fix the layout of profile_menu.php on table-based websites, and since I'm already editing it, make it translatable.
svn path=/trunk/boinc/; revision=15601
2008-07-13 16:28:01 +00:00
David Anderson 08f126f53b svn path=/trunk/boinc/; revision=15600 2008-07-13 04:26:23 +00:00