Commit Graph

16 Commits

Author SHA1 Message Date
David Anderson 13400c9516 Changes for multithread app support:
- update_versions: use __ (not :) as separator for plan class
- client: add plan_class to APP_VERSION;
    an app version is now identified by platform/version/plan_class
- client CPU scheduler: don't assume apps use 1 CPU
- client: add avg_ncpus, max_cpus, flops, cmdline to RESULT
- scheduler: implement app planning scheme

Other changes:

- client: if symlink() fails, make a XML soft link instead
    (for Unix running off a FAT32 FS)
- client: don't accept nonpositive resource share from AMS
- daemons and DB: check for error returns from enumerations,
    and exit if so.  Thus, if the MySQL server goes down,
    all the daemons will soon exit.
    The cron script will restart them every 5 min,
    so when the DB server comes back up so will the project.
- web: show empty max CPU % as ---
- API: get rid of all_threads_cpu_time option (always the case now)


svn path=/trunk/boinc/; revision=14966
2008-03-27 18:25:29 +00:00
David Anderson afafb94aee - added Isle of Man to country list
svn path=/trunk/boinc/; revision=14480
2008-01-07 20:16:40 +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 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
David Anderson 12ed1228d2 - user web: code cleanup related to user creation.
Make a single function that creates users and cleanses args.

svn path=/trunk/boinc/; revision=13216
2007-07-25 15:11:14 +00:00
David Anderson 1151f4c40b - type in countries.inc
svn path=/trunk/boinc/; revision=12942
2007-06-16 16:29:16 +00:00
David Anderson 477008a3c1 - user web: added Burma to country list
- admin web: removed deprecated create-account scripts

html/
    inc/
        cache.inc
        country.inc
    ops/
        create_account_form.php (removed)
        create_account_action.php (removed)
        show_log.php

svn path=/trunk/boinc/; revision=12941
2007-06-15 23:54:25 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson a97ab02183 *** empty log message ***
svn path=/trunk/boinc/; revision=10748
2006-07-25 17:39:54 +00:00
David Anderson 5f8f7f6acd create team RPC
svn path=/trunk/boinc/; revision=9380
2006-02-01 20:19:51 +00:00
David Anderson cd3fbc0ed1 Mauritius
svn path=/trunk/boinc/; revision=9257
2006-01-17 20:22:25 +00:00
David Anderson adf9748d99 Macedonia
svn path=/trunk/boinc/; revision=8150
2005-09-22 23:27:08 +00:00
David Anderson 8e66017d92 *** empty log message ***
svn path=/trunk/boinc/; revision=3282
2004-04-21 23:25:05 +00:00
David Anderson 107a2f1d90 *** empty log message ***
svn path=/trunk/boinc/; revision=3173
2004-03-26 18:45:49 +00:00
David Anderson 300b2a8d10 *** empty log message ***
svn path=/trunk/boinc/; revision=3171
2004-03-26 18:32:57 +00:00
Karl Chen 545a56d5c8 directory structure change
svn path=/trunk/boinc/; revision=2938
2004-02-02 23:34:39 +00:00