Commit Graph

28652 Commits

Author SHA1 Message Date
Christian Beer c57cee5ca6 create_work: use file_name as open_name when copy_file is set
If no open_name is specified in a file_ref element of the input template but copy_file is set for this file use the physical filename as logical filename.
2016-03-23 14:59:49 +01:00
Rom Walton 3f0cad3b4b Updating translations for locale/fr/BOINC-Manager.po [skip ci] 2016-03-23 06:05:26 -04:00
Rom Walton 3f87817ada Updating translations for locale/cs/BOINC-Manager.po [skip ci] 2016-03-23 06:04:17 -04:00
Rom Walton 3025838b9f Updating translations for locale/nl/BOINC-Web.po [skip ci] 2016-03-21 20:32:59 -04:00
Rom Walton 67729557e0 Updating translations for locale/nl/BOINC-Drupal.po [skip ci] 2016-03-21 20:03:15 -04:00
Rom Walton 5edf64ce0b Updating translations for locale/nl/BOINC-Manager.po [skip ci] 2016-03-21 13:26:35 -04:00
Rom Walton c3d66404d6 Updating translations for locale/de/BOINC-Manager.po [skip ci] 2016-03-21 13:08:12 -04:00
Rom Walton 395afda780 Updating translations for locale/nl/BOINC-Manager.po [skip ci] 2016-03-21 13:06:58 -04:00
Rom Walton 4b1c51eb1c Updating translations for locale/de/BOINC-Manager.po [skip ci] 2016-03-21 12:58:57 -04:00
Rom Walton 5d25e12806 Updating translations for locale/nl/BOINC-Manager.po [skip ci] 2016-03-21 12:54:24 -04:00
Rom Walton ec83584ae8 Updating translations for locale/nl/BOINC-Manager.po [skip ci] 2016-03-21 12:32:59 -04:00
Rom Walton a77b0b620b Merge pull request #1512 from BOINC/fix_mirror_selection
Client: select next download url if the current one fails
2016-03-21 10:53:33 -04:00
Christian Beer 51ead6fd21 Client: select next download url if the current one fails
Try all download servers when multiple URLs are supplied by the project. This is needed because the first download server may be unreachable or out of sync which produces a permanent error. Uploads are handled differently and always use the transient_failure() function.
2016-03-21 15:06:40 +01:00
Rom Walton c42115749b Updating translations for locale/da/BOINC-Manager.po [skip ci] 2016-03-21 07:11:57 -04:00
Rom Walton 02eacf437a Updating translations for locale/it_IT/BOINC-Project-Generic.po [skip ci] 2016-03-21 06:45:12 -04:00
Rom Walton 43ed3d297a Updating translations for locale/it_IT/BOINC-Project-Generic.po [skip ci] 2016-03-21 06:40:09 -04:00
Rom Walton 61e8475a29 Updating translations for locale/it_IT/BOINC-Project-Generic.po [skip ci] 2016-03-21 06:34:56 -04:00
Rom Walton d88fac93a0 Updating translations for locale/it_IT/BOINC-Web.po [skip ci] 2016-03-21 06:33:04 -04:00
Rom Walton d5bb3c2fbf Updating translations for locale/it_IT/BOINC-Web.po [skip ci] 2016-03-21 06:27:59 -04:00
Rom Walton f179c3dfeb Updating translations for locale/zh_CN/BOINC-Web.po [skip ci] 2016-03-19 23:15:11 -04:00
David Anderson ff47c17196 Merge pull request #1508 from BOINC/wrapper_improvements
Wrapper improvements
2016-03-18 12:55:58 -07:00
Christian Beer e86eb29d28 Wrapper: print version information 2016-03-18 14:02:19 +01:00
Christian Beer 309f38fbaa Wrapper: fix comment 2016-03-18 11:53:30 +01:00
Bernd Machenschalk 0e974b226b wrapper: fix compiler warning 2016-03-18 11:27:02 +01:00
Bernd Machenschalk 5ef7edb4ef wrapper: if compiled with DEBUG, write debugging output 2016-03-18 11:27:02 +01:00
Christian Beer 920283c577 Wrapper: fix macro substitution
The macro substitution needs the APP_INIT_DATA aid object to be populated. This is only the case after boinc_init_options() and boinc_get_init_data() but the parsing of the job.xml happens before that. This commit moves the substitution step after the aid object is populated with the project directory.
2016-03-18 11:27:02 +01:00
Bernd Machenschalk 59bd029a92 wrapper: macro-replace "$PWD" with (absolute) current working directory 2016-03-18 11:27:02 +01:00
Bernd Machenschalk 1e77d82f5b wrapper: add feature to rename/move output files
The job file needs to contain

<rename_output>
  <filename>foo</filename>
</rename_output>

In the output template the logical name of that output file must be specified as "foo.link"

After completion, the file "foo" will be renamed/moved to the result file in teh project directory
2016-03-18 11:27:02 +01:00
Bernd Machenschalk a0a0dd2ac5 wrapper: fix do_zip_outputs(): resolve the zipfilename before checking for existence 2016-03-18 11:27:01 +01:00
Bernd Machenschalk 79168e1254 wrapper: resolve "boinc_resolve(...)" phrases in command-line 2016-03-18 11:27:01 +01:00
Christian Beer 0040bd9817 Ops: enhance errorwus.php again
Added more filters and moved logic from PHP to the DB. This results in a smaller memory footprint of the script but stresses the database a little more for big projects.
2016-03-18 10:51:09 +01:00
Christian Beer ef9dfdfde8 Merge pull request #1507 from BOINC/php_dblayer
Ops: update some older ops scripts
2016-03-17 14:58:47 +01:00
Christian Beer 3b6df98c44 Ops: update cancel_workunits scripts to use db layer
Also uses the wrapper functions for variables supplied by post and get requests.
2016-03-17 14:37:59 +01:00
Oliver Bock fd3e17b04c Improve DB queries
* WHERE IN clauses perform really bad for long lists/sub-queries
* Using INNER JOINs to speed up the queries
* Down from a couple of minutes to less than a second :-)
2016-03-17 13:45:03 +01:00
Christian Beer 407a2fce47 Ops: combine statements for better performance
No need to change the same rows in two statements.
2016-03-17 13:45:03 +01:00
Christian Beer ae5b283e1a Ops: use db layer in db_ops.inc 2016-03-17 12:45:34 +01:00
Christian Beer f8250782f1 Ops: cancel workunits directly from errorwus.php
Also added a cache refresh when going back from cancel_workunits_action.php so the freshly canceled workunits are gone.
2016-03-15 18:03:42 +01:00
Christian Beer fc6cd28172 Ops: restructured errorwus.php to use data cache
Also added a checkbox to hide already canceled workunits.
2016-03-15 17:27:54 +01:00
Christian Beer 9b48d3e526 Ops: show more information on WUs with errors
Now uses the DB interface but still uses the old cache mechanism.
2016-03-15 15:25:06 +01:00
Rom Walton e325640344 Updating translations for locale/it_IT/BOINC-Web.po [skip ci] 2016-03-15 06:10:38 -04:00
Rom Walton bbcb0b3f28 Updating translations for locale/it_IT/BOINC-Web.po [skip ci] 2016-03-14 10:03:09 -04:00
David Anderson 5f23e8525b Merge pull request #1504 from marius311/master
Don't add example_app to project.xml unless requested
2016-03-13 18:44:33 -07:00
marius d6d5c2610a dont add example_app to project.xml unless requested 2016-03-13 23:43:24 +01:00
marius 45a20fd403 make default xml indent 4 spaces 2016-03-13 23:41:58 +01:00
Rom Walton 7a8937fbaf Updating translations for locale/cs/BOINC-Drupal.po [skip ci] 2016-03-12 14:56:39 -05:00
Rom Walton 24afc481f0 Updating translations for android/BOINC/res/values-ru/strings.xml [skip ci] 2016-03-11 13:01:53 -05:00
Oliver Bock de82430656 Drupal: fix reference (regression in 71831ee6) 2016-03-10 14:35:01 +01:00
Tristan Olive 0d278e0abf Drupal: Couple translation import logging to debug flag
https://dev.gridrepublic.org/browse/DBOINCP-235
2016-03-10 00:12:34 -05:00
Tristan Olive 423714b3c0 Drupal: "Install official BOINC languages" tool update
* Automatically enable languages imported from Transifex
* Disable languages that exist locally but not in Transifex

https://dev.gridrepublic.org/browse/DBOINCP-233
2016-03-09 23:45:06 -05:00
Rom Walton 40135cad6a Merge pull request #1502 from funkydude/master
Expand usage of HTTPS and fix a few URLs
2016-03-08 21:20:06 -05:00