Commit Graph

10966 Commits

Author SHA1 Message Date
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
Charlie Fenton 4394245d16 Fix GridRepublic branding bug.
svn path=/trunk/boinc/; revision=13965
2007-10-26 10:00:00 +00:00
David Anderson 89c9b4f112 - user web: added optional <users_per_page>, <teams_per_page> and
<hosts_per_page> elements to config.xml;
    determine the number of entries to show per page
    in top user/team/host lists

svn path=/trunk/boinc/; revision=13964
2007-10-26 03:57:07 +00:00
David Anderson 156aa07711 svn path=/trunk/boinc/; revision=13963 2007-10-25 21:36:05 +00:00
David Anderson 27a7659f36 - Bossa: changed the DB infrastructure to let Bossa tables
live in a different database (and/or server) than the BOINC tables.
    Also eliminated the need to call a DB init function.
    This involved:
    1) adding <bossa_db_host> etc. entries to config.xml
    2) prefixing DB name to table name in all Bossa queries
        (this is needed if Bossa DB is on same server as BOINC DB,
        since we're using persistent connections)
- user web: added Montenegro, and changed Serbia and Montenegro to Serbia
    (requires DB update to make latter change in existing records)


svn path=/trunk/boinc/; revision=13962
2007-10-25 21:34:13 +00:00
Rytis Slatkevičius b82c9454ed User web: add reCAPTCHA to profile creation/modification page.
svn path=/trunk/boinc/; revision=13961
2007-10-25 10:43:16 +00:00
Charlie Fenton 0f315c90ef Mac: XCode cleanup, changes for 64-bit support
svn path=/trunk/boinc/; revision=13960
2007-10-25 09:36:01 +00:00
Charlie Fenton 68d58eb3e8 Mac: Fix compiler warnings, XCode cleanup, changes for 64-bit support
svn path=/trunk/boinc/; revision=13959
2007-10-25 09:35:47 +00:00
Charlie Fenton 06012437a6 Mac: Fix compiler warnings
svn path=/trunk/boinc/; revision=13958
2007-10-25 09:34:16 +00:00
Charlie Fenton 8da306d4d8 Release BOINC Mac 5.10.27
svn path=/trunk/boinc/; revision=13957
2007-10-24 23:56:11 +00:00
Rom Walton 23609b858b - DIAG: Remove references to diagnostics_set_thread_name().
api/
        boinc_api.C
        windows_opengl.C
    lib/
        diagnostics.h
        diagnostics_win.C

svn path=/trunk/boinc/; revision=13956
2007-10-24 23:49:52 +00:00
David Anderson 7c20a8c5cf - client: add <max_stdout_file_size> and <max_stderr_file_size>
cc_config.xml options to change log file size limit
    from the default of 2 MB

svn path=/trunk/boinc/; revision=13955
2007-10-24 22:48:47 +00:00
Rom Walton 930c8ad9c7 Quick Updates
svn path=/trunk/boinc/; revision=13952
2007-10-24 20:54:11 +00:00
Eric J. Korpela fea4674524 Fix sql bug in vote_monitor
svn path=/trunk/boinc/; revision=13949
2007-10-24 20:14:20 +00:00
David Anderson 625b129abc - client: fixed bug that broke idle detection on Unix.
The problem: the various checks were surrounded by things like
    #ifdef HAVE__DEV_MOUSE
    If the host on which the client is built doesn't have a mouse
    (as is the case with our build machine)
    then the resulting executable doesn't check /dev/mouse,
    even if it exists on the target host.
- removed configure checks for /dev/mouse, /dev/kbd, and /dev/tty1

svn path=/trunk/boinc/; revision=13947
2007-10-24 18:58:23 +00:00
David Anderson d4cd3ac853 - user web: change "host" to "computer" in a few places
svn path=/trunk/boinc/; revision=13946
2007-10-24 17:59:08 +00:00
David Anderson 05542a460f - user web: enable the "merge computers by name" feature.
I added this on 30 May 07 but accidentally left
    "if ($userid==0)" around it.

svn path=/trunk/boinc/; revision=13945
2007-10-24 17:35:28 +00:00
Frank Thomas a122425261 MGR: Check on account creation if wxGetUserName() returned an empty string and
if it did assign the output of wxGetUserId() to ai->user_name instead.
(fixes #440)


svn path=/trunk/boinc/; revision=13940
2007-10-24 07:53:29 +00:00
Charlie Fenton c9718fb0b9 Mac client: Add 64-bit support for OS 10.5 (new platform x86_64-apple-darwin)
svn path=/trunk/boinc/; revision=13939
2007-10-24 00:44:42 +00:00
David Anderson 618a5c1651 - assimilator: there was a bug in the situation where:
1) a WU is marked as ready for assimilation and has no errors;
    2) it has no canonical result
    In this case, the assimilate handler gets called anyway,
    typically with the canonical result of the previous WU as arg.
    Note: this situation doesn't arise normally;
    it might happen if some results are deleted accidentally.
    The fix: 
    - identify this situation, and set the WU.error_mask to a new code
        (WU_ERROR_NO_CANONICAL_RESULT)
    - zero out the "canonical_result" variable passed to the handler,
        so even if the handler fails to check wu.error_mask,
        at least it won't assimilate the same result twice.
    Thanks to Hendrik Verhoek for finding this bug.
- DB schema: team table type is MyISAM, not InnoDB

svn path=/trunk/boinc/; revision=13938
2007-10-23 17:11:56 +00:00
Rom Walton f77ad4b0aa - client: read_file_string was modified sometime ago to support tail
functionality, we really do want only the last 63KB of stderr
        for science applications.
    
    client/
        app_control.C

svn path=/trunk/boinc/; revision=13935
2007-10-23 14:50:02 +00:00
David Anderson 1e2a6c29b8 - client: remove unparsed XML error for <active_task_state>
- client: remove spurious error if include <alt_platform> in cc_config.xml

svn path=/trunk/boinc/; revision=13934
2007-10-22 23:56:10 +00:00
David Anderson 5e5a063ef5 - GUI RPC: fix format of <auth2> request
- GUI RPC: don't enable network on bad request

svn path=/trunk/boinc/; revision=13933
2007-10-22 23:41:12 +00:00
Charlie Fenton 6e0218de66 Release Mac BOINC 5.10.26
svn path=/trunk/boinc/; revision=13932
2007-10-22 23:29:17 +00:00
David Anderson 7c32018889 - API: fixes for SETI@home
svn path=/trunk/boinc/; revision=13930
2007-10-22 23:12:42 +00:00
Rom Walton 148fc8e0b0 Quick Updates
svn path=/trunk/boinc/; revision=13929
2007-10-22 21:35:28 +00:00
Rytis Slatkevičius 4b28e7c183 User web: add HTML DOCTYPE (4.01 Transitional) to all pages, make some HTML validity changes.
svn path=/trunk/boinc/; revision=13928
2007-10-22 19:36:01 +00:00
David Anderson 615e108441 - API: fix bug introduced in 13696 causing no graphics on Linux
svn path=/trunk/boinc/; revision=13922
2007-10-22 03:15:51 +00:00
David Anderson 1239291e44 - client: add <active_task_state> to <active_task> elements in state file.
These are needed by some 3rd-party software that uses
    the state file instead of GUI RPCs


svn path=/trunk/boinc/; revision=13921
2007-10-21 20:54:24 +00:00
Rytis Slatkevičius c6824891d7 Get rid of PHP notice (undefined index)
svn path=/trunk/boinc/; revision=13920
2007-10-21 13:10:13 +00:00
Reinhard Prix 4089ad11ca fixed handling of curl-libs to avoid erroneous trunction of compiler-flags
containing '-l', such as '-funroll-loops'. These are not really supposed to be contained in 
"curl-config --libs", but apparently this happens at least in Gentoo, as reported here:
http://bugs.gentoo.org/show_bug.cgi?id=139621.
I have applied the patch supplied by Darragh Bailey (of 2006-07-07).
This should fix Gentoo Bugzilla Bug 139621.

svn path=/trunk/boinc/; revision=13919
2007-10-21 07:41:45 +00:00
David Anderson e8c2a2927a - client: cc_config.xml can contain one or more <alt_platform> elements
specifying additional alternate platforms.

svn path=/trunk/boinc/; revision=13918
2007-10-20 16:10:57 +00:00