Commit Graph

11147 Commits

Author SHA1 Message Date
Rom Walton ae321f631b - CC: Treat the return code 0xC0000142 as though it is a temporary
error. 0xC0000142 means STATUS_DLL_INIT_FAILED which can happen
        when an application attempts to create a new process while the OS
        is shutting down, and when the desktop heap is fully utilized.
        
        This will keep an app from erroring out during Vista's shutdown
        sequence. Only a reboot can fix the desktop heap.
        
    client/
        app.h
        app_control.C

svn path=/trunk/boinc/; revision=14080
2007-11-05 15:03:16 +00:00
Rytis Slatkevičius 6fd7ba0532 - user web: style server status page with CSS, some cleanup of the stylesheet (fix #457).
svn path=/trunk/boinc/; revision=14078
2007-11-03 16:39:23 +00:00
David Anderson 87c0f98b10 - user web: a private message is considered "read" the
first time it's shown.
        No explicit "mark as read" action needed.
        Also, no confirmation for message delete.

svn path=/trunk/boinc/; revision=14077
2007-11-03 04:26:47 +00:00
David Anderson 84a2a077e0 - user web: add the ability to check/uncheck all PMs; clean up PM code
svn path=/trunk/boinc/; revision=14024
2007-11-02 20:51:39 +00:00
David Anderson 4c8b387791 - user web: change more links to buttons; fix PHP warning
svn path=/trunk/boinc/; revision=14023
2007-11-02 18:48:48 +00:00
Rom Walton eb00da367a - CC: Remove the event handler for CTRL-C, or rather change it
so that it means the same thing as it does to other apps, just
        quit the CC instead of suspending or resuming the CC.
        
    client/
        main.C

svn path=/trunk/boinc/; revision=14022
2007-11-02 17:37:35 +00:00
David Anderson 017c3a45f8 - user web: <form> outside of <td> screwed up Opera
svn path=/trunk/boinc/; revision=14021
2007-11-02 15:57:19 +00:00
Rytis Slatkevičius c1fb4934ec - user web: convert translations from tokens to strings; update Lithuanian translation.
- ops pages: add user removal feature (for spammers).

svn path=/trunk/boinc/; revision=14020
2007-11-02 14:43:02 +00:00
David Anderson f46a06305d - user web:
- changed Private Messages interface so that you see
        all your messages on one page,
        and remove various redundant links
        (like the Inbox link on the Inbox page)
    - changed links to buttons for moderator functions

svn path=/trunk/boinc/; revision=14019
2007-11-01 23:04:39 +00:00
David Anderson 02a6928335 - see last commit
svn path=/trunk/boinc/; revision=14018
2007-11-01 20:41:24 +00:00
David Anderson d6a39cfac0 - user web:
- use show_image() to show images in forums;
        this adds a title=X so that users get
        an explanation of what the action is.
    - turns out the <a><input type=button></a>
        works on Firefox but not IE.
        Fix this by adding OnClick to the <input>

svn path=/trunk/boinc/; revision=14017
2007-11-01 20:40:50 +00:00
David Anderson 15238b5747 - user web:
- replace some links with buttons in forum pages; add hover text.
    - show "mark all threads as read" only in forum page
    - fix bugs in team creation

svn path=/trunk/boinc/; revision=14016
2007-11-01 17:54:44 +00:00
David Anderson 94f9b46fc9 - user web: make buttons look better;
add a function show_button() to display links as buttons
    with hover-based explanation.
    This should be used whenever clicking on something
    performs an action, rather than just going to a new page
    (sometimes the boundary is fuzzy)
- user web: fixed bug when send private message by user name
    

svn path=/trunk/boinc/; revision=14015
2007-10-31 23:50:21 +00:00
Rom Walton 351bb050d1 Quick Updates
svn path=/trunk/boinc/; revision=14014
2007-10-31 23:22:51 +00:00
David Anderson a3a162d43d - client: fix bug where account settings (e.g. don't get new work)
weren't being updated from account managers.
    This was because BAM! wasn't returning the <authenticator>
    in accounts already described in the request message.
    (This violates the protocol, but it's reasonable so what the heck).
    The client was ignoring all <account> records without an authenticator.
    Solution: allow <account> records without an authenticator.
- Manager: fix crash after the Manager kills a graphics app
    for a no-longer-running result.
    Changed loop logic to go forwards instead of backwards.

svn path=/trunk/boinc/; revision=14013
2007-10-31 23:22:24 +00:00
David Anderson dbedc0cd72 - API: compile fix for systems without strlcat()
svn path=/trunk/boinc/; revision=14012
2007-10-31 20:52:25 +00:00
David Anderson 24869ae8d4 - user web: bug fix in forum banish
- user web: add link to boinc-team-founders Google group
    in founder management page


svn path=/trunk/boinc/; revision=14011
2007-10-31 19:26:02 +00:00
Rom Walton 26de8d2748 Quick Updates
svn path=/trunk/boinc/; revision=14010
2007-10-31 14:44:31 +00:00
Rom Walton 41e7f49779 Quick Updates
svn path=/trunk/boinc/; revision=14009
2007-10-31 14:42:39 +00:00
Charlie Fenton 8ea23892b5 Mac: Fix bugs when running under OS 10.5
svn path=/trunk/boinc/; revision=14008
2007-10-31 12:38:32 +00:00
Charlie Fenton c016871184 Release Mac BOINC 5.10.28
svn path=/trunk/boinc/; revision=14005
2007-10-31 12:20:04 +00:00
Charlie Fenton 526e9ce0dd Mac: Fix bugs when running under OS 10.5
svn path=/trunk/boinc/; revision=14002
2007-10-31 10:40:19 +00:00
David Anderson 5360a8cfb1 - user web: bug fix in home.php
svn path=/trunk/boinc/; revision=14001
2007-10-31 03:40:15 +00:00
David Anderson cef83b5538 - user web: eliminate some PHP warnings, and code cleanup
svn path=/trunk/boinc/; revision=14000
2007-10-30 23:34:26 +00:00
David Anderson d43c0e1786 - API: when creating message strings for CPU time etc.,
use strlcat() instead of strcat().
    Einstein@home has seen some SEGVs in this function.
    I suspect that it's getting 1e304-type values
    (why? possible bugs in getrusage-related code, still)
    and that these cause long strings that overflow the message buffer.

svn path=/trunk/boinc/; revision=13999
2007-10-30 23:03:21 +00:00
David Anderson 26138742c6 - Initial checkin for Bolt
svn path=/trunk/boinc/; revision=13998
2007-10-30 22:31:13 +00:00
Rytis Slatkevičius 105d6aaae3 HTML fixes;
PHP notice fixes;
home.php made translatable, include Lithuanian translation.

svn path=/trunk/boinc/; revision=13997
2007-10-30 19:36:27 +00:00
David Anderson 82b2b0f68f - user web: fix some PHP warnings
- user web: more DB code conversion

svn path=/trunk/boinc/; revision=13996
2007-10-30 18:16:29 +00:00
Rytis Slatkevičius 575673298f Do not display PHP notices and warnings on production code anymore
svn path=/trunk/boinc/; revision=13995
2007-10-30 17:54:29 +00:00
Rom Walton 2697e32399 Quick Updates
svn path=/trunk/boinc/; revision=13994
2007-10-30 15:02:53 +00:00
Jens Seidler 73d009b7b7 Localization: BOINC distributed websites and BOINC Manager language updated: Chinese Simplified(zh_CN), Spanish(es)
svn path=/trunk/boinc/; revision=13993
2007-10-29 21:34:49 +00:00
Rom Walton 3ea5c7651c Quick Updates
svn path=/trunk/boinc/; revision=13989
2007-10-29 19:35:48 +00:00
David Anderson e1ca1c5aee - User web: more DB framework changes;
extended DB framework to allow use of a read-only replica

svn path=/trunk/boinc/; revision=13985
2007-10-29 16:38:25 +00:00
Frank Thomas 5590154573 MGR: Fixed broken URLs in the Help menu. The URLs are only broken if the
Manager was built with the wxWidgets unicode variant.
        

svn path=/trunk/boinc/; revision=13984
2007-10-29 12:41:16 +00:00
Rytis Slatkevičius 59d5f0df58 Ops pages: add a page to list recently registered users
svn path=/trunk/boinc/; revision=13983
2007-10-29 11:30:47 +00:00
David Anderson ee1621c566 - user web: more of the above.
Also, try to make it PHP 4 compatible

svn path=/trunk/boinc/; revision=13982
2007-10-29 04:02:41 +00:00
David Anderson dc4ca1e5cd - user web: changes to use new DB framework and eliminate PHP warnings
svn path=/trunk/boinc/; revision=13981
2007-10-28 15:03:14 +00:00
Rytis Slatkevičius 4635e8f6ca Fix broken profile edit feature
svn path=/trunk/boinc/; revision=13980
2007-10-28 13:42:54 +00:00
Rytis Slatkevičius 8a3b39fe41 Fix broken thread list
svn path=/trunk/boinc/; revision=13979
2007-10-28 13:34:13 +00:00
David Anderson 10774ac03e svn path=/trunk/boinc/; revision=13978 2007-10-27 20:44:19 +00:00
David Anderson ee4e3fba01 - user web: Add BoincDb::escape_string(),
and have boinc_real_escape_string 
    call it rather than mysql_real_escape_string(),
    to ensure that a DB connection exists
    (you need one to call mysql_real_escape_string()).
- some additional conversion to BoincDb-based classes

svn path=/trunk/boinc/; revision=13977
2007-10-27 20:38:12 +00:00
David Anderson 334bb2a9b7 - show "merge by name" only to owner
svn path=/trunk/boinc/; revision=13976
2007-10-27 20:05:32 +00:00
Charlie Fenton 4aeee97d39 Mac: build curl script: use gcc-4.0 to build curl, add optional -gcc33 arg to build with gcc-3.3
svn path=/trunk/boinc/; revision=13975
2007-10-27 11:19:12 +00:00
Charlie Fenton c1646efac3 Fix XCode project when using debug build of wxMac-2.6.3
svn path=/trunk/boinc/; revision=13974
2007-10-27 11:17:51 +00:00
Charlie Fenton e21c238a6f Mac: Use gcc-4.0 to build wxMac and curl; Fix bugs in scripts for building wxMac-2.6.3; fix XCode project when using debug build of wxMac-2.6.3
svn path=/trunk/boinc/; revision=13973
2007-10-27 11:17:31 +00:00
Charlie Fenton d52ab508d5 Mac: Fix bugs in scripts for building wxMac-2.6.3 and use gcc-4.0; fix XCode project when using debug build of wxMac-2.6.3
svn path=/trunk/boinc/; revision=13972
2007-10-27 11:16:38 +00:00
David Anderson 1ff8594698 - user web: fixed a few hex colors without #
svn path=/trunk/boinc/; revision=13969
2007-10-26 22:07:39 +00:00
David Anderson 7302f02544 - user web: added new framework for DB access from PHP.
Here's how things should eventually be:
    - inc/db_conn.inc defines DbConn, a PHP class representing
        a connection to a database with
        various generic operations (update, insert etc.).
        DbConn prepends the DB name to table names,
        so you don't have to select a DB;
        this means you can access multiple databases
        (e.g. BOINC and Bossa) and use persistent connections.
        ALL MYSQL-SPECIFIC CODE WILL EVENTUALLY BE HERE.
    - inc/boinc_db.inc defines classes BoincUser, BoincTeam etc.,
        representing the various BOINC DB tables.
        All access to the DB should use these classes.

    When you use this framework, no initialization calls are needed.
    db.inc is deprecated and should eventually be removed.

    I changed get_logged_in_user()
    and all team-related code to use this framework.
- user web: show team founder link to "management functions"
    even if they're not currently a member;
    allow team founder to perform all operations even if not a member.
- turned on E_ALL error checking,
    and fixed a bunch of warnings
    and a couple of bugs ($team, not team)

- database: update schema/constraints for team fulltext search
- user web: forgot to change Serbia and Montenegro to Serbia

svn path=/trunk/boinc/; revision=13968
2007-10-26 21:14:35 +00:00
David Anderson c6c066bde1 - Bossa: refactor DB code, creating a new PHP class DbConn
representing a connection to a database.
    This is independent of Bossa,
    and we should rewrite the BOINC PHP code based on this.

svn path=/trunk/boinc/; revision=13967
2007-10-26 17:04:46 +00:00
Charlie Fenton d0032ae0d8 Mac: Update XCode project build rules: DWARF symbols, use gcc 4 compiler more, Client, Manager, installer require OS 10.3.9.
svn path=/trunk/boinc/; revision=13966
2007-10-26 10:01:28 +00:00