Commit Graph

676 Commits

Author SHA1 Message Date
David Anderson c6346bef5f Translation system: fixes and updates
Add script (compare_pot) for comparing templates module comments,
   and sending reminder emails if they differ.
Add script (buid_pos) for generating all templates and comparing
   them with current versions.
2013-10-15 11:19:59 -07:00
Rytis Slatkevicius b7a89884b8 Fix incorrect assigment title for users; fix warnings in assign.php 2013-10-10 16:35:43 +03:00
David Anderson f5ac21908f server: fix typo in expire_batches script 2013-10-07 13:16:33 -07:00
David Anderson 2a2c9c4ad8 remote job submission: add notion of "expire time" for batches (for Condor)
- Batches now have optional "expire time".
  If this time passes and the batch is not retired, abort and retire it.
- Add script "expire_batches" which enforces the above.
  Run it as a periodic task.
- Add a web RPC for setting the expire time of a batch
  (it can be changed multiple times)
- Add a C++ interface for this RPC
- Add a BOINC_SET_LEASE command to the BOINC GAHP
  ("lease" is Condor term for expire time)
2013-09-17 13:35:55 -07:00
David Anderson dd41c91c32 client: message tweaks 2013-09-17 13:05:06 -07:00
David Anderson 73d7e0cb81 Server: change declaration of mod_time fields to work with MySQL 5.6 2013-09-10 19:12:47 -07:00
David Anderson 769cc7eaea admin web: link hosts in failure page 2013-08-16 22:31:18 -07:00
David Anderson e401380d5c admin web: fix PHP errors in failure page 2013-08-16 22:21:12 -07:00
David Anderson cca4b96152 admin web: fix PHP warning 2013-08-16 12:20:40 -07:00
David Anderson 6501519031 admin web: in failure-by-version page, show anon platform versions correctly 2013-08-16 11:59:46 -07:00
David Anderson 4a8e916399 admin web: fix "error by platform" page if anon platform used 2013-08-16 10:44:58 -07:00
David Anderson e1523cc093 admin web: add option to Cancel Jobs page to cancel only unsent jobs 2013-07-30 14:07:34 -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 bd032149ef admin web, manage app versions: show app versions in better order 2013-06-03 14:49:27 -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 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 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 82b153b75d admin web pages: validate some input values 2013-05-06 16:41:55 -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 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 033a47691b - client: write log flags in alpha order 2013-03-15 13:38:44 +01:00
David Anderson 71b6508313 - client: add <fetch_on_update> config option;
requests work when you update a project
    even if it's not highest priority
2013-03-07 11:28:43 +01:00
David Anderson 47409201aa - web (ops): update profile page generator:
- to use current DB interface
    - to add "-d" option printing debug info
    - to show start time w/o getting header errors
    From Christian Beer.
2013-03-05 17:26:33 +01:00
David Anderson bc38f557e1 - admin web: fix spurious error in manage user page 2013-03-05 16:33:40 +01:00
David Anderson c9ce9eeccc - single job submission: update the setup script to use the
current app version directory structure.
2013-03-05 15:57:34 +01:00
David Anderson d4a40a8841 - admin web: remove outdated code that tried to show SVN version
in the admin main page
2013-03-05 15:05:20 +01:00
David Anderson 7f4263b079 - Condor stuff; basic function works now! 2013-03-05 14:26:40 +01:00
David Anderson be9ddc0d15 - admin web: increase mem size limit for revalidate function 2013-03-05 13:53:59 +01:00
David Anderson 4ce26192b3 - web: fix typo in sandbox feature 2013-03-04 17:44:39 +01:00
David Anderson 6e2571aa60 - job submit script tweak 2013-03-04 17:39:25 +01:00
David Anderson c2836e1cb8 - job submit priority tweak 2013-03-04 17:39:25 +01:00
David Anderson 3d60ae2508 - add PHP script for initializing user submit priorities
based on existing batches
2013-03-04 17:39:23 +01:00
David Anderson afdc69a8a8 More Line Ending Changes 2013-03-04 17:19:38 +01:00
David Anderson 3cf17049b5 - server: fix create_forums.php 2013-03-04 15:23:37 +01:00
David Anderson 300fa71763 - web: remove default forum 2013-03-04 15:23:37 +01:00
David Anderson fdc085264a - client (Win) preallocate large files to avoid file fragmentation
when you write to them incrementally
    (workaround for shoddy filesystem design)
- admin web: remove line that limited mass emails to 10
2013-03-04 15:23:37 +01:00
David Anderson 3af9309894 - admin web: change revalidate function to revalidate
valid as well as invalid results
2013-03-04 15:16:58 +01:00
David Anderson 6205ffed08 - scheduler: add extra check for not sending homogeneous app version
jobs to anonymous platform clients
- remote job submission: add DB table for keeping track of files
2013-03-04 15:16:58 +01:00
David Anderson e538c8c303 - client: TIME_STATS fields go in <time_stats> part of state file
- scheduler: parse TIME_STATS fields (e.g., uptime)
- admin web: small fix for manage_apps.php
2013-03-04 14:14:05 +01:00
David Anderson 33e33abd08 - fix typo in mass email script 2013-03-01 16:26:09 +01:00
David Anderson 7076ae9e3d - remove execute permissions from various files that shouldn't have them 2013-03-01 16:26:08 +01:00
David Anderson 01c0a9a4b0 - scheduler: when resend jobs:
- don't use devices for which work is not being requested
    - obey wu_is_infeasible_custom()
        (e.g. don't send SETI@home VLAR jobs to GPUs)
- scheduler: add <debug_array_detail> log flag for slot-level messages
- admin web: show and allow control of app.beta
2013-03-01 16:26:08 +01:00
David Anderson 42756406f5 - example app: get the graphics app to build on Fedora Core 14
Note: this required installing various packages,
    and tweaking the Makefile in various ways,
    some of them FC14-specific ways
2013-03-01 16:23:13 +01:00
David Anderson 962a7ff6bf Fix DB version scripts
- db_update.php is not executable, db_schemaversion.php is
    NOTE: I suggest that we not use .php for executable scripts
2013-03-01 16:03:32 +01:00
David Anderson 9df3e3df95 - fix db revision 2013-03-01 16:03:32 +01:00
Rom Walton 02e70da914 - Fix the db schema check functionality so that it will work with make_project and upgrade correctly. We no longer rely on svnversion for this sort of thing. 2013-03-01 15:58:42 +01:00
David Anderson d339beb76e - admin web: credit browser tweaks
svn path=/trunk/boinc/; revision=26075
2012-09-06 17:13:35 +00:00