Commit Graph

8 Commits

Author SHA1 Message Date
David Anderson 3fc341fc60 - user web: fix numeric field sanitization in prefs. Fixes #1087.
- client: if PREFS::max_ncpus_pct is 0, don't set it to 100;
    doing so prevents PREFS::max_ncpus from having any effect.


svn path=/trunk/boinc/; revision=23355
2011-04-08 00:14:01 +00:00
David Anderson 4d79a87eb6 - web: show prefs bools as checkboxes rather than radio yes/no
svn path=/trunk/boinc/; revision=22634
2010-11-08 16:44:57 +00:00
Rytis Slatkevičius c2ffa60527 user web: fix boolean type preferences for non-english languages where PREF_BOOL is used
svn path=/trunk/boinc/; revision=21553
2010-05-17 16:13:23 +00:00
David Anderson 91665c7109 - user web: bug fixes for prefs
svn path=/trunk/boinc/; revision=21301
2010-04-26 20:28:54 +00:00
David Anderson 26c0814d26 - client: clean up network suspension logic.
There are now separate flags for
    "file_xfers_suspended": don't do file transfers
    "network_suspended": don't do any network comm
        (scheduler RPCs, RSS fetch, master fetch, etc.)
    The policy:
    if preferences/settings say no network
    (quota exceeded, no-network mode, user active, time, excl. app)
    then:
        file_xfers_suspended = true
        if (no recent network-related RPC) network_suspended = true
- user web: code cleanup for project prefs

svn path=/trunk/boinc/; revision=21299
2010-04-26 19:31:28 +00:00
David Anderson 37f08f46b0 - user web: message tweaks
svn path=/trunk/boinc/; revision=21290
2010-04-26 02:34:58 +00:00
David Anderson 8f91d96150 - user web: add network quota pref (the goal that spurred all this cleanup)
- rename prefs.daily_xfer_period to daily_xfer_period_days


svn path=/trunk/boinc/; revision=21269
2010-04-23 20:29:02 +00:00
David Anderson a32dca3fbc - user web: separate general stuff from prefs.inc
svn path=/trunk/boinc/; revision=21268
2010-04-23 18:32:30 +00:00