Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-29Merge pull request #4506 from warwickmm/mono_ssh_avoid_ecdsa_algorithmsKenneth Skovhede
Avoid ECDSA algorithms when using SFTP with Mono
2021-05-29Merge branch 'master' into feature/azure-storage-sastokenKenneth Skovhede
2021-05-29Merge pull request #4513 from warwickmm/fix_bug_handlings_deprecated_optionsKenneth Skovhede
Fix bug in handling deprecated Azure and S3 options
2021-05-20Create custom Exception for remote list verification failures.Kenneth Hsu
Previously, we would catch any Exception thrown by VerifyRemoteList and perform an auto-cleanup (if specified in the options). However, we should only perform the auto-cleanup if VerifyRemoteList detected an issue with the uploaded files. Otherwise, an unrelated exception can cause the database repair to be performed unnecessarily. In the case of a connection issue, this can leave the database in a corrupted state. This fixes #4516.
2021-05-18Simplify exception handling when testing for ECDSA support.Kenneth Hsu
.NET 5 moves the responsibility to the operating system, and since SSH.NET currently relies on the ECDsaCng class, we will simply interpret all exceptions to mean lack of ECDSA support.
2021-05-18Cache knowledge of ECDSA support using static field.Kenneth Hsu
This is simpler, and would potentially allow us to query this without an instance.
2021-05-18Cache knowledge of ECDSA support.Kenneth Hsu
2021-05-18Assume we have ECDSA support if our test throws exception.Kenneth Hsu
It's possible that our test will no longer be valid (e.g., due to changes in SSH.NET), so we don't want the backend to fail if our test is no longer valid.
2021-05-18Construct instance of ECDsaCng to test for ECDSA support.Kenneth Hsu
This more closely reflects the SSH.NET code.
2021-05-17Test for ECDSA support explicitly.Kenneth Hsu
The previous implementation could possibly fail for reasons unrelated to ECDSA support.
2021-05-16Reorder parameters of previously wrongly refactored string interpolationmarodev
2021-05-16Fix bug handling deprecated Azure and S3 options.Kenneth Hsu
In pull request #4443, we renamed some of the Azure and S3 options to use dashes '-' instead of underscores '_' for consistency. However, our treatment of the options in the backend constructors still required that the underscore versions be present even if the dashed version was provided. Now, we allow for either option to be present, but the value for the dashed version will take precedence.
2021-05-15Fix ReSharper's "Use string interpolation expression" / Code Smellmarodev
2021-05-15Add authentication using Shared access signature tokenSerge
Allow users to authenticate using a Shared access signature (SAS) token. SAS tokens are more secure because they: * have a start and expiry date/time * can be restricted to specified IP addresses * can limit access scope to a single Storage blob container
2021-05-15Bugfix read non-present key from dictionarySerge
The lines with null-coalescing operator (??) throw an exception when the dictionary does not contain the first key (eg azure_account_name). Exception thrown: "The given key was not present in the dictionary".
2021-05-15Make period in regex filters match newline characters.Kenneth Hsu
By default, the dot (.) element matches every character _except_ the newline character. This causes issues with files that have a newline character in the name. For example, they are excluded when restoring the containing directory. By specifying the RegexOptions.Singleline option, the dot (.) element will match every character, including the newline character. This fixes #4508.
2021-05-12Enumerate items to list before modifying collection.Kenneth Hsu
2021-05-11SSH: Avoid advertising support for ECDSA algorithms with Mono.Kenneth Hsu
SSH.NET relies on the System.Security.Cryptography.ECDsaCng class for ECDSA algorithms, which is not implemented in Mono (as of 6.12.0.144). This prevents clients from connecting if one of the ECDSA algorithms is chosen as the host key algorithm. In the event that this causes a connection failure, we will prevent the client from advertising support for ECDSA algorithms and make another connection attempt. Related forum discussion: https://forum.duplicati.com/t/release-2-0-6-1-beta-2021-sftp-failure-synology/12358
2021-05-10Merge pull request #4502 from samuel-w/masterwarwickmm
Make file extension compression hints case-insensitive.
2021-05-09Improve commentsamuel-w
2021-05-08Add commentsamuel-w
2021-05-08Merge pull request #4501 from warwickmm/fix_typo_in_script_examplesKenneth Skovhede
Fix typo in example scripts
2021-05-08Merge pull request #4503 from samuel-w/dar-sqlKenneth Skovhede
Add Disk Archive files to compression hints
2021-05-08Merge pull request #4488 from warwickmm/file_backend_should_truncateKenneth Skovhede
Make File backend truncate existing files when overwriting
2021-05-08Add Disk Archive files to compression hintssamuel-w
2021-05-08Compare file extensions case insensitively.samuel-w
Fixes https://github.com/duplicati/duplicati/issues/4493
2021-05-07Fix typo in example scripts.Kenneth Hsu
2021-05-06fix: TypoTopperDEL
2021-05-06fix: Remove unnecessary stringsTopperDEL
2021-05-06fix: Command line optionsTopperDEL
2021-05-06fix: fetch parameters from options via TryGetValueTopperDEL
2021-05-04Merge pull request #4469 from tygill/fix/ms-graph-throttlingwarwickmm
Fix OneDrive throttling and respect retry-after header.
2021-05-03feat: Rename all parameters and UIsTopperDEL
Existing configurations will not be affected
2021-05-03feat: Rename C# and Project-files to StorjTopperDEL
2021-04-29feat: Verify encryption passphraseTopperDEL
2021-04-29feat: Further renameTopperDEL
2021-04-29feat: Rename Tardigrade to Storj DCSTopperDEL
2021-04-29feat: Update satellites-listTopperDEL
2021-04-29build: Update to latest uplink.NETTopperDEL
2021-04-21Make File backend truncate existing files when overwriting.Kenneth Hsu
The implementations of ISystemIO.FileOpenWrite call File.OpenWrite, which does not truncate the existing file. As such, if we overwrite a larger file with a smaller one, tail remnants of the existing file will remain. Since most of the put operations involve unique filenames, this is only a problem when overwriting existing files (e.g., duplicati-verification.json). This fixes a regression introduced in revision 71c6aca8a7 ("Fixed IO calls in Filebackend") from pull request #3456. The previous implementation called File.Open with FileMode.Create, which truncates existing files. This fixes #4486.
2021-03-29Remove CopyStream buffering logic (will try to make a separate pull request ↵Tyler Gill
for that)
2021-03-24Move Retry-After logic to RetryAfterHelper to make it easier for other ↵Tyler Gill
backends to incorporate it.
2021-03-24Add some logging to Microsoft Graph backends.Tyler Gill
2021-03-22OAuthHttpClient should behave the same as the WebRequest code path and treat ↵Tyler Gill
no http-operation-timeout override as meaning to use an infinite timeout.
2021-03-22Store the Utility buffer in a WeakReference so the GC can collect it if ↵Tyler Gill
necessary.
2021-03-21Address some more feedbackTyler Gill
2021-03-20Fix a few more things.Tyler Gill
2021-03-20Fix column name typoaureliandevel
2021-03-19Clean up a few more bugs and inconsistencies in ReadLimitLengthStream.Tyler Gill
2021-03-18Fix some bugs in ReadLimitLengthStream changes, and add a unit test for some ↵Tyler Gill
of the new behavior. Also make NonSeekableStream block seeks via the Position setter.