Commit Graph

18 Commits

Author SHA1 Message Date
David Anderson 4d45dda3d9 - validator: update credit statistics even if credit_from_wu
is being used.
- web: make almost everything translatable.  From Christian Beer.


svn path=/trunk/boinc/; revision=24048
2011-08-25 22:12:48 +00:00
David Anderson 1d6fccfbe8 - finish up the auto-team feature
svn path=/trunk/boinc/; revision=21033
2010-03-30 20:58:39 +00:00
David Anderson 4b5be47639 - web: replace the vaguely-named process_user_text()
with BoincDb::escape_string()
- web: have BoincDb::escape_string() also do a trim()

svn path=/trunk/boinc/; revision=16686
2008-12-14 22:18:49 +00:00
David Anderson 9baf78fe5f - web: added copyright and license info to PHP files
svn path=/trunk/boinc/; revision=15758
2008-08-05 22:43:14 +00:00
David Anderson 1147e60b1a - web: fix bugs that cause backslashes to be introduced
in global prefs update via account manager RPC

svn path=/trunk/boinc/; revision=15602
2008-07-14 19:13:19 +00:00
David Anderson d403a14e42 - web: cleaned up logic of string processing.
There are two aspects:
    1) undoing magic quotes (if it's being used).
        This must be done for all GET and POST string inputs.
        It is now done automatically by get_str() and post_str().
        The places that refer to $_GET and $_POST directly
        must do it themselves using undo_magic_quotes().
    2) Escaping user-supplied strings before using them in DB queries.
        This is done by process_user_text()
        (which should be renamed db_escape_string()).
        The new principle:
        call process_user_text() in the function that does the DB query
        (not at any higher level).


svn path=/trunk/boinc/; revision=15389
2008-06-11 19:36:10 +00:00
David Anderson 02adbc4d49 - web: remove all references to the PHP "session" mechanism,
which added only confusion.
    Implement login directly, using cookies.
- All cookie setting/clearing now goes through two functions,
    send_cookie() and clear_cookie().
    These deal with path and expiry
    (e.g. if you want to have different language or forum settings
    on two projects on the same server, that now works).

svn path=/trunk/boinc/; revision=14735
2008-02-13 19:02:44 +00:00
David Anderson bed9ce8307 minor code cleanup
svn path=/trunk/boinc/; revision=14375
2007-12-12 04:52:30 +00:00
David Anderson 820eb30596 - compile fixes
svn path=/trunk/boinc/; revision=14373
2007-12-10 22:13:48 +00:00
David Anderson 0616e75a02 - user web: update other code to use new-style DB interfaces
svn path=/trunk/boinc/; revision=14164
2007-11-12 22:28:17 +00:00
David Anderson 82b2b0f68f - user web: fix some PHP warnings
- user web: more DB code conversion

svn path=/trunk/boinc/; revision=13996
2007-10-30 18:16:29 +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 f5ac3f8631 Do not allow blank or NULL countries
svn path=/trunk/boinc/; revision=13462
2007-08-26 10:29:08 +00:00
David Anderson 3e6f1f062c account creation cleanup
svn path=/trunk/boinc/; revision=8666
2005-10-12 22:51:55 +00:00
David Anderson 5c5886c7a5 login on account setup fix
svn path=/trunk/boinc/; revision=8427
2005-10-03 19:21:19 +00:00
David Anderson ffbfdb5ce4 *** empty log message ***
svn path=/trunk/boinc/; revision=8411
2005-10-02 18:23:38 +00:00
David Anderson f45961a433 *** empty log message ***
svn path=/trunk/boinc/; revision=7955
2005-09-09 20:28:55 +00:00
David Anderson 9276415e06 *** empty log message ***
svn path=/trunk/boinc/; revision=7234
2005-08-11 00:17:00 +00:00