Commit Graph
4937 Commits
Author SHA1 Message Date
Max 3f2eb254c3 buildable again 2020-05-31 14:38:14 +02:00
Max c882953fdd upstream 2020-05-31 13:50:13 +02:00
Kenneth Skovhede 5f2925c2fb Suppres SSL certificate warnings on sufficiently recent Mono versions, as the x509 store returns zero, but the SSL connections seems to work anyway 2020-05-28 09:52:13 +02:00
Kenneth Skovhede b3b5d5642a Fixed the defunct __MonoCS__ code chunk 2020-05-28 09:51:33 +02:00
warwickmmandGitHub 69091fe05b Merge pull request #4205 from TopperDEL/tardigrade-fix-restore
Fix restore with Tardigrade-backend when folders are used
2020-05-20 09:26:30 -07:00
TopperDEL da0602fce9 fix: List only the files relevant for the current folder (if provided) 2020-05-20 12:34:05 +02:00
TopperDELandGitHub fa44c419e7 Merge branch 'master' into tardigrad-correct-basepath 2020-05-20 08:39:49 +02:00
TopperDEL 3600eed64d fix: Move the tardigrad-library to the correct location 2020-05-20 08:36:22 +02:00
TopperDEL ba82edf7f8 fix: Correct Package-References 2020-05-19 16:11:58 +02:00
TopperDEL 62ae46f223 fix: Move the tardigrad-library to the correct location 2020-05-19 14:01:44 +02:00
Kenneth Skovhede 1ab8256f1d Removed mentions of "Amazon S3" and changed it to "S3 compatible" as Duplicati (and the backend) is not associated with Amazon. 2020-05-11 08:55:20 +02:00
Kenneth SkovhedeandGitHub 2f3b2d8ccd Merge pull request #4196 from mycloudyplace/feature/mycloudyplace-provider-europe
Added MyCloudyPlace.com S3 provider
2020-05-11 08:47:26 +02:00
warwickmmandGitHub 3024afd83e Merge pull request #4195 from duplicati/feature/better-non-json-errors
Improved error messages for non-json errors
2020-05-10 14:35:24 -07:00
Kenneth Skovhede e240b4b267 Switched to a self-compiled version of agsxmpp as it has been pulled from NuGet.
The source is also provided in the bundle.
2020-05-10 21:44:12 +02:00
Kenneth Skovhede 9eef0a92f7 Updated the schema to include DB version 11 changes. 2020-05-10 21:30:15 +02:00
Kenneth SkovhedeandGitHub e8833c2173 Merge pull request #4171 from warwickmm/add_block_indices
Add indices to Block table to improve query performance
2020-05-10 21:25:03 +02:00
Kenneth SkovhedeandGitHub d688f3fe00 Merge pull request #4181 from warwickmm/fix_indentation
Fix confusing indentation
2020-05-10 21:09:53 +02:00
Kenneth SkovhedeandGitHub 5168d05ebf Merge pull request #4161 from warwickmm/refactor/verify_remote_list_setup
Remove boilerplate code in calls to VerifyRemoteList
2020-05-10 21:04:42 +02:00
Kenneth Skovhede f0891ef4fd Added error handling to the Dropbox backend for cases where the Dropbox server responds with invalid JSON in the error message. 2020-05-10 14:15:35 +02:00
Kenneth Skovhede 2f1f5bb7e0 The purpose of this update is to provide better error messages from servers that return error messages, but are expected to return JSON data.
In the current setup, the response stream is parsed by the JSON decoder, which throws an exception due to reading a non-json formatted error message.
The reported exception simply states that the first character on the first line was not valid json, which is true, but does not help diagnose the problem.

In many cases this is a human readable message, such as "over quota", "permission denied", etc.
This update adds a stream that keeps the first 2kb of the response in an internal buffer, which can then be printed in case the JSON parsing fails.
Most of the added code is just simple redirects for calling the base stream in the peeking stream.
2020-05-10 14:14:35 +02:00
Cedric Hauber 0276eca34e Added MyCloudyPlace.com S3 provider 2020-05-06 19:05:22 +02:00
Kenneth Hsu 0f4cfdb156 Fix confusing indentation.
The body of an if statement was not indented relative to the condition.
This also adds braces to clarify the body of the statement.
2020-04-26 19:51:12 -07:00
Allan NordhøyandGitHub ac3d761412 Spelling: e.g, option activated 2020-04-18 15:58:28 +00:00
Kenneth Hsu 6638af10e7 Add indices to Block table to improve query performance.
The index on Block.Size improves the performance of the query that
checks that the user has not altered the block size of the backup
configuration.

The index on Block.Hash and Block.VolumeID improves the performance of
the query that obtains the blocklists.

There are anecdotes that these indices can drastically improve
performance (queries that used to take hours completed in seconds with
the index):

https://forum.duplicati.com/t/repairing-a-big-database/8174/4
https://github.com/duplicati/duplicati/issues/3884#issuecomment-612296016

This fixes issue #3884.
2020-04-11 11:47:40 -07:00
Kenneth SkovhedeandGitHub 8933c972ea Merge pull request #4151 from warwickmm/remove_unused_backend_handler_members
Remove unused BackendHandler members
2020-04-10 07:55:54 +02:00
Kenneth SkovhedeandGitHub 5137c39e34 Merge pull request #4166 from drwtsn32x/add-folder-exclusions
Add Edge and Chrome cache folders to exclusion list
2020-04-10 07:53:08 +02:00
Kenneth SkovhedeandGitHub ba81e0da4b Merge pull request #4164 from warwickmm/remove_unused_common_strings
Remove unused Strings.Common members
2020-04-10 07:50:24 +02:00
Kenneth SkovhedeandGitHub e278d2fb5c Merge pull request #4163 from warwickmm/remove_unused_localization_classes
Remove unused Localization helper classes
2020-04-10 07:49:36 +02:00
Rod Savard e79f331ae6 add Edge and Chrome cache folders 2020-04-06 16:27:42 -07:00
Kenneth Hsu 33ee3a2cf6 Remove unused Strings.Common members.
The last references were removed in 5170c6ad1d ("Remove unused
CommonStrings class"), but the last real usages were removed in revision
62c75d9af9 ("Removed all informs code (no more 1.3.x UI)").
2020-04-05 18:30:25 -07:00
Kenneth Hsu 26c91587ed Remove unused Localization helper classes. 2020-04-05 15:06:03 -07:00
Kenneth Hsu 1249267f6e Remove unused members from Duplicati.Library.Common. 2020-04-05 14:36:28 -07:00
Kenneth Hsu de1b89167b Rename local variable. 2020-04-05 12:00:51 -07:00
Kenneth Hsu d92a436bad Fix spelling error in local variable name. 2020-04-05 11:46:32 -07:00
Kenneth Hsu b53770b589 Add VerifyRemoteList overload to reduce duplicated code. 2020-04-05 11:46:08 -07:00
Kenneth Hsu 0c9ca9a75c Remove unused BackendHandler members. 2020-03-29 16:48:19 -07:00
Kenneth SkovhedeandGitHub e45b8c4b2e Merge pull request #4049 from seantempleton/filesetdifference
Fix unexpected difference in fileset when using Stop Now
2020-03-25 07:11:04 +01:00
Kenneth SkovhedeandGitHub 6a8912c473 Merge pull request #4145 from tygill/feature/ms-graph-non-httpclient
Allow MS Graph backends (e.g., OneDrive v2) to use OAuthHelper instead of OAuthHttpClient
2020-03-25 07:09:44 +01:00
Kenneth SkovhedeandGitHub 3a08c8ca2d Merge pull request #4140 from warwickmm/remove_common_strings
Remove unused CommonStrings class
2020-03-25 07:05:59 +01:00
Kenneth SkovhedeandGitHub bb05d1edde Merge pull request #4139 from warwickmm/remove_unused_result_classes_members
Remove unused members from Duplicati.Library.Main.ResultClasses
2020-03-25 07:05:15 +01:00
Kenneth SkovhedeandGitHub 535268d1f7 Merge pull request #4138 from warwickmm/remove_unused_strings_members
Remove unused members from Duplicati.Library.Main.Strings
2020-03-25 07:04:09 +01:00
Kenneth SkovhedeandGitHub f628c5dd01 Merge pull request #4136 from warwickmm/remove_unused_database_members
Remove unused members from Duplicati.Library.Main.Database
2020-03-25 07:03:41 +01:00
Kenneth SkovhedeandGitHub 9b94f6299b Merge pull request #4128 from warwickmm/throw_http_timeout_exception
Throw TimeoutException upon HTTP timeout for GET operations
2020-03-25 07:00:00 +01:00
Kenneth SkovhedeandGitHub c95def65f5 Merge pull request #4122 from warwickmm/fix_upload_retry_attempts
Fix log message for retried upload operations
2020-03-25 06:58:14 +01:00
Tyler Gill 1ae534e45e Add ConfigureAwait(false) to JSONWebHelper.cs 2020-03-23 20:22:22 -06:00
Tyler Gill e742205f65 Add --use-http-client=false parameter to backends based on Microsoft Graph APIs (OneDrive v2, SharePoint v2, etc.) to make them use the OAuthHelper and HttpWebRequest infra used by most / all other backends for HTTP requests. This lives in parallel to the original implementation that uses the OAuthHttpClient class, but is intended to see if this prevents the memory leaks and problems seen in some versions of Mono when using the OneDrive v2 backend. 2020-03-23 14:10:40 -06:00
warwickmmandGitHub 7679e9dee9 Merge pull request #4135 from warwickmm/remove_resharper_comment
Remove comment disabling ReSharper warning
2020-03-21 10:40:59 -07:00
warwickmmandGitHub 5b30da79a6 Merge pull request #4137 from warwickmm/revert_volume_writer_disposal
Revert incorrect disposal of IndexVolumeWriter
2020-03-21 10:40:23 -07:00
Rod Savard c247d01c6e remove spaces 2020-03-18 04:57:25 -07:00
Rod Savard b30fdfe34d add comment and simplify key value assignment 2020-03-17 21:35:19 -07:00