Commit Graph

12016 Commits

Author SHA1 Message Date
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 234234569b - Improvements to single-job submission:
1) the assimilator creates a job_summary_WUID file saying
        - what host did the job
        - error status if any
        - info about missing output files
    2) all output files are now optional.
    3) the assimilator deletes temp files (templates, job dir file)

svn path=/trunk/boinc/; revision=15551
2008-07-04 19:41:58 +00:00
David Anderson a5a7332b6e svn path=/trunk/boinc/; revision=15549 2008-07-03 20:17:51 +00:00
David Anderson aaaa00ee44 - API: read heartbeat messages only if options.check_heartbest is set.
Otherwise, in compound apps we'll have both monitor and worker
    reading the messages; this is a race condition
    and will lead to spurious "no heartbeat" exits.

svn path=/trunk/boinc/; revision=15548
2008-07-03 19:40:49 +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
Rom Walton 288c0df997 - WINSETUP: Change the custom action descriptions for those custom
actions that deal with user rights and privileges and user
        accounts.
    - WINSETUP: Add some basic benchmarking code for user rights and
        privileges

    win_build/installerv2/redist/Windows/src/boinccas/
        CACreateBOINCAccounts.cpp
        CACreateBOINCGroups.cpp
        CAGrantBOINCAdminsRights.cpp
        CAGrantBOINCMasterRights.cpp
        CAGrantBOINCProjectRights.cpp
        CAGrantBOINCProjectsRights.cpp
        CAGrantBOINCUsersRights.cpp
        CAMigrateBOINCData.cpp

svn path=/trunk/boinc/; revision=15546
2008-07-03 18:37:20 +00:00
David Anderson 9299d34c20 svn path=/trunk/boinc/; revision=15545 2008-07-03 18:08:28 +00:00
David Anderson c478b9f9e0 - client and server: the client includes global_prefs.xml
in scheduler request messages, without checking its contents.
    One user had apparently edited global_prefs.xml with an XML editor;
    it had an <?xml tag at the start,
    and had been collapsed into a single line with no newlines,
    and no newline at the end.
    This caused all scheduler requests from that client to get
    "Incomplete request" responses.

    The long-term fix is for the client to verify global_prefs.xml,
    and for the scheduler to parse it with XML_PARSER.
    As a short-term fix, I made these changes:
    - If the scheduler reads a line that's too long, it ignores it.
    - The scheduler ignores <?xml

svn path=/trunk/boinc/; revision=15543
2008-07-02 23:19:44 +00:00
David Anderson 540513fc7e - typo in make_project
svn path=/trunk/boinc/; revision=15542
2008-07-02 21:59:40 +00:00
David Anderson 16b1305db7 - server code: at some point I made a global var "SCHED_CONFIG config",
mostly so that the parse function could assume
    that everything was initially zero.
    However, various back-end functions pass around SCHED_CONFIG&
    as an argument (also named "config").
    This creates a shadow, which is always bad.
    Worse is the possibility that some projects have back-end programs
    that have a SCHED_CONFIG variable that's automatic,
    and therefore isn't zero initially,
    and therefore isn't parsing correctly.

    To fix this, I changed the 2 vectors in SCHED_CONFIG into pointers,
    and have the parse routine zero the structure.
    I was tempted to remove the SCHED_CONFIG& args to back-end functions,
    but this would have broken some projects' code.
    I did, however, change the name from config to config_loc
    to avoid shadowing.

    Also fixed various other compiler warnings.

svn path=/trunk/boinc/; revision=15541
2008-07-02 17:24:53 +00:00
Charlie Fenton 0d105ea386 clean up checkin_notes
svn path=/trunk/boinc/; revision=15540
2008-07-02 11:48:01 +00:00
Charlie Fenton 84bb864d83 MGR: New tasks and projects properties displays from Frank Weiler
svn path=/trunk/boinc/; revision=15539
2008-07-02 10:57:27 +00:00
Charlie Fenton a01a3f4568 MGR: New tasks and projects properties displays from Frank Weiler
svn path=/trunk/boinc/; revision=15538
2008-07-02 10:03:15 +00:00
Charlie Fenton 2950cc0ece MGR: New tasks and projects properties displays from Frank Weiler
svn path=/trunk/boinc/; revision=15537
2008-07-02 10:03:01 +00:00
David Anderson 72639010cd - create_work: couldn't connect to database because it had
an automatic var SCHED_CONFIG (hence nonzero)
- make_project: include xadd in list of instructions
- boinc_submit: fix bugs in --stdin

svn path=/trunk/boinc/; revision=15536
2008-07-01 23:40:46 +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
Eric J. Korpela 6e802a386d svn path=/trunk/boinc/; revision=15531 2008-07-01 21:30:27 +00:00
Eric J. Korpela 0124e04750 Fixes ticket #537. Forces use of small files in zlib.h and when /proc
filesystem is used on solaris.

svn path=/trunk/boinc/; revision=15530
2008-07-01 21:27:25 +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
Charlie Fenton 624e41f0f6 MGR: Fix build break on Linux
svn path=/trunk/boinc/; revision=15525
2008-07-01 10:35:59 +00:00
Charlie Fenton 6fcff6f484 Fix checkin_notes
svn path=/trunk/boinc/; revision=15523
2008-07-01 04:15:13 +00:00
Charlie Fenton b57ee0a305 MGR: If minimized, display Connection Failed dialog when again maximized
svn path=/trunk/boinc/; revision=15522
2008-07-01 04:12:21 +00:00
Charlie Fenton 988cf1390b Fix typo in checkin_notes
svn path=/trunk/boinc/; revision=15521
2008-07-01 03:47:48 +00:00
Charlie Fenton ce02bedc57 MGR: If minimized: don't display alerts on Mac, display Connection Failed dialog when again maximized
svn path=/trunk/boinc/; revision=15520
2008-07-01 03:46:59 +00:00
Charlie Fenton 48394ceda4 MGR: Reset messages whenver connecting or reconnecting to client
svn path=/trunk/boinc/; revision=15518
2008-07-01 02:23:34 +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
Charlie Fenton 69bca8a999 Release Mac BOINC 6.2.11
svn path=/trunk/boinc/; revision=15512
2008-06-29 06:10:49 +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
Rom Walton 1e360b4185 Quick Updates
svn path=/trunk/boinc/; revision=15508
2008-06-27 17:01:57 +00:00
Charlie Fenton 98c7b27d02 Edited Checkin Notes
svn path=/trunk/boinc/; revision=15507
2008-06-27 11:01:18 +00:00
Charlie Fenton 912b3051bc MGR: Add all Grid View features to Accessible View
svn path=/trunk/boinc/; revision=15506
2008-06-27 10:51:57 +00:00
Charlie Fenton 58a2a7dcb1 checkin notes
svn path=/workspaces/wxListCtrl/; revision=15505
2008-06-27 10:07:38 +00:00
Charlie Fenton ad724c3f50 MGR List View: fix deselect detection, add all features to Transfers tab, fix bugs, clean up code
svn path=/workspaces/wxListCtrl/; revision=15504
2008-06-27 10:05:47 +00:00
Charlie Fenton 899a4c2c9b Compile fix
svn path=/workspaces/wxListCtrl/; revision=15503
2008-06-27 04:38:31 +00:00
Charlie Fenton 51842fb4d6 Work around wxListCtrl item deselection bug
svn path=/workspaces/wxListCtrl/; revision=15502
2008-06-27 04:34:47 +00:00
David Anderson 37f0d8b6ef svn path=/trunk/boinc/; revision=15501 2008-06-26 23:24:43 +00:00
Rom Walton 4e803d5e24 Quick Updates
svn path=/trunk/boinc/; revision=15500
2008-06-26 23:10:14 +00:00
David Anderson 848a8041aa - back-end code: fix compiler warnings (and maybe bugs);
to some retentive code cleanup


svn path=/trunk/boinc/; revision=15497
2008-06-26 21:20:07 +00:00
David Anderson 1bd7742c4a - more gcc fixes
svn path=/trunk/boinc/; revision=15496
2008-06-26 20:53:51 +00:00
Rom Walton 4b856ae450 Quick Updates
svn path=/trunk/boinc/; revision=15495
2008-06-26 20:44:20 +00:00
Rom Walton 1e9b57fe85 - Include missing include file on Linux.
lib/
        diagnostics.C

svn path=/trunk/boinc/; revision=15494
2008-06-26 20:37:48 +00:00
David Anderson fced9b663d - fix gcc warnings
svn path=/trunk/boinc/; revision=15493
2008-06-26 19:27:23 +00:00