Commit Graph

2371 Commits

Author SHA1 Message Date
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
David Anderson 75d34b7ca5 - web: fixed opt-out page
svn path=/trunk/boinc/; revision=15599
2008-07-13 03:37:07 +00:00
Rytis Slatkevičius 419efc63ba Update Lithuanian translation
svn path=/trunk/boinc/; revision=15598
2008-07-12 16:05:25 +00:00
David Anderson f65d1927ae svn path=/trunk/boinc/; revision=15570 2008-07-08 21:13:27 +00:00
David Anderson f69a288ac0 - web: if stop_web file is present, don't allow any DB access
(I broke this a few days ago)
- client: improve message for file upload server errors

svn path=/trunk/boinc/; revision=15569
2008-07-08 21:07:33 +00:00
Rytis Slatkevičius f9a7648ec4 user web: fix forum preferences saving (empty signatures were not allowed).
svn path=/trunk/boinc/; revision=15566
2008-07-08 17:42:52 +00:00
David Anderson a054467f9b - web: include "reason" field in emails for thread moderation
svn path=/trunk/boinc/; revision=15553
2008-07-06 22:30:10 +00:00
David Anderson 520142d475 - web: check profile text with Akismet if enabled
- web: in get_logged_in_user(), check for bad user agent types
    (a bit of spam-resistance)

svn path=/trunk/boinc/; revision=15552
2008-07-04 20:06:31 +00:00
David Anderson e9fe83cf8b - boinc_submit: add --jobs and --abort options
svn path=/trunk/boinc/; revision=15547
2008-07-03 18:41:13 +00:00
David Anderson c74f8d9a17 svn path=/trunk/boinc/; revision=15534 2008-07-01 22:16:49 +00:00
David Anderson 87c57e4444 svn path=/trunk/boinc/; revision=15533 2008-07-01 22:15:55 +00:00
David Anderson 2d6d4110ea - web: don't check for the stop_web file in BoincDb::get().
That forces that file to include a bunch of unnecessary stuff.
    Do the check at a higher level.

svn path=/trunk/boinc/; revision=15532
2008-07-01 22:11:28 +00:00
David Anderson 7f1e1c5ed9 svn path=/trunk/boinc/; revision=15529 2008-07-01 21:08:23 +00:00
David Anderson cc1dbce215 svn path=/trunk/boinc/; revision=15528 2008-07-01 21:06:14 +00:00
David Anderson 012ffd3614 - bolt stuff
svn path=/trunk/boinc/; revision=15527
2008-07-01 20:33:39 +00:00
David Anderson 0c5c51d531 - web: when hide/unhide/delete posts,
set the timestamp of the thread to the timetamp of
    the latest non-hidden post (rather than to now).
    Same thing for forum timestamp.
- scheduler: return more informative message to user in case of
    request message parse error

svn path=/trunk/boinc/; revision=15526
2008-07-01 16:34:51 +00:00
David Anderson 0f60f0d42b - scheduler: fix bug where a pointer to a 32-bit time field
was being cast to a pointer to 64-bit time field
    (this caused wrong results on 64-bit servers)
    From Sharov Artyom.

svn path=/trunk/boinc/; revision=15517
2008-06-30 23:05:16 +00:00
David Anderson cff13c8871 - server: add optional <no_validate> element to output file <file_ref>s.
This tells the sample bitwise validator to ignore this file.
- client: parse the above field (avoid "unparsed XML" msgs)

svn path=/trunk/boinc/; revision=15514
2008-06-30 16:46:05 +00:00
David Anderson b21be7c4d4 - client: add "Suspending computation" messages for
system idle and initial delay cases.
    Rom: please back-port

svn path=/trunk/boinc/; revision=15513
2008-06-29 20:57:21 +00:00
David Anderson 370778e484 - Bolt
svn path=/trunk/boinc/; revision=15511
2008-06-27 23:15:57 +00:00
David Anderson 70eefb4828 - make_project: change the --test_app option so that it gets the
app executable from boinc_samples/example_app/uc2,
    rather than boinc/apps/upper_case.
    (boinc_samples must be installed in the same dir as boinc).

    The reason: the BOINC autoconf-based build process
    produces executables that have zillions of shared library dependencies,
    and generally won't run on machines other than
    the one where they were built.
    Executables built in boinc_samples/ don't have this problem.

svn path=/trunk/boinc/; revision=15509
2008-06-27 18:59:33 +00:00
David Anderson 37f0d8b6ef svn path=/trunk/boinc/; revision=15501 2008-06-26 23:24:43 +00:00
David Anderson 1bd7742c4a - more gcc fixes
svn path=/trunk/boinc/; revision=15496
2008-06-26 20:53:51 +00:00
David Anderson 3dd69f52cd - client: improve error messages when can't copy files
- client: change CUDA detection on Linux and Mac.
    Look for libcuda.so in /usr/lib/nvidia and /usr/lib64/nvidia.
    If we find it, assume that libcudart is in the library path.

svn path=/trunk/boinc/; revision=15477
2008-06-26 03:50:03 +00:00
David Anderson 8062bc1bbd - web: insert() functions return ID
svn path=/trunk/boinc/; revision=15461
2008-06-24 22:20:40 +00:00
David Anderson 6e731f0b7a - API, Unix: when boinc_finish(x) is called, exit with code x
even if signals happen in the atexit() handling
- API: don't print XML parse warnings for init_data.xml file

svn path=/trunk/boinc/; revision=15454
2008-06-23 19:51:07 +00:00
David Anderson e88e698106 - scheduler: change message if bad auth (fixes #685)
svn path=/trunk/boinc/; revision=15445
2008-06-22 19:14:53 +00:00
David Anderson 5a3d1fc0a5 - client (Win): if we're not in protected mode,
don't create shmem segs in global name space.
    Hopefully this will fix a bug
    (on Vista, UAC off, non-protected install)
    where apps fail to attach to shmem.

svn path=/trunk/boinc/; revision=15444
2008-06-20 21:33:02 +00:00