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
warwickmm and GitHub
16f54d2d72
Merge pull request #4150 from drwtsn32x/sort-files-web-ui
...
Sort file and folder listing in web UI
2020-03-31 17:10:04 -07:00
Rod Savard
f1e4ae884a
adjust logic to support both dirseps, add comments
2020-03-30 17:15:03 -07:00
drwtsn32x and GitHub
e1b6ed5ebf
Merge pull request #4153 from borfast/patch-1
...
Add missing dependency for Mono certificates on Debian
2020-03-30 16:50:05 -07:00
Raúl Pedro Fernandes Santos and GitHub
b1ff97ce6f
Add missing dependency for Mono certificates
...
Without this package, Duplicati can't connect to the Backblaze B2 storage
2020-03-30 16:42:57 +01:00
drwtsn32x and GitHub
d6fe9df473
Merge pull request #4152 from warwickmm/remove_unused_variable
...
Fix compiler warning about unused variable
2020-03-29 21:58:16 -07:00
Rod Savard
7a4d90f4af
check both path separators
2020-03-29 19:32:52 -07:00
Kenneth Hsu
87c1fa5a04
Fix compiler warning about unused variable.
2020-03-29 19:17:37 -07:00
Kenneth Hsu
0c9ca9a75c
Remove unused BackendHandler members.
2020-03-29 16:48:19 -07:00
Rod Savard
57e0323d61
sort restore list too
2020-03-29 09:18:27 -07:00
Rod Savard
1ccc407a44
simplify ordering operation
2020-03-29 09:17:40 -07:00
Rod Savard
85453b0f9e
sort files
2020-03-28 09:21:35 -07:00
Kenneth Skovhede
8bb7b27c1f
Version bump to v2.0.5.104-2.0.5.104_canary_2020-03-25
...
You can download this build from:
Binaries: https://updates.duplicati.com/canary/duplicati-2.0.5.104_canary_2020-03-25.zip
Signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.104_canary_2020-03-25.zip.sig
ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.104_canary_2020-03-25.zip.sig.asc
MD5: 24c76ba5f12c6d05927de299eef0df44
SHA1: fd996830dc1bc0ffe6a38728630936291a8a3f94
SHA256: b6a528c97c0d058b33da24a719b260be5ecf7ae99753c38a03f15f7b3059ed61
v2.0.5.104-2.0.5.104_canary_2020-03-25
2020-03-25 07:26:31 +01:00
Kenneth Skovhede and GitHub
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 Skovhede and GitHub
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 Skovhede and GitHub
3a08c8ca2d
Merge pull request #4140 from warwickmm/remove_common_strings
...
Remove unused CommonStrings class
2020-03-25 07:05:59 +01:00
Kenneth Skovhede and GitHub
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 Skovhede and GitHub
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 Skovhede and GitHub
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 Skovhede and GitHub
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 Skovhede and GitHub
a01a2dc3ba
Merge pull request #4123 from warwickmm/fix_block_device_type
...
Fix detection of block devices in UnixSupport.File.GetFileType
2020-03-25 06:58:58 +01:00
Kenneth Skovhede and GitHub
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
warwickmm and GitHub
8d09c335f3
Merge pull request #4146 from tygill/fix/default-nuget-config
...
Ensure that NuGet packages are downloaded to expected directory.
2020-03-24 16:58:34 -07:00
Tyler Gill
1ae534e45e
Add ConfigureAwait(false) to JSONWebHelper.cs
2020-03-23 20:22:22 -06:00
Tyler Gill
476491e423
Add default nuget.config to ensure any system-wide nuget config for the package location is ignored.
2020-03-23 14:26:25 -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
warwickmm and GitHub
7679e9dee9
Merge pull request #4135 from warwickmm/remove_resharper_comment
...
Remove comment disabling ReSharper warning
2020-03-21 10:40:59 -07:00
warwickmm and GitHub
5b30da79a6
Merge pull request #4137 from warwickmm/revert_volume_writer_disposal
...
Revert incorrect disposal of IndexVolumeWriter
2020-03-21 10:40:23 -07:00
warwickmm and GitHub
f00df1e950
Merge pull request #4142 from drwtsn32x/refine-storing-inheritance-breaks
...
Avoid rescan due to existence of new metadata option
2020-03-18 17:00:31 -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
Rod Savard
4c41fd691a
only store inheritance breaks in metadata when true
2020-03-17 06:48:00 -07:00
Kenneth Hsu
5170c6ad1d
Remove unused CommonStrings class.
...
The last usages were removed in revision 62c75d9af9 ("Removed all
informs code (no more 1.3.x UI)").
2020-03-15 14:12:19 -07:00
Kenneth Hsu
bf5ae9afac
Disable false ReSharper warnings for unused properties.
...
These properties are referenced in the logs.
2020-03-15 12:11:10 -07:00
Kenneth Hsu
043a11967a
Remove unused members from Duplicati.Library.Main.ResultClasses.
2020-03-15 12:09:13 -07:00
Kenneth Hsu
62781b508f
Remove unused members from Duplicati.Library.Main.Strings.
2020-03-15 11:13:04 -07:00
Kenneth Hsu
a42a0a41b6
Remove unnecessary variable assignment.
2020-03-15 09:58:14 -07:00
Kenneth Hsu
7456d12dac
Revert "Ensure that IndexVolumeWriter is disposed."
...
Since a reference to the IndexVolumeWriter is passed to the
FileEntryItem, we should not dispose of it here.
This reverts commit b6123cc156 .
This is a potential fix for issue #4130 .
2020-03-15 09:53:21 -07:00
Kenneth Hsu
13e1f0dac6
Remove unused Database members.
2020-03-14 16:45:08 -07:00
Kenneth Hsu
53730b3fc1
Remove comment disabling ReSharper warning.
...
This warning no longer applies.
2020-03-14 14:14:44 -07:00
Kenneth Hsu
21d0247e6d
Throw TimeoutException when an HTTP timeout occurs.
...
The HttpClient.GetAsync 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 is related to issue #3772 .
2020-03-05 12:00:23 -08:00
warwickmm and GitHub
c86ca0f38c
Merge pull request #4127 from seantempleton/throttleconfusion
...
Fix bandwidth throttling inconsistency
2020-03-04 22:48:31 -08:00
Sean Templeton
9739517b0a
Fix bandwidth throttling inconsistency
...
In code the throttling generally works backwards than what one would expect.
The streams that are throttled are the streams that operate on files from the local machine.
This fixes the download throttling not working and the upload throttling applying to
both uploads and downloads.
When doing a Put operation the stream on the local machine is reading from the
local filesystem and hence the upload throttle bytes per second needs to be
applied to the reading of the stream, not the writing.
Similarly when doing a Get operation the download throttle bytes per second needs
to be applied to the writing of the stream.
Fixes #4115
2020-03-04 19:57:48 -06:00
Sean Templeton
d5e064ae45
Fix a few more issues with stop now
...
When a backup is interrupted it will now show as a partial backup in the list of backups on the restore files page.
Temporary filelist volumes are protected from deletion in several places. All but the RestoreHandler
only protect the most recent filelist. The RestoreHandler protects all temporary filelist volumes as the user
might be restoring from one that would be deleted.
Prevent the CoCoL BackendRequests channel is retired exception from appearing when the backup is stopped by checking
if the channel is retired before trying to add the FlushRequest to the channel. Any exceptions from the BackendUploader
task will still be thrown.
2020-03-01 21:19:07 -06:00
Sean Templeton
19010e6314
Fix unexpected difference in fileset when using Stop Now
...
The exception could occur due to the existing delete for FilesetEntry
deleting based on volume ids, which would only match a filelist.
The bsIdsSubQuery would return BlocksetIds that should
be deleted and would delete from the FileLookup table.
FilesetEntry would then have a higher count of rows
than what would be returned by the LEFT OUTER JOINS on all of the
other tables in VerifyConsistency() since more rows had been deleted
from FileLookup.
To fix this when rows are deleted in FileLookup, use the associated metadata id
to delete from FilesetEntry and other tables based on the blockset id for the
metadata id.
Some existing delete statements were moved, none were deleted.
The existing FileLookup delete had the match on metadata id removed as
a blockset id does not equal a metadata id.
2020-03-01 18:16:33 -06:00
warwickmm and GitHub
b1d1972cb8
Merge pull request #4114 from seantempleton/syntheticfilelist
...
Fix issue with synthetic filelist not being uploaded
2020-03-01 12:39:08 -08:00
Kenneth Hsu
bcabbe67c8
Fix detection of block devices.
...
This appears to have been a copy/paste error.
The UnixSupport.dll file was compiled in Release mode.
2020-03-01 12:11:16 -08:00
Kenneth Hsu
197a15e032
Fix log message for retried upload operations.
...
The number of attempts is one (the first attempt) plus the number of
retries.
2020-03-01 12:07:05 -08:00