Commit Graph

27727 Commits

Author SHA1 Message Date
Rom Walton 91147106f6 client: Fix build break on Windows 2015-10-28 13:58:42 -04:00
David Anderson fbe6a4fd79 BOINC web: make the "Download BOINC + Virtualbox" button more prominent 2015-10-28 10:35:47 -07:00
Rom Walton cdd855b326 WCG: Add updated project files 2015-10-27 12:28:27 -04:00
Rom Walton bfb0ab4984 WCG: Remove obsolete project files 2015-10-27 11:42:02 -04:00
Rom Walton 96e520e685 PTP: Remove obsolete project files 2015-10-27 11:41:01 -04:00
Rom Walton af6b4b0cc6 GR: Remove obsolete project files 2015-10-27 11:40:27 -04:00
Rom Walton 69c7caf22b CE: Remove obsolete project files 2015-10-27 11:39:52 -04:00
David Anderson 24b52bd4a9 scheduler: add result priority to job score 2015-10-25 23:34:45 -07:00
Rom Walton 644eade3b6 Updating translations for android/BOINC/res/values-es/strings.xml [skip ci] 2015-10-25 01:54:08 +02:00
Rom Walton e5654feb29 Updating translations for locale/fr/BOINC-Manager.po [skip ci] 2015-10-24 13:02:40 +02:00
Tristan Olive 91b0a7c340 Drupal: Prevent content overflow due to long strings in translations on home and account pages
(https://dev.gridrepublic.org/browse/DBOINCP-218)
2015-10-22 22:26:57 -04:00
Rom Walton ba8949a534 Updating translations for locale/it_IT/BOINC-Manager.po [skip ci] 2015-10-22 21:31:21 +02:00
Charlie Fenton 4dfd53f4e8 MGR: simplify my fix of bug which made it difficult to select items when certain columns are hidden 2015-10-22 02:34:03 -07:00
Charlie Fenton 40398cec31 MGR: fix a bug which made it difficult to select items when certain key fields are hidden (selection would always jump to item in top row) 2015-10-22 01:39:20 -07:00
Christian Beer 2c6aa0970c initialze fields in constructor
This was also assigned the wrong component by Coverity.
fixes CID 28037 found by Coverity
2015-10-22 09:22:30 +02:00
Christian Beer 9bbcf9a73a initialize field in constructor
Coverity obviously can't handle structs that have the same name but are in two different components, so it showed this under Various and not Client.
fixes CID 27929 found by Coverity
2015-10-22 09:12:58 +02:00
Christian Beer 3ba7e1b9c4 Merge pull request #1410 from BOINC/fix_coverity_defects
Fix coverity defects in client/ and lib/
2015-10-22 08:48:51 +02:00
Christian Beer 6a553cff2f Merge branch 'master' into fix_coverity_defects 2015-10-22 08:38:21 +02:00
David Anderson f0df42efbd client (Unix): dlclose() dynamic libraries in GPU code 2015-10-21 08:34:02 -07:00
David Anderson fec5b2f4cf BOINC web: live help page tweak 2015-10-21 08:33:47 -07:00
Christian Beer 718f4a2b0a Merge branch 'master' into fix_coverity_defects 2015-10-21 08:30:08 +02:00
David Anderson 89b11f4158 web: initialize post.modified to zero, not current time 2015-10-20 14:08:09 -07:00
Christian Beer dbdd49f04f initialize fields after object creation
fixes CID 27982, 28012 found by Coverity
2015-10-20 19:49:06 +02:00
Christian Beer 6595ef0668 use snprintf to prevent buffer overflow
fixes CID 27937 found by Coverity
2015-10-20 19:42:52 +02:00
Christian Beer 1eec8070d7 increase buffer size to prevent out-of-bounds access
fixes CID 27806 found by Coverity
2015-10-20 19:33:10 +02:00
Christian Beer 970d4cf7b2 use snprintf to prevent buffer overflow
fixes CID 27973 found by Coverity
2015-10-20 19:31:51 +02:00
Christian Beer cbbb2d738b increase buffer size to fix string overflow
fixes CID 27885 found by Coverity
2015-10-20 19:29:48 +02:00
Christian Beer bde03875cc delete object before going out of scope
fixes CID 27746 found by Coverity
2015-10-20 18:49:29 +02:00
Christian Beer 79134f3a4a delete objects in deconstructor
fixes CID 27694, 27712 found by Coverity
2015-10-20 18:35:55 +02:00
Christian Beer 365ca7960f initialize fields in constructors
fixes CID 28025 found by Coverity Scan
2015-10-20 17:57:57 +02:00
Christian Beer c4ba2d2ca8 initialize fields in constructors
fixes CID 27958 found by Coverity Scan
2015-10-20 17:51:46 +02:00
Christian Beer 9ffe92f7d1 initialize fields in constructors
fixes missing initialization found by cppcheck
2015-10-20 17:47:59 +02:00
Christian Beer 0ce3f7d996 initialize fields in constructors
fixes CID 27955 found by Coverity Scan and cppcheck
2015-10-20 17:46:59 +02:00
Christian Beer 4e909c67ef initialize fields in constructors
fixes CID 28033 found by Coverity Scan and cppcheck
2015-10-20 17:16:04 +02:00
Christian Beer dd6f9c3ac6 initialize fields in constructors
fixes CID 27926, 28022 found by Coverity Scan and cppcheck
2015-10-20 16:47:36 +02:00
Christian Beer 7a426140c8 initialize fields in constructors
fixes CID 28008, 27983 found by Coverity Scan
2015-10-20 16:23:09 +02:00
Christian Beer 0b3a760924 initialize fields in constructors
fixes CID 27984 found by Coverity Scan
2015-10-20 15:58:34 +02:00
Christian Beer 15bdf95269 initialize fields in constructors
fixes CID 27990 found by Coverity Scan
2015-10-20 15:31:58 +02:00
Christian Beer 5027e948d4 initialize fields in constructors
fixes CID 27927 found by Coverity Scan
2015-10-20 15:27:36 +02:00
Christian Beer 2a09622b5f initialize fields in constructors
fixes CID 28006 found by Coverity Scan and cppcheck
2015-10-20 15:23:25 +02:00
Christian Beer 9e0e1dd997 initialize fields in constructors
fixes CID 28039 found by Coverity Scan and cppcheck
2015-10-20 15:05:21 +02:00
Christian Beer 676b650570 initialize fields in constructors
fixes defect found by cppcheck
2015-10-20 14:17:52 +02:00
Christian Beer af1a0c31f7 initialize fields in constructors
fixes CID 28020, 27932 found by Coverity Scan
2015-10-20 13:53:40 +02:00
Charlie Fenton b153fbebbf MGR: Fix Coverity CID 117641 2015-10-20 04:17:41 -07:00
Charlie Fenton 4be9f5a171 MGR: Fix Coverity CID 39031 2015-10-20 03:19:53 -07:00
Charlie Fenton 4003331ece MGR: Fix Coverity CIDs 117639 , 117640 2015-10-20 03:18:40 -07:00
David Anderson 98bfcdb2d3 web: don't accidentally write to read-only DB replica
BOINC lets you maintain a read-only DB replica,
and certain read-only web pages (like top_users.php)
use the replica in preferences to the master.
But it turns out that these pages aren't actually read-only
because of the too-clever forum_preferences logic.
So sometimes it would add forum_preferences records to the replica,
leading to errors it later copies the same item from the master.

Solution: skip the forum preferences logic if we're using the replica.

We could make this more bulletproof by putting in checks
in insert(), update(), delete() etc.
2015-10-19 14:02:55 -07:00
Tristan Olive 03fb0bc2c4 Drupal: Mark profiles as verified on import if already verified in BOINC
(DBOINC-136)
2015-10-19 15:26:47 -04:00
Tristan Olive 1d47227b9b Drupal: Limit username length on import
The Drupal users table definition limits username to 60 characters; on import, limit this to 56 chars, leaving room for a duplicate "tally" at the end of the string (should it be necessary)

(DBOINC-145)
2015-10-19 14:34:20 -04:00
Tristan Olive 27035e70b6 Drupal: CSS support for line wrapping in menus
Secondary and especially tertiary menus have the potential to overrun the width allotted in the layout. Allow items that exceed the width to wrap (ugly, but better than hiding them; then admins know to shorten menu titles).

(DBOINCP-205)
2015-10-19 13:20:25 -04:00