Commit Graph

2132 Commits

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