Commit Graph

28 Commits

Author SHA1 Message Date
David Anderson 278f3fd370 web: use new DB API here and there; should be no visible changes 2014-04-24 09:41:59 -07:00
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 d27af6214d - user web: finish dealing with get args spam
svn path=/trunk/boinc/; revision=23010
2011-02-09 22:11:34 +00:00
David Anderson da19f328e9 - web: tweaks so that BOINC-Wide Teams site can warn people if
their email address is not validated

svn path=/trunk/boinc/; revision=22946
2011-01-26 22:43:23 +00:00
David Anderson d6d738a47d - web: allow projects to account email addresses in certain domains.
Add the following to html/project/project.inc:

    $banned_email_domains = array(
        "foo.bar",
        "blah"
    );

    Email addresses ending with any of those strings will be disallowed.
- Web RPCs: have am_set_info.php do the same checking for
    email addresses (invalid, banned) as the other web code


svn path=/trunk/boinc/; revision=18352
2009-06-10 18:34:51 +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 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 cea8e84c7b - ops: in team import script, send email to team founder
when creating team
- web: if user changes email addr, clear email_validated

svn path=/trunk/boinc/; revision=14353
2007-12-04 22:16:37 +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 f4953d1829 *** empty log message ***
svn path=/trunk/boinc/; revision=11723
2006-12-27 18:22:17 +00:00
Matt Lebofsky 6889b8d6c0 *** empty log message ***
svn path=/trunk/boinc/; revision=9401
2006-02-06 19:26:42 +00:00
David Anderson 6374d88da0 web RPC additions
svn path=/trunk/boinc/; revision=9088
2005-12-19 07:42:40 +00:00
David Anderson dbf95d28ca change email before set passwd
svn path=/trunk/boinc/; revision=8430
2005-10-03 22:16:32 +00:00
David Anderson faa449a676 user email change
svn path=/trunk/boinc/; revision=7538
2005-08-27 20:49:05 +00:00
David Anderson 8a72aef655 remove email munge code
svn path=/trunk/boinc/; revision=7518
2005-08-26 22:26:26 +00:00
David Anderson b3dc4bcbe4 new account setup
svn path=/trunk/boinc/; revision=7205
2005-08-07 01:33:15 +00:00
David Anderson d38bdf43ec *** empty log message ***
svn path=/trunk/boinc/; revision=5435
2005-02-15 22:29:32 +00:00
David Anderson a6d5713db1 *** empty log message ***
svn path=/trunk/boinc/; revision=5417
2005-02-13 06:13:33 +00:00
David Anderson 7342b36f2e *** empty log message ***
svn path=/trunk/boinc/; revision=4599
2004-11-18 20:01:12 +00:00
David Anderson 49a2fdd195 *** empty log message ***
svn path=/trunk/boinc/; revision=3568
2004-06-14 18:05:47 +00:00
Karl Chen 545a56d5c8 directory structure change
svn path=/trunk/boinc/; revision=2938
2004-02-02 23:34:39 +00:00
David Anderson 276139973e *** empty log message ***
svn path=/trunk/boinc/; revision=2211
2003-08-31 00:18:45 +00:00
David Anderson 39bc2da38d admin account creation
svn path=/trunk/boinc/; revision=2171
2003-08-22 05:36:25 +00:00
David Anderson 003ef8cb06 Fixed some typos in the address changed confirmation email.
svn path=/trunk/boinc/; revision=1801
2003-07-25 00:45:08 +00:00
Karl Chen 968721ab92 *** empty log message ***
svn path=/trunk/boinc/; revision=1757
2003-07-21 20:14:45 +00:00
David Anderson f98c7f0644 user web
svn path=/trunk/boinc/; revision=1081
2003-03-19 21:01:32 +00:00
David Anderson a16c91e272 email address update
svn path=/trunk/boinc/; revision=946
2003-02-19 20:34:33 +00:00