so there was no way of rescuing a team with invalid founder email.
I changed it to record the request anyway.
This is potentially hazardous - if the founder's email server
is temporarily down, the request would go through
without the founder being notified.
To offset this, I added a notification via private message.
svn path=/trunk/boinc/; revision=15296
URL_BASE is assumed to end with a /.
If you put another /, you end up with // in URLs.
This leads to a situation where you can have
one cookie for // and another for / - bad.
If this causes problems for any projects,
they should edit their project.inc accordingly
svn path=/trunk/boinc/; revision=14254
- 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
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