Commit Graph

3156 Commits

Author SHA1 Message Date
David Anderson e85a18289e client (win): fix typo in last commit 2013-07-30 10:47:54 -07:00
David Anderson d078038daa web: add "mobile" prefs venue
Note: the prefs code is badly in need of modernization.
Adding a venue should not require changing a bunch of code.
2013-07-26 11:23:27 -07:00
David Anderson 93d6f5ef16 transitioner: don't set result.mod_time to null; this fails if the DB field has accidentally been marked as not null. 2013-07-18 17:10:54 -07:00
David Anderson 1117e03d54 web: fix XSS vulnerability in team_member.php 2013-07-18 12:50:42 -07:00
David Anderson 3faf18c7b4 remote_submit script: exit with nonzero status if error
Also, suppress warnings from simplexml_load_string()
2013-07-16 13:18:46 -07:00
David Anderson 4d09bb549c web: fix bug where am_set_info RPC incorrectly removed people from teams
The problem: post_int() was returning 0 rather than null when arg is missing
2013-07-10 13:00:50 -07:00
David Anderson 7a281665c0 Admin web: change App and App Version admin pages to limit POST size
On projects with lots of app versions and small POST size limits
(PHP or Apache config?) limit could be exceeded,
causing incorrect DB updates.
Fix this by having one Update button per app version.
Similar for apps.
2013-07-02 14:51:19 -07:00
David Anderson 85245f1802 web: show host product name to owner 2013-06-26 16:23:50 -07:00
David Anderson 2ad0e83417 web: don't show host cache size if we don't know it 2013-06-26 16:16:21 -07:00
David Anderson 57a6d3d17a client (Android): make max battery temperature a preference
Note: internal change only; there's no GUI for this yet
2013-06-20 21:47:34 -07:00
David Anderson bd032149ef admin web, manage app versions: show app versions in better order 2013-06-03 14:49:27 -07:00
David Anderson 213bb934a7 Condor interface changes
BOINC_QUERY_BATCHES now prints, for each queried batch,
    a count of jobs followed by the jobs
BOINC_ABORT_JOBS takes a list of jobs, which may belong to different batches.
    The handler for this looks up the batches and makes sure
    the jobs belong to the user.
2013-05-30 23:38:33 -07:00
David Anderson 286646554e web: fix broken link to change-password form if SECURE_URL_BASE not defined 2013-05-28 23:19:18 -07:00
David Anderson 48e044fa76 Condor interface: bug fixes, and set WU names correctly 2013-05-28 23:14:17 -07:00
David Anderson cde42fcbcc server: parse product_name in scheduler request, store in DB
This will let projects see what kind of device each Android host is,
possibly helping with app debugging.
2013-05-23 23:30:42 -07:00
David Anderson b5dc74011a remote job submission: fix bad link 2013-05-22 23:33:07 -07:00
David Anderson 023e1ce684 web: don't try to increate PHP mem limit to 256MB
Apparently this generates warning messages that fill up log files,
and we may not need it anymore.
2013-05-22 11:10:49 -07:00
David Anderson 8e2524f55f Unix build: Makefile changes for "make install", from Steffen Moeller
"make install" followed by make_project should now work
2013-05-20 15:19:13 -07:00
David Anderson 56b97523e0 admin web: fix result "summary by app version" to show anonymous platform 2013-05-19 23:05:02 -07:00
David Anderson 2cfb1163f2 admin web: avoid divide by zero 2013-05-19 10:00:42 -07:00
Rytis Slatkevicius 3bef989991 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-05-17 11:13:44 +03:00
Rytis Slatkevicius 258c6d802b Allow additional CSS file for ops pages (defined in project.inc as ADMIN_STYLESHEET) 2013-05-17 11:12:29 +03:00
David Anderson 206c1c6b75 web: fix bug that allowed HTML tags in user names 2013-05-14 22:11:22 -07:00
David Anderson 1b4c2c0dbf web: fix PHP warnings 2013-05-13 23:29:19 -07:00
David Anderson e12280909f web: fix PHP warnings, and a small bug in forum search 2013-05-13 12:29:07 -07:00
Rytis Slatkevicius f34e7c10df Show the number of feeder slots for each application (based on app weight) in the ops pages 2013-05-10 10:17:39 +03:00
David Anderson b8edb91ec1 web: fix PHP warnings, and use HTTPS for all forms with password 2013-05-09 22:49:25 -07:00
David Anderson 7a63c1bb71 web: PHP warning fix 2013-05-08 23:08:50 -07:00
David Anderson 78c6cac276 web: fix PHP warnings 2013-05-08 22:42:43 -07:00
David Anderson b0555bbf24 web: fix some PHP warnings 2013-05-07 00:53:06 -07:00
David Anderson 82b153b75d admin web pages: validate some input values 2013-05-06 16:41:55 -07:00
David Anderson c93b12dd60 web: fix PHP warnings 2013-05-04 10:15:04 -07:00
David Anderson 6b22ba2902 web: fix PHP warning 2013-05-04 00:01:20 -07:00
David Anderson 4f7bd9e7ad web: user $x = new StdClass instead of $x = null for new objects 2013-05-03 22:12:26 -07:00
David Anderson 0c430ce1fa Add support for multi-size apps
See http://boinc.berkeley.edu/trac/wiki/MultiSize
The components of this include:
- DB changes:
    add size_class to workunit and result
    n_size_classes to app; >1 means multi-size
- size_regulator daemon program: change results states
    from INACTIVE to UNSENT carefully
- size_census program; writes quantile info in flat files
- transitioner: when creating results for multi-size apps,
    set server state to INACTIVE
- sched shmem (feeder): read quantile info from flat files,
    store in shared memory
- scheduler (score-based scheduling): for multi-size apps,
    add component to score function for size class.
- show_shmem: show result size class
- make_work (and other callers of count_unsent_results()):
    count both INACTIVE and UNSENT
- create_work: add --size_class cmdline option

Also:
- if get MySQL errors in upgrade, don't rewrite db_version
2013-04-25 00:27:35 -07:00
David Anderson 8740e9a2b5 - web: update text for finding data directory 2013-04-24 19:15:06 -07:00
David Anderson 17be087b00 - web: Remove "I've also got this question" and "My question has been answered"
buttons from threads in Questions and Answers forums.
    These are a vestige from when Q&A forums were different from other forums,
    i.e. questions were sorted by frequency of being asked,
    and answers were sorted by their relevance.
    I still like this idea, but it didn't catch on.
2013-04-20 14:18:51 -07:00
David Anderson 478900c321 - web/scheduler: add project preference for not getting Intel GPU jobs 2013-04-20 12:25:55 -07:00
David Anderson 0eaaca174a - make_project: don't write <cgi_url> in config.xml; it's not used 2013-04-13 21:32:10 -07:00
David Anderson 0e3a30c17e - remote job submission: fix bug in web interface 2013-03-28 22:53:01 -07:00
David Anderson b93e80c6f5 - client: code cleanup. Some variable/function/constant names
contained "debt" when they actually refer to REC.
    Change these names to use "rec".
2013-03-24 11:22:01 -07:00
David Anderson a78705a8d4 - client emulator: ignore non-CPU-intensive apps
- remote job submission:
    - prefix error messages with "BOINC server:"
      so higher levels can tell where the error is coming from
    - "get templates" RPC can take job name instead of app name
- Condor interface
    - add BOINC_SELECT_PROJECT function
    - BOINC_SUBMIT no longer has info about output files
    - Change BOINC_FETCH_OUTPUT semantics
2013-03-22 22:04:35 -07:00
David Anderson 9591a8adec - remote job submission debugging 2013-03-22 10:39:45 +01:00
David Anderson 1f2f32f115 - remote job submission: bug fix to get_output.php, from Nicolas 2013-03-22 10:31:43 +01:00
David Anderson 1ef582aad6 - client: improve work fetch messages
- web: include user ID in email to moderators about banishment
2013-03-22 10:29:48 +01:00
David Anderson 16738c6f30 - remote job submission: don't confuse remote and semilocal file modes 2013-03-22 10:29:48 +01:00
David Anderson 377ef87c0f - remote job submission: fix remote file mode, and improve error reporting 2013-03-22 10:29:48 +01:00
David Anderson d95da0f75c - Condor integration:
- change "query_batch" to "query_batches"; allow multiple batches
    - add "ping server" web RPC and GAHP function
    - change BoincDb::get() so that it generates XML error message if needed
2013-03-22 10:25:39 +01:00
David Anderson 033a47691b - client: write log flags in alpha order 2013-03-15 13:38:44 +01:00
David Anderson bd8ecb1b00 - Condor integration:
- add Web RPC for querying a completed job (returns status,
        stderr out, run times, etc.)
    - support Jaime's changes to GAHP protocol
    - support for zipped output files
2013-03-15 13:38:44 +01:00