Commit Graph

5550 Commits

Author SHA1 Message Date
Charlie Fenton aa2629a8e0 Mac Client: revert to using older API NXIdleTime() to get user idle time
svn path=/trunk/boinc/; revision=14456
2008-01-02 11:15:20 +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 7e44643172 - Partly fix keyboard detection on Linux.
With this change, we detect opening a terminal
    or typing into a terminal;
    we don't detect typing into other applications.
    (from Frank Thomas).  Partly fixes #463

svn path=/trunk/boinc/; revision=14449
2007-12-30 22:45:21 +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 9b2998009f - client: add --start_delay cmdline option and <start_delay> config option.
Specifies an amount of time to delay starting apps
    (e.g. so that BOINC doesn't slow down boot process)

    Note: mechanisms that start BOINC at boot time
    need to figure out how to set this flag.

svn path=/trunk/boinc/; revision=14445
2007-12-27 21:40:20 +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 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 1069770a7f - compile fixes for gcc 4.3 (from Frank Thomas)
Fixes #514

svn path=/trunk/boinc/; revision=14436
2007-12-21 21:09:40 +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 9248b47032 - API: check for messages from client 10X a second;
this will allow smoother CPU throttling
- delete_file: bug fixes (from Nicolas Alvarez).  Fixes #78

svn path=/trunk/boinc/; revision=14434
2007-12-21 20:57:48 +00:00
David Anderson b42c68e5dd - API: switch back to structure where the worker thread
calls getrusage() in a signal handler to find its CPU time.
    Apparently there are some kernels and/or thread libraries
    where getrusage() does NOT return the total CPU time of
    all threads in the process,
    so in these cases calling it from the timer thread doesn't work.
    
    This was originally changed because of concerns that
    calling getrusage() in a signal handler was dangerous;
    we'll see if any problems re-emerge.

    The alternative of reading /proc/PID/stats doesn't seem viable;
    format may not be standardized.

svn path=/trunk/boinc/; revision=14433
2007-12-21 19:23:22 +00:00
David Anderson 32a69ba042 - fix PHP warning in forums
svn path=/trunk/boinc/; revision=14431
2007-12-21 17:10:46 +00:00
David Anderson 481d5dd45b - compile fixes (remove comma after last element of enum)
svn path=/trunk/boinc/; revision=14430
2007-12-21 16:27:38 +00:00
Charlie Fenton a340b07474 Mac: Use generic wxListCtrl to fix bug in wx2.8.7 RefreshItem(); use localtime_r and fmtime_r in wxWidgets and eliminate compiler warnings
svn path=/trunk/boinc/; revision=14422
2007-12-20 02:06:44 +00:00
Charlie Fenton 480d73aec8 Mac: make build scripts more robust.
svn path=/trunk/boinc/; revision=14418
2007-12-20 00:19:59 +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 c4d1022ed8 - client: changes to make the client work on "Debian GNU/kFreeBSD",
a hybrid system that acts like Linux at the user
    level but has a FreeBSD kernel.
    Fixes #521

svn path=/trunk/boinc/; revision=14415
2007-12-19 19:29:54 +00:00
Charlie Fenton a2269c9c13 Mac: Fix curl library build problem when building under OS 10.5 and XCode 3.0, fix drawing menubar icon with newer versions of wxwidgets
svn path=/trunk/boinc/; revision=14413
2007-12-19 12:48:23 +00:00
Charlie Fenton d2b5c1ca08 Mac MGR: Fix code drawing menubar icon with newer versions of wxwidgets
svn path=/trunk/boinc/; revision=14410
2007-12-19 11:38:05 +00:00
Charlie Fenton 65e707e70d MGR: Work around long-standing cosmetic bug in SimpleGUI with newer versions of wxwidgets.
svn path=/trunk/boinc/; revision=14401
2007-12-19 00:31:05 +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
Rom Walton 963c26d0d1 - WINSETUP: Attempt to shutdown any BOINC processes much earlier
in the execution cycle. Originally did this in the 5.10 branch.
    - WINSETUP: Add some more checks to safe guard the migration process.
        1.  Check to see if the install directory and the data directory are
            the same, if so, abort migration.
        2.  Check to see if the data directory is under the install directory,
            if so, abort migration.
        3.  If the client_state.xml file already exists in the data directory,
            abort migration.

    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        CAMigrateBOINCData.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=14393
2007-12-17 18:05:02 +00:00
Charlie Fenton 71c2a34dc0 Mac MGR: Fix serious memory leak under OS 10.5 by upgrading to wxMac 2.8.7.
svn path=/trunk/boinc/; revision=14388
2007-12-17 13:20:03 +00:00
Rom Walton 36c78898bd - Tag for 6.1.5 release, all platforms
boinc_core_release_6_1_5
    
    client/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=14385
2007-12-14 19:01:14 +00:00
Rom Walton ca959f9849 - SCR: Reimplement the screensaver rpc test for v6 so that the
screensaver can trip the firewall while the user is at the
        terminal.
        
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=14384
2007-12-14 18:26:24 +00:00
Charlie Fenton e681bfe362 MGR: Fix bug determining whether Client is already running
svn path=/trunk/boinc/; revision=14383
2007-12-14 08:28:32 +00:00
Rom Walton 923ab443c0 - MGR: Remove extra call to SetWorkingDirectory() since it
is causing authentication errors.

    clientgui/
        BOINCGUIApp.cpp
        MainDocument.cpp

svn path=/trunk/boinc/; revision=14381
2007-12-12 19:33:30 +00:00
Rom Walton 5e0ffd6e13 - WINSETUP: Replace two stage migration with a single stage
defered custom action, implement rollback functionality,
        and increase trace output in case of failure.
    - WINSETUP: Let MSI start the BOINC Service now.

    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        CAMigrateBOINCData.cpp, .h
        CAMigrateBOINCDataTemp.cpp, .h (deleted)
        CAStartupBOINCService.cpp, .h (deleted)
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=14377
2007-12-12 15:34:34 +00:00
David Anderson bed9ce8307 minor code cleanup
svn path=/trunk/boinc/; revision=14375
2007-12-12 04:52:30 +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
Charlie Fenton 24a066d323 Mac: Fix visibility linker warnings when linking BOINC libraries; fix jpeg library build problem under XCode 3.0
svn path=/trunk/boinc/; revision=14370
2007-12-07 23:51:59 +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
Rom Walton a3f2b40d08 - WIN: Update project files to account for new directory structure.
win_buld/
        <Many Files>

svn path=/trunk/boinc/; revision=14360
2007-12-05 19:03:47 +00:00
Rom Walton f10786c135 - client: Update client libraries and add debug libraries.
zlib 1.2.3
        OpenSSL 0.9.8g
        LibCurl 7.17.1
        
    curl/
        <Many Files>
    openssl/
        <Many Files>
    zlib/
        <Many Files>

svn path=/trunk/boinc/; revision=14359
2007-12-05 17:56:34 +00:00
Charlie Fenton e6129d20fd Mac: Fix compiler warnings.
svn path=/trunk/boinc/; revision=14356
2007-12-05 01:01:31 +00:00
David Anderson eaeacc8404 - client: CPU sched bug fixes when project has huge DCF.
Also prevent switching between two jobs with same deadline.

svn path=/trunk/boinc/; revision=14355
2007-12-04 23:48:08 +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
Charlie Fenton 7b13fbbc65 Mac: Update build scripts and documentation for x86_64 support.
svn path=/trunk/boinc/; revision=14350
2007-12-04 13:42:02 +00:00
Rom Walton 90d3583400 - client: Use a buffer scoped to the HTTP_OP object instead of
a std::string scoped to the stack when passing the CABundle
        location to libcurl.
        
    client/
        http_curl.C, .h

svn path=/trunk/boinc/; revision=14349
2007-12-03 17:52:00 +00:00
David Anderson f7c8bc5280 - client: fix bug that would falsely report DLL init errors
- client: don't crash when detach a project using anonymous platform
        (fixes #511)

svn path=/trunk/boinc/; revision=14348
2007-12-03 17:46:07 +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