Commit Graph

65 Commits

Author SHA1 Message Date
David Anderson c9429ad7a4 - user web: if join team while already in a team,
create outgoing delta also

svn path=/trunk/boinc/; revision=14244
2007-11-17 21:59:46 +00:00
David Anderson 2665221920 svn path=/trunk/boinc/; revision=14238 2007-11-17 00:59:11 +00:00
David Anderson 88dd698a0a svn path=/trunk/boinc/; revision=14237 2007-11-17 00:58:20 +00:00
David Anderson 8097ddefe4 - user web: change Team page:
- add more info about team message board (if it exists)
    - show list of admins
    - show list of new members (in last 24 hours)
    - show number of members total, with credit, and with average credit
    - move actual list of members to new page (team_members.php)

svn path=/trunk/boinc/; revision=14230
2007-11-16 20:43:07 +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 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 000a3e5594 - user web: code cleanup, deleted unused files
svn path=/trunk/boinc/; revision=14200
2007-11-14 16:03:47 +00:00
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 3544a556e9 - user web: enhancements to the "foundership request" feature:
- If a request is pending, notify the current founder
        in red on their Account page.
        (previously there was no notification on the web;
        if the founder didn't get the notification email,
        they'd never find out; and if they read but lost the email,
        they'd lose the URL they needed to visit to decline).
    - Also notify current founder on the Admin Functions page
    - On the team page
        requesting user: show that request is pending, and the deadline.
        founder: show that request is pending, link to respond
        other users: show Deferred if can't make a request yet
    - Say 90 days instead of 60 days where appropriate;
        other text cleanup
- user web: team_change_founder_action.php was generating
    a different name for each element of a radio button group.
    That makes it not a radio button.

svn path=/trunk/boinc/; revision=14117
2007-11-07 23:59:08 +00:00
David Anderson 79b0934a55 - user web: protect Team Admin ops from cross-project link attacks
svn path=/trunk/boinc/; revision=14110
2007-11-07 17:54:27 +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
Rytis Slatkevičius c1fb4934ec - user web: convert translations from tokens to strings; update Lithuanian translation.
- ops pages: add user removal feature (for spammers).

svn path=/trunk/boinc/; revision=14020
2007-11-02 14:43:02 +00:00
David Anderson e1ca1c5aee - User web: more DB framework changes;
extended DB framework to allow use of a read-only replica

svn path=/trunk/boinc/; revision=13985
2007-10-29 16:38:25 +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 383b21dd5a - update_versions now generates <api_version> for all app versions
- user web: don't XML-escape team names in DB
- deleted obsolete files
- calloc() return check, fixes #277

svn path=/trunk/boinc/; revision=13817
2007-10-09 22:58:49 +00:00
David Anderson 9b66217202 - user web: when a table column has numbers intended to be compared,
right-justify them


svn path=/trunk/boinc/; revision=13791
2007-10-07 21:32:55 +00:00
David Anderson d09bf92af3 - user web: add format_credit_large() function to show
credit in situations where it's likely to be large (e.g. team totals)

svn path=/trunk/boinc/; revision=13789
2007-10-07 19:27:59 +00:00
David Anderson 2272891035 - user web: add "team search" page, which does a multi-criteria
search (keywords, country, type).
    Have the new-user scenario route the user through this page.
    Also, link to it rather than team.php for existing users.
- user web: use cookies rather than URLs to identify new users,
    and show "Welcome to X" when they reach their user page.
- user web: don't show user intermediate page for join/quit team.
    Just take them to their user page.

svn path=/trunk/boinc/; revision=13731
2007-10-02 03:19:03 +00:00
Rytis Slatkevičius 4b8aeabf91 User web: fix an annoyance when team founder transfer is requested and the requester leaves the team.
NOTE: DB UPDATE REQUIRED.

svn path=/trunk/boinc/; revision=13673
2007-09-26 15:46:54 +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
David Anderson 3990e817e3 - add support for "BOINC teams" (to be explained later)
svn path=/trunk/boinc/; revision=13218
2007-07-25 20:58:36 +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 2af893b0f2 - user web: code cleanup related to team creation.
Make a single function that creates teams
    and cleanses arguments.
- API: don't include config.h in parse.h.
    This file is included from apps
    (indirectly, via graphics_api.h)
    so it shouldn't assume that config.h exists

svn path=/trunk/boinc/; revision=13212
2007-07-25 03:17:31 +00:00
David Anderson ef247eed41 - user web: moved functions to send specific messages out of email.inc
- user web: code cleanup involving team founder transfer,
    and improved the text of some messages

svn path=/trunk/boinc/; revision=13210
2007-07-23 20:30:30 +00:00
Rytis Slatkevičius 90ad37471b Team types display (from Eric Myers)
svn path=/trunk/boinc/; revision=11761
2007-01-03 18:07:44 +00:00
David Anderson abb5fa690c *** empty log message ***
svn path=/trunk/boinc/; revision=11477
2006-11-06 18:32:04 +00:00
David Anderson fce5066620 *** empty log message ***
svn path=/trunk/boinc/; revision=11468
2006-11-04 00:11:46 +00:00
Rytis Slatkevičius c73cdd3d74 Fix team cache bug
svn path=/trunk/boinc/; revision=11463
2006-11-03 18:41:34 +00:00
David Anderson db10852294 *** empty log message ***
svn path=/trunk/boinc/; revision=11457
2006-11-03 04:36:21 +00:00
Rytis Slatkevičius 3263a5d303 Update team_display.php to use object cache instead of full page cache to fix cache bug with team founder transfer
svn path=/trunk/boinc/; revision=11449
2006-11-02 19:34:02 +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
David Anderson da173a0dc1 *** empty log message ***
svn path=/trunk/boinc/; revision=11404
2006-10-31 00:29:30 +00:00
Rytis Slatkevičius ccff6971ca Big team change to allow founder transfer when he's no longer available
svn path=/trunk/boinc/; revision=11367
2006-10-27 16:06:42 +00:00
David Anderson ac596a924c *** empty log message ***
svn path=/trunk/boinc/; revision=10331
2006-06-13 20:56:05 +00:00
David Anderson 5f8f7f6acd create team RPC
svn path=/trunk/boinc/; revision=9380
2006-02-01 20:19:51 +00:00
David Anderson fb225fcad4 *** empty log message ***
svn path=/trunk/boinc/; revision=9128
2005-12-22 21:46:35 +00:00
David Anderson 829bc4c678 translation fixes
svn path=/trunk/boinc/; revision=9121
2005-12-22 08:22:44 +00:00
Matt Lebofsky d33d440b43 *** empty log message ***
svn path=/trunk/boinc/; revision=9113
2005-12-21 21:58:34 +00:00
David Anderson d0df76e6aa *** empty log message ***
svn path=/trunk/boinc/; revision=9063
2005-12-14 01:07:10 +00:00
Janus B. Kristensen f2cefff84a HTML version of team name now available again.
svn path=/trunk/boinc/; revision=8670
2005-10-13 09:03:43 +00:00
Janus B. Kristensen 3fe81ac160 Only use non-html for team page display
svn path=/trunk/boinc/; revision=7975
2005-09-11 21:44:40 +00:00
Janus B. Kristensen 36d4324a53 Added top teams listing translation ability
svn path=/trunk/boinc/; revision=7826
2005-09-07 15:51:28 +00:00
Janus B. Kristensen 2a9636f726 Team tables should also remember the team type when linking
svn path=/trunk/boinc/; revision=7352
2005-08-16 09:17:49 +00:00
Bruce Allen aaec4a66ce Trivial rewording to emphasize that the total team member count and number
of members listed don't necessarily agree.

svn path=/trunk/boinc/; revision=6277
2005-06-01 19:50:50 +00:00
David Anderson e76d620053 *** empty log message ***
svn path=/trunk/boinc/; revision=6133
2005-05-12 21:33:18 +00:00
David Anderson 31b1dbbc02 *** empty log message ***
svn path=/trunk/boinc/; revision=6047
2005-05-05 21:12:26 +00:00
David Anderson 46d84b5802 *** empty log message ***
svn path=/trunk/boinc/; revision=5709
2005-03-23 23:58:43 +00:00
David Anderson b298ed30ab *** empty log message ***
svn path=/trunk/boinc/; revision=5033
2005-01-08 19:45:26 +00:00
David Anderson 4acb793e6e *** empty log message ***
svn path=/trunk/boinc/; revision=4797
2004-12-08 22:05:56 +00:00
David Anderson 43a21e6efd *** empty log message ***
svn path=/trunk/boinc/; revision=4618
2004-11-21 18:56:30 +00:00