David Anderson
d21a062f89
validator: initialize per-app avg credit update times to now rather than 0
...
Hopefully this will make per-app avg credit add up to
something close to the overall average
2014-08-18 20:10:08 -07:00
David Anderson
252f38522f
Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2
2014-08-18 13:49:43 -07:00
David Anderson
ce8e78e10e
web: add script for granting badges based on per-subproject credit totals
...
See http://boinc.berkeley.edu/trac/wiki/PerAppCredit
2014-08-18 13:48:27 -07:00
Rom Walton
fcd78ab22c
Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2
2014-08-18 13:17:40 -04:00
Rom Walton
5fc1116f33
MGR: On Windows Vista and newer, let the service control manager shutdown the core client to prevent crash dialogs from appearing on some peoples systems when Windows is shutting down.
2014-08-18 13:17:15 -04:00
David Anderson
c4a480be29
XML stats export: fix bug in credit-by-app files
2014-08-18 10:00:59 -07:00
Charlie Fenton
db483f664e
MGR: On MS Windows, adjust width of Task Control buttons, Event Log and Log Flags dialog for users DPI setting.
2014-08-18 05:49:31 -07:00
David Anderson
e482b34a8b
_autosetup: tweak to work with dash as well as bach (from Christian)
2014-08-18 00:25:53 -07:00
David Anderson
2fa78ba328
make_project: don't generate Apache 2.4 directives because they break 2.2
...
... but put in comments saying what changes are needed.
2014-08-18 00:14:58 -07:00
David Anderson
bb25de5481
_autosetup: fix apparent typo
2014-08-18 00:08:59 -07:00
David Anderson
25fc233f4d
make_project: change httpd conf syntax for Apache 2.4
...
Add
Require all granted
as well as (for 2.2)
Order allow,deny
Allow from all
See http://httpd.apache.org/docs/2.4/upgrading.html#run-time
2014-08-17 23:58:30 -07:00
David Anderson
8f0893b140
db_dump: export credit_by_app files in XML stats
...
It does this by running html/ops/export_credit_by_app.php.
I added a cmdline arg to this script saying where to write the files.
2014-08-17 23:29:41 -07:00
Rom Walton
53d4f803f2
BUILD: Increase the build number for vboxwrapper.
2014-08-18 01:22:34 -04:00
Rom Walton
0bea6cb296
VBOX: Do not use a VM's XML file to determine valid disk controller combinations, vboxmanage attempts to maintain backwards compatibility so we do not have too.
2014-08-17 21:49:22 -04:00
David Anderson
14548a7377
web: small bug fix
2014-08-16 16:31:30 -07:00
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