Commit Graph
5447 Commits
Author SHA1 Message Date
Kenneth Skovhede af3e9cdfdc Added input validation for B2 paths to avoid users ending up with weird error messages, once the full path for each file is constructed. 2018-06-07 13:14:11 +02:00
Kenneth Skovhede e6535e2cfa Merge branch 'master' of github.com:duplicati/duplicati
# Conflicts:
#	Duplicati/Server/WebServer/RESTMethods/UISettings.cs
2018-06-04 10:48:11 +02:00
Kenneth Skovhede 8da3f61346 Merge branch 'warwickmm-fix_line_endings' 2018-06-04 10:45:44 +02:00
Kenneth SkovhedeandGitHub b6a250db95 Merge pull request #3253 from warwickmm/missing_format_item_value
Provide missing values to format items
2018-06-04 10:42:34 +02:00
Kenneth SkovhedeandGitHub 448d37f7cb Merge pull request #3252 from warwickmm/remove_string_format
Remove unnecessary calls to String.Format
2018-06-04 10:42:02 +02:00
Kenneth SkovhedeandGitHub 66e5dfe722 Merge pull request #3237 from tygill/fix/msgraph-delete-error
(MS Graph) When the delete operation fails due to a 'file not found' error, we don't need to bubble up an exception
2018-06-04 10:41:16 +02:00
Kenneth SkovhedeandGitHub 3b6c2b61d5 Merge pull request #3242 from warwickmm/remove_ineffective_statements
Remove ineffective statements
2018-06-04 10:40:32 +02:00
Tyler Gill f2f5d4c0a6 Change from swallowing delete errors to wrapping DriveItemNotFoundException in FileMissingException.
This way, the regular backend manager logic can handle and log the delete of a non-existant file.
Also update some of the other operations to throw FileMissingException (rather than the backend specific DriveItemNotFoundException).
2018-06-02 15:52:20 -06:00
Kenneth Hsu afdae80716 Fix line ending issues. 2018-06-02 13:19:49 -07:00
Kenneth Hsu e2b671bf9e Provide missing values to format items. 2018-06-02 12:05:57 -07:00
Kenneth Hsu 20f2f37806 Remove unnecessary calls to String.Format. 2018-06-02 12:02:55 -07:00
Kenneth SkovhedeandGitHub e70f15287e Merge pull request #3233 from warwickmm/make_fields_readonly
Mark fields that shouldn't be reassigned as readonly
2018-06-02 10:13:06 +02:00
Kenneth SkovhedeandGitHub 018c01cfa9 Merge pull request #3234 from warwickmm/equals_instead_of_equality
Use Equals to compare CultureInfo instances
2018-06-02 10:10:59 +02:00
Kenneth SkovhedeandGitHub b2f1862584 Merge pull request #3238 from tygill/fix/help-logging
Update 'help logging' to mention --log-file-log-level and --console-log-level rather than the older --log-level
2018-06-02 10:10:32 +02:00
Kenneth SkovhedeandGitHub f8ef261f50 Merge pull request #3243 from warwickmm/remove_redundant_expression
Remove redundant expression
2018-06-02 10:08:29 +02:00
Kenneth Hsu 77443f61f6 Remove redundant expression. 2018-05-26 10:52:11 -07:00
Kenneth Hsu bbe65f9dfb Remove ineffective statements.
The removed code was introduced in revision ba58651e5a ("Fix for
CreateFolder with SSH"), presumably to fix an issue where some SSH
backends did not like the trailing slash when creating new folders.
However, since we are not using the output argument of the call to
Substring, these statements have no effect.
2018-05-26 10:36:50 -07:00
Kenneth Hsu f12858e6a5 Mark fields that shouldn't be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
Kenneth Hsu ee8788d08e Use Equals to compare CultureInfo instances.
Since the Equals method is overridden in the CultureInfo class, we
should use it instead of the == operator to compare two instances.
2018-05-25 10:04:28 -07:00
Tyler Gill f94a58d98c Update 'help logging' to mention --log-file-log-level and --console-log-level rather than the older --log-level 2018-05-25 09:49:53 -06:00
Tyler Gill 8131e85581 (MS Graph) When the delete operation fails due to a 'file not found' error, we don't need to bubble up an exception. 2018-05-25 09:18:20 -06:00
Kenneth SkovhedeandGitHub a7575d6bda Merge pull request #3229 from verhoek/bugs/commandline
Bugfixes commandline
2018-05-24 11:28:40 +02:00
verhoek b786da55a6 Adjusted display of help according to common standards,
show help on command appearing after "help" and not
on last.
2018-05-23 20:09:03 +02:00
verhoek 29eebaec5b Rewrote parsing aliases of parameter file option in a loop. 2018-05-23 20:02:24 +02:00
verhoek 7450f498be Revert "Removed weird mixed up if's."
This reverts commit 9f07a09621.
2018-05-23 19:40:29 +02:00
Kenneth SkovhedeandGitHub fd26732e1f Merge pull request #3228 from warwickmm/use_string_join
Simplify construction of query parameter string
2018-05-23 11:11:02 +02:00
Kenneth SkovhedeandGitHub 19851c88f0 Merge pull request #3227 from warwickmm/use_string_builder
Replace string concatenation with StringBuilder
2018-05-23 11:10:36 +02:00
Kenneth SkovhedeandGitHub b73ad59021 Merge pull request #3226 from verhoek/refactored
Minor refactoring and modifications in travis build script.
2018-05-23 11:09:40 +02:00
verhoek 271273c9af Added escapes, now e.g. help --include works again. 2018-05-20 16:51:56 +02:00
verhoek e4398d3b68 Fixed broken help output in commandline.
E.g. "help find" works again.
2018-05-20 16:51:53 +02:00
verhoek 9f07a09621 Removed weird mixed up if's. 2018-05-20 16:51:47 +02:00
Kenneth Hsu 2384e6eb30 Simplify construction of query parameter string. 2018-05-19 16:12:12 -07:00
Kenneth Hsu 0b016cea2c Replace string concatenation with StringBuilder.
When appending to a string in a loop, using a StringBuilder should in
general yield better performance.
2018-05-19 15:36:00 -07:00
verhoek f0276bf949 Added shebang to travis build script. 2018-05-18 08:07:44 +02:00
verhoek 2f41e02ca9 Merge branch 'master' into refactored 2018-05-18 08:05:19 +02:00
verhoek d9fc1cac08 Moved travis script steps to separate bash script with trap on error, to prevent continuing executing further steps on error. 2018-05-18 07:57:55 +02:00
Kenneth SkovhedeandGitHub b7b4fbe778 Merge pull request #3221 from verhoek/webapi/googledrive
Webapi/googledrive
2018-05-17 14:44:50 +02:00
Kenneth SkovhedeandGitHub 1071bf8bb0 Merge pull request #3224 from tnwhitwell/add-memset
Add Memset's Cloud Storage to Openstack providers
2018-05-17 14:37:07 +02:00
Tom Whitwell 54ae844536 Add Memset's Cloud Storage to Openstack providers 2018-05-17 12:03:30 +01:00
verhoek 92777a168b Removed unused imports. 2018-05-16 21:46:42 +02:00
verhoek abf937249f Corrected spelling of comparision in server.cs release mode. 2018-05-16 21:40:27 +02:00
verhoek 0b9712ee84 Removed unused var. 2018-05-16 21:21:35 +02:00
verhoek 8a4031f66b Added skipped file in comparison spelling correction commit. 2018-05-16 20:24:31 +02:00
verhoek 143725c0b9 Removed some duplication. 2018-05-16 20:10:06 +02:00
verhoek 30cd41585b Corrected spelling function name. 2018-05-16 20:08:40 +02:00
verhoek 7a8a040e4b Renamed unit test category UrlUtility to UriUtility for consistency. Added to travis.yml. 2018-05-16 08:11:17 +02:00
verhoek be79384966 Removed duplicate ? when building urls with query parameters. 2018-05-15 21:50:14 +02:00
verhoek c5783b2ae4 Merge branch 'master' into webapi/googledrive 2018-05-15 20:31:58 +02:00
verhoek 0cca2797df Use concat paths in helper functions of googledrive. 2018-05-15 20:29:08 +02:00
verhoek 1cde60c640 Removed misplaced leftover line. 2018-05-15 20:28:52 +02:00