Commit Graph

24932 Commits

Author SHA1 Message Date
David Anderson c39d497bae web: add sum() member for BoincCreditUser and BoincCreditTeam 2014-08-16 14:09:42 -07:00
David Anderson 126183ce19 server: add script to export per-app credit data as XML
Add an official notion of "sub-project": see
http://boinc.berkeley.edu/trac/wiki/PerAppCredit
2014-08-15 16:20:40 -07:00
David Anderson dbd2d03a0d server/web: add support for per-application credit
See http://boinc.berkeley.edu/trac/wiki/PerAppCredit
If enabled (by the <credit_by_app> config flag)
validators will maintain on a per-(app, user, credit type) basis,
and same for teams,
in new DB tables credit_user and credit_team.
This info is displayed in the web site, on user and team pages,
using project-supplied functions to generate the HTML.

Note: update_stats doesn't decay the recent-average values
for per-app credit; I'll add this if needed.
2014-08-15 14:01:32 -07:00
Rom Walton 2128990681 BUILD: Increase the build number for vboxwrapper. 2014-08-14 23:57:12 -04:00
Rom Walton 0ca81cb1da Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-08-14 23:54:23 -04:00
Rom Walton d1c28266fa VBOX: with VirtualBox 4.3 they renamed the 'IntelAHCI' disk controller to 'AHCI'. Automatically adjust depending on the installer version of VirtualBox. 2014-08-14 23:53:01 -04:00
David Anderson 977b141472 Unix build: if _autosetup run with -f, run autoreconf with -f also
Also: extend .gitignore to ignore to ignore files created
by _autosetup, configure, and make.
From Christian.
2014-08-14 13:52:32 -07:00
David Anderson 838259a9fd web: make server status cache period configurable; from Christian 2014-08-14 09:23:13 -07:00
David Anderson 6ab3a999c7 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-08-13 21:27:57 -07:00
David Anderson e2e08e313d vboxwrapper: small code cleanup 2014-08-13 21:27:30 -07:00
Rom Walton 86b2b9a270 * BUILD: Increase the build number for vboxwrapper. 2014-08-13 17:46:03 -04:00
Rom Walton ea6c073082 VBOX: Configure guest VM BOIS so that it can boot off of DVD ISO images. 2014-08-13 16:56:05 -04:00
Rom Walton 355c911d9b VBOX: If <enable_isocontextualization/> is enabled, update which drive controller to use and attach the guest additions to the VM. This should allow uCernVM to update the guest additions it uses on boot. 2014-08-13 14:15:37 -04:00
Rom Walton 27cc7a8c42 VBOX: Acquire the location of the guest additions for future use. 2014-08-13 13:46:38 -04:00
Rom Walton 39e435654b BUILD: Increase the build number for vboxwrapper. 2014-08-13 12:48:20 -04:00
David Anderson 72f1af04d2 web: make links to specific posts work even if "jump to first in thread" unset
In forum_thread.php, always call jumpToThread() on page load.
The function will be defined in a way that does the right thing based on prefs.
2014-08-12 12:25:50 -07:00
David Anderson 55fcb7ddaf web: forums: enable "jump to post" if not logged in 2014-08-12 12:14:02 -07:00
David Anderson 7ed32661cb vboxwrapper: fix bug in forwarding multiple ports 2014-08-12 09:18:35 -07:00
David Anderson dd5c8a804c web: add "chars remaining" for friend message
friend-request messages have a 250 char limit.
Show this in the GUI.
Factor this out into a function so we can use it elsewhere if needed.
2014-08-11 15:45:13 -07:00
Charlie Fenton b482a8241e Mac: update VBoxWrapper Xcode project for compatibility (fix compile breaks) with Apple LLVM 5.0 compiler under Xcode 5. 2014-08-11 15:36:45 -07:00
David Anderson 3788d0c337 web: code cleanup 2014-08-11 14:57:34 -07:00
David Anderson 3c4c015403 Unix build: fix earlier commit 2014-08-11 12:05:29 -07:00
David Anderson d77f322014 scheduler, show_shmem: if shared mem size mismatch, give details 2014-08-11 11:46:25 -07:00
David Anderson 9b08194c5e web: on apps page, show which apps and app versions are beta 2014-08-11 11:43:25 -07:00
David Anderson 3913022bd5 Unix build: fix typo in lib Makefile, from Gianfranco 2014-08-11 11:30:34 -07:00
David Anderson cd1a12d4f4 web: show badges in more places
Also: improve the badge admin page
Also: zebra-stripe top user and team lists
2014-08-11 09:50:06 -07:00
Rom Walton 1f5e5b6b64 BUILD: Increase the build number for vboxwrapper. 2014-08-11 10:38:08 -04:00
Charlie Fenton 9ca8330aae Mac: update for compatibility (fix compile breaks) with Apple LLVM 5.0 compiler under Xcode 5. 2014-08-11 04:09:12 -07:00
David Anderson d83ebf4476 Manager: color tweak 2014-08-10 15:47:04 -07:00
David Anderson 0bbcf28d94 Manager: use same color scheme for statistics as for disk usage 2014-08-10 15:33:07 -07:00
David Anderson 0189132695 web: handle BBcode [pre] correctly 2014-08-10 10:26:10 -07:00
David Anderson 31541e166d client: set work requests for coprocs specified in cc_config.xml
We weren't copying the request fields from RSC_WORK_FETCH to COPROC.
Do this, and clean up the code a bit.

Note: the arrays that parallel the COPROCS::coprocs array
are a bit of a kludge; that stuff logically belongs in COPROC.
But it's specific to the client, so I can't put it there.
Maybe I could do something fancy with derived classes, not sure.
2014-08-09 21:44:39 -07:00
David Anderson 9f1625a0a7 scheduler and client: fix mechanism for exposing user CPID to GUI
A month or two ago I added code to put user CPID in the project info
exported via GUI RPC, so that GUIs (like BoincTasks) could link
to user pages on stats sites.

However, I completely forgot that the CPID known to the client
(PROJECT::cross_project_id) is the "internal CPID",
while what gets exported to stats is the "external CPID",
which is MD5(internal CPID, email addr).

Solution: include the external CPID in scheduler replies,
store it in the client state file,
and export it in GUI RPCs as PROJECT::external_cpid.

This will eventually work for BoincTasks,
but only after projects update their server software,
and volunteers update their client software.
2014-08-08 12:58:08 -07:00
David Anderson b1fabcfedd web: add optional project-specific pref for preferring non-graphical apps
Also: show beta-test preference if project has beta app versions
2014-08-07 15:43:41 -07:00
David Anderson 82da9693a3 scheduler: fix S@h compile error 2014-08-07 14:47:17 -07:00
David Anderson aa8c53773b web: factor project prefs code into a separate file
I set out to make project-specific prefs use the same object framework
(PREF_BOOL, PREF_NUM etc.) as other prefs.
This turned out to be infeasible, so I settled for a code cleanup instead.

The reason it's infeasible is that the "other prefs" code
uses a SAX parser (xml_parser_create() etc.),
while the code for project-specific prefs uses the primitive
parse_element() and parse_next_element() functions in util_basic.inc.

If I'm going to change anything, I want to switch to a DOM parser
(e.g. simplexml) for both purposes.
2014-08-05 21:02:59 -07:00
Rom Walton c395efb161 Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-08-04 17:36:23 -04:00
Rom Walton 4d915cb239 DOC: Update dev version to 7.4.12. 2014-08-04 17:35:57 -04:00
David Anderson cd5a87150b web: show generated time on top CPU and GPU pages 2014-08-04 14:21:13 -07:00
Joachim Fritzsch 5d8fc6ff40 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-08-03 10:05:20 +02:00
Joachim Fritzsch 701f55cf71 android: batch attach, add account manager as option to project list. 2014-08-03 10:04:38 +02:00
Joachim Fritzsch a63090369e andorid: social media integration, polished strings for invite feature. 2014-08-03 08:57:59 +02:00
David Anderson ab9b146054 vboxwrapper: add a general port-forwarding mechanism
All vbox_job.xml to specify ranges of port forwardings,
and whether the access to the host ports is remote or local.
This is to support MPI for Rytis.

Notes:
- the existing feature (pf_guest_port) is used only for web graphics.
  The host port is always dynamically assigned;
  there's no reason to have <pf_host_port>; I removed it from the doc.
  There's no reason to write the host port to a file; I removed that.
- The new feature is only for fixed host ports.
- The checkpoint file can stay the way it is.
2014-08-02 23:07:22 -07:00
Charlie Fenton 7a0afdba65 MGR: On MS Windows, adjust width of Advanced Preferences dialog to fit all tabs without scrolling. 2014-08-01 02:26:01 -07:00
Rom Walton 917bf6762c client: Remove the strerror() call from switcher_exec with regards to the task_debug output. For the things switcher does the exit code is not an errno value. 2014-07-31 20:46:44 -04:00
David Anderson daf5ddd580 client: fix bugs in task cleanup
There was at least one case where we weren't cleaning up
subsidiary processes (e.g. VMs) when a task's main process exited.

Fix this by consolidating task cleanup (shared mem and subsidiary processes)
in ACTIVE_TASK::cleanup_task().
This gets called when a tasks' main process exits.
2014-07-31 15:42:56 -07:00
Rom Walton 7feae3ae7f tools: make sure update_versions actually puts the api_version into the xml_doc field. 2014-07-31 14:28:39 -04:00
Rom Walton c761050185 client: balance Windows/*nix use of coproc command line stuff. 2014-07-30 20:07:02 -04:00
Charlie Fenton 72639e0259 client: fix compiler warning on non-Windows systems introduced by commit 5517242. 2014-07-30 17:00:35 -07:00
Rom Walton 5517242dd0 client: fix build break 2014-07-30 17:25:22 -04:00