Commit Graph

9 Commits

Author SHA1 Message Date
David Anderson 6c9c644da8 - user web: team admins receive email notification of
moderation and red-X events, as well as team founder
- user web: admins can view team join/quit history
    (which no longer contains email addresses)
- user web: update text describing admin privileges

svn path=/trunk/boinc/; revision=14285
2007-11-22 02:36:51 +00:00
David Anderson 877bec76ce - user web: if user unchecked "OK to send email" pref,
don't show his email address to team founder
- user web: change wording on project prefs page to clarify
    that emails may come from project OR team
- user web: let team founder delete message board

svn path=/trunk/boinc/; revision=14232
2007-11-16 21:31:43 +00:00
David Anderson c358151043 - user web: only team founders can see member email addresses
svn path=/trunk/boinc/; revision=14222
2007-11-16 00:26:48 +00:00
David Anderson 2f602575da - user web: in the various interfaces that show team member's
email addresses to team admins,
    also show the user's "send_email" flag,
    indicating whether the agreed to get "email newsletters"
    from the project.
    If this is set, teams should NOT send email to that user.

    Ideally, we should have a separate preference for whether
    to get email from team
    (or show email address to team admins at all)
    
    Fixes (more or less) #479

svn path=/trunk/boinc/; revision=14220
2007-11-15 23:25:43 +00:00
David Anderson a49608a028 - user web: allow teams to create their own "team message board".
Team founder and admins have moderator power.
    Anyone can view a team message board,
    but only team members can write to it.
    Users cannot be banished from team message boards
    (due to database limitations).

svn path=/trunk/boinc/; revision=14218
2007-11-15 22:51:05 +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
David Anderson d5a4824db3 - XML RPC: add user name, ID to team_delta.php XML version
svn path=/trunk/boinc/; revision=13320
2007-08-15 03:07:35 +00:00
David Anderson 14bc500cab - user web: added mechanism for recording team membership changes.
These are stored in a new DB table, "team_delta".
    The team founder can view the history in HTML or XML
    (links on Management Functions page)

svn path=/trunk/boinc/; revision=13231
2007-07-27 18:30:10 +00:00