Commit Graph

27323 Commits

Author SHA1 Message Date
David Anderson 3e6ae6f48d web: fix "stay logged in" when logging in with authenticator; from Janus
Oddly enough, I couldn't repro this on Chrome or Firefox;
I remained logged in after quit/restart browser,
even though the cookie said it was for this browsing session only.
2015-07-24 13:58:38 -07:00
Rom Walton e63409beaf Merge pull request #1373 from brevilo/drupal-generic
web: merge new Drupal-based web frontend into mainline
2015-07-24 10:48:28 -04:00
Rom Walton cb340c533c Merge pull request #1371 from marius311/master
new `make_project` options which allow building and running project on different systems
2015-07-24 07:18:15 -04:00
Rom Walton 1c24a25c34 Updating translations for locale/it_IT/BOINC-Manager.po [skip ci] 2015-07-24 05:14:56 -04:00
Oliver Bock ca67b654f5 Normalized line breaks (CRLF->LF) 2015-07-24 10:08:20 +02:00
Rom Walton 0674279652 Updating translations for locale/da/BOINC-Manager.po [skip ci] 2015-07-24 03:35:03 -04:00
Rom Walton 4c347c71aa Updating translations for android/BOINC/res/values-da/strings.xml [skip ci] 2015-07-24 03:24:42 -04:00
Oliver Bock ee3e7e0e13 Merge branch 'master' into drupal-generic 2015-07-24 09:19:22 +02:00
David Anderson e2d57dc350 web: make team types translatable; fix warning in team import 2015-07-23 23:09:54 -07:00
Tristan Olive f7104c7929 Change require_boinc() call to reflect changes to BOINC code (require boinc_db.inc directly, not db.inc, in order to access BoincUser())
(DBOINCP-204)
2015-07-24 00:57:16 -04:00
Rom Walton e49f3af67c Updating translations for locale/es/BOINC-Web.po [skip ci] 2015-07-24 00:52:05 -04:00
Rom Walton 43ed191287 Merge pull request #1372 from brevilo/web_global_vars
web: make team_types globally accessible (missed in 8be519a616)
2015-07-24 00:39:22 -04:00
Rom Walton cb904a192d Updating translations for locale/ru/BOINC-Manager.po [skip ci] 2015-07-24 00:15:17 -04:00
Rom Walton 5fa7209ed3 Updating translations for locale/zh_CN/BOINC-Manager.po [skip ci] 2015-07-23 23:08:51 -04:00
David Anderson b3f47d1e14 Manager: typo fix 2015-07-23 17:43:16 -07:00
David Anderson 089a63f2b0 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2015-07-23 17:40:10 -07:00
David Anderson 67673ae2d6 Manager: show executable filename in task properties 2015-07-23 17:34:12 -07:00
Rom Walton 92d5de0c5e Updating translations for locale/en/BOINC-Manager.po [skip ci] 2015-07-23 18:54:15 -04:00
Rom Walton 0a6f5d4f28 LOCALE: Update BOINC-Manager.pot with missing strings. 2015-07-23 18:53:33 -04:00
Rom Walton 85fe8a8000 MGR: Make the average and total credit strings translatable and add comments for context. 2015-07-23 18:48:16 -04:00
Rom Walton f4d16893f6 MGR: Tighten up the code to the last commit a bit. 2015-07-23 18:31:18 -04:00
Rom Walton 9fb1a342c1 MGR: Fix the string construction of the 'work fetch deferral' stuff to be more localization friendly. 2015-07-23 18:27:09 -04:00
Rom Walton b109f920ef Updating translations for locale/ru/BOINC-Manager.po [skip ci] 2015-07-23 17:14:15 -04:00
Rom Walton f277af460e Updating translations for locale/it_IT/BOINC-Manager.po [skip ci] 2015-07-23 17:12:20 -04:00
Rom Walton 6852e83f37 Updating translations for locale/ru/BOINC-Web.po [skip ci] 2015-07-23 17:06:59 -04:00
Rom Walton e2898746c0 Updating translations for locale/en/BOINC-Manager.po [skip ci] 2015-07-23 16:57:03 -04:00
Rom Walton 7895b4ce9c LOCALE: Update BOINC-Manager.pot with missing strings. 2015-07-23 16:56:31 -04:00
Rom Walton 82a05369cf MGR: Flag previously untranslatable strings as translatable. 2015-07-23 16:54:03 -04:00
David Anderson 8cd8c8e7ee server software: handle 64-bit database IDs
The SETI@home result table is about to run out of 32-bit IDs,
so we need to move to 64-bit result IDs.
This will happen to the workunit table at some point too.

I changed the server C++ code to use the "long" type for all DB IDs
(and to use appropriate conversion codes like %lu).
"long" is 64 bit on 64-bit machines.
For uniformity I did this for all tables,
even ones (like app) that will never get big.

I chose NOT to change the DB schema for now.
The new code will work with 32-bit ID fields in the DB.
As projects approach the 32-bit limit on a table they can change
its ID field, and fields that reference this table, to BIGINT.
This is likely to happen only on the result and workunit tables.
I put functions in html/ops/db_update.php
to change the IDs of these tables.
2015-07-23 10:11:08 -07:00
David Anderson 94e3162177 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2015-07-22 23:46:39 -07:00
David Anderson e39047b61a web: make "email friends" feature work without project configuration
Previously the feature that lets people send email about the project
to their friends only worked if the project supplied a message.
Remove this restriction; supply a default message.
Also make it work with or without PHPMailer.

Projects can still supply a default subject and message;
the user can now edit these.

Remove the ability to send HTML email
and to macro-substitute names in the message.
2015-07-22 23:37:40 -07:00
Oliver Bock a515a84879 web: make team_types globally accessible (missed in 8be519a616) 2015-07-22 16:21:23 +02:00
Oliver Bock 47b4f92fe0 Normalized line breaks (CRLF->LF) 2015-07-22 16:09:57 +02:00
Oliver Bock 12e798cab6 Merge branch 'master' into drupal-generic
Details at: https://dev.gridrepublic.org/browse/DBOINCP-202
2015-07-22 16:01:26 +02:00
Rom Walton 1f76c9ea90 Updating translations for locale/zh_TW/BOINC-Setup.po [skip ci] 2015-07-22 03:29:19 -04:00
David Anderson 40a630e56b web: fix last commit 2015-07-21 23:54:21 -07:00
David Anderson 1a0824bfe5 web: fix bug in family/friends email feature 2015-07-21 23:41:13 -07:00
Tristan Olive 793b60f5a8 Fixed triggers to flag profile content for moderation
Triggers on image fields in particular were not working right at all. Replaced canned "field has value" or "field has been changed" triggers with custom PHP to check image fid field. Also updated field_background, field_options, and field_url triggers on new profiles to just check that they are not null to flag the profile

(DBOINCP-102)
2015-07-21 17:54:57 -04:00
David Anderson 14f462b44f Manager: use lighter red for error fields 2015-07-21 14:53:58 -07:00
Tristan Olive 25944ac53c Bypass user_access check on boincuser_moderation_queue_count() when calling from cron (this may be preventing notifications from being sent to moderators, as the function is returning NULL, suggesting to cron that there are no items in the queue)
(DBOINCP-102)
2015-07-21 16:26:20 -04:00
Tristan Olive c6bdf2953a Moved team name / link to second line on Team dashboard panel
(DBOINCP-23)
2015-07-21 15:42:39 -04:00
Charlie Fenton 8eefd5a935 MGR: in Advanced Preferences dialog highlight textedit field with illegal value by setting its background to red. 2015-07-21 06:23:15 -07:00
Charlie Fenton 1aaba0d020 MGR: in Advanced Preferences dialog highlight textedit field with illegal value by setting its background to red. 2015-07-21 05:23:50 -07:00
Charlie Fenton be54342486 MGR: in Advanced Preferences dialog highlight textedit field with illegal value by setting its background to red. 2015-07-21 03:06:10 -07:00
marius add497f1f6 added --project_host option to make_project 2015-07-20 16:45:30 -07:00
marius d384489952 added --no_db option to make_project 2015-07-20 15:46:52 -07:00
David Anderson 588e001c17 web: in thread page, don't show some buttons if not logged in 2015-07-20 10:16:14 -07:00
David Anderson ebf55dfa73 scheduler: remove unneeded include 2015-07-20 10:15:50 -07:00
David Anderson c53f2e0040 Manager: in prefs dialog, buffer size limits are 10, not 100 2015-07-20 09:38:48 -07:00
David Anderson 629fabffb6 client: parse ARM CPU model
Apparently the format of /proc/cpuinfo has changed on some ARM Linuxes,
e.g. Raspbian Wheezy.
The CPU model is something like:

model name  : ARMv7 Processor rev 5 (v7l)

and the chars between "name" and ":" can be either spaces or a tab.
2015-07-19 12:41:45 -07:00