Commit Graph

29809 Commits

Author SHA1 Message Date
David Anderson 93c46ee5a8 web: user secure URL base if available 2017-02-12 01:03:16 -08:00
David Anderson cd1f2f6176 Merge branch 'master' of github.com:BOINC/boinc 2017-02-12 00:49:19 -08:00
David Anderson 1e0631dc87 web: allow user URLs with https://
We need to let users have https:// URLs.
Originally http:// was assumed, and the URLs were stored without the prefix.
For compatibility, allow either form to exist in the DB

Also update the "other account info" form to user bootstrap.
2017-02-12 00:46:15 -08:00
tristanolive 25693388e9 Merge pull request #1783 from drshawnkwang/drupal_fixprofileimage
Drupal: Search result returns user profile image
2017-02-09 02:27:12 -05:00
tristanolive 44a44e05b8 Merge pull request #1780 from drshawnkwang/drupal_fix-boincuserphperr
Drupal: Fixes PHP error due to wrong object/array call.
2017-02-09 02:23:12 -05:00
Shawn Kwang 6331b931ba Drupal: Search result should return user profile image. (Not community avatar.) 2017-02-08 14:49:34 -06:00
David Anderson b59f0da617 web: if web stopped, get_logged_in_user() should return null (not show error page).
Otherwise e.g. the home page will be a single line.
Must at least show message of the day.
2017-02-08 11:54:40 -08:00
David Anderson 51f73ebce8 web: fix typo 2017-02-03 21:56:53 -08:00
David Anderson 4d391dd0b0 Merge branch 'master' of github.com:BOINC/boinc 2017-02-03 21:45:26 -08:00
David Anderson 96eb775f06 web: make recaptcha work with IE11
On IE11, pages using recaptcha (like profile edit)
weren't showing the recaptcha.
On reloading, it would appear.
Mysterious.
Anyway, removing the
'<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
fixed the problem.
2017-02-03 21:42:20 -08:00
Shawn Kwang 32e1695a67 Drupal: Fixes PHP error due to wrong object/array call. 2017-02-03 10:41:41 -06:00
David Anderson 3aa6b289cd Merge pull request #1743 from sirzooro/cygwin-mingw-compilation-fix
Fixed compilation using MinGW from Cygwin 32 and 64 bit
2017-02-02 23:43:01 -08:00
David Anderson b58bf7978b vboxwrapper: bump version# to 26198 2017-02-02 13:46:37 -08:00
David Anderson 176e819c42 Vbox wrapper: if write shared/cmdline, don't end with \n
... it writes \r\n on Win.  Also, just to make sure, open file "wb".
2017-02-02 11:38:57 -08:00
David Anderson 7294138ddb client: finish fix for AM prefs
(BAM! used mixed http/https, needed to strip that off)
2017-02-02 02:38:22 -08:00
David Anderson 8ea39c067d Merge branch 'master' of https://github.com/BOINC/boinc 2017-02-02 02:21:19 -08:00
David Anderson 938fad105d client: finish last commit 2017-02-02 02:20:35 -08:00
David Anderson 4427f3646d client: revert misguided attempt to persist acct mgr info 2017-02-02 02:17:55 -08:00
David Anderson e99c3ab1d7 Merge branch 'master' of https://github.com/BOINC/boinc 2017-02-01 22:56:25 -08:00
David Anderson 0e4b412d19 client: ignore computing prefs from project if we're using prefs from acct mgr. 2017-02-01 22:55:14 -08:00
David Anderson 1b81fecfb3 web: fix recaptcha problem 2017-02-01 22:25:00 -08:00
David Anderson c2350c7f57 web: try to get Recaptcha working on IE 2017-02-01 22:13:21 -08:00
David Anderson cba89c6503 Win build: snprintf() fix for VS2015 2017-02-01 21:26:53 -08:00
tristanolive 5cc8a8fa0e Merge pull request #1771 from drshawnkwang/drupal_fix-commentbundlename
Drupal: Capitalize the bundle for "Comment".
2017-02-01 22:30:03 -05:00
David Anderson dfeeee23da Web: support pages in a subdirectory of html/user/.
... such as SETI@home's Nebula pages.
Prepend URL_BASE to URLs for login/logout/signup.
I may have missed some.
2017-02-01 11:54:10 -08:00
David Anderson 7c4528a367 Win: fix typos 2017-02-01 00:11:01 -08:00
David Anderson 57ce800fdf Win: use native functions for file ops; work around VS2015/XP bug 2017-02-01 00:03:17 -08:00
David Anderson a68c2b3842 web: add form_attr(); add key/val pair to form 2017-01-31 21:51:17 -08:00
David Anderson c4d6904a5c BOINC web site: fix "report bug" link 2017-01-31 21:51:04 -08:00
David Anderson bbd34f70d3 Lib: fix bug for apps built with VS2015 running on WinXP
for boinc_file_exists(), use GetFileAttributesA().
_stat64() doesn't work in this case
2017-01-31 14:55:38 -08:00
Christian Beer 624595267c Locale: Update localization files [skip ci] 2017-01-31 17:45:12 +01:00
David Anderson 98d908d186 Merge pull request #1768 from AenBleidd/ClientVersionCheck
MGR: Client version check
2017-01-31 01:22:39 -08:00
David Anderson d58ba82f7c Merge pull request #1710 from chausner/fix-1709
Fix issue #1709: Malformed XML in RPC replies for lookup_account_poll and get_all_projects_list
2017-01-31 01:21:36 -08:00
David Anderson 04e1396360 Merge pull request #1635 from BOINC/suspicious_results
Validator: implement "suspicious" results
2017-01-31 01:18:30 -08:00
David Anderson a484b7dd6b Merge pull request #1562 from BOINC/cpu_infos_aarch64
Client: improve CPU and OS detection on Linux
2017-01-31 01:12:55 -08:00
David Anderson bdd259660b remote job submission: fix typo 2017-01-30 16:51:31 -08:00
David Anderson f124bd33f2 remote job submission tweaks
- query_batches(): don't return retired batches
- get_output: for error conditions, return a file containing "ERROR: msg"
2017-01-30 16:31:33 -08:00
David Anderson ef49109a88 remote job submission: fix error if no input files
also use hashlib instead of md5 in python code to avoid deprecation warning
2017-01-29 15:19:28 -08:00
David Anderson 863ae7331a remote file management: fix typos found by Scrutinizer 2017-01-29 12:37:17 -08:00
David Anderson 0b6cb9e0d5 input file management: standardize creation of .md5 files
Files in the download dir can have accompanying ".md5" files
containing their MD5 and size.
This eliminates the need to calculate these when creating a job using the file.

The .md5 files were being created by stage_file (local staging)
but not by remote file management.
In fact, the latter wasn't checking for file immutability violations.

I changed remote file management to add this check,
and to create the .md5 file.
The latter is done in a new function shared with stage_file.
2017-01-29 11:54:18 -08:00
David Anderson d123a803ee project list: change QCN info 2017-01-29 11:53:17 -08:00
David Anderson 30c8a83ddc Merge pull request #1770 from AenBleidd/FixManagerCompileWarnings
MGR: Fix windows compile warnings (Visual Studio 2013).
2017-01-28 20:22:55 -08:00
David Anderson 030069c36a remove job submission: don't require the presence of an input template file
If jobs specify their own input templates, shouldn't have to have one
2017-01-28 01:25:12 -08:00
David Anderson 23a43c7c5d remove file management: fixes; add python interface to query_files 2017-01-27 14:21:03 -08:00
David Anderson 37854b5262 remote job submission, python interface: fix typo 2017-01-27 13:55:26 -08:00
David Anderson e2d09f3de7 remote job submission: bug fix 2017-01-27 12:35:35 -08:00
David Anderson 1274dbe2cb start script: create lock and pid files non-world-writeable 2017-01-27 12:12:49 -08:00
David Anderson e93e436b5a remote job submission: don't error out if no templates specified 2017-01-27 11:43:52 -08:00
David Anderson f8e19d61f5 client: fix compile warning 2017-01-27 11:43:38 -08:00
Shawn Kwang cb319f7fb2 Drupal: Capitalize the bundle for "Comment".
Cosmetic fix part of
https://dev.gridrepublic.org/browse/DBOINCP-274
2017-01-27 09:08:39 -06:00