Commit Graph
157 Commits
Author SHA1 Message Date
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
gpatel-frandGitHub f985af4a5a removes obsolete backend HubiC - fixes #4836 (#5018) 2023-08-30 13:45:55 +02:00
gpatel-fr cf17f488d1 update Newtonsoft lib to 13.02 2023-03-24 23:17:11 +01:00
Muhammad Abrar 713fce2acb Adding idrivee2 reference in BackendTester, BackendTool and Duplicati.GUI.TrayIcon csproj as well 2022-06-13 10:59:08 +05: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 0c9435fe7b fix: Use fresh GUID for Tardigrade-Backend-Project 2021-07-19 09:21:08 +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
TopperDEL a3d9d4c6ba feat: Rename C# and Project-files to Storj 2021-05-03 09:50:29 +02:00
Tyler Gill 3dce0df106 Fix typo 2021-03-23 17:40:34 -06:00
Tyler Gill a064d66603 Parse throttle speeds in backend tester as sizes. 2021-03-22 10:47:44 -06:00
Tyler Gill da71d28422 Allow backend tester to test throttling. 2021-03-22 09:57:56 -06:00
Tyler Gill 7f1b6bc7a2 Fix some bugs in ReadLimitLengthStream changes, and add a unit test for some of the new behavior.
Also make NonSeekableStream block seeks via the Position setter.
2021-03-18 12:24:11 -06:00
Kenneth Hsu 69b9585421 Remove Telegram backend.
The TLSharp library has some issues and the behavior of the Telegram
backend is not reliable.

Some alternative libraries for communicating with the Telegram API are
TgSharp, TDLib and TdSharp.

This fixes #4424.

Revert "Merge pull request #4324 from martikyan/feature/telegram_backend"

This reverts commit c7f9f8f556, reversing
changes made to 85139f86f2.
2021-02-21 11:37:58 -08:00
warwickmmandGitHub c7f9f8f556 Merge pull request #4324 from martikyan/feature/telegram_backend
Add support for Telegram channels as a backend destination.
2020-11-08 17:59:37 -08:00
Karen Martikyan 73fbb047e7 Added Telegram Backend skeleton 2020-09-20 22:57:03 +04:00
Dean Ferreyra edb2819d6f Disable "legacy path handling" for executables
This is a defensive measure in case legacy path handling has been
enabled at the system level.  Duplicati requires that legacy path
handling be _disabled_ to function properly.

Issue #4295 appears to be a result of legacy path handling being
enabled globally.
2020-09-18 19:58:18 -07:00
Kenneth Hsu e964072690 Target .NET Framework 4.7.1.
This updates all projects to target .NET Framework 4.7.1.  The
TencentCOS and Tardigrade backends depend on .NET Standard 2.0.  When a
.NET Framework prior to 4.7.1 is targeted, the system cannot be sure
that all the dependencies exist, so it copies all dependent assemblies
to the output directory.  This causes many assemblies from the System
namespace to become bundled in the release.

https://stackoverflow.com/a/48875007

We had previously attempted to make individual projects target 4.7.1
(see pull request #4242), but this can cause compatibility issues when
4.6.2 projects depend on 4.7.1. projects.

This will require Mono 5.10.0 or greater (previously, we required 5.0.0
or greater).

https://www.mono-project.com/docs/about-mono/releases/5.10.0/#class-libraries

This fixes issue #4234.
2020-07-26 19:46:01 -07:00
wood 07815740fd add dependency 2020-06-30 10:39:52 +08:00
TopperDEL ba82edf7f8 fix: Correct Package-References 2020-05-19 16:11:58 +02:00
TopperDEL 6cda666b10 Merge branch 'master' of https://github.com/duplicati/duplicati into Tardigrade 2020-05-15 12:59:48 +02:00
Kenneth Skovhede e667602351 Added project dependencies to the commandline tester to make it run again. 2020-05-10 14:16:01 +02:00
TopperDEL 547d883aab Add additional references, small corrections 2020-05-01 21:37:27 +02:00
Kenneth Hsu 87c1fa5a04 Fix compiler warning about unused variable. 2020-03-29 19:17:37 -07: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
Kenneth Hsu 3551238000 Remove redundant calls to String.Format. 2020-01-25 17:07:02 -08:00
Kenneth Hsu 53a35e6e06 Remove support for Amazon Cloud Drive.
Amazon discontinued access to the Cloud Drive API.

See https://forum.duplicati.com/t/amazon-cloud-drive-discontinued/7391.
2019-12-01 10:36:36 -08:00
Kenneth Hsu afab61a05b Use pattern matching to simplify casts. 2019-10-19 10:15:38 -07:00
Kenneth Skovhede 2e36c7222e Revert "Updated app.config files to redirect newtonsoft versions 0.0.0.0-12.0.2.0 to 12.0.2.0."
This reverts commit 93ace63d4f.
2019-09-02 21:51:00 +02:00
Kenneth Skovhede 93ace63d4f Updated app.config files to redirect newtonsoft versions 0.0.0.0-12.0.2.0 to 12.0.2.0. 2019-09-02 14:49:19 +02:00
BlueBlock e6588fbfc2 adjust config for known bug
A known bug causes the incorrect config entry for system.net.http where we must be adjusted to 4.2.0.0
This bug gets fixed in .NET 4.7.2
2019-08-04 15:32:10 -04:00
BlueBlock d281f67570 change exe projects to true for AutoGenerateBindingRedirects
resolves build warning for mismatching assemblies
2019-08-03 20:44:22 -04:00
BlueBlock 815e30b63b update csproj toolverion and nuget packages 2019-07-31 13:20:03 -04:00
BlueBlock 08a1e9998a initial upgrade to framework 4.6.2
- no code changes except those noted below
- projects upgrade to 4.6.2
- wixinstaller project upgraded automatically by VisualStudio
- wixinstaller updated to require 4.6.2
- Library.Encryption changed to Standard2.0 so accommodate update to SharpAesCrypt
2019-07-26 09:18:16 -04:00
Sean Templeton b02b19e683 Change Put method name to PutAsync 2019-03-17 18:28:45 -05:00
Sean Templeton 662627a98a Update AlternativeFtp Backend for async Put
Removed System.Net.FtpClient and added the FluentFTP Nuget package which
is the new name of System.Net.FtpClient.
2019-03-03 21:43:13 -06:00
Sean Templeton 0c122ff550 Change IBackend and IStreamingBackend to return Task for Put() 2019-03-03 21:43:10 -06:00
Kenneth Hsu 036a0ee8b0 Remove unused variable. 2018-12-31 19:31:03 -08:00
Kenneth Hsu a6153c3cd8 Do not explicitly rethrow exception.
When rethrowing an exception, we should do it by simply calling throw;
and not throw exc;, because the stack trace is reset with the second
syntax, making debugging a lot harder.
2018-12-31 15:25:57 -08:00
Kenneth Hsu 8dd3aeaf26 Use invariant culture in calls to ToLower and ToUpper. 2018-12-11 21:21:07 -08:00
Kenneth Hsu 11689159eb Disable warning about unreferenced field.
This field is unreferenced, but we might now want the object to be
disposed of by the garbage collector.
2018-09-29 13:38:11 -07:00
Kenneth Hsu 81875adcfb Restore removed reference to system settings context.
This initializes some state and is IDisposable, so it is not so trivial
to remove.
2018-09-29 13:20:16 -07:00
Kenneth Hsu 9ce1e807c7 Remove unused variables and fields. 2018-09-29 10:41:27 -07:00
Kenneth Hsu d4692e2d35 Use built-in method to expand environment variables.
After we removed the tilde expansion in revision c9aa6cf5fb ("Avoid
performing tilde expansion"), the Utility.ExpandEnvironmentVariables
method simply called System.Environment.ExpandEnvironmentVariables.  We
can simplify the code by just referencing the built-in method directly.
2018-09-22 19:59:46 -07:00
Kenneth Hsu 0d23302220 Use ordinal case-insensitive comparison instead of ToLower. 2018-09-19 15:21:59 -07:00
verhoek f7a4e5164a Reordered logic. 2018-06-29 19:46:33 +02:00
verhoek f102646359 Fixed to desired behavior. In particular, backend tester works again for the ftp
backend (some backends cannot handle the default set of extended characters).
2018-06-29 19:43:42 +02:00
verhoek 67c8929759 wip 2018-05-23 19:37:49 +02:00
verhoek 7bf1768f80 Implemented default tempdir for backend server. 2018-05-22 21:51:29 +02:00
Tyler Gill 5646e3de9d Add a test for the DNSName property to the BackendTester and report the DNS names it returns. 2018-03-20 15:26:17 -06:00
Tyler Gill 4e4b9a56d6 Adds a test to the BackendTester for quota-enabled backends.
This test simply loads the quota information and displays it (or displays an error if the backend was unable to get it)
2018-03-20 13:53:32 -06:00