Commit Graph

20 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 0f9cda3ea3 - admin web: finished the above.
Got rid of auth_ops_cmdline() (not needed).
    auth_ops() is now called in util_ops.inc;
    every script in html/ops/ must include util_ops.inc.

Note: for existing projects, the admin web interface
    will now show "access denied".
    Projects must think about what access control policy they want,
    and specify it in project.inc


svn path=/trunk/boinc/; revision=19053
2009-09-15 18:14:37 +00:00
David Anderson 6a75b78de4 - client: don't ignore jobs with fraction_done=1 (but still running)
in RR simulation; we may need to mark them as deadline miss.
- web: replace & with & various places


svn path=/trunk/boinc/; revision=17278
2009-02-17 17:39:57 +00:00
David Anderson 9967112f60 - client: if bind fails, print port#
- web: don't randomize order of profiles
    (fixes checkin of 28 Oct)

svn path=/trunk/boinc/; revision=16520
2008-11-18 17:33:13 +00:00
David Anderson c0c4bfdae7 - web: make the ordering of profiles in "browse profiles with pictures"
deterministic


svn path=/trunk/boinc/; revision=16330
2008-10-28 16:03:53 +00:00
David Anderson e432bb1182 - web: sub_sentence() went into an infinite loop
for a particular (non-ASCII) profile text.
    Not sure why, but I rewrote sub_sentence() in
    less obscure way and it works now
- web: slight cleanup of translation code.
    Can we please replace this with gettext()??

svn path=/trunk/boinc/; revision=16035
2008-09-22 17:14:03 +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 aaa60334be - web: add $prefix arg to sample project_header(), project_footer()
(fix links on profile-index pages)
- web: use cache-control "no-store" only for home.php.
    This makes it so that, e.g. if you scroll to the middle of a long page,
    follow a link, then click Back,
    you'll go back the original scroll position rather than top of page.

svn path=/trunk/boinc/; revision=15391
2008-06-12 04:50:10 +00:00
David Anderson fef16a7498 - web: bug fixes
svn path=/trunk/boinc/; revision=14474
2008-01-06 18:09:23 +00:00
David Anderson 57f0bbc6e5 - make_project: prepend "./" to config.xml script names in case "." is not
in Apache's search path
- web: show UOTD text correctly
- web: memoize profile_screening() in attempt to fix out-of-memory error
    when building profile pages on S@h
- web: move gallery.inc into update_profile_pages and remove it

svn path=/trunk/boinc/; revision=14460
2008-01-03 17:24:28 +00:00
David Anderson b5b155e557 David 26 Apr 2007
- server: fix bug that causes PHP scripts not to run from Cron
        Fixes #129.  From Christian Beer.

    html/ops/
        update_profile_pages.php
    tools/
        run_in_ops

svn path=/trunk/boinc/; revision=12488
2007-04-26 20:24:47 +00:00
David Anderson f8ea3e0797 *** empty log message ***
svn path=/trunk/boinc/; revision=11213
2006-09-28 18:51:52 +00:00
David Anderson 38e5c621ba *** empty log message ***
svn path=/trunk/boinc/; revision=11212
2006-09-28 18:01:29 +00:00
David Anderson 4a53269531 profile fixes
svn path=/trunk/boinc/; revision=8684
2005-10-17 03:03:48 +00:00
David Anderson 319b4573b7 *** empty log message ***
svn path=/trunk/boinc/; revision=3519
2004-06-09 21:42:23 +00:00
David Anderson c46546288e *** empty log message ***
svn path=/trunk/boinc/; revision=3508
2004-06-07 03:34:07 +00:00
Karl Chen 545a56d5c8 directory structure change
svn path=/trunk/boinc/; revision=2938
2004-02-02 23:34:39 +00:00
David Anderson 1c5ba960fc Added a call to the function which recalculates the user of the day when necessary.
svn path=/trunk/boinc/; revision=2002
2003-08-07 00:39:10 +00:00
David Anderson 7c89c29f80 Added a call to the alphabetical profile gallery builder.
svn path=/trunk/boinc/; revision=1764
2003-07-22 00:39:13 +00:00
David Anderson 175f22aa6b When run, rebuilds the picture gallery and country pages.
svn path=/trunk/boinc/; revision=1724
2003-07-17 23:54:53 +00:00