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
David Anderson
7342b36f2e
*** empty log message ***
...
svn path=/trunk/boinc/; revision=4599
2004-11-18 20:01:12 +00:00
David Anderson
783087f8bb
*** empty log message ***
...
svn path=/trunk/boinc/; revision=4501
2004-11-07 02:57:02 +00:00
David Anderson
e8cb263ff7
*** empty log message ***
...
svn path=/trunk/boinc/; revision=4470
2004-11-01 23:10:02 +00:00
David Anderson
e75283e8f4
*** empty log message ***
...
svn path=/trunk/boinc/; revision=4340
2004-10-18 22:08:37 +00:00
David Anderson
742298ebce
*** empty log message ***
...
svn path=/trunk/boinc/; revision=4335
2004-10-16 04:12:11 +00:00
David Anderson
3510973585
*** empty log message ***
...
svn path=/trunk/boinc/; revision=4039
2004-08-11 11:24:49 +00:00
David Anderson
05c23f787c
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3894
2004-07-16 17:47:34 +00:00
David Anderson
8d1c9b4979
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3696
2004-06-24 16:51:22 +00:00
David Anderson
fb06f2f372
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3606
2004-06-16 19:10:24 +00:00
David Anderson
c46546288e
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3508
2004-06-07 03:34:07 +00:00
David Anderson
c5b4118a34
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3477
2004-05-31 00:50:06 +00:00
David Anderson
5e178fe1dc
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3381
2004-05-14 22:57:59 +00:00
David Anderson
b75c017d85
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3368
2004-05-12 17:54:23 +00:00