Commit Graph

1320 Commits

Author SHA1 Message Date
David Anderson a01d8d8ccd - web: fix bug in next_url mechanism
svn path=/trunk/boinc/; revision=23912
2011-08-01 21:09:29 +00:00
David Anderson 966c7d46b4 - web: fix typo that prevented users from seeing their own hidden posts
svn path=/trunk/boinc/; revision=23906
2011-07-31 05:09:08 +00:00
David Anderson 5b159c6735 - remote job submission: bug fix and tweaks
- client: cc_config.xml: if <devnum> is omitted from a <exclude_gpu>,
    it means exclude all instances of that GPU type
- client: if all instances of a GPU type are excluded for a project,
    don't ask the project for jobs of that type


svn path=/trunk/boinc/; revision=23898
2011-07-29 00:07:20 +00:00
David Anderson 6e5acbbe60 - web: remote job submission:
- add fields to batch table, extend APIs accordingly
    - require that example web interface run on BOINC server
        (this makes many things easier;
        an actual remote interface would require a bit more work)


svn path=/trunk/boinc/; revision=23881
2011-07-27 06:20:48 +00:00
David Anderson 17e947f543 - web: remote job submission: implement abort and cleanup functions
svn path=/trunk/boinc/; revision=23880
2011-07-26 15:13:10 +00:00
David Anderson 83965db576 - web: more remote job submission code. Not finished.
svn path=/trunk/boinc/; revision=23871
2011-07-25 21:45:53 +00:00
David Anderson 5ad821df21 - server: some remote job submission code. Not finished.
svn path=/trunk/boinc/; revision=23868
2011-07-22 22:47:41 +00:00
David Anderson 9f27824fba - admin web: improve the FLOPs estimation tool so that
it works for GPU versions too


svn path=/trunk/boinc/; revision=23840
2011-07-13 21:50:48 +00:00
David Anderson e521a112a9 - admin web: finish page for resetting app statistics
svn path=/trunk/boinc/; revision=23836
2011-07-12 18:03:20 +00:00
David Anderson 3d02f9f361 - admin web: add page for showing app and app version details
svn path=/trunk/boinc/; revision=23835
2011-07-12 05:19:15 +00:00
David Anderson da74e5caf2 - back end: strip <output_template> tags from output templates
- web: main RSS feed should include all news items, even non-notices


svn path=/trunk/boinc/; revision=23783
2011-06-29 22:26:45 +00:00
David Anderson 8a9605e48c - web: add a web-service interface for remotely submitting, querying
and controlling batches of jobs
- web: add an administrative interface for controlling
    user permissions for submitting jobs
- web: add an interface where users can view and control
    their submitted jobs
See: http://boinc.berkeley.edu/trac/wiki/RemoteJobs
This is at a functional but rough stage.


svn path=/trunk/boinc/; revision=23762
2011-06-21 22:56:15 +00:00
David Anderson 61cbe110ef - web: when creating an item in News forum,
show "Export as Notice?" checkbox, and default to off.


svn path=/trunk/boinc/; revision=23721
2011-06-14 05:42:52 +00:00
David Anderson bc18d1dd74 svn path=/trunk/boinc/; revision=23627 2011-06-01 05:08:14 +00:00
David Anderson 466fe8aa81 svn path=/trunk/boinc/; revision=23626 2011-06-01 04:57:04 +00:00
David Anderson 09cb4daeda svn path=/trunk/boinc/; revision=23625 2011-06-01 04:53:16 +00:00
David Anderson 538b55ae09 - web: add counts in task list pages
svn path=/trunk/boinc/; revision=23624
2011-06-01 04:29:43 +00:00
David Anderson 9665363a2e - Bossa tweaks
svn path=/trunk/boinc/; revision=23617
2011-05-27 19:05:23 +00:00
David Anderson e4f104f917 - Change the way update_versions works, and reimplement it in PHP.
Problems with the old version:
    - Lots of info encoded in file and directory names: messy kludge
    - The convention that directory name == main program name
        created a bad situation when using the wrapper:
        if you made a new version of your application,
        you were forced make a new version of the wrapper
        just so it could have a different name.
    The new version is described here:
    http://boinc.berkeley.edu/trac/wiki/AppVersionNew
- Remove some Python code that suppored the old version
- client: some fixes to dir_size() that might fox
    a buffer overflow when using symbolic links


svn path=/trunk/boinc/; revision=23525
2011-05-12 04:11:40 +00:00
David Anderson d2b3c97ea7 - web RPC bug fix
svn path=/trunk/boinc/; revision=23508
2011-05-05 16:12:12 +00:00
David Anderson 0bafa188b0 - web: don't show login stuff on server status page
svn path=/trunk/boinc/; revision=23505
2011-05-05 14:51:10 +00:00
David Anderson f45681c48b - vbox wrapper: add Makefile
- notices: fix bug where the URL in "friend request" notices
    doesn't work if you're not already logged in.


svn path=/trunk/boinc/; revision=23498
2011-05-04 15:37:09 +00:00
David Anderson 025b31e650 - scheduler: compile fix
- client: don't print "Insufficient GPU" messages
    unless <coproc_debug> is set


svn path=/trunk/boinc/; revision=23480
2011-04-28 22:13:13 +00:00
David Anderson 8757e07f4f - client: change the handling of account manager replies:
Old:
        If the AM sends us a project we're already attached to,
        and the authenticator is different,
        print an error message and don't change anything.
    Problem:
        If the AM is using weak authenticators,
        and the user has changed their password,
        the weak authenticator changes.
        In this case the AM will send the new weak auth,
        the client will ignore it,
        and all subsequent scheduler RPCs will fail
        until the user removes/adds the project.
    Solution:
        If the AM sends us a new auth for a project, use it.
    Note:
        From the time the password is changed on the project
        to the next AM RPC,
        the client will have a bad weak auth and scheduler RPCs will fail.
        That's OK.

client/
    acct_mgr.cpp

svn path=/trunk/boinc/; revision=23479
2011-04-28 22:10:23 +00:00
David Anderson d4ea250185 - web: eliminate double calls to page_head()
svn path=/trunk/boinc/; revision=23460
2011-04-26 19:04:11 +00:00
David Anderson ada35ec2ce - web: fix infinite recursion when project is down
svn path=/trunk/boinc/; revision=23457
2011-04-26 17:34:07 +00:00
David Anderson 48368624c4 - web: tweak
svn path=/trunk/boinc/; revision=23399
2011-04-20 16:06:35 +00:00
David Anderson 298b06c6f7 - web: don't show "log in" link on login or create account pages
svn path=/trunk/boinc/; revision=23388
2011-04-20 15:30:35 +00:00
David Anderson a3cccc85e6 - web: show "logged in as" info on every page;
remove funky "log out" link from user page
- web: go to home page on logout,
    not dorky "you are logged out" page


svn path=/trunk/boinc/; revision=23387
2011-04-20 14:50:50 +00:00
David Anderson a225fe12ba - user web and notices: fix message describing friend request
svn path=/trunk/boinc/; revision=23378
2011-04-18 23:41:53 +00:00
David Anderson f56051a182 - user web: use special icon for hidden threads (from Jord)
svn path=/trunk/boinc/; revision=23361
2011-04-11 06:46:22 +00:00
David Anderson e2b4d48ab4 - user web: fix "delete profile" function
svn path=/trunk/boinc/; revision=23359
2011-04-10 15:23:42 +00:00
David Anderson 3fc341fc60 - user web: fix numeric field sanitization in prefs. Fixes #1087.
- client: if PREFS::max_ncpus_pct is 0, don't set it to 100;
    doing so prevents PREFS::max_ncpus from having any effect.


svn path=/trunk/boinc/; revision=23355
2011-04-08 00:14:01 +00:00
David Anderson 02e7aa6678 - client and API: pass "network suspended" flag from client to app;
make it available as part of BOINC_STATUS


svn path=/trunk/boinc/; revision=23243
2011-03-20 07:04:32 +00:00
Rytis Slatkevičius c819d552c0 user web: change remaining occurrences of fullpage caching to object cache. start_cache() and end_cache() are now deprecated.
svn path=/trunk/boinc/; revision=23230
2011-03-13 20:05:25 +00:00
Rytis Slatkevičius b11b56ecbb user web: implement Memcache as an option for caching (defaults to in-file cache). Can be enabled by installing php5-memcached package and defining MEMCACHE_SERVERS in project.inc
svn path=/trunk/boinc/; revision=23228
2011-03-12 15:36:58 +00:00
David Anderson 0bc1a36451 - user web: add a feature allowing project admins to control
whether news items are exported as notices.
    The creator of a news item is shown a "Don't export" or "Export"
    button on the thread page.
    By default, news items are exported.


svn path=/trunk/boinc/; revision=23119
2011-02-28 19:02:59 +00:00
David Anderson eaee1ddba6 - user web: fix wrong user ID
svn path=/trunk/boinc/; revision=23117
2011-02-26 23:10:06 +00:00
David Anderson f0ef6140ef - user web:
- in friend request notification, link to user page
    - in user page, show ID
    - remove "Account data for " in page title


svn path=/trunk/boinc/; revision=23112
2011-02-25 19:10:36 +00:00
David Anderson 226d70d174 svn path=/trunk/boinc/; revision=23033 2011-02-14 21:01:37 +00:00
David Anderson 7b98cccc37 - user web: various fixes
svn path=/trunk/boinc/; revision=23030
2011-02-14 19:49:30 +00:00
David Anderson c9cf1f85a2 - user web: fix [img] BBcode problem
svn path=/trunk/boinc/; revision=23029
2011-02-14 19:06:42 +00:00
David Anderson e3b2c06823 - user web: fix venue change
svn path=/trunk/boinc/; revision=23024
2011-02-13 19:00:08 +00:00
David Anderson 58c5c0c5b3 - user web: disable "delete account" feature
svn path=/trunk/boinc/; revision=23022
2011-02-11 18:18:17 +00:00
David Anderson 3e2e5f2fdc - user web: CSS cleanup.
Use classes instead of IDs.
    white.css and black.css are cleaned up; style2.css needs work


svn path=/trunk/boinc/; revision=23018
2011-02-10 22:45:39 +00:00
David Anderson 25493bff27 - user web: fix "nowrap" post display
svn path=/trunk/boinc/; revision=23017
2011-02-10 19:42:52 +00:00
David Anderson 9552bd3670 - user web: appearance tweaks
svn path=/trunk/boinc/; revision=23013
2011-02-09 23:42:05 +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 ad77989928 - user web: make all forum tables full-width
svn path=/trunk/boinc/; revision=23009
2011-02-09 21:45:00 +00:00
David Anderson fc5ee59787 - user web: apparently if you put links of the form
http://setiathome.berkeley.edu/help.php?key=Viagra.uk
    all over the web, Google will list "Viagra.uk" in your site outline (why??).
    Preliminary checkin for dealing with this.

svn path=/trunk/boinc/; revision=23008
2011-02-09 19:10:10 +00:00
David Anderson 91c251c103 - user web: add "delete account" feature.
This allows a user to delete all traces of themselves from a project.
    Namely:
    - clear fields of user record: email_addr, authenticator,
        name, country, postal_code
        Note: record is not deleted
    - clear the domain_name and last_ip_addr fields of hosts
        Note: records are not deleted
    - quit team
    - delete private messages sent and received
    - delete forum posts, subscriptions, and forum prefs
    - delete profile and associated images
- server: compile fix


svn path=/trunk/boinc/; revision=23006
2011-02-08 21:38:16 +00:00
David Anderson 8145cb86b0 - create_work: add some debugging printfs for Kamran
svn path=/trunk/boinc/; revision=22993
2011-02-03 23:27:30 +00:00
David Anderson 229b1373dc - client: make "wrong URL" message not be a notice
- web: fix caching problem when PHP not installed as Apache module

svn path=/trunk/boinc/; revision=22968
2011-02-01 04:43:19 +00:00
David Anderson 4dbe2c8fdf - new script sched/transitioner_catchup.php: transitions all WUs
that need it, then exits.
    For big projects coming up after an outage, run this before bin/start
    to minimize startup overload
- tweaks to PHP libraries to allow them to be used
    by scripts anywhere in the dir hierarchy


svn path=/trunk/boinc/; revision=22959
2011-01-29 06:28:10 +00:00
David Anderson 43a3036101 - back end: allow the specification of a read-only DB replica
(in config.xml) to include DB name, user, and password.
- back end: add read-only replica info to SCHED_CONFIG,
    so that C++ programs can use the replica
    (currently only PHP code can use it)
- db_dump: use the read-only DB replica if it exists.


svn path=/trunk/boinc/; revision=22958
2011-01-28 22:03:46 +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 5bbafef4b0 - fix some bad file permissions
- delist defunct stats site


svn path=/trunk/boinc/; revision=22859
2011-01-02 03:07:14 +00:00
Rytis Slatkevičius 1e55d118e9 user web: change forum RSS encoding from ISO-8859-1 to UTF-8
svn path=/trunk/boinc/; revision=22854
2010-12-24 19:35:08 +00:00
Rytis Slatkevičius e0bcf3805f user web: add some CSS classes for easier styling
svn path=/trunk/boinc/; revision=22850
2010-12-21 17:15:57 +00:00
David Anderson bbaff5d2da - web: remove DBNAME hack, which allowed users to see the DB name
(not a big deal, but bad form).
    Fixes #1028

svn path=/trunk/boinc/; revision=22748
2010-11-25 05:54:09 +00:00
David Anderson 723c764963 - server: add scripts to submit jobs for demo application
svn path=/trunk/boinc/; revision=22676
2010-11-10 22:54:56 +00:00
David Anderson e1e55f5db6 - web: add an option project-specific pref for
"accelerate GPU tasks by dedicating a CPU to each one".
    Enable this by putting
        $accelerate_gpu_apps_pref = true;
    in html/project/project.inc

svn path=/trunk/boinc/; revision=22657
2010-11-09 05:10:56 +00:00
David Anderson 0630ffa054 - web: fix "seperator" spelling
svn path=/trunk/boinc/; revision=22650
2010-11-08 17:56:39 +00:00
David Anderson 4d79a87eb6 - web: show prefs bools as checkboxes rather than radio yes/no
svn path=/trunk/boinc/; revision=22634
2010-11-08 16:44:57 +00:00
David Anderson e87f289544 - fix formatting in PHP code
svn path=/trunk/boinc/; revision=22623
2010-11-04 18:20:57 +00:00
David Anderson f4345f9dc4 - user web: various enhancements and fixes from Simek.
Fixes #1020

svn path=/trunk/boinc/; revision=22620
2010-11-03 21:48:39 +00:00
David Anderson f484e732cd - web: fix next-URL mechanism for admin login (from Michael Tarantino)
svn path=/trunk/boinc/; revision=22604
2010-10-29 17:49:29 +00:00
David Anderson 020a4d4ed1 - user web: in RSS item for private message, don't say anything
about the message (sender, title, or content)
- user web: don't send an RSS item for a thread with no posts (i.e., hidden)
- client simulator: support global_prefs_override.xml

svn path=/trunk/boinc/; revision=22545
2010-10-17 20:12:14 +00:00
David Anderson 56ff7cf37f - client simulator: get it to work for GPU simulation
- web: small fixes to mollify skipfish

svn path=/trunk/boinc/; revision=22485
2010-10-08 23:18:12 +00:00
David Anderson f3a382154b - web: fix XSS vulnerability
svn path=/trunk/boinc/; revision=22470
2010-10-07 17:11:15 +00:00
David Anderson f6e9a3c0c1 - fix a few absolutely last messages with "attach", "detach"
svn path=/trunk/boinc/; revision=22462
2010-10-06 20:13:34 +00:00
David Anderson ec4e883ebd - web: fix bug in "email passwd" page
svn path=/trunk/boinc/; revision=22445
2010-10-04 23:48:01 +00:00
David Anderson 1c4422985f - client: add <no_info_fetch> config option and --no_info_fetch
cmdline arg.
    Suppresses the fetch of project list and of current client version #.
    Use when running on grid nodes.
- debugging on client simulator.  Not done yet.

svn path=/trunk/boinc/; revision=22414
2010-09-27 20:34:47 +00:00
David Anderson d1e66f0427 - web: appearance tweaks from Simek; fixes #1012
svn path=/trunk/boinc/; revision=22394
2010-09-20 23:59:25 +00:00
David Anderson 82c80f73be - web: bug fix
svn path=/trunk/boinc/; revision=22379
2010-09-16 19:01:14 +00:00
David Anderson 884a53ff91 svn path=/trunk/boinc/; revision=22378 2010-09-16 18:55:48 +00:00
David Anderson 1c953745ed - web: don't call filter_var() if it doesn't exist (PHP version < 5.2)
svn path=/trunk/boinc/; revision=22377
2010-09-16 18:53:39 +00:00
David Anderson d3e4c729e5 - web: don't require that SECURE_URL_BASE be set,
or that it end with a /

svn path=/trunk/boinc/; revision=22366
2010-09-15 23:47:49 +00:00
David Anderson 3de5a1d410 - client: remove spurious msgs about deleting files while in use
- scheduler: add log messages related to max jobs in progress

svn path=/trunk/boinc/; revision=22342
2010-09-13 21:20:30 +00:00
Rytis Slatkevičius b812b28e5b Quick fix of result filtering by app
svn path=/trunk/boinc/; revision=22340
2010-09-13 16:12:00 +00:00
Rytis Slatkevičius 4c1dfc6701 user web: filter results by application.
svn path=/trunk/boinc/; revision=22339
2010-09-12 09:43:20 +00:00
David Anderson 7f0d38ae0c - web: make strings translatable. From Simek, fixes #1007
svn path=/trunk/boinc/; revision=22319
2010-09-07 18:20:29 +00:00
David Anderson 9ed4f892b8 - web: make some strings translatable, fixes #1006, from Simek
svn path=/trunk/boinc/; revision=22316
2010-09-06 13:31:18 +00:00
David Anderson d6315c7112 - fix various XSS vulnerabilities reported by the
Acunetix Web Vulnerability Scanner (free edition)


svn path=/trunk/boinc/; revision=22315
2010-09-04 22:13:27 +00:00
David Anderson 98d44b0120 - web: finish the above
svn path=/trunk/boinc/; revision=22313
2010-09-02 19:29:28 +00:00
David Anderson acb8d8ed0c - web: if SECURE_URL_BASE is defined in html/project/project.inc,
use it a prefix for forms that include passwords,
    namely login_form.php and create_account.php.
    Typically SECURE_URL_BASE would start with "https://".


svn path=/trunk/boinc/; revision=22307
2010-08-29 10:24:39 +00:00
David Anderson 5d05a8d49e - web: check the "next URL" passed to login and account
creation scripts to ensure they refer only to local pages
    (i.e. they don't contain "://").
    This prevents cross-site scripting attacks (I think).

svn path=/trunk/boinc/; revision=22300
2010-08-28 00:06:29 +00:00
David Anderson 0894974aa7 Update Translations
svn path=/trunk/boinc/; revision=22275
2010-08-20 19:04:09 +00:00
David Anderson 7ca6eeecd2 - web: remove align=right on BBcode images
svn path=/trunk/boinc/; revision=22228
2010-08-14 01:49:08 +00:00
David Anderson b2064d0cd0 - admin: add script for deleting results with no workunit.
There were ~1,400 of these on SETI@home,
    presumably because of a bug at some point in the past.

svn path=/trunk/boinc/; revision=22197
2010-08-11 18:52:11 +00:00
David Anderson ede7c8cea9 - web: right-align bbcode images
- API: warning fix

svn path=/trunk/boinc/; revision=22160
2010-08-07 03:33:25 +00:00
David Anderson 8677a50473 svn path=/trunk/boinc/; revision=22102 2010-08-03 03:56:13 +00:00
David Anderson c0776ea188 - user web: put RSS item titles in CDATA
- sched: get rid of unused config items
- manager: msg tweak

svn path=/trunk/boinc/; revision=22045
2010-07-22 22:57:15 +00:00
David Anderson fe156c945c - user web: translation fixes
svn path=/trunk/boinc/; revision=21938
2010-07-14 19:20:31 +00:00
David Anderson b1851ce02c - user web: PHP 5.3 compatibility fix, from Nicolas. Fixes #787
svn path=/trunk/boinc/; revision=21878
2010-07-06 23:31:26 +00:00
David Anderson 4b48120b05 - user web: show app name in anonymous platform case on task list
svn path=/trunk/boinc/; revision=21846
2010-06-30 18:37:39 +00:00
Rytis Slatkevičius 6c5fc14a23 user web: flag to send less information on team member XML requests (from Willy de Zutter).
svn path=/trunk/boinc/; revision=21780
2010-06-20 08:35:36 +00:00
David Anderson 30d7ced4ca - user web: code cleanup in prefs.inc
svn path=/trunk/boinc/; revision=21766
2010-06-17 19:11:00 +00:00
David Anderson 5978cd0c3b - user web: don't show claimed credit
svn path=/trunk/boinc/; revision=21761
2010-06-16 23:52:28 +00:00
David Anderson 2eef482a12 - API: fix bug that caused parallel apps to get compute error
when they were suspended without "leave in memory" pref
- user web: if in-progress result has credit, show it; fixes #998

svn path=/trunk/boinc/; revision=21748
2010-06-14 21:24:07 +00:00