boinc/db
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
..
Makefile.am *** empty log message *** 2006-10-16 22:39:27 +00:00
boinc_db.C Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference. 2007-10-09 11:35:47 +00:00
boinc_db.h - assimilator: there was a bug in the situation where: 2007-10-23 17:11:56 +00:00
bossa_constraints.sql - Bossa: 2007-10-18 21:43:25 +00:00
bossa_schema.sql - Bossa: 2007-10-18 21:43:25 +00:00
constraints.sql - user web: added new framework for DB access from PHP. 2007-10-26 21:14:35 +00:00
db_base.C Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference. 2007-10-09 11:35:47 +00:00
db_base.h Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference. 2007-10-09 11:35:47 +00:00
init_db updated schema. combined schema into schema.sql 2003-07-24 00:30:47 +00:00
schema.sql - user web: added new framework for DB access from PHP. 2007-10-26 21:14:35 +00:00