Commit Graph
8782 Commits
Author SHA1 Message Date
Rune HenriksenandGitHub 16bfb35681 Merge pull request #3783 from warwickmm/remove_unused_google_services_members
Remove unused members from Duplicati.Library.Backend.GoogleServices project
2019-06-06 11:39:44 +02:00
Rune HenriksenandGitHub be8bdb48a6 Merge pull request #3792 from drwtsn32x/master
Include original database filename when saving database backup.
2019-06-06 11:36:51 +02:00
drwtsn32x 011e9b40d1 Include original database filename when saving database backup. 2019-06-05 20:46:33 -07:00
Kenneth Hsu 68b7f35ccc Remove unused property. 2019-06-02 09:50:09 -07:00
Kenneth Hsu 46c81fa073 Disable warning about unused class. 2019-06-02 09:46:35 -07:00
Kenneth Hsu edb2043a1e Remove misleading region tag.
Many of the members enclosed in this region were not related to the
IStreamingBackend interface.
2019-06-02 09:44:28 -07:00
Kenneth Hsu fa64f44677 Remove unused property. 2019-06-02 09:44:00 -07:00
Kenneth Hsu b86ec99eea Disable warning about unused class. 2019-06-02 09:42:39 -07:00
Kenneth Hsu 669a212c46 Remove unused method. 2019-06-02 09:41:26 -07:00
Kenneth Hsu b04a701685 Disable warning about unused class. 2019-06-02 09:41:04 -07:00
Kenneth Hsu be65f58059 Remove unused properties.
Although these are returned in the JSON from Google Cloud and Google
Drive, they are unused.  Json.NET by default will ignore JSON properties
that do not have corresponding class properties.
2019-06-01 19:01:16 -07:00
Kenneth Hsu d53f1a53d2 Remove unused property.
According to the Google Cloud v1 documentation, the prefixes property is
not returned by the Buckets:list method.
2019-05-30 20:40:02 -07:00
Kenneth Hsu 9905cbf8e2 Remove unused methods. 2019-05-27 21:21:04 -07:00
Kenneth Hsu 4d12b77b85 Disable warning about unused class. 2019-05-27 21:19:37 -07:00
Kenneth Hsu 399497708b Remove unused method. 2019-05-27 21:13:00 -07:00
Kenneth Hsu a4e990a859 Disable warning about unused class. 2019-05-27 21:10:21 -07:00
Kenneth Hsu 4332436102 Disable warning about unused class. 2019-05-27 21:09:54 -07:00
Rune HenriksenandGitHub b85b817d67 Merge pull request #3778 from warwickmm/handle_http_timeout_exception
Throw TimeoutException upon HTTP timeout
2019-05-27 23:04:45 +02:00
Rune HenriksenandGitHub a34cd1c5ca Merge pull request #3775 from Pectojin/retention_policy_form_validation
Test that retention policy is a valid pattern
2019-05-27 23:02:23 +02:00
Rune HenriksenandGitHub 9363388f53 Merge pull request #3779 from warwickmm/remove_unused_dropbox_members
Remove unused members from Duplicati.Library.Backend.Dropbox project
2019-05-27 23:02:02 +02:00
Rune HenriksenandGitHub 81b15fd43e Merge pull request #3780 from warwickmm/remove_unused_file_members
Remove unused members from Duplicati.Library.Backend.File project
2019-05-27 23:01:20 +02:00
Rune HenriksenandGitHub 795820f162 Merge pull request #3781 from warwickmm/remove_unused_ftp_members
Remove unused members from Duplicati.Library.Backend.FTP project
2019-05-27 23:01:01 +02:00
Kenneth Hsu 5c3c6e6417 Make property static. 2019-05-27 09:57:18 -07:00
Kenneth Hsu 179a99c00c Remove unused property. 2019-05-26 19:47:03 -07:00
Kenneth Hsu 6b4cae3ea4 Disable warning about unused class. 2019-05-26 19:46:47 -07:00
Kenneth Hsu ec6915b8cd Remove unused method. 2019-05-26 19:32:55 -07:00
Kenneth Hsu 044122a74d Remove unused property. 2019-05-26 19:30:20 -07:00
Kenneth Hsu d246c29221 Disable warning about unused class. 2019-05-26 19:30:02 -07:00
Kenneth Hsu 906e290158 Disable warning about unused properties.
While these properties are unused, the Dropbox API v2 documentation does
not declare these to be optional.
2019-05-26 19:13:22 -07:00
Kenneth Hsu 5716f6c1ee Remove unused properties.
According to the Dropbox API v2 documentation, these are optional.
2019-05-26 19:08:11 -07:00
Kenneth Hsu a30f578071 Rename method parameter. 2019-05-26 15:14:42 -07:00
Kenneth Hsu 6b04625cea Add XML comment for method parameter. 2019-05-26 15:09:24 -07:00
Kenneth Hsu fe5e17a3fa Throw TimeoutException upon HTTP timeout.
The HttpClient.SendAsync method throws an OperationCanceledException
when the timeout is exceeded.  In order to provide a more informative
exception, we will detect this case and throw a TimeoutException
instead.  This will also allow the BackendUploader to differentiate
between cancellations requested by the user and those generated by
an HTTP timeout.

Previously, a ThreadAbortException or OperationCanceledException would
be rethrown in the BackendUploader.DoWithRetry method.  However, the
modifications made in revision 61f511c087
from pull request #3684 appear to have let this case slip through.

See the following links for more information:

https://stackoverflow.com/questions/10547895/how-can-i-tell-when-httpclient-has-timed-out
https://thomaslevesque.com/2018/02/25/better-timeout-handling-with-httpclient

This addresses issue #3772.
2019-05-26 14:57:05 -07:00
Kenneth Hsu 988c445233 Provide cancellation token to async methods. 2019-05-26 14:55:31 -07:00
Rune Henriksen 211bced996 codacy compliance 2019-05-25 20:45:11 +02:00
Rune Henriksen f00b98852c Test that retention policy is a valid pattern 2019-05-23 19:13:08 +02:00
Kenneth Hsu e9cc733b93 Disable warning about unused property. 2019-05-17 21:13:53 -07:00
Kenneth Hsu 0fa688078a Disable warnings about unused constructors. 2019-05-17 21:13:53 -07:00
Kenneth Hsu 28e99e7c7e Disable warning about unused class. 2019-05-17 21:13:53 -07:00
Rune HenriksenandGitHub c46dbbe58f Merge pull request #3770 from warwickmm/remove_unused_box_members
Remove unused members from Duplicati.Library.Backend.Box project
2019-05-15 09:17:21 +02:00
Rune HenriksenandGitHub 2ca170d7d9 Merge pull request #3769 from warwickmm/remove_unused_cloud_files_members
Remove unused members from Duplicati.Library.Backend.CloudFiles project
2019-05-15 09:16:57 +02:00
Kenneth Hsu 9aab376b9f Remove unused property. 2019-05-14 19:29:38 -07:00
Kenneth Hsu 53cc2452e0 Remove unused property. 2019-05-14 19:29:38 -07:00
Kenneth Hsu adea2f9aec Disable warning about unused constructors. 2019-05-14 19:29:38 -07:00
Kenneth Hsu 7773c42f56 Disable warning about unused class. 2019-05-14 19:29:37 -07:00
Kenneth Hsu 72961a3e85 Remove unused method. 2019-05-14 19:22:51 -07:00
Kenneth Hsu b19102f11a Disable warnings about unused constructors. 2019-05-14 19:22:51 -07:00
Kenneth Hsu 3d32cd482f Disable warning about unused class. 2019-05-14 19:22:51 -07:00
Rune HenriksenandGitHub 25f0b16997 Merge pull request #3765 from warwickmm/remove_unused_azure_blob_backend_members
Remove unused members from Duplicati.Library.Backend.AzureBlob project
2019-05-14 07:34:12 +02:00
Rune HenriksenandGitHub 43fd8a86c0 Merge pull request #3766 from warwickmm/remove_unused_amazon_cloud_drive_members
Remove unused members from Duplicati.Library.Backend.AmazonCloudDrive project
2019-05-14 07:33:18 +02:00