Commit Graph

17 Commits

Author SHA1 Message Date
David Anderson fb8b4ffabb - user web: added the notion of "Team Admin": team members,
appointed by the founder, who have most of the same
    rights as the founder (edit team info, view/remove users).
    They can't, however, change the founder, or select/remove Admins.
- user web: added the ability for founder to delete an empty team
- user web: count/show all team members, not just those with credit
- user web: Team Search returns top team if form fields left blank
- Added db_update.php entry for Eric's banishment_vote stuff

svn path=/trunk/boinc/; revision=14108
2007-11-07 17:23:29 +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
Rytis Slatkevičius f007ab0d75 Count team members on the fly, remove team_update_nusers()
svn path=/trunk/boinc/; revision=11424
2006-10-31 20:07:09 +00:00
Rytis Slatkevičius 0a7efe52cc Prevent messing with the team if the user has left the team but still is a founder
svn path=/trunk/boinc/; revision=11342
2006-10-23 19:33:22 +00:00
David Anderson 5db48631f9 *** empty log message ***
svn path=/trunk/boinc/; revision=5480
2005-02-19 08:06:53 +00:00
David Anderson 43a21e6efd *** empty log message ***
svn path=/trunk/boinc/; revision=4618
2004-11-21 18:56:30 +00:00
Karl Chen 545a56d5c8 directory structure change
svn path=/trunk/boinc/; revision=2938
2004-02-02 23:34:39 +00:00
Karl Chen ece784f945 *** empty log message ***
svn path=/trunk/boinc/; revision=2306
2003-09-07 23:29:00 +00:00
David Anderson 39bc2da38d admin account creation
svn path=/trunk/boinc/; revision=2171
2003-08-22 05:36:25 +00:00
Karl Chen c24802d61d *** empty log message ***
svn path=/trunk/boinc/; revision=2039
2003-08-08 21:53:22 +00:00
David Anderson dca71c294c host merging
svn path=/trunk/boinc/; revision=1086
2003-03-21 04:38:55 +00:00
David Anderson f98c7f0644 user web
svn path=/trunk/boinc/; revision=1081
2003-03-19 21:01:32 +00:00
David Anderson 90f040383b check for team and user login
svn path=/trunk/boinc/; revision=747
2002-12-16 21:41:41 +00:00
David Anderson 72a41ff39a PHP session mechanism
svn path=/trunk/boinc/; revision=681
2002-12-04 19:14:00 +00:00
David Anderson 4e21bcc807 docs
svn path=/trunk/boinc/; revision=601
2002-11-12 17:01:16 +00:00
David Anderson 089ced4746 team PHP cleanup, not finished
svn path=/trunk/boinc/; revision=598
2002-11-11 19:40:22 +00:00
Barry Luong bf9b213f18 added team stuff like viewing emails of team members
svn path=/trunk/boinc/; revision=273
2002-08-07 18:56:55 +00:00