Commit Graph
1396 Commits
Author SHA1 Message Date
Muhammad Abrar 70a60978cb Syncing with upstream 2022-06-13 12:40:29 +05:00
Muhammad Abrar f73bc2213c Added support for new backend IDrivee2(https://www.idrivee2.com) 2022-06-13 10:38:42 +05:00
Kenneth Skovhede a88be25a12 Merge branch 'master' of github.com:duplicati/duplicati 2022-06-12 22:27:13 +02:00
Kenneth SkovhedeandGitHub 5e3a651d16 Merge branch 'master' into jottacloud_oauth 2022-06-12 22:14:15 +02:00
Kenneth SkovhedeandGitHub 2fabbe6046 Merge pull request #4692 from dkrahmer/DK__AddIDriveBackend
Add IDrive Backend
2022-06-12 20:58:09 +02:00
Kenneth SkovhedeandGitHub 9100497a80 Merge pull request #4691 from dkrahmer/DK__FixFileBackendPartialFiles
FileBackend file size verification
2022-06-12 20:50:52 +02:00
Kenneth Skovhede 63e7c4e693 Minor naming fix 2022-06-12 20:25:22 +02:00
Kenneth SkovhedeandGitHub 8f2c1153f9 Merge pull request #4672 from PAPAMICA/master
Add Infomaniak Swiss Backup to backend
2022-06-12 20:24:16 +02:00
albertony 36a27ab5b4 Jottacloud backend oauth authentication 2022-04-24 14:59:02 +02:00
Thomas Suckow 8c518f7d3a .net6 2022-04-12 21:43:50 -07:00
Doug Krahmer 54df354025 Add longer IDrive HttpClient timeouts
Add better file upload verification and exception handling
Add CancellationToken for all async IDrive methods
Add static semaphore to limit concurrent IDrive uploads to 10
2022-03-18 11:15:08 -07:00
Doug Krahmer 9d029a09a2 Minor IDrive backend enhancements 2022-03-18 11:14:50 -07:00
Doug Krahmer d1f10ba9a1 Add IDrive backend and API subset 2022-03-18 11:14:43 -07:00
Doug Krahmer 1cbe2643b1 Add file size verification to FileBackend PutAsync() 2022-03-18 11:13:19 -07:00
Thomas Suckow bf5b9537d8 Merge remote-tracking branch 'thomas/feature/net5-freebsd' into feature/net5-unsplit
# Conflicts:
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/CLI/Commands.cs
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/ImageLoader.cs
#	Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
#	Duplicati/Library/Backend/SSHv2/packages.config
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Common/Duplicati.Library.Common.csproj
#	Duplicati/Library/SQLiteHelper/Duplicati.Library.SQLiteHelper.csproj
#	Duplicati/Library/Snapshots/Duplicati.Library.Snapshots.csproj
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
#	Duplicati/UnitTest/TestUtils.cs
#	Duplicati/UnixSupport/UnixSupport.csproj
#	Installer/Makefile/Makefile
#	guiTests/guiTest.py
2022-03-03 21:20:34 -08:00
Kenneth Skovhede b267b2b744 Added detection of access token types.
This fixes #4667
2022-02-23 21:58:04 +01:00
Thomas Suckow d528703fe7 Merge branch 'master' into experiment/net5-split
# Conflicts:
#	.github/workflows/tests.yml
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/Library/Backend/AzureBlob/AzureBlobWrapper.cs
#	Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj
#	Duplicati/Library/Backend/Mega/packages.config
#	Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Backend/Tardigrade/Properties/AssemblyInfo.cs
#	Duplicati/Library/Backend/Tardigrade/packages.config
#	Duplicati/Library/Common/Duplicati.Library.Common.csproj
#	Duplicati/Library/Common/IO/SystemIOWindows.cs
#	Duplicati/Library/Modules/Builtin/Duplicati.Library.Modules.Builtin.csproj
#	Duplicati/Library/Modules/Builtin/packages.config
#	Duplicati/Library/Utility/Utility.cs
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/Server/packages.config
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
2022-02-22 19:04:01 -08:00
Mickael Asseline 81d6d1e40a Add Infomaniak SwissBackup to backend 2022-01-31 15:17:52 +01:00
PoliandGitHub 8fda8caafb Update S3Backend.cs 2021-09-19 15:11:58 +02:00
Soha Jin 65f9feed11 Tencent COS: use english document 2021-09-11 00:08:32 +08:00
Soha Jin 3487365d56 Tencent COS: support setting storage class 2021-09-09 18:23:22 +08:00
Kenneth SkovhedeandGitHub e81595a611 Merge pull request #4588 from warwickmm/fix_ftp_path_handling
Fix Alternative FTP handling of paths with escaped characters
2021-08-11 10:41:34 +02:00
Kenneth SkovhedeandGitHub d40ba990ae Merge pull request #4557 from warwickmm/fix_putasync_implementations
Fix bug in PutAsync implementations
2021-08-11 10:35:31 +02:00
Kenneth Hsu 356f270b12 Fix handling of FTP paths that contain escaped characters.
This fixes #4587.
2021-08-10 11:08:31 -07:00
warwickmmandGitHub 184dfeae78 Merge pull request #4492 from TopperDEL/storj-dcs-update
Add Storj DCS backend and deprecated Tardigrade DCS backend.

Storj renamed their "Tardigrade Decentralized Cloud Storage" product to "Storj DCS".  This adds a new Storj DCS backend and deprecates the old Tardigrade one.  A warning is issued to inform Tardigrade users to modify their configurations to use the new backend.

This also adds a passphrase verification field to ensure that the user has provided the correct encryption passphrase.
2021-07-20 08:28:54 -07:00
TopperDEL ad63833a32 fix: Remove unnecessary backend-parameter "secret-verify" 2021-07-20 10:17:44 +02:00
TopperDEL a2a7e4b7ba fix: New GUID in AssemblyInfo, too 2021-07-19 09:26:58 +02:00
TopperDEL a785324102 fix: Add "Deprecated" to Tardigrade-Strings 2021-07-19 09:22:05 +02:00
TopperDEL 0c9435fe7b fix: Use fresh GUID for Tardigrade-Backend-Project 2021-07-19 09:21:08 +02:00
TopperDEL 64d33e7923 fix: Guid in AssemblyInfo 2021-07-16 08:31:06 +02:00
TopperDEL 7a96d3d7ed fix: build errors 2021-07-15 20:26:26 +02:00
TopperDEL ff6cc959eb feat: Update MacOS-binaries 2021-07-15 17:44:55 +02:00
TopperDEL 2cec06252c feat: Update uplink.NET to latest version + binaries 2021-07-15 17:43:18 +02:00
TopperDEL 5d36791aa5 feat: Inform user about deprecated Tardigrade-Backend with a warning 2021-07-15 17:37:22 +02:00
TopperDEL 7e335d36ec fix: Correctly loading of the backends in the UI 2021-07-15 17:20:57 +02:00
TopperDEL 0960fdfbd8 cleanup: Remove unnecessary old binaries 2021-07-15 17:15:41 +02:00
TopperDEL 0981c66465 feat: Create a copy of old Tardigrade-Backend with reuse of new Storj-Backend 2021-07-15 17:15:03 +02:00
Valentin c2dc922866 Mega Strings const review 2021-07-05 21:10:23 +02:00
Kenneth Hsu f2bcf470d2 Add factory method to get default AmazonS3Config instance.
This adds a method to get a default instance of AmazonS3Config.  This
accomplishes two key things:

1. Previously, the documentation for the default buffer size (8192) was
   inconsistent with the actual default value (65536).  This was due to
   differences in the property values betwen the instance used to
   generate the documentation, and that used in the actual backend
   client.

2. Disables the use of Amazon Resource Names (ARN).  This does not seem
   critical to our application.  Moreover, if the UseArnRegion property
   is not set, accessing it triggers an expensive operation (~30
   seconds) to get the region endpoint.  This causes the loading of the
   backend modules to take a long time and run afoul of HTTP request
   timeouts, causing the application to think that no backends are
   available.

   The previous version of the AWSSDK.S3 library that we used did not
   have this property, so this was not an issue until we started
   migrating away from .NET Framework.

This fixes #4543.
2021-06-28 09:52:13 -07:00
Valentin eda3666bc7 Add support for mega.nz two fa authentication 2021-06-26 13:39:05 +02:00
Kenneth Hsu de2a651763 Fix bug in PutAsync implementations.
Without await, the using statement can dispose the Stream before the
call to PutAsync completes, resulting in an ObjectDisposedException.

This fixes #4556.
2021-06-12 15:12:13 -07:00
Serge 5404fed634 Do not use StreamWriter 2021-06-02 19:35:40 +10:00
Serge 955dbebc03 Check contents of written test file
Before performing test write, reset stream Position to 0, otherwise test performs zero-byte write.
When performing test read, verify that file was written correctly.
2021-06-01 02:51:42 +10:00
warwickmmandGitHub ed86cca3e4 Merge pull request #4509 from sergethedev17/feature/azure-storage-sastoken
Add ability to provide SAS token for Azure backend
2021-05-30 10:15:43 -07:00
Kenneth SkovhedeandGitHub 8ee90fdf64 Merge pull request #4506 from warwickmm/mono_ssh_avoid_ecdsa_algorithms
Avoid ECDSA algorithms when using SFTP with Mono
2021-05-29 12:22:52 +02:00
Kenneth SkovhedeandGitHub 368a3a9a9b Merge branch 'master' into feature/azure-storage-sastoken 2021-05-29 12:20:30 +02:00
Kenneth SkovhedeandGitHub 2bcb0f511c Merge pull request #4513 from warwickmm/fix_bug_handlings_deprecated_options
Fix bug in handling deprecated Azure and S3 options
2021-05-29 12:17:44 +02:00
Kenneth Hsu a5fbee0335 Simplify exception handling when testing for ECDSA support.
.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-18 12:19:49 -07:00
Kenneth Hsu c246976fbb Cache knowledge of ECDSA support using static field.
This is simpler, and would potentially allow us to query this without an
instance.
2021-05-18 10:18:14 -07:00
Kenneth Hsu 22564bb2a3 Cache knowledge of ECDSA support. 2021-05-18 10:07:33 -07:00