Commit Graph

1639 Commits

Author SHA1 Message Date
David Anderson f732b0b470 - web: fix bug in "report post" function
svn path=/trunk/boinc/; revision=24067
2011-08-29 17:50:00 +00:00
David Anderson e88b88f3cd - web: fix typo in profile credit/edit
svn path=/trunk/boinc/; revision=24065
2011-08-29 16:33:18 +00:00
David Anderson 1c054907c7 - web: fix some stuff broken by my checkin [24039].
- web: use & instead of & in URLs (not complete)


svn path=/trunk/boinc/; revision=24064
2011-08-29 05:37:52 +00:00
David Anderson 1daa9c804e - web: fix to the above
- web: fix forum search


svn path=/trunk/boinc/; revision=24063
2011-08-28 21:27:52 +00:00
David Anderson 34efc9a85e - web: add a magic header string that supposedly will make
Recaptcha work on some IE variants.  WTF??


svn path=/trunk/boinc/; revision=24062
2011-08-28 05:15:16 +00:00
David Anderson eff9838226 - web: more tra() stuff
svn path=/trunk/boinc/; revision=24061
2011-08-28 01:22:54 +00:00
David Anderson 4696fbd9b6 - web: comment out OpenID login - not working yet
svn path=/trunk/boinc/; revision=24056
2011-08-27 15:25:08 +00: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 49205acfd9 - job submission: fix bug where parameters specified in the
input template (e.g., delay bound) were ignored
- web: fix PHP warning


svn path=/trunk/boinc/; revision=24039
2011-08-25 05:08:47 +00:00
David Anderson b7d0d94770 svn path=/trunk/boinc/; revision=24015 2011-08-19 14:02:11 +00:00
David Anderson 578d5f924f - scheduler: fix nasty bug where SCHED_DB_RESULT::parse()
was doing memset(this, 0, sizeof(RESULT)),
    i.e. it wasn't zeroing out the whole structure.
    The elapsed_time field (which isn't reported by old clients),
    is near the end of the struct,
    and it was getting garbage, e.g. 1e-304, in some cases,
    which led to zero credit (and maybe other problems)
- validator: treat 1e-304 like zero in case of other problems
    like the above.
- remote job submission: tweaks


svn path=/trunk/boinc/; revision=23947
2011-08-08 04:37:53 +00:00
David Anderson bc52bf3563 - remote job submission: bug fixes
svn path=/trunk/boinc/; revision=23943
2011-08-07 22:36:17 +00:00
David Anderson dec057eaab - update_versions: fix bug where files not listed in version.xml
are not processed correctly
- remote job submission: debug
- create_work: --rsc_fpops_est etc. should override the template file


svn path=/trunk/boinc/; revision=23942
2011-08-07 04:32:02 +00:00
David Anderson 69912085b9 - web: send user a private message when
- one of their posts is moderated
    - a banishment vote starts or completes.
    This is needed in cases where the user can't or doesn't
    read email to their account's address.
    The "from" address of the PM is that of the user, not the moderator.

svn path=/trunk/boinc/; revision=23941
2011-08-06 07:11:17 +00:00
David Anderson 2d85ed6ed3 - scheduler: apparently some hosts send GPU parameters that cause
the peak_flops to be negative (probably #processors = -1).
    This leads to negative credit.
    Fix: if peak flops is negative, set it to 50 GFLOPS
- web: fix email validate page


svn path=/trunk/boinc/; revision=23932
2011-08-04 15:33:40 +00:00
David Anderson f3b9286d78 - client: fix bug in get_descendants(),
which prevented the client from cleaning up
    subprocesses of misbehaving multiprocess apps.
- remote job submission system:
    assign physical names to input files (based on their MD5)
    rather than having the user provide physical names
- VM apps: eliminate vbox64 plan class.  Only vbox.


svn path=/trunk/boinc/; revision=23923
2011-08-03 16:45:00 +00:00
David Anderson 8837274aae - scheduler: check for negative elapsed time in results
reported by client, set to zero


svn path=/trunk/boinc/; revision=23909
2011-07-31 17:31:12 +00:00
David Anderson 601c574ab6 - web: fix +/- forum rating, and tweak messages. Fixes #1123
svn path=/trunk/boinc/; revision=23908
2011-07-31 16:23:37 +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 9178cf5381 - user web: in instructions for logging in with authenticator,
show the actual account file name.


svn path=/trunk/boinc/; revision=23905
2011-07-31 03:37:28 +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 0bb15a2620 - user web: remove job submission:
add the ability to download zipped output files


svn path=/trunk/boinc/; revision=23873
2011-07-25 23:12:45 +00:00
David Anderson 80db207b64 - user web: internationalization, from Christian Beer
svn path=/trunk/boinc/; revision=23872
2011-07-25 22:05:49 +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 4d261afbe6 - web: tweak last checkin
svn path=/trunk/boinc/; revision=23854
2011-07-18 18:10:23 +00:00
David Anderson eb592baf15 - web: when listing a user's message-board posts,
don't show team message-board posts unless
    a) the requesting user is a member of the team, and
    b) if the post is hidden, the requesting user is a team admin
    This enforces the goal that a team's message board
    is visible only to the team.


svn path=/trunk/boinc/; revision=23852
2011-07-18 17:49:07 +00:00
David Anderson bfc04f03eb - back end: fix bugs in [23648] which caused create_work
to mess up input templates containing
    <copy_file/> or other attribute tags.
    XML_PARSER now contains a member element() for when
    you want to copy an element without knowing its structure.


svn path=/trunk/boinc/; revision=23790
2011-07-04 23:51:00 +00:00
David Anderson 322617d616 - lib: fix compile warning
svn path=/trunk/boinc/; revision=23773
2011-06-23 20:44:25 +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 04c48d67b8 - web: use ReCaptcha for account creation as well as profile creation
(from Daniel)
- GUI RPC: remove have_cuda from CC_STATE.
    Use the info in host_info.coprocs instead.


svn path=/trunk/boinc/; revision=23755
2011-06-20 17:17:56 +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 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 3f2f56906e - web: make front page work for Bossa projects
svn path=/trunk/boinc/; revision=23618
2011-05-27 19:38:18 +00:00
David Anderson db9c2fa850 - web RPC: add RPC for getting teams by country
svn path=/trunk/boinc/; revision=23507
2011-05-05 16:05:23 +00:00
David Anderson bffeeb0851 - web: don't error out on old-style notice URL
svn path=/trunk/boinc/; revision=23506
2011-05-05 14:56:32 +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 dc222e1cfe - web: fix bug that cause "use signature" preference to be ignored
svn path=/trunk/boinc/; revision=23466
2011-04-26 21:38:22 +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 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 edcd09bded - client sim stuff
svn path=/trunk/boinc/; revision=23354
2011-04-07 23:10:06 +00:00
David Anderson f508218e4c - scheduler: <max_wus_in_progress> and <max_wus_in_progress_gpu>
are per-processor, not per-host.


svn path=/trunk/boinc/; revision=23326
2011-04-04 22:15:04 +00:00
David Anderson 3c74717d04 - client simulator stuff
svn path=/trunk/boinc/; revision=23235
2011-03-14 23:56:14 +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 a191566a6a - user web: show date/time on friend request page
svn path=/trunk/boinc/; revision=23131
2011-03-02 18:36:51 +00:00
David Anderson b51aee4cdf - user web: bug fix to the last checkin
- boinccmd: fix --get_project_config operation


svn path=/trunk/boinc/; revision=23120
2011-03-01 06:17:54 +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
Rytis Slatkevičius 72f5d33661 user web: add a config option to always show workunit details when using adaptive replication.
svn path=/trunk/boinc/; revision=23116
2011-02-26 13:22:51 +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 f30812355d - user web: fix "friend" functions
svn path=/trunk/boinc/; revision=23100
2011-02-24 20:55:12 +00:00
David Anderson 3b05dc6203 - scheduler: fix a problem with job resend.
When we first send a job, we pick an app version,
    then call wu_is_infeasible_fast()
    to see if the host is able to run the job with that app version.
    In addition to checking disk space etc.
    this calls wu_is_infeasible_custom() to do project-specific checks
    (e.g. for SETI@home: don't use GPUs for VLAR jobs).

    However, when we resend a job, we pick an app version
    (possibly different from the original one)
    and send the job without any checking.
    So, for example, we might send a VLAR job to a GPU,
    or send a job to a host with insufficient disk space
    (because free space has changed since original send).

    Solution: call wu_is_infeasible_fast() before resending a job,
    and if it returns true, mark the job as done and don't resend it.


svn path=/trunk/boinc/; revision=23098
2011-02-24 19:30:43 +00:00
David Anderson 4e1561279e - user web: fixes to private message functions
svn path=/trunk/boinc/; revision=23045
2011-02-16 18:08:21 +00:00
David Anderson c62a55b47f svn path=/trunk/boinc/; revision=23034 2011-02-14 21:35:29 +00:00
David Anderson 8c9c412249 svn path=/trunk/boinc/; revision=23032 2011-02-14 20:57:07 +00:00
David Anderson e615cefbaa - user web: fixes
svn path=/trunk/boinc/; revision=23031
2011-02-14 20:50:59 +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 4b9ef1e012 - user web: bug fix
svn path=/trunk/boinc/; revision=23028
2011-02-14 17:55:58 +00:00
David Anderson 4b8e5855eb - user web: bug fix
svn path=/trunk/boinc/; revision=23027
2011-02-14 00:06:40 +00:00
David Anderson 164299c66f - user web: bug fix
svn path=/trunk/boinc/; revision=23026
2011-02-13 23:57:39 +00:00
David Anderson 2564465174 - user web: bug fixes
svn path=/trunk/boinc/; revision=23025
2011-02-13 23:49:28 +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 45ddf393fe - user web: bug fixes
svn path=/trunk/boinc/; revision=23023
2011-02-11 18:32:47 +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 4392d8b40f - user web: style tweaks
svn path=/trunk/boinc/; revision=23021
2011-02-11 18:09:08 +00:00
David Anderson faf7fe54c8 - client: if a logical filename contains /'s,
create the needed dirs under the slot dir
- user web: pages with translatable text should not be cached.
    Fix this for home page; there are some others

svn path=/trunk/boinc/; revision=23019
2011-02-11 00:37:01 +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 15e406e1ea - user web: warning on account delete
svn path=/trunk/boinc/; revision=23014
2011-02-09 23:45:46 +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 c6d3904766 - web tweak
svn path=/trunk/boinc/; revision=23012
2011-02-09 22:24: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 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 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 6784283211 - user web: fix bugs in server status page
- fix some indentation


svn path=/trunk/boinc/; revision=22890
2011-01-06 23:09:13 +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 7baddb24e3 - Fix bugs in Rappture wrapper
- Add README file and templates for Rappture wrapper
- create_work: create defaults for --wu_name, --wu_template, --result_template
- user web: fix typo on workunit.php

svn path=/trunk/boinc/; revision=22826
2010-12-07 19:28:08 +00:00
David Anderson e7db8d5eba - web: show details of single-replicated WUs if they have an error
fixes #1036

svn path=/trunk/boinc/; revision=22752
2010-11-29 00:02:01 +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 6478b3e05d - client: implement more scheduler changes that use
recent estimated credit (REC) instead of debt.
    These changes are enabled by
        #define USE_REC
    in work_fetch.h.
    If this is commented out (the default) the client uses
    debt-based scheduling, same as before.
    TODO: work-fetch policy changes
- client simulator: various fixes:
    - compute idle and wasted fraction based on all processing resources,
        not just CPU
    - compute job completion times based on FLOPS, not CPU seconds
    - compute and use project->no_X_apps
    etc.


svn path=/trunk/boinc/; revision=22741
2010-11-23 19:39:47 +00:00
David Anderson 2840281c56 - boinccmd: --get_cc_status now prints its result
- feeder: don't panic if can't find app for result;
    if the app is deprecated, it won't be in shmem

svn path=/trunk/boinc/; revision=22674
2010-11-10 18:17:20 +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 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 575718e420 - client: delete a notice if it's no longer in the RSS feed.
E.g., if a project deletes a news item, remove it from notices.
- notices RSS: remove the "since_time" mechanism
    (an optimization that conflicts with the above)

svn path=/trunk/boinc/; revision=22543
2010-10-17 04:01:36 +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 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 a8425b182c - web: fix login bug
svn path=/trunk/boinc/; revision=22447
2010-10-05 21:32:45 +00:00
David Anderson 984440c68f - user web: typo fix. Fixes #1018. From Simek.
svn path=/trunk/boinc/; revision=22441
2010-10-04 00:26:40 +00:00
David Anderson 5f5d64c978 - scheduler: check whether client is reporting the same result twice
in a given request message.
    Eliminate duplicates; they mess things up.
- scheduler: fix RESULT#0 problem in message log
- user web: keep credit totals when merging hosts by name

svn path=/trunk/boinc/; revision=22432
2010-09-30 21:40:44 +00:00
David Anderson fcbb8a286e - client simulator: major remodel and upgrade.
Insteady of using its own XML input files,
    the simulator now takes a client_state.xml file as input.
    The simulator generates a synthetic workload based on the
    projects, apps, app versions, WUs, and result it finds there.

    This means that a user seeing aberrant behavior
    can just send their client_state.xml file
    and (hopefully) we can use the simulator to repro.

    The simulator now can model GPUs.

    As of this checkin, the simulator compiles but doesn't work.
    There should be no change in the actual client.


svn path=/trunk/boinc/; revision=22409
2010-09-24 20:02:42 +00:00
David Anderson 695eb80680 - web: authenticate notices request
svn path=/trunk/boinc/; revision=22397
2010-09-22 22:48:15 +00:00
David Anderson b3383c281e - client/web: change RSS feed mechanism a little.
If <use_since_time> is included in feed description,
    the client will append &since_time=x to the URL,
    where x is the lastBuildDate of the previous reply.
    This notices handler (notices.php) sends only notices
    newer than this.
- client: discard old notices as they arrive

svn path=/trunk/boinc/; revision=22396
2010-09-21 23:49:21 +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 e4763dc759 - web: server_status.php is not an ops page
svn path=/trunk/boinc/; revision=22381
2010-09-17 03:45:39 +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 0ccf399136 - web: move server status page from ops/ to user/.
Remove funky file-writing stuff - just use caching.
    fixes #913
- web: include link to server status page on sample front page

svn path=/trunk/boinc/; revision=22361
2010-09-15 22:28:33 +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
Rytis Slatkevičius 97528f873a user web: fix division by zero in host app versions page.
svn path=/trunk/boinc/; revision=22331
2010-09-09 17:28:36 +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 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 c87b089770 - user web: add platform names and elapsed-time info
(represented as "average processing rate")
    to host application details page.

svn path=/trunk/boinc/; revision=22180
2010-08-10 19:45:34 +00:00
David Anderson 8677a50473 svn path=/trunk/boinc/; revision=22102 2010-08-03 03:56:13 +00:00
David Anderson 0562df07b1 - user web: don't cache XML version of show_user.php
svn path=/trunk/boinc/; revision=21952
2010-07-15 18:10:00 +00:00
David Anderson 1dca36cdc3 svn path=/trunk/boinc/; revision=21851 2010-06-30 20:14:36 +00:00
David Anderson 1d11ad5c61 - user web: notices fix
svn path=/trunk/boinc/; revision=21827
2010-06-27 04:05:48 +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 4147249de2 - server: delete old credit stuff
- user web: show host link in user result list.  Fixes #999


svn path=/trunk/boinc/; revision=21735
2010-06-12 22:08:15 +00:00
David Anderson bbad857dbd svn path=/trunk/boinc/; revision=21691 2010-06-03 20:28:26 +00:00
David Anderson e80e54fd4d - user web: add "Application info" link in host page,
linking to new page showing host_app_versions for this host
- scheduler: message tweaks

svn path=/trunk/boinc/; revision=21690
2010-06-03 20:26:02 +00:00
Rytis Slatkevičius a1b375cf4f user web: extend account manager script to export more information (from Willy de Zutter)
svn path=/trunk/boinc/; revision=21603
2010-05-23 11:10:52 +00:00
David Anderson 3cab0e3568 - web: don't cache hosts page, and make it more translatable
svn path=/trunk/boinc/; revision=21582
2010-05-19 16:28:01 +00:00
David Anderson aa1dcbcfbb - web: string fix
svn path=/trunk/boinc/; revision=21476
2010-05-12 17:09:40 +00:00
David Anderson 7933287457 - user web: no limit on PMs for moderators, admins etc.
svn path=/trunk/boinc/; revision=21328
2010-04-29 15:28:27 +00:00
David Anderson 78cd631687 - server: fix messed-up app version stats export
svn path=/trunk/boinc/; revision=21105
2010-04-05 20:57:28 +00:00
David Anderson 1d6fccfbe8 - finish up the auto-team feature
svn path=/trunk/boinc/; revision=21033
2010-03-30 20:58:39 +00:00
David Anderson 0fa5b4e129 - client/manager/GUI RPC: project_info.xml file can contain <team_name>.
If present, and a new user account is created,
    it will be made a member of that team if it exists.

svn path=/trunk/boinc/; revision=21030
2010-03-30 17:46:09 +00:00
David Anderson fb851311e0 - server: various changes;
see http://boinc.berkeley.edu/trac/wiki/CreditNew

    Projects will need to update DB and recompile all back-end programs.

    Summary:
    - new way of computing credit
    - "reliable host" mechanism is per app version
    - "host punishment" mechanism is per app version
    - adjustment of wu.rsc_fpops_est provides the
        equivalent of per app version DCF
    - max jobs in progress is now per app
    - max jobs per RPC is now per app

    TODO:
    - reliable mechanism:
        - populate and use host_app_version.error_rate
        - populate host_app_version.turnaround
    - host punishment:
        - populate host_app_version.max_jobs_per_day
        - populate host_app_version.n_jobs_today
        - use app.max_jobs_per_day_init
    - job limits:
        - use app.max_jobs_in_progress, max_gpu_jobs_in_progress
        - use app.max_jobs_per_rpc
    - adjust wu.rsc_fpops_est
    - remove old credit stuff
        fpops_cumulative, credit_multiplier
        credit computation in scheduler

- AVERAGE class: use the Knuth algorithm (Wikipedia)


svn path=/trunk/boinc/; revision=21021
2010-03-29 22:28:20 +00:00
David Anderson 03f646779c - user web: if a forum or thread is not visible to a user,
remove their subscriptions to it.


svn path=/trunk/boinc/; revision=21003
2010-03-26 05:34:14 +00:00
David Anderson 7e34f25942 - web RPC: generalize team lookup so that you can look up multiple
teams in one RPC.  From Willy de Zutter.

svn path=/trunk/boinc/; revision=20808
2010-03-06 20:25:58 +00:00
David Anderson 6214524fbe - web: translation typo
svn path=/trunk/boinc/; revision=20712
2010-02-23 22:09:11 +00:00
David Anderson 04425c51af - web: translation stuff
svn path=/trunk/boinc/; revision=20657
2010-02-19 17:51:00 +00:00
David Anderson 6dd7401da7 - various components: fix inconsistencies in how user names
and team names are represented.
    In particular, edit_user_info_action.php was using
    htmlentities() on names; this led to double-encoding.

    The new rules:
    1) no HTML tags allowed in either one.
        This is enforced silently, using strip_tags()
    2) names are stored in the DB exactly as entered.
        They may contain chars like & and >.
        They may contain non-ASCII characters
        (use UTF-8 if you want them displayed correctly).
        None of these are not escaped.
    3) When the names are put in XML
        (e.g. in scheduler reply or db_dump output)
        they are XML-escaped.
        This escapes <, &, and non-ASCII chars
    4) The client leaves them in this form,
        and writes them that way in GUI RPCs
        and init_data.xml files.
    5) The parsing of GUI RPC replies and init_data.xml files
        XML-unescapes them.

svn path=/trunk/boinc/; revision=20647
2010-02-18 22:33:26 +00:00
David Anderson 21a18b7045 - web: more translations, from Christian. fixes #982
svn path=/trunk/boinc/; revision=20582
2010-02-16 01:06:03 +00:00
David Anderson 4a963143ec - web: more translations, from Christian. fixes #981
svn path=/trunk/boinc/; revision=20568
2010-02-15 04:30:25 +00:00
David Anderson e441fdcd37 - web: make strings translatable. fixes #980
svn path=/trunk/boinc/; revision=20563
2010-02-13 22:52:55 +00:00
David Anderson eebee6f71b svn path=/trunk/boinc/; revision=20562 2010-02-13 22:33:50 +00:00
David Anderson 40416fa27b - more tra()s from Christian. fixes #976
svn path=/trunk/boinc/; revision=20463
2010-02-07 23:53:37 +00:00
David Anderson dd358791b7 - web: make a bunch of strings translatable (from Christian Beer)
fixes #977


svn path=/trunk/boinc/; revision=20462
2010-02-07 23:51:37 +00:00
David Anderson 5f1bf70056 - web: Drupal stuff
svn path=/trunk/boinc/; revision=20418
2010-02-04 16:55:16 +00:00
David Anderson e44ac6dede - web: code shuffle for Drupal
svn path=/trunk/boinc/; revision=20417
2010-02-04 16:15:54 +00:00
David Anderson 83353ad7f9 svn path=/trunk/boinc/; revision=20404 2010-02-03 17:32:25 +00:00
David Anderson f7d29f6651 - user web: if Akismet rejects thread reply, show warning
svn path=/trunk/boinc/; revision=20318
2010-01-29 17:00:14 +00:00
David Anderson 04b8cf965f - web: assume all translation files are UTF-8
svn path=/trunk/boinc/; revision=20270
2010-01-27 04:04:17 +00:00
David Anderson 03be4edeab - user web: clean up LANG_NAME_* mess
svn path=/trunk/boinc/; revision=20248
2010-01-22 18:09:05 +00:00
David Anderson b5124fe729 - client: brute-force attempt at eliminating domino-effect preemption:
if job A is unstarted and EDF,
    and there's a job B that is later in the list,
    is started, has the same app version,
    and has the same arrival time,
    move A after B.
- client: remove the "temp_dcf" mechanism,
    which had the same goal but didn't work.
- client: in computing overall debt for a project,
    subtract a term that reflects pending work.
    This should reduce repeated fetches from the same project.
- client simulator: tweaks

svn path=/trunk/boinc/; revision=20223
2010-01-21 00:14:56 +00:00
David Anderson f48de8625a svn path=/trunk/boinc/; revision=20184 2010-01-16 23:52:05 +00:00
David Anderson 4ab335eb49 - user web: make a bunch of strings translatable (from Nicolas)
svn path=/trunk/boinc/; revision=20180
2010-01-16 06:19:19 +00:00
David Anderson ee343cea02 - client: small tweak to work fetch:
if project has crazy DCF, don't automatically request 1 sec;
    only request work if there's a shortfall.
- intermediate checkin for notices stuff

svn path=/trunk/boinc/; revision=20145
2010-01-12 21:53:40 +00:00
David Anderson f10384af43 - client: add <stderr_head> config option;
sends the first rather than last 64KB of stderr to server.
    This doesn't belong here; this choice should come from the server.
    I may take this out later.
- user web: when add a private message, always add a notification

svn path=/trunk/boinc/; revision=20141
2010-01-12 18:39:59 +00:00
David Anderson 335f5506a9 - user web: make user search translatable
svn path=/trunk/boinc/; revision=20118
2010-01-10 04:28:54 +00:00
David Anderson 36dc2bfaf5 - user web: set user.has_profile when user edits profile
(shouldn't be necessary, but will fix problem cases)

svn path=/trunk/boinc/; revision=20053
2009-12-31 06:30:43 +00:00
David Anderson 98df3052c5 - web: if someone edits their profile, remove it from the cache
so that they and others will see the new version.

svn path=/trunk/boinc/; revision=20039
2009-12-25 04:23:48 +00:00
David Anderson d86c0b2802 - web tweaks
svn path=/trunk/boinc/; revision=20037
2009-12-24 22:47:53 +00:00
David Anderson 8431e2be69 - remove old file
svn path=/trunk/boinc/; revision=20028
2009-12-23 18:05:24 +00:00
David Anderson e57f286e47 - web: some fixes that arose from converting BOINC's news
to forum format.


svn path=/trunk/boinc/; revision=19963
2009-12-18 04:32:30 +00:00
David Anderson 98a192e5ac - web: bug fixes to the above.
svn path=/trunk/boinc/; revision=19951
2009-12-17 00:17:37 +00:00
David Anderson e1bdfc0ee8 - web: change the way project news is stored.
Old: in a flat file (html/project/project_news.inc)
    New: in a forum (called "News" by default)
    The script html/ops/news_convert.php copies news from
    old to new format.
    You'll also need to edit your index.php and use
    "show_news(0, 5)" to show news.
- web: added a "message of the day" mechanism.
    Edit html/user/motd.php to show a message.
    This will be shown as the first news item,
    but it's not archived (i.e., it's not a forum post)


svn path=/trunk/boinc/; revision=19949
2009-12-16 22:35:08 +00:00
David Anderson 1b7f0aa88a - web: bb2html() previously generated HTML that assumed
the BOINC stylesheet (main.css) was included.
    This is no good if we're exporting the HTML.
    Add an option to generate generic HTML.
- web: add options to the forum RSS feed:
    1) threads_only: just show threads (i.e. 1st post in each thread)
    2) truncate: truncate posts to 256 chars.
        If this is not set, convert post from BBcode to generic HTML,
        and put this (XML-encoded) in item.description
This is preparation for using the forum code for project news,
and for displaying forum RSS feeds in the manager.


svn path=/trunk/boinc/; revision=19915
2009-12-15 17:57:36 +00:00
David Anderson 39f66e6abd - client: remove redundant 0s in job log
- user web: remove some PHP warnings (from Oliver Bock)

svn path=/trunk/boinc/; revision=19272
2009-10-06 20:35:28 +00:00
David Anderson c76d166344 - user web: forum_preferences.{low_rating_threshold, high_rating_threshold}
were deprecated, but were still used in deciding whether to show a post.
    This broke the "ignore list" function.

svn path=/trunk/boinc/; revision=19218
2009-09-29 21:58:54 +00:00
David Anderson 71c7e7a74b - client/scheduler/web: add per-project preferences for whether
to accept CPU, NVIDIA and ATI jobs.
    These prefs are shown only where relevant:
    e.g., only for processor types for which the project has app versions,
    and if it has versions for only one type, no pref is shown.

    These prefs affect both client and scheduler.
    The client won't ask for work for a device blocked by prefs,
    and the scheduler won't send it.

    This replaces earlier optional project-specific prefs for
    "no CPU jobs" and "no GPU jobs".
    (However, these prefs continue to be honored on the server side).

- client: if NVIDIA driver is unknown, say that rather than 0


svn path=/trunk/boinc/; revision=19194
2009-09-28 04:24:18 +00:00
David Anderson 3bcaefd1d7 - web: show BOINC version in host displays
svn path=/trunk/boinc/; revision=19038
2009-09-10 20:30:46 +00:00
David Anderson c397a9dd9e - web: remove usage of ereg_replace()
Fixes #787.  From Nicolas Alvarez.

svn path=/trunk/boinc/; revision=19010
2009-09-06 05:33:19 +00:00
David Anderson f3cd007656 - web: export app ID in apps.php
svn path=/trunk/boinc/; revision=18787
2009-07-31 21:27:03 +00:00
David Anderson 0f0a29b5b7 - client: in get_project_config_poll() GUI RPC,
return ERR_IN_PROGRESS is the reference site check is in progress.
    This hopefully fixes a bug where:
    - the user is connected via a proxy
    - the manager is run for the first time, and an attach is tried
    - the get_project_config.php fetch fails because no proxy config
    - the manager gets the CC_STATUS before the ref site check has
        finished, so it thinks there's a network connection,
        and it doesn't ask the user for proxy info

svn path=/trunk/boinc/; revision=18712
2009-07-24 19:09:37 +00:00
David Anderson 98d6eb5830 svn path=/trunk/boinc/; revision=18500 2009-06-25 05:20:19 +00:00
David Anderson f2d6d98807 svn path=/trunk/boinc/; revision=18488 2009-06-23 17:18:29 +00:00
David Anderson 5e94337e8e - more code cleanup
svn path=/trunk/boinc/; revision=18487
2009-06-23 17:15:17 +00:00
David Anderson df9547fcf4 - web: code cleanup
svn path=/trunk/boinc/; revision=18486
2009-06-23 17:13:35 +00:00
David Anderson 9f8fda388b - web: add buttons for BBCode editing.
From John Hallissey

svn path=/trunk/boinc/; revision=18485
2009-06-23 16:37:13 +00:00
David Anderson d4a43f05eb - web RPC: tweak to forum_get_data.php
svn path=/trunk/boinc/; revision=18415
2009-06-15 03:39:27 +00:00
David Anderson 7fbe9edc15 - web: fix up country flags a little
svn path=/trunk/boinc/; revision=18397
2009-06-12 16:35:08 +00:00
David Anderson bf2f9942bd - web: don't show user ID next to posts
- web: fix [pre] bbcode


svn path=/trunk/boinc/; revision=18357
2009-06-10 22:54:21 +00:00
David Anderson 54bf84dd4e svn path=/trunk/boinc/; revision=18353 2009-06-10 18:42:15 +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 e0f8d90b4f - web: improve appearance of results page
svn path=/trunk/boinc/; revision=18298
2009-06-04 16:43:52 +00:00
David Anderson c127a5c355 - web: make [pre] work similar to [code]. fixes #798
Note: I had to move [pre] to the top of the
    preg list to make this work.  Not sure why.


svn path=/trunk/boinc/; revision=18285
2009-06-03 23:00:43 +00:00
David Anderson 77eba56c73 - web: align field name/value at top
svn path=/trunk/boinc/; revision=18278
2009-06-03 20:52:47 +00:00
David Anderson 2cf3c39055 - web: escape forum RSS entries instead of stripping tags
(from Nicolas; fixes #899)

svn path=/trunk/boinc/; revision=18190
2009-05-22 17:38:46 +00:00
David Anderson 71cbc5d400 - web: in RSS feeds, replace images with [Image link]
but allow other tags (like <a>).
    Note: if the image is itself inside a <a href=x>,
    then the [Image link] will be linked to x, not to the image.

svn path=/trunk/boinc/; revision=18169
2009-05-20 18:25:36 +00:00
David Anderson de0bf5ad83 - web: use read-only replica when possible
svn path=/trunk/boinc/; revision=18146
2009-05-18 16:58:11 +00:00
David Anderson ac99693ef9 - web: trim dutch translation file
svn path=/trunk/boinc/; revision=18073
2009-05-11 19:38:53 +00:00
David Anderson c2067ef472 svn path=/trunk/boinc/; revision=18068 2009-05-11 16:38:44 +00:00
David Anderson 372b2a61c7 - web: swap positions of reply/delete buttons in private message display
svn path=/trunk/boinc/; revision=17850
2009-04-21 01:03:48 +00:00
David Anderson 0b11a548dc - upgrade script: do DB update even if stop_web is present,
rather than spewing an HTML error message.
    Fixes #875


svn path=/trunk/boinc/; revision=17839
2009-04-17 02:08:05 +00:00
David Anderson 217b1a6086 - client: another try at fixing the above crash
- web: don't show plan class in separate column in apps list; fixes #874

svn path=/trunk/boinc/; revision=17838
2009-04-17 01:22:38 +00:00
David Anderson 2a4a81f035 - web: update black.css
svn path=/trunk/boinc/; revision=17823
2009-04-15 21:28:28 +00:00
David Anderson 81f78a0951 svn path=/trunk/boinc/; revision=17822 2009-04-15 21:20:40 +00:00
David Anderson fb70908040 svn path=/trunk/boinc/; revision=17820 2009-04-15 20:12:19 +00:00
David Anderson 04fd1e4800 - web: improve the appearance of buttons
- web: divide the stylesheet into "main.css"
    (which has formatting stuff, rounded corners etc.)
    and "white.css" (which has colors).
    The above two from Simek.
- scheduler: change default min NVIDIA driver version
    from 17500 to 17700

svn path=/trunk/boinc/; revision=17819
2009-04-15 20:09:42 +00:00
David Anderson 65560415fe - Add "html/ops/purge_profile.php" script to help admins locate
and remove spam profiles

svn path=/trunk/boinc/; revision=17753
2009-04-08 17:46:47 +00:00
David Anderson 837d3fc0a1 - get_project_config.php: include plan classes in platform list;
i.e., list both win/x86 and win/x86 + NVIDIA.
    This will allow the manager to show which projects can
    use the hosts's coprocessors,
    and also graying out projects that require an absent coproc.
- fix compile warnings

svn path=/trunk/boinc/; revision=17735
2009-04-03 21:55:26 +00:00
David Anderson 82112821f3 - web: updated the master translation file
svn path=/trunk/boinc/; revision=17654
2009-03-24 21:54:12 +00:00
David Anderson 0f6de2ea58 - upgrade and make_project scripts: run update_translations.php,
which compiles the translation files into the form
    used by the web code.
    Projects that don't use "upgrade" will need to do this manually
    whenever translation files change.

svn path=/trunk/boinc/; revision=17652
2009-03-24 21:24:57 +00:00
David Anderson 9c7d088709 - web: job lists can be filtered by status
svn path=/trunk/boinc/; revision=17629
2009-03-18 22:53:55 +00:00
David Anderson 09f1982229 - web: in pages that show results, combine "server state",
"client state", and "outcome" into a single status.
    The fact that there are three separate status fields
    is an implementation detail that users don't need to see.

svn path=/trunk/boinc/; revision=17599
2009-03-16 19:39:16 +00:00
David Anderson 012bf4c696 - scheduler: get work request parameters before resend_lost_jobs();
otherwise get NaNs for CPU fraction, etc.
- scheduler: show reasons in English when send job aborts


svn path=/trunk/boinc/; revision=17514
2009-03-05 22:12:21 +00:00
David Anderson c481086bc0 - client: show duration estimates for CPU and CUDA separately
- web: reverse Reply and Delete buttons in private msg page
    fixes #858

svn path=/trunk/boinc/; revision=17500
2009-03-04 21:02:18 +00:00