Commit Graph

15 Commits

Author SHA1 Message Date
Christian Beer ea7df2637e Web: use https urls everywhere
Modern Browser complain if there are non-https elements in https websites. This makes sure that if the user visits via https all elements of the page are also retrieved using SSL. Furthermore it uses https urls in emails that are send to the user, if SECURE_URL_BASE is set in project/project.inc.
The only remaining places where URL_BASE is used is when it is used as master_url where it is important that it is in sync with what the scheduler uses.
2015-11-30 09:36:29 +01:00
David Anderson e6ecb981b3 web: change CSS usage to partly match Twitter Bootstrap. From Christian Beer. 2014-10-02 12:15:54 -07:00
David Anderson 3abed383e5 web PHP code: use mysqli everywhere if available
Change all the PHP code to use _mysql_query() instead of mysql_query()
(and similar for other functions).
_mysql_query() uses the mysqli API if available, else the old API.

Going forward, all PHP code should the DB abstration layer if possible;
else it should use the _mysql_* functions.
2014-09-04 12:00:09 -07:00
David Anderson 28ff9223ab Server: add feature to mass email script to send to ID list 2014-03-01 12:07:46 -08:00
David Anderson fdc085264a - client (Win) preallocate large files to avoid file fragmentation
when you write to them incrementally
    (workaround for shoddy filesystem design)
- admin web: remove line that limited mass emails to 10
2013-03-04 15:23:37 +01:00
David Anderson 33e33abd08 - fix typo in mass email script 2013-03-01 16:26:09 +01:00
David Anderson b817b8ed7a - admin web: changed protection scheme as follows:
- default: script can be run from command line;
        to run from web you need to be logged in as a particular user.
        (in addition to .htaccess protection).
    - if include $cli_only at start of script:
        can only be run from the command line.
    - if include $skip_auth_ops at start of script:
        can run from web without being logged in
        (this is set ONLY in login_action.php)
- admin web: added $cli_only = true to a bunch of scripts


svn path=/trunk/boinc/; revision=19230
2009-10-02 18:32:40 +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 512af1d30e - user web: don't append "/" to URL_BASE.
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
2007-11-18 22:42:47 +00:00
Rytis Slatkevičius b04aeea7d6 user web: make sure that all links that have URL_BASE have slashes after it. This makes a slash in the end of URL_BASE definition in project/project.inc no longer necessary.
svn path=/trunk/boinc/; revision=13106
2007-07-05 19:37:33 +00:00
David Anderson a43babc42d user web fixes
svn path=/trunk/boinc/; revision=9768
2006-03-30 00:45:24 +00:00
Bruce Allen 8d7b03381d Made debug mode default, fixed typo
svn path=/trunk/boinc/; revision=9418
2006-02-08 03:40:45 +00:00
Bruce Allen f4d284c679 Added a script (originally provided by DA, I think) to
send mass email to project participants.  The script allows
one to select the TYPE of user, including 'all', 'active',
'lapsed', 'unsuccessful' and so on.  Also appends a 'how to opt
out' message at the end. Do NOT use this script without testing it.

svn path=/trunk/boinc/; revision=9417
2006-02-08 03:30:46 +00:00
David Anderson 9bdde0b5b3 *** empty log message ***
svn path=/trunk/boinc/; revision=3517
2004-06-09 19:15:57 +00:00
David Anderson 9f1e5b1da6 *** empty log message ***
svn path=/trunk/boinc/; revision=3457
2004-05-27 18:13:00 +00:00