Commit Graph

2391 Commits

Author SHA1 Message Date
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
David Anderson bf55f0838d - client (Win): if running as service, and service is suspended/resumed,
restore previous run state rather than going to auto.
- client: improve startup messages (non-system user??)

svn path=/trunk/boinc/; revision=15442
2008-06-20 16:21:55 +00:00
David Anderson 4210ccff4c - diagnostics library: in signal handler, use _exit() instead of exit();
an atexit() function might have been what caused the signal

svn path=/trunk/boinc/; revision=15437
2008-06-19 20:56:36 +00:00
David Anderson e65c5f562e svn path=/trunk/boinc/; revision=15434 2008-06-19 03:58:19 +00:00
David Anderson 13319d65f8 - If a hidden post is deleted, don't decrement its thread's post count;
it was already decremented when the post was hidden
- Added a function to forum_repair.php to fix inconsistencies
    due to the above bug

svn path=/trunk/boinc/; revision=15433
2008-06-19 03:44:27 +00:00
David Anderson 8611ca27aa - web: in team remove-user form, link names and show IDs
svn path=/trunk/boinc/; revision=15428
2008-06-18 19:52:20 +00:00
David Anderson 796a8ef835 - change EXIT_ABORTED_VIA_GUI to EXIT_ABORTED_BY_CLIENT
- change ERR_CHILD_FAILED TO EXIT_CHILD_FAILED
    (it's an exit code, not a function error code)
- client: reduce severity of benchmark error
- scheduler: compile fix

svn path=/trunk/boinc/; revision=15423
2008-06-18 16:43:05 +00:00
David Anderson bfa6747467 - web: shuffle code to eliminate redundancy
svn path=/trunk/boinc/; revision=15419
2008-06-17 17:38:02 +00:00
David Anderson b0aadb0e4e svn path=/trunk/boinc/; revision=15399 2008-06-13 16:46:28 +00:00
David Anderson 956a5a2cc5 - web: fixed numerous bugs in team founder transfer mechanism
svn path=/trunk/boinc/; revision=15398
2008-06-13 16:40:51 +00:00
David Anderson a1db66c12b - web: handle magic quotes correctly in profile create/edit
svn path=/trunk/boinc/; revision=15392
2008-06-12 15:28:06 +00:00
David Anderson aaa60334be - web: add $prefix arg to sample project_header(), project_footer()
(fix links on profile-index pages)
- web: use cache-control "no-store" only for home.php.
    This makes it so that, e.g. if you scroll to the middle of a long page,
    follow a link, then click Back,
    you'll go back the original scroll position rather than top of page.

svn path=/trunk/boinc/; revision=15391
2008-06-12 04:50:10 +00:00
David Anderson d403a14e42 - web: cleaned up logic of string processing.
There are two aspects:
    1) undoing magic quotes (if it's being used).
        This must be done for all GET and POST string inputs.
        It is now done automatically by get_str() and post_str().
        The places that refer to $_GET and $_POST directly
        must do it themselves using undo_magic_quotes().
    2) Escaping user-supplied strings before using them in DB queries.
        This is done by process_user_text()
        (which should be renamed db_escape_string()).
        The new principle:
        call process_user_text() in the function that does the DB query
        (not at any higher level).


svn path=/trunk/boinc/; revision=15389
2008-06-11 19:36:10 +00:00
David Anderson 0eb6091c0a - web fixes
svn path=/trunk/boinc/; revision=15388
2008-06-11 16:49:56 +00:00
David Anderson 0cee57e3de - added Free-DC CPID stats
svn path=/trunk/boinc/; revision=15387
2008-06-11 16:08:09 +00:00
David Anderson f0bd46e2c1 - web: change order of includes
svn path=/trunk/boinc/; revision=15381
2008-06-10 18:12:29 +00:00
David Anderson 304c1dc934 svn path=/trunk/boinc/; revision=15369 2008-06-05 22:37:55 +00:00
David Anderson cf6a5281b6 - web: moved some basic utility functions to a separate file
that doesn't need to include all sorts of crap

svn path=/trunk/boinc/; revision=15368
2008-06-05 22:35:03 +00:00
David Anderson fc3f542161 rename
svn path=/trunk/boinc/; revision=15367
2008-06-05 22:06:31 +00:00
David Anderson d5ec5a3e11 rename single_job_setup
svn path=/trunk/boinc/; revision=15366
2008-06-05 22:04:16 +00:00
David Anderson d764eb5873 - web: clean up stuff related to stripslashes():
1) it's not correct to apply stripslashes() to all form input.
        That should be done only if magic quotes is on.
        I fixed this by adding a function undo_magic_quotes()
        that does the right thing.
    2) There's no reason to strip backslashes from user-supplied text
        (forum titles and bodies, private messages, passwords etc.)
        I'm not sure why this was being done.
        It prevented messages from containing backslashes.

svn path=/trunk/boinc/; revision=15364
2008-06-05 20:32:21 +00:00
David Anderson 348f90574c - web: fixed a couple of references to "global $logged_in_user".
It's $g_logged_in_user.

svn path=/trunk/boinc/; revision=15362
2008-06-05 04:35:21 +00:00
David Anderson 0e03df254b - Back end: add adaptive validation feature
(DB update required)
- Fixed typo in Eric's 5/28 checkin

svn path=/trunk/boinc/; revision=15357
2008-06-04 23:04:12 +00:00
Jens Seidler 8e7f33eceb BOINC Manager, distributed web site and homepage language files updated: Chinese simplified(zh_CN), Dutch(nl), Czech(cs)
svn path=/trunk/boinc/; revision=15352
2008-06-03 05:26:30 +00:00
David Anderson 4eea5bd714 - Add cross-project certificate
svn path=/trunk/boinc/; revision=15347
2008-06-02 15:59:20 +00:00
David Anderson 96eabc043b - server: added -simulation option to feeder, validator, and assimilator
(for use in server simulator)

svn path=/trunk/boinc/; revision=15344
2008-06-01 03:43:47 +00:00
Eric J. Korpela 3a452276ae Fixed handling of display of results for credit granted or claimed when results
are cancelled.


svn path=/trunk/boinc/; revision=15343
2008-05-31 17:15:56 +00:00
David Anderson c9d38091e7 - validator/assimilator: parse <file_ref>s rather than <file_info>s;
the latter is where the <optional/> flag is.

svn path=/trunk/boinc/; revision=15337
2008-05-30 03:29:31 +00:00
David Anderson ebfb1e8e3b - Validator framework: change get_output_file_path()
to return a struct FILE_INFO (including "optional")
    instead of just the filename.
    This lets you avoid erroring out if optional file is missing.
- Sample bitwise validator: support > 1 output file correctly

svn path=/trunk/boinc/; revision=15332
2008-05-29 20:11:43 +00:00
David Anderson f2b7984f92 svn path=/trunk/boinc/; revision=15326 2008-05-28 22:23:14 +00:00
David Anderson 306fad76a6 svn path=/trunk/boinc/; revision=15323 2008-05-28 21:32:04 +00:00
David Anderson 2381837ba8 - web: add project.inc variables to customize certificates;
add team certificate;
    add links to certificates from user page

svn path=/trunk/boinc/; revision=15316
2008-05-28 21:08:26 +00:00
David Anderson 5583762116 - web: style tweaks; fixes #667
svn path=/trunk/boinc/; revision=15307
2008-05-28 16:33:51 +00:00
Matt Lebofsky 864f6f0b6a Added <email/> tag (so users can see which e-mail these reminders
were being sent to, as to hopefully avoid confusion)


svn path=/trunk/boinc/; revision=15297
2008-05-27 22:19:14 +00:00
David Anderson e48ea93727 - web: team transfer request was being rejected if email to founder failed,
so there was no way of rescuing a team with invalid founder email.
    I changed it to record the request anyway.
    This is potentially hazardous - if the founder's email server
    is temporarily down, the request would go through
    without the founder being notified.
    To offset this, I added a notification via private message.

svn path=/trunk/boinc/; revision=15296
2008-05-27 21:26:49 +00:00
David Anderson 49eb1246cf - scheduler: added
- config option <matchmaker> for matchmaker scheduling
    - config options <mm_min_slots>, <mm_max_slots>, <job_size_matching>
        to control matchmaker scheduling
- scheduler: tweaks to matchmaker scheduling from Kevin Reed
- web: fixes to alternative stylesheet from Simek

svn path=/trunk/boinc/; revision=15281
2008-05-23 16:13:30 +00:00
Jens Seidler d92eedb96a BOINC Manager, distributed web site and homepage language files updated: Chinese simplified(zh_CN), Spanish(es), Arabic(ar), Hungarien(hu)
svn path=/trunk/boinc/; revision=15280
2008-05-23 05:17:31 +00:00
David Anderson 605b29ae40 - web: remove separate blockquote style; fixes #668
svn path=/trunk/boinc/; revision=15269
2008-05-21 18:51:18 +00:00
David Anderson e9451a0bf1 - web: fix errors in translation changes
svn path=/trunk/boinc/; revision=15268
2008-05-21 16:37:11 +00:00
David Anderson 8b9dae29d8 svn path=/trunk/boinc/; revision=15264 2008-05-20 22:29:43 +00:00
David Anderson 586c07e3b4 - Add alternative stylesheet for project web
- Tweak error messages in client and server

svn path=/trunk/boinc/; revision=15263
2008-05-20 21:47:02 +00:00
David Anderson 4ef8f7a3dd - web: fix bugs introduced by recent tra() changes.
PLEASE CHECK THESE CHANGES BEFORE SUBMITTING THEM

svn path=/trunk/boinc/; revision=15262
2008-05-20 21:08:52 +00:00
David Anderson 9963f0958b - web: fix for cross-site scripting vulnerability
(from Nicolas Alvarez)

svn path=/trunk/boinc/; revision=15261
2008-05-20 16:42:01 +00:00
David Anderson 3a00adeb65 - web: add <no_computing> option to config.xml.
If present, don't show anything related to computing.
    Use this for Bossa/Bolt projects, and the BOINC message boards.


svn path=/trunk/boinc/; revision=15228
2008-05-15 22:05:05 +00:00
Rytis Slatkevičius 14e132820f Another typo in user.inc
svn path=/trunk/boinc/; revision=15222
2008-05-15 11:17:40 +00:00
Rytis Slatkevičius 053a6d1abe Fix typo in user.inc
svn path=/trunk/boinc/; revision=15221
2008-05-15 10:03:04 +00:00
David Anderson 929d75eedb - make some strings in user.inc translatable (from Simek)
- close fd 1, not 0, for apps

svn path=/trunk/boinc/; revision=15195
2008-05-13 21:46:50 +00:00
Rytis Slatkevičius 78de217b37 Ops pages: add missing error numbers.
svn path=/trunk/boinc/; revision=15163
2008-05-09 16:47:42 +00:00
David Anderson 98041a4866 - Added command-completion script for bash
svn path=/trunk/boinc/; revision=15133
2008-05-06 04:20:32 +00:00
David Anderson 0480a38586 - web: improve error messages if login link fails
(URL may have been truncated in email reader)

svn path=/trunk/boinc/; revision=15126
2008-05-02 20:29:32 +00:00
David Anderson fbabb7cee7 - web: tweaks to host list
- scheduler: condition lots of log file writes on config flags
    (i.e. divide "debug" output into a bunch of categories, individually selectable)

svn path=/trunk/boinc/; revision=15101
2008-04-26 23:34:38 +00:00
David Anderson 9a29a80161 web fix
svn path=/trunk/boinc/; revision=15099
2008-04-26 03:04:36 +00:00
David Anderson d13824a47f web fixes
svn path=/trunk/boinc/; revision=15098
2008-04-26 00:13:38 +00:00
David Anderson c3ea696662 - web: restore OS/CPU details to host list; add Tasks link
fixes #630


svn path=/trunk/boinc/; revision=15097
2008-04-25 23:56:39 +00:00
David Anderson 68f535d033 - user web: send no-cache headers except if we're doing
whole-page caching.  Fixes #626

svn path=/trunk/boinc/; revision=15089
2008-04-24 16:16:36 +00:00
Matt Lebofsky 9d9531a5f4 Bug fixes and added "count" command line option
svn path=/trunk/boinc/; revision=15086
2008-04-23 20:59:14 +00:00
David Anderson f66ec3932b - user web: clear team founder change if requester left team
- user web: check for deleted thread in subcription list
- user web: fix founder change link

svn path=/trunk/boinc/; revision=15070
2008-04-21 14:04:01 +00:00
David Anderson 753b20a67f - client: do the /proc/interrupts stuff (see above)
only on Linux-like systems;
    use device_idle() only on non-Linux Unix systems

svn path=/trunk/boinc/; revision=15059
2008-04-15 22:42:23 +00:00
Jens Seidler 0bb18a9b6c svn path=/trunk/boinc/; revision=15057 2008-04-15 19:02:35 +00:00
Jens Seidler 2bb1c00585 svn path=/trunk/boinc/; revision=15055 2008-04-15 18:39:23 +00:00
Rytis Slatkevičius 0333d3d598 user web: change flush statement to function call in translation system (fixes #425).
svn path=/trunk/boinc/; revision=15054
2008-04-15 16:52:23 +00:00
David Anderson d439244f3f - fixes for gcc 4.3
svn path=/trunk/boinc/; revision=15020
2008-04-06 03:15:36 +00:00
David Anderson 6af9f66b4e - DB/feeder/scheduler: change app_version.xml_doc from blob to mediumblob,
and change the correspending structure field from 64KB to 256KB
    (could increase this if needed).
    This is needed to handle app versions with lots (> 100) of files
- change LARGE_BLOB_SIZE to BLOB_SIZE a bunch of places
- Change COPROCS from vector<COPROC> to vector<COPROC*>.
    Otherwise the right virtual functions of COPROCs don't get called

svn path=/trunk/boinc/; revision=14986
2008-03-31 16:19:45 +00:00
David Anderson bacf9512d1 - web: on completion of team foundership transfer,
clear ping_user and ping_time fields
- web: fix outdated update_forum_activities script

svn path=/trunk/boinc/; revision=14973
2008-03-28 03:05:19 +00:00
David Anderson 13400c9516 Changes for multithread app support:
- update_versions: use __ (not :) as separator for plan class
- client: add plan_class to APP_VERSION;
    an app version is now identified by platform/version/plan_class
- client CPU scheduler: don't assume apps use 1 CPU
- client: add avg_ncpus, max_cpus, flops, cmdline to RESULT
- scheduler: implement app planning scheme

Other changes:

- client: if symlink() fails, make a XML soft link instead
    (for Unix running off a FAT32 FS)
- client: don't accept nonpositive resource share from AMS
- daemons and DB: check for error returns from enumerations,
    and exit if so.  Thus, if the MySQL server goes down,
    all the daemons will soon exit.
    The cron script will restart them every 5 min,
    so when the DB server comes back up so will the project.
- web: show empty max CPU % as ---
- API: get rid of all_threads_cpu_time option (always the case now)


svn path=/trunk/boinc/; revision=14966
2008-03-27 18:25:29 +00:00
David Anderson 9de3ad8a9a - updated GeoIP stuff
svn path=/trunk/boinc/; revision=14951
2008-03-20 22:48:29 +00:00
David Anderson 4e9fbac5e0 - admin web: touch reread_db in manage_app_versions.php
- DB code: remove "is_high_priority" stuff.
- scheduler: merge find_app_version() into get_app_version().
    Have the latter memoize its results (both positive and negative).
    Have it call app_plan() for apps with nonempty plan_class.
- scheduler: first steps towards improved selectability of log messages.
    It will eventually be like the client,
    where you can select among various types of messages.
- feeder: if can't unlink the reread_db trigger file, exit
    (else we'd go into an infinite loop)

svn path=/trunk/boinc/; revision=14940
2008-03-18 21:22:44 +00:00
David Anderson 32022aa71e - web: fixed bugs in Bulgarian translation file
svn path=/trunk/boinc/; revision=14916
2008-03-14 21:40:18 +00:00
David Anderson 815b8fc043 Various preparation for handling multithreaded apps
and apps that use coprocessors.
There now can be several app_versions for the same
(app, platform, version_num) combination.
This changes a number of things.

- Added app_version.plan_class field to DB
- update_versions now looks for a :plan-class in the
    file or directory name, and puts it in the app_version's DB record
- Change uniqueness constraint to include plan_class
- Feeder: the feeder was putting non-deprecated app_versions
    in shared mem, and leaving it to the scheduler to
    find the latest version for a given platform.
    This is dumb.
    Instead, for each app/platform pair the feeder now
    finds the highest version number of a non-deprecated app version,
    and enumerates all non-deprecated app_versions with that
    app/platform/version
- Scheduler: add a BEST_APP_VERSION data structure that keeps track,
    for each app, what the best app_version is for this host.
    This saves the work of recomputing it for each job.

svn path=/trunk/boinc/; revision=14906
2008-03-13 22:57:24 +00:00
Jens Seidler db1175f5c3 Localization: BOINC distribued web site language files updated: Chinese simplified(zh_CN), Spanish(es)
svn path=/trunk/boinc/; revision=14898
2008-03-12 06:21:47 +00:00
David Anderson 90d83d78d9 - web: show venues in private host list
- compile fixes

svn path=/trunk/boinc/; revision=14897
2008-03-11 20:27:19 +00:00
David Anderson 546c0b899a - server: fix botched checkin from 7 March.
The new field (workunit.rsc_bandwidth_bound)
    goes at the END of the record.
    Always do it this way!
- make_work: after creating a batch of new WUs,
    we were waiting 60 sec for the transitioner to
    create the results for them
    (so that our next count of unsent results would be correct).
    This is bogus; if e.g. the transitioner isn't running,
    we'll never get the results, and we'll keep creating WUs forever.

    Instead: explicitly wait for there to be results for
    the last WU from the batch just created.

- scheduler: parse <allow_non_preferred_apps>, <allow_beta_work> correctly.

svn path=/trunk/boinc/; revision=14875
2008-03-10 17:03:15 +00:00
David Anderson 95772cba77 - removed boinc_ncpus_available() and boinc_nthreads() calls.
The design has been changed to constant #threads per app version
    Various changes from Kevin Reed/WCG:
    - server: add workunit.rsc_bandwidth_bound: if nonzero,
        send this WU only to hosts with that much download bandwidth
    - assimilators: if a handler returns DEFER_ASSIMILATION,
        the WU remains in INIT state and will be handled when the
        next instance completes.
        Useful if you want the assimilator to see all instances.
    - scheduler: when setting result.outcome = DETACHED,
        set received_time to now
    - scheduler: removed the reliable_time and reliable_min_avg_credit
        options
    - scheduler/web: add optional <allow_non_preferred_projects>
        in project preferences.
        If present, user will accept work from non-selected apps
        if no work is available for selected apps
    - scheduler: improved messages for projects with multiple apps
    - scheduler: added config options
        <granted_credit_weight> and <granted_credit_ramp_up>.
        Used in calculating host.claimed_credit_per_cpu_sec,
        but I'm not sure how.
    - Added two new credit-granting formulas (validate_util.C):
        stddev_credit() and two_credit()
    - server DB: add rollback_transaction() and affected_rows() to DB_CONN

    NOTE: DB update required

svn path=/trunk/boinc/; revision=14870
2008-03-07 21:13:01 +00:00
David Anderson 09558a5ffa - web: error-check the destination thread for moderation moves
svn path=/trunk/boinc/; revision=14868
2008-03-07 04:54:01 +00:00
David Anderson 0dadf8d62f - admin web: fix profile screen form formatting
- web: remove get_transform_settings_from_user().
    There's only get_output_options()

    NOTE: why is text_transform() doing stripslashes()?
    The slashes shouldn't be in the DB in the first place.
    There's some fundamental confusion here.

- web: fix uotd.php


svn path=/trunk/boinc/; revision=14866
2008-03-07 04:38:06 +00:00
Rytis Slatkevičius 98274b2496 User web: translate some strings in forum.inc (fix #496).
svn path=/trunk/boinc/; revision=14861
2008-03-06 18:16:30 +00:00
David Anderson 5805d5f13a - web: minor code cleanup
svn path=/trunk/boinc/; revision=14854
2008-03-06 00:40:48 +00:00
David Anderson 4e3764df34 - server: debugged single-job submission feature.
It works, at least in my test case.
- boinc_submit script:
    show status every 10 seconds until completed
    add --wait option to show status for previous submission
- Added get_logical_name() in validate_util.C
- create_work: change default target_nresults from 5 to 2,
    max_error_results from 10 to 3,
    max_total_results from 20 to 10,
    max_success_results from 10 to 6
- boinc_cmd: show full usage if no args
- project setup: copy single_job_assimilator

svn path=/trunk/boinc/; revision=14847
2008-03-05 20:16:10 +00:00
David Anderson b20f2d915c - server: added a mechanism for submitting jobs as:
> boinc_submit --infile foo --outfile blah program --args
    This will run "program" on a remote host,
    with the given input, output files, and command-line args

    It manages everything for you.
    You don't have to worry about apps, app_versions,
    template files, wrapper job files, etc.
    See: http://boinc.berkeley.edu/trac/wiki/SingleJob

    Initial checkin - not debugged yet.

svn path=/trunk/boinc/; revision=14842
2008-03-04 23:50:38 +00:00
David Anderson d6ec0b2b5b - web: fixed typo that cause bad (and slow) query
when notifying user of friend acceptance on web

svn path=/trunk/boinc/; revision=14840
2008-03-04 21:17:09 +00:00
David Anderson 1106da6ec6 - transitioner: we're not supposed to ever see "assigned" WUs.
But if we do, set their transitioner time to plus infinity
    so that we don't see them again.
    (otherwise we go into an infinite loop)
- DB code: remove "high_priority" from queries not from scheduler
    (should probably remove them from there too)
- file_deleter: print error msg if apache user doesn't exist

svn path=/trunk/boinc/; revision=14835
2008-03-03 19:33:32 +00:00
David Anderson 577e4ac47d - make_project: initialize send_result_abort=1 in config file
- web: "least recent" => "oldest", "most recent" => "newest"
- scheduler: change DELAY_NO_WORK_CACHE from 20 min to 0.
    Otherwise, a host that has max_wus_in_progress,
    completes one, and sends a work request before the upload is finished
    will delay (and maybe sit idle) for 20 min.
    Better to have a few extra scheduler requests
    and let the client's backoff take care of things.

svn path=/trunk/boinc/; revision=14822
2008-02-28 21:22:50 +00:00
Rytis Slatkevičius 320a0bff3f - User web: fix (at least part of) long threads issue.
svn path=/trunk/boinc/; revision=14816
2008-02-28 18:45:50 +00:00
David Anderson 86857a5452 - Scheduler: fix bugs in work assignment feature
svn path=/trunk/boinc/; revision=14810
2008-02-27 22:26:37 +00:00
David Anderson d77e8a093c - Bolt maps
svn path=/trunk/boinc/; revision=14778
2008-02-22 20:09:23 +00:00
David Anderson 79f6720547 - scheduler: add <max_ncpus> config option.
Use this with N=1 if your application primarily uses a coprocessor

svn path=/trunk/boinc/; revision=14772
2008-02-21 20:10:10 +00:00
David Anderson 5a5e2f41f1 - web: fix message
svn path=/trunk/boinc/; revision=14770
2008-02-21 16:51:54 +00:00
David Anderson 54519a4ee1 - Server: add "job assignment" feature.
Lets you assign a WU to a particular host,
    to one or all hosts belonging to a user or team, or to all hosts.
    See http://boinc.berkeley.edu/trac/wiki/AssignedWork
    Disabled unless you include <enable_assignment> in config.xml
    Uses a new DB table.
    Tested but only a little.
- Server: code cleanup; moved result-handling to a new file,
    and removed the PLATFORM_LIST arg to everything
    (put it in SCHEDULER_REQUEST instead)

svn path=/trunk/boinc/; revision=14767
2008-02-21 00:47:50 +00:00
David Anderson c98a8c6665 - web: typo in bbcode.php
svn path=/trunk/boinc/; revision=14762
2008-02-19 16:42:31 +00:00
David Anderson 2e4c7ee41a - web: fix in XML RPC to get pending credit
fixes #558


svn path=/trunk/boinc/; revision=14758
2008-02-18 23:48:07 +00:00
David Anderson 4ea0acb65e - web: single quotes in team name HTML didn't work
because of magic quotes (need stripslashes()).

svn path=/trunk/boinc/; revision=14754
2008-02-17 16:12:03 +00:00
Jens Seidler bca55b5e67 Localization: BOINC Manager and BOINC distribued web site language files updated: Japanese(ja), Italian(it), Dutch(nl), Polish(pl), Chinese simplified(zh_CN)
svn path=/trunk/boinc/; revision=14750
2008-02-15 17:18:43 +00:00
David Anderson 0bcaa761f0 - rename cgi.log to scheduler.log
- fix ops login

svn path=/trunk/boinc/; revision=14747
2008-02-15 15:25:44 +00:00
Jens Seidler 87804b8236 Correcting a error
svn path=/trunk/boinc/; revision=14742
2008-02-14 06:38:32 +00:00
David Anderson 8f3e114f8d - web: make "next URL" mechanism work when user creates new account
instead of logging in

svn path=/trunk/boinc/; revision=14737
2008-02-13 19:54:54 +00:00
David Anderson 02adbc4d49 - web: remove all references to the PHP "session" mechanism,
which added only confusion.
    Implement login directly, using cookies.
- All cookie setting/clearing now goes through two functions,
    send_cookie() and clear_cookie().
    These deal with path and expiry
    (e.g. if you want to have different language or forum settings
    on two projects on the same server, that now works).

svn path=/trunk/boinc/; revision=14735
2008-02-13 19:02:44 +00:00
David Anderson b543bcc3c4 svn path=/trunk/boinc/; revision=14730 2008-02-13 04:25:52 +00:00
David Anderson 35dab13859 - client code: my next-to-last checkin was flawed
svn path=/trunk/boinc/; revision=14725
2008-02-12 20:33:05 +00:00
David Anderson ee34cf3ab7 - client: removed sprawl
svn path=/trunk/boinc/; revision=14721
2008-02-12 15:04:27 +00:00
David Anderson 51286a03dc - Initial checkin of Bossa code
svn path=/trunk/boinc/; revision=14716
2008-02-11 23:38:31 +00:00
David Anderson a323eba986 - scheduler: fix bone-head mistake in HR code
svn path=/trunk/boinc/; revision=14715
2008-02-10 05:17:57 +00:00
David Anderson f77420c2c0 - scheduler: do "careful update" of workunit.hr_class
in case someone else changed since we read it.
    Hopefully this will fix a race condition
    where WU results get sent to different HR classes.
    (Alternatively we could use transactions,
    or acquire the semaphore during read/update,
    but this could impact performance).

svn path=/trunk/boinc/; revision=14710
2008-02-08 17:20:09 +00:00
David Anderson 936c729b9b - Bolt: fixed bugs in review and repeat
svn path=/trunk/boinc/; revision=14707
2008-02-07 23:21:31 +00:00
David Anderson abd1f1e752 - implemented question mechanism
svn path=/trunk/boinc/; revision=14695
2008-02-07 01:09:30 +00:00
David Anderson a1664cc070 - scheduler: simplified Carl's checkin (avoid virtual destructors)
- API: small tweak for standalone

svn path=/trunk/boinc/; revision=14679
2008-02-05 21:26:43 +00:00
David Anderson e56ed1430f - DB code: safe_atof() was returning a float,
causing a potential loss of precision.
    Change it to double (same as atof())
- When moderator locks a thread, let them specify reason

svn path=/trunk/boinc/; revision=14662
2008-02-02 17:01:57 +00:00
David Anderson b8877e887e - add weak auth to am_get_info web RPC (from Nicolas)
svn path=/trunk/boinc/; revision=14661
2008-02-02 15:38:59 +00:00
David Anderson 904cbe5a4f - Add Bolt admin page
- added "hidden" flag to courses


svn path=/trunk/boinc/; revision=14660
2008-02-01 23:11:09 +00:00
David Anderson d2a0353a00 - manager: fix unix build (new file)
svn path=/trunk/boinc/; revision=14658
2008-01-31 23:43:37 +00:00
David Anderson 4cfba489df - implement the review mechanism
svn path=/trunk/boinc/; revision=14653
2008-01-30 19:29:51 +00:00
David Anderson c715d51bff - web: add "% of CPUs to use on multiprocessors" pref
- client: enforce the above pref; remove the max_cpus pref.

svn path=/trunk/boinc/; revision=14639
2008-01-29 21:01:04 +00:00
David Anderson a463661f6b - web: add "max CPU % for graphics" project-specific preference.
Projects should copy or merge
    project.sample/project_specific_prefs.inc
- screensaver: change
        Running research for PROJECT
        Workunit: X
    to
        Computing for PROJECT
        Task: X

svn path=/trunk/boinc/; revision=14637
2008-01-29 20:04:38 +00:00
David Anderson f682236bd9 - API: fix Win build error
- API: fix Makefile.am
- add LGPL license on some files

svn path=/trunk/boinc/; revision=14629
2008-01-28 22:42:05 +00:00
David Anderson 2b7314c574 - comment out URL login stuff for now
svn path=/trunk/boinc/; revision=14627
2008-01-28 16:18:19 +00:00
David Anderson fa69876916 - web: fix bug in handling of links on "forget password?" emails
- web: show number of friends

svn path=/trunk/boinc/; revision=14626
2008-01-28 16:12:28 +00:00
David Anderson ebed572d4f - API: allow Win apps to have icon
svn path=/trunk/boinc/; revision=14625
2008-01-28 15:48:09 +00:00
Rytis Slatkevičius 6877f17dea User web: fix donations page with multiple donation targets.
svn path=/trunk/boinc/; revision=14611
2008-01-22 13:20:59 +00:00
David Anderson bf2a1df1fc - web: fixed extremely minor bug in forum search; fixes #539
svn path=/trunk/boinc/; revision=14603
2008-01-19 13:25:47 +00:00
David Anderson 1e5b72068e - make old-style graphics (though not supported) still compile
svn path=/trunk/boinc/; revision=14588
2008-01-17 18:09:30 +00:00
David Anderson cf4e42b4a3 - client: restore proper sense of --check_all_logins
(should this be set by default?)
- web: removed addslashes() when building language translation arrays.
    These caused 's to be displayed as \' everywhere.
    They may serve some purpose, but I can't think of what it is.
- web: changed max profile image dimensions from 800x600 to 640x480.
    The new profile page puts a column to the right
    of the image, so it shouldn't be quite that wide.

svn path=/trunk/boinc/; revision=14562
2008-01-15 22:22:08 +00:00
David Anderson e9c716debe - web: fixed screwed-up UOTD logic.
The meaning of the <screen_profiles> config flag is:
    If set:
        profiles must be screened by admins before their photo is shown.
        When this is done, profile.verification is set to 1
        (and they become eligible to be UOTD)
    If not set:
        profile photos are always shown.
        Profiles must be screened by admins before
        they are eligible for UOTD.
        When this is done, profile.verification is set to 1
    So default_uotd_candidates_query() is the same in either case.
- web: fix profile_screen_form.php
    (admin page for screening profiles)
- web: make a copy of login_action.php in ops/

svn path=/trunk/boinc/; revision=14561
2008-01-15 22:14:07 +00:00
Mark Somers 5fbc198fa2 Update some of the code and added some documentation...
svn path=/trunk/boinc/; revision=14554
2008-01-15 08:36:59 +00:00
David Anderson 8490214d48 - server/web: the weak auth scheme had a major flaw:
It didn't work on a host's first scheduler RPC
    (when it passes an auth but no host ID).
    How do we look up user in this case?
    The weak auth is not stored explicitly in the DB.
    Solution: include the user ID in the weak auth.
    (this invalidates existing weak auths)

svn path=/trunk/boinc/; revision=14546
2008-01-14 16:32:34 +00:00
Jens Seidler 642c12a376 Localization: BOINC distributed websites and BOINC Manager language updated: Dutch(nl), Russian(ru), Spanish(es), Chinese Simplified(zh_CN), Chinese Traditional(zh_TW),
svn path=/trunk/boinc/; revision=14545
2008-01-14 05:55:40 +00:00
David Anderson 2be6f8e53a - Client: add <run_apps_manually> config flag.
This is for debugging apps (currently works only in Unix).
    What it does: when running an app,
    the client does everything except actually fork/exec the app,
    i.e. it sets up the slot dir, creates shared mem segment etc.
    It then continues as if the app were actually running,
    and you can then manually run your app under a debugger
    in the slot directory.
    Note: the client won't notice the termination of your app.
- API, Unix: in situations where the timer thread wants to exit
    (e.g. it notices a missing heartbeat).
    don't directly call boinc_exit(),
    since this touches data structures that the worker thread
    may be using concurrently.
    Instead, set a flag telling the worker thread to call boinc_exit()
    (which it will do from its signal handler)
    This is an attempt to fix problems reported by Bernd;
    I haven't tested it.
- scheduler: add config flag for uploading usage data
- web: show account key and weak account key on user page
- added some code for multithread support (not finished)

api/
    boinc_api.C


svn path=/trunk/boinc/; revision=14542
2008-01-13 00:12:14 +00:00
David Anderson 26ef4ac7d3 - web: in host merge pages, provide "Show details" button,
which shows the reasons why pairs of hosts
    were not eligible for merging

svn path=/trunk/boinc/; revision=14539
2008-01-12 00:15:24 +00:00
David Anderson 037c0f0ff9 - web: fix bug there message link not correct in search results; fixes #539
svn path=/trunk/boinc/; revision=14537
2008-01-11 23:11:07 +00:00
David Anderson fd80e135a0 - client: don't count header in bytes_xferred for file uploads
(this causes confusing output in the Manager,
    bytes xferred greater than file size)
- API and client: make boinc_sleep() work regardless of signals
- some code cleanup in http_curl.C

svn path=/trunk/boinc/; revision=14522
2008-01-10 23:27:42 +00:00
David Anderson cf0bd5911c - tweak credit_study.php
svn path=/trunk/boinc/; revision=14516
2008-01-09 20:29:09 +00:00
David Anderson 3d5ab321d4 - Fix the credit_study.php script to 1) be correct and
2) explain its output

svn path=/trunk/boinc/; revision=14515
2008-01-09 20:12:13 +00:00
David Anderson d47c5c1e2f - API, Unix: fix bug where boinc_sleep() hangs forever.
This was because SIGALRM always interrupts sleep()
    and keeps boinc_sleep() stuck in its while loop.
    Solution: change boinc_sleep() so that it works even if
    rapid signals (e.g. interval timer) are happening
- API: remove deprecated graphics files from Makefile.
    Old-style graphics are no longer supported.
- web: add empty show_user_donations_private() to donations.inc

svn path=/trunk/boinc/; revision=14513
2008-01-09 17:32:02 +00:00
Jens Seidler 642a18d26b BOINC distributed and homepage website language files updated: Catalan(ca)
svn path=/trunk/boinc/; revision=14510
2008-01-09 06:17:32 +00:00
David Anderson 6e0b797d69 - web: add "Mark all threads as read" button to Help Desk (fixes #531)
- add "self" link to RSS notify feed
- web: if fail to send email, don't show error message
    (might reveal recipient's email addr)

svn path=/trunk/boinc/; revision=14487
2008-01-08 00:34:55 +00:00
David Anderson 1885f888fe - web: if user A is ignoring user B,
don't accept a friend request from B to A
- boinc_cmd: --help fix

svn path=/trunk/boinc/; revision=14486
2008-01-08 00:20:30 +00:00
David Anderson d642cd6815 - small web fixes; fixes #421
svn path=/trunk/boinc/; revision=14485
2008-01-07 23:33:48 +00:00
David Anderson afafb94aee - added Isle of Man to country list
svn path=/trunk/boinc/; revision=14480
2008-01-07 20:16:40 +00:00
David Anderson fef16a7498 - web: bug fixes
svn path=/trunk/boinc/; revision=14474
2008-01-06 18:09:23 +00:00
David Anderson 7651ec301e - add notify_rss.php
svn path=/trunk/boinc/; revision=14469
2008-01-04 23:24:31 +00:00
David Anderson 757c41b1fa - web: add RSS feed for notifications
- make_project: disable community-related periodic tasks
    for newly-created projects

svn path=/trunk/boinc/; revision=14468
2008-01-04 22:59:21 +00:00
David Anderson 2d40b5722d - web: fix broken link for profile like/don't like.
TODO: currently these don't do anything useful.  Fix this.

svn path=/trunk/boinc/; revision=14461
2008-01-03 17:37:38 +00:00
David Anderson 57f0bbc6e5 - make_project: prepend "./" to config.xml script names in case "." is not
in Apache's search path
- web: show UOTD text correctly
- web: memoize profile_screening() in attempt to fix out-of-memory error
    when building profile pages on S@h
- web: move gallery.inc into update_profile_pages and remove it

svn path=/trunk/boinc/; revision=14460
2008-01-03 17:24:28 +00:00
David Anderson 0a6753ad0f - web: add "Find friends" link to private friends list
- web: in user search form, give input focus to name field

svn path=/trunk/boinc/; revision=14459
2008-01-02 17:52:21 +00:00
Jens Seidler 3899174501 BOINC distributed and homepage websites and BOINC Manager language files updated: Chinese Simplified(zh_CN), Chinese Traditional(zh_TW), Spanish(es), Catalan(ca), Italian(it)
svn path=/trunk/boinc/; revision=14453
2008-01-02 06:26:21 +00:00
David Anderson b542785c1e - web: My Account page, other user account page, and profile pages
now have community info in a 2nd column on the right.
    This accomplishes two things:
    1) it puts community info in more places;
    2) it provides a reasonable way to format long lists of friends;
        they just continue down the right column.

svn path=/trunk/boinc/; revision=14452
2008-01-01 22:29:10 +00:00
David Anderson dddd1fc501 - fixed bug in upgrade
svn path=/trunk/boinc/; revision=14451
2008-01-01 18:07:13 +00:00
David Anderson 945b160992 - web tweaks
svn path=/trunk/boinc/; revision=14450
2007-12-31 22:56:39 +00:00
David Anderson 3ce776ba81 - web: bug fix in notification digest email
svn path=/trunk/boinc/; revision=14448
2007-12-30 22:30:31 +00:00
David Anderson f183b6f47f - web: add general-purpose notification mechanism.
Users can choose whether to get 1 email per notification,
    a daily "digest" email, or no email.
    (All notifications are shown on the Account page).
    Currently used for:
    - Friend requests and confirmations
    - Posts to subscribed threads
    - Private messages

    NOTE: To implement the "daily digest" feature, projects must add
    a periodic task for html/ops/notify.php to config.xml
- web: have project_footer() generate links for
    Account Page and Message Boards as well as Home
    NOTE: projects that want this change
    will have to modify their own project.inc.

svn path=/trunk/boinc/; revision=14447
2007-12-30 22:02:16 +00:00
David Anderson 40f594b07c - upgrade script: fix it, and add --web_only option (fixes #527)
- web: replace "Result" by "Task" a couple of places

svn path=/trunk/boinc/; revision=14446
2007-12-28 05:23:52 +00:00
David Anderson 55c0ee22a0 - web: default for user_links() is to not show profile pic.
Show the pic only in the context of friends list.

svn path=/trunk/boinc/; revision=14444
2007-12-27 18:37:22 +00:00
David Anderson f125e7e2de - web: don't require login for show_user.php
- web: add app selection to example project-specific prefs
    (commented out by default)
- web: in prefs, flag too-low numeric values as errors,
    rather than just setting to min value
- web: fix bug when add new venue from "columns" view

svn path=/trunk/boinc/; revision=14442
2007-12-24 21:34:21 +00:00
David Anderson bcf062975c - make_project: don't create symbolic link html/user_profiles/user_profiles.
If there was ever a need for this, it has disappeared.
    Fixes #524
- fix bug in BOINC-wide team export script

svn path=/trunk/boinc/; revision=14441
2007-12-24 17:32:54 +00:00
David Anderson f9d0d3364a - web: don't show profile pics in forums,
since we already show avatars there.

svn path=/trunk/boinc/; revision=14440
2007-12-24 17:26:00 +00:00
David Anderson ed6aecf9bb - user link tweaks
svn path=/trunk/boinc/; revision=14439
2007-12-24 03:45:20 +00:00
David Anderson 724e89ebab - web: if user has profile photo, use it instead of head_20.
svn path=/trunk/boinc/; revision=14438
2007-12-23 23:09:10 +00:00
David Anderson 11dac5e80c - make_project: add --web_only option.
This lets you create a project for Bossa or Bolt
    without compiling the C++ stuff, which is not used by Bossa or Bolt.
- DB schema: change type= to engine= to avoid MySQL warning messages

svn path=/trunk/boinc/; revision=14437
2007-12-21 23:39:25 +00:00
David Anderson f211caf8ae - user web: when creating cache dir, chmod() so that
protections are right regardless of umask.
    From Nicolas Alvarez; fixes #344

svn path=/trunk/boinc/; revision=14435
2007-12-21 21:01:13 +00:00
David Anderson 32a69ba042 - fix PHP warning in forums
svn path=/trunk/boinc/; revision=14431
2007-12-21 17:10:46 +00:00
Rytis Slatkevičius 97d08681ab -user web: update Lithuanian translation, fix typo in html/user/info.php.
svn path=/trunk/boinc/; revision=14428
2007-12-20 13:16:53 +00:00
Jens Seidler 73d7277a77 Localization: BOINC distributed and homepage websites, Spanish(es), Catalan(ca), Italian(it)
svn path=/trunk/boinc/; revision=14424
2007-12-20 06:30:41 +00:00
David Anderson dcce4d6717 - user web: bug fix in code to limit posting rate
- admin web bug fixes

svn path=/trunk/boinc/; revision=14416
2007-12-19 21:28:58 +00:00
David Anderson c3491a40d9 David Dec 19 2007
- May as well start keeping checkin notes for Bolt.
        At this point the fundamental structure of Bolt is
        more or less complete, I hope; many features are missing.

    Items for this particular checkin:

    - Make things work right when you resume a course at an
        exercise answer page.
        This creates a new View, whose prev_view_id link points
        to the exercise view, not the answer page view
    - When leave a page using "Up", terminate the view accordingly.
    - Rather than using $_GET, Form vars are now passed to exercise primitives
        in a global variable $bolt_ex_query_string, which they must parse.

svn path=/trunk/boinc/; revision=14414
2007-12-19 16:31:41 +00:00
David Anderson 2f3d70a228 Bolt: added mechanism to view old answer pages
svn path=/trunk/boinc/; revision=14396
2007-12-18 23:37:26 +00:00
David Anderson 2cd5dba886 Bolt stuff
svn path=/trunk/boinc/; revision=14395
2007-12-18 21:48:36 +00:00
David Anderson 13baee4302 - user web: add "friend" and "notification" features
- user web: code cleanup in Profile area
- GUI RPC: add missing "/" in auth2 RPC

svn path=/trunk/boinc/; revision=14394
2007-12-18 20:28:08 +00:00
David Anderson bed9ce8307 minor code cleanup
svn path=/trunk/boinc/; revision=14375
2007-12-12 04:52:30 +00:00
David Anderson 69042c3284 - bolt stuff
svn path=/trunk/boinc/; revision=14374
2007-12-12 04:43:04 +00:00
David Anderson 820eb30596 - compile fixes
svn path=/trunk/boinc/; revision=14373
2007-12-10 22:13:48 +00:00
David Anderson 4e9fa4f0c6 - tweaked weak-auth page (from Nicolas Alvarez)
svn path=/trunk/boinc/; revision=14372
2007-12-09 04:13:24 +00:00
David Anderson 3f41f9a88d - Add weak account key mechanism.
Each account has an associated weak account key.
    The user can see it by visiting weak_auth.php.
    If you put the weak account key in the account file on a computer
    (instead of the regular account key)
    the computer will attach to the account.
    But the weak account key cannot be used to log in
    to the account on the web, or to do web RPCs, or anything else.

    Note: this involves a scheduler change.

svn path=/trunk/boinc/; revision=14367
2007-12-07 23:23:25 +00:00
David Anderson b082f8686f svn path=/trunk/boinc/; revision=14361 2007-12-05 19:13:21 +00:00
David Anderson c962ad507d - web: edit team page was rejecting valid HTML team names
svn path=/trunk/boinc/; revision=14354
2007-12-04 23:19:39 +00:00
David Anderson cea8e84c7b - ops: in team import script, send email to team founder
when creating team
- web: if user changes email addr, clear email_validated

svn path=/trunk/boinc/; revision=14353
2007-12-04 22:16:37 +00:00
Jens Seidler de60bc19aa Localization: BOINC distributed websites, Spanish(es), Italian(it)
svn path=/trunk/boinc/; revision=14347
2007-12-03 05:40:19 +00:00
David Anderson 6587298725 - client: hopefully fix keyboard input detection on Linux
(may fix #463)

svn path=/trunk/boinc/; revision=14346
2007-12-03 02:27:30 +00:00
David Anderson aaa6e6659d - web: if user is banished, don't show their posts except to mods,
don't show their name in thread headers,
    and don't show their profile

svn path=/trunk/boinc/; revision=14344
2007-12-02 21:11:17 +00:00
David Anderson fa601671b6 - web: show explanation if try to change team name to one in use
- web: don't allow bad tags in team name HTML

svn path=/trunk/boinc/; revision=14339
2007-12-01 22:43:11 +00:00
David Anderson 966a64523e - web: put "mark all threads as unread" on the forum index,
since it applies to all forums.

svn path=/trunk/boinc/; revision=14338
2007-12-01 01:22:14 +00:00
David Anderson 2a2ba6e19d - web: escape single-quotes in javascript strings
svn path=/trunk/boinc/; revision=14337
2007-12-01 00:52:26 +00:00
David Anderson 4b44a3935e svn path=/trunk/boinc/; revision=14330 2007-11-30 04:28:36 +00:00
David Anderson 7e15cca7a2 - web: include thread title in mod email subject
svn path=/trunk/boinc/; revision=14329
2007-11-30 04:26:55 +00:00