Commit Graph

29942 Commits

Author SHA1 Message Date
David Anderson 0681baad54 remote job submission: add <get_job_details> option to query_batch() 2017-02-25 15:05:14 -08:00
Charlie Fenton c19e1a20e0 Mac installer: continue replacing deprecated Mac APIs 2017-02-25 04:58:13 -08:00
Charlie Fenton a8252e983e lib: Mac: continue replacing deprecated Mac APIs 2017-02-25 04:57:37 -08:00
Charlie Fenton 4e9cc22f6b SCR: Mac: continue replacing deprecated Mac APIs 2017-02-25 04:56:59 -08:00
Charlie Fenton 044441c1ad MGR: Mac: continue replacing deprecated Mac APIs 2017-02-25 04:56:36 -08:00
Charlie Fenton ae97e08a95 client: Mac: continue replacing deprecated Mac APIs 2017-02-25 04:56:12 -08:00
David Anderson 587e98d9db remote file management: fix JobFile::delete() 2017-02-21 09:30:49 -08:00
David Anderson 9b75ddebec remote job submission: fix bug when specify per-job input templates
I used map<char*, char*> to cache templates.
Using char* as a map key doesn't work as intended.
Change it to std::string.
2017-02-21 06:49:44 -08:00
David Anderson 050c347f31 BOINC web: fix bug in get_platforms()
There was a logic error that would cause every load of
the project page to initiate a web request to GPUgrid.
When GPUgrid was down, this could create lots of sockets,
which eventually would prevent incoming connections.
I think this is the reason for the sporadic slowdowns
of the BOINC web site.
2017-02-21 06:44:08 -08:00
David Anderson 3f0f36ac5a remote file management: allow long filenames
Originally, the idea for remote file management was that
the physical name of a file was its md5, or jf_md5.
This was changed to let the submitter choose the name.
But in the DB (job_file.md5) we only kept 64 chars.

Change the field name to job_file.name, and change it to varchar(255)
2017-02-17 13:51:30 -08:00
David Anderson 39547c574f remote file management: improve error checking 2017-02-17 12:58:35 -08:00
Christian Beer cf8f94f38b Lib: fix mingw build for older versions of mingw
This define was introduced to winternl.h on 2012-07-12 but I couldn't find out which version that corresponds to. At least version 2.0.1-1 of mingw-w64-dev in Ubuntu 12.04 LTS does not define it.
2017-02-17 14:48:48 +01:00
Christian Beer 2370eba78f Build: try to build libraries with mingw on travis-ci 2017-02-17 14:42:18 +01:00
David Anderson 2ab3ef93ac Merge pull request #1792 from Dybian/patch-1
Typo: succesfull --> successful
2017-02-16 22:46:21 -08:00
Dylan Aïssi cca03d9494 Typo: succesfull --> successful 2017-02-16 23:35:18 +01:00
Shawn Kwang 87da32cf77 Drupal: Added error message- admin cannot only change a user's email.
Either both email and password must be changed, or just the password.

https://dev.gridrepublic.org/browse/DBOINCP-355
2017-02-16 13:05:08 -06:00
David Anderson 853f8661b3 web: fix function name for country select 2017-02-16 10:59:56 -08:00
David Anderson eda1699d7c remote job submission: fix from Lucas 2017-02-16 10:59:32 -08:00
tristanolive 522fbd25c9 Merge pull request #1787 from BOINC/drupal_boinctranslate
Drupal: adapt POT and PO header to BOINC header
2017-02-16 10:23:04 -05:00
David Anderson 52429613bf remote job submission: wrong template path in a certain case 2017-02-16 01:26:10 -08:00
Yidong Ren 1d3cee5e0a Fix cross-compile from ubuntu with mingw 2017-02-16 00:08:51 -05:00
David Anderson 4fd49aab4e remote job submission: create templates/tmp if needed 2017-02-14 14:14:42 -08:00
David Anderson 26d62f7f49 Merge pull request #1786 from BOINC/normalize_cpumodel
Client: normalize whitespace in p_model and p_vendor entries
2017-02-14 01:07:27 -08:00
David Anderson 7db9ecba87 remote job submission: fix error in RPC handler 2017-02-14 01:06:39 -08:00
Christian Beer 4f6d905f74 Manager: fix select computer dialog for localhost
The hostname "localhost" was recognized as a special name which always prompted the Manager to try to read contents of gui_rpc_auth.cfg. The Manager used an empty password if the file is not readable but then can't connect because the Client actually uses a password. Any user supplied password was overwritten which made the dialog not work when using "localhost" but work when used with "127.0.0.1".
Now the dialog checks if the user has entered an empty password which prompts reading gui_rpc_auth.cfg and uses the user supplied password otherwise.

Fixes #1306
2017-02-14 09:16:21 +01:00
Christian Beer b8c675410b Manager: fix password lookup in combobox event
If the password file is not readable don't set an empty string in the textbox.
2017-02-14 09:12:15 +01:00
David Anderson e07ac9f524 Merge pull request #1785 from BOINC/locale_fixheader
Locale: print current year in POT header copyright notice
2017-02-13 23:49:26 -08:00
Christian Beer 7eb7aeaa6b Client: normalize whitespace in p_model and p_vendor entries
This was already done for Mac but not Linux and Windows. It collapses multiple consecutive blanks into one blank which is then send to the server.
2017-02-13 16:16:52 +01:00
Christian Beer a01b5747c1 Locale: print current year in POT header copyright notice 2017-02-13 15:48:21 +01:00
Christian Beer 783a98f950 Drupal: adapt POT and PO header to BOINC header
This adapts the header used in POT and PO exports from Drupal to what is currently used in BOINC. Some caveats:
- Project-Id-Version normally contains the SHA1 of the commit where the generic template was generated from but this is not available in Drupal. In the project-specific case I use the current date just so there is a value that can be used later on.
- POT-Creation-Date is always the same as PO-Revision-Date because Drupal internally does always use the latest strings when exporting languages (not relevant for BOINC-Drupal.pot)
2017-02-13 15:38:14 +01:00
David Anderson 479cbb6154 web: performance tweak suggested by Scrutinizer 2017-02-12 01:07:20 -08:00
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