Commit Graph
1158 Commits
Author SHA1 Message Date
verhoek f1088b8080 Factored out createfolder. 2018-06-23 19:58:56 +02:00
verhoek d114b26ade Fix name issue. 2018-06-23 19:45:11 +02:00
verhoek ad5ae922f7 Unnecessary imports removed. 2018-06-23 19:44:16 +02:00
fgonzalez f4885a0ede Code cleaning 2018-06-22 09:06:28 +02:00
fgonzalez 3a8f958ba8 - No need to handle first attempt
- Default delay to 30s. 15s is not enough
2018-06-22 08:59:40 +02:00
Kenneth Hsu 54c4f9224d Allow tasks to complete on any thread when context is irrelevant.
When the code following the await can be executed on any thread, it's
recommended to use ConfigureAwait(false) to avoid unnecessary context
switching and potential deadlocks.
2018-06-21 19:28:27 -07:00
fgonzalez 6ae5267e07 Case not covered 2018-06-21 16:52:28 +02:00
fgonzalez dc760d2895 Amazon cloud drive delay problems (amzcd-consistency-delay)
- time delay between instances of AmzCD class was not respected
2018-06-21 16:08:18 +02:00
Kenneth Skovhede 98303a6249 Removed console output from the S3 module 2018-06-20 10:54:37 +02:00
Kenneth Skovhede e9850224e2 Made the gcs backend available again. 2018-06-18 15:05:02 +02:00
Kenneth Hsu 2717bbd09a Avoid null reference exceptions with Box.com backend.
This addresses issue #3276, and possibly issue #3062.
2018-06-16 11:18:59 -07:00
verhoek a850ed8f26 Removed inheritance in favor of separation of googledrive / cloud storage api. 2018-06-11 10:19:03 +02:00
verhoek 441d893a49 Changes to make codacy happier. 2018-06-09 14:19:18 +02:00
verhoek bc826b2300 Tidy up. 2018-06-09 11:07:13 +02:00
verhoek 2a964e0146 Reordered private and statics. 2018-06-09 11:04:12 +02:00
verhoek 65f079e745 Made bucketobjectpath private. 2018-06-09 10:58:34 +02:00
verhoek 7b5779ca5d Merge remote-tracking branch 'origin' into webapi/googlecloudstorage
# Conflicts:
#	Duplicati/Library/Backend/GoogleServices/GCSConfig.cs (line endings)
#	Duplicati/Library/Backend/GoogleServices/GoogleCloudStorage.cs (readonly)
2018-06-09 08:49:23 +02:00
verhoek c1832cab4e Fixed incorrect line endings. 2018-06-09 08:30:39 +02:00
verhoek 3fb7175931 Merge remote-tracking branch 'origin/master' into feature/tempdir
# Conflicts:
#	Duplicati/Server/Runner.cs (copied readonly prop)
2018-06-07 16:37:40 +02:00
Kenneth SkovhedeandGitHub c5c13ab242 Merge pull request #3257 from warwickmm/remove_redundant_tostring
Remove redundant calls to ToString
2018-06-07 13:36:20 +02:00
Kenneth Hsu 08a897d7b0 Remove redundant calls to ToString. 2018-06-04 20:15:34 -07:00
Tyler Gill 5be38df560 Fix typo in OAuthHttpClient 2018-06-04 14:59:58 -06: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 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
verhoek 40b83fe2dc Moved out AboutInfoUrl and CreateFolderUrl. 2018-06-03 19:46:54 +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 20f2f37806 Remove unnecessary calls to String.Format. 2018-06-02 12:02:55 -07:00
verhoek c063fde018 Moved ListUrl, PutUrl and DeleteUrl to WebApi. 2018-06-01 16:21:28 +02:00
verhoek 83679c0f12 Moved Rename and Get Url to Google WebAPI. 2018-05-30 08:22:00 +02:00
verhoek 3691d6dfdf Initiated basic unit tests to ensure correct url helper functions. 2018-05-29 22:13:09 +02:00
verhoek 1ba8814d76 Started moving url specific construction to webapi. 2018-05-28 08:29:23 +02:00
verhoek e80f30f8a9 Added multiple context setting keys to callcontextsettings, exploiting
reflection. Contextsettings don't destroy each other anymore.
2018-05-26 21:56:15 +02: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
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
verhoek 4972c9c865 Merge branch 'webapi/googlecloudstorage' of https://github.com/verhoek/duplicati into webapi/googlecloudstorage 2018-05-23 21:20:31 +02:00
verhoek bbf5d71782 Merge branch 'master' into webapi/googlecloudstorage 2018-05-23 20:14:06 +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
verhoek cac891d187 Added BucketObjectPath helper method. 2018-05-20 11:10:37 +02:00
verhoek 13ef221196 Updated Rename method. 2018-05-20 10:57:49 +02:00
verhoek 745b77da23 Renamed WebApi GoogleCloudServices to GoogleCloudStorage. Refactored Get. Fixed Layout. 2018-05-20 10:50:37 +02: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 18de687530 Updated Put and Createfolder using WebApi. 2018-05-19 23:06:02 +02:00
verhoek d6a85ae497 Imports organized, bucket locations moved to google webapi. 2018-05-18 23:00:01 +02:00
verhoek 41234a314d Introduced UrlPath wrapper for stringbuilder to ease concatenation of multiple paths.
Started cleaning googlecloud services API.
2018-05-18 22:55:09 +02:00
verhoek 2f41e02ca9 Merge branch 'master' into refactored 2018-05-18 08:05:19 +02:00
Kenneth SkovhedeandGitHub b7b4fbe778 Merge pull request #3221 from verhoek/webapi/googledrive
Webapi/googledrive
2018-05-17 14:44:50 +02:00