Commit Graph

7 Commits

Author SHA1 Message Date
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
Bruce Allen 8dc13cd1e6 Turn off ops pages that update the data base. These now issue a message
informing the project admin that they need to be explicitly edited to
enable updating the database.  This will help prevent inadvertent use.
Thanks to David Hammer.

svn path=/trunk/boinc/; revision=5373
2005-02-09 18:09:26 +00:00
Bruce Allen 1cb56d0f52 - Add new validate_state==TOO_LATE to ops pages summaries and result table
choice selection menus
    - Ops pages fixes from Christian Beers and David Hammer:
      * some rearrangement of index page
      * fix pass percentage by platform pages to show only non-deprecated apps
      * all platforms now appear in summary pages of failures

svn path=/trunk/boinc/; revision=5351
2005-02-08 03:33:35 +00:00
Bruce Allen 2560b34478 Added some comments about what the script does
svn path=/trunk/boinc/; revision=4616
2004-11-21 15:35:58 +00:00
Bruce Allen 0fdde906b5 - New user database email-lowercasing script more efficient, handles case
where user.id is not contiguous.

svn path=/trunk/boinc/; revision=4607
2004-11-19 14:12:13 +00:00
Bruce Allen 174bcb427c Bug fixes (thanks to Jens Seidler): set cross project id (CPID) to random value
when creating user account from Administrator form, and lower_case email address
before inserting into database. Added script  make_emails_lowercase.php which
goes through user database and changes email addresses to lowercase, and sets CPID
to a random string if it is currently 0 (empty).  It should be safe to run this
script any number of times, on a damanged or undamaged user database, with no side
effects.

svn path=/trunk/boinc/; revision=4596
2004-11-18 13:14:28 +00:00