Commit Graph

17 Commits

Author SHA1 Message Date
David Anderson 6328a94eb8 - user web: Team Admins can't remove members
svn path=/trunk/boinc/; revision=14118
2007-11-08 00:04:57 +00:00
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 43a21e6efd *** empty log message ***
svn path=/trunk/boinc/; revision=4618
2004-11-21 18:56:30 +00:00
David Anderson 2deee53456 *** empty log message ***
svn path=/trunk/boinc/; revision=3367
2004-05-11 22:49:23 +00:00
Karl Chen 545a56d5c8 directory structure change
svn path=/trunk/boinc/; revision=2938
2004-02-02 23:34:39 +00:00
David Anderson 39bc2da38d admin account creation
svn path=/trunk/boinc/; revision=2171
2003-08-22 05:36:25 +00:00
David Anderson 3e7b4afa77 *** empty log message ***
svn path=/trunk/boinc/; revision=2045
2003-08-08 22:19:14 +00:00
David Anderson f30e0e3a4d *** empty log message ***
svn path=/trunk/boinc/; revision=2044
2003-08-08 22:18:07 +00:00
David Anderson 0772d22a17 *** empty log message ***
svn path=/trunk/boinc/; revision=2043
2003-08-08 22:17:36 +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
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