Commit Graph

2272 Commits

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