Commit Graph
1158 Commits
Author SHA1 Message Date
Kenneth Hsu c8261320e8 Do not alias S3 username and password to deprecated options.
The Controller class iterates over all supported options and will issue
a warning if any of the provided options are deprecated (or aliased to a
deprecated option).  If the provided auth-username option is aliased to
the deprecated aws_access_key_id, then a warning notification will
appear, even if the user hasn't explicitly provided the deprecated
value.

This fixes #4462.
2021-03-07 15:38:13 -08:00
Kenneth SkovhedeandGitHub 973307cefc Merge pull request #4443 from julianohubel/3748_Underscores_instead_of_dashes
Use dashes in Azure and S3 options for consistency
2021-03-06 14:36:13 +01:00
Kenneth SkovhedeandGitHub 834ebd78b9 Merge pull request #4406 from warwickmm/update_ssh_net
Update SSH.NET to version 2020.0.1
2021-03-06 14:20:59 +01:00
Kenneth SkovhedeandGitHub 29e598b704 Merge pull request #4447 from warwickmm/remove_unused_uplink_libraries
Remove unnecessary Tardigrade libraries from build output
2021-03-06 14:07:55 +01: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
Kenneth Hsu 841bcce389 Remove unnecessary Tardigrade libraries from build output.
The required libraries are already included in
Duplicati/Library/Backend/Tardigrade and copied to the output directory.
The extra storj_uplink.dll file in the output directory (caused when
releases are built on macOS) was causing spurious
BadImageFormatExceptions.

This fixes #4434.
2021-02-19 21:39:47 -08:00
Juliano Hubel 8933d6cd2a #3748|Spelling Correction 2021-02-16 17:10:02 +00:00
Juliano Hubel 6a569b80d2 #3748|Adding_Deprecated_messages_to_old_variables 2021-02-16 10:41:55 +00:00
Juliano Hubel 9047de86e1 #3748_Underscores_insted_of_dashes 2021-02-15 15:53:13 +00:00
Kenneth Hsu 88f6b1e55e Update SSH.NET to version 2020.0.1.
From the release notes:

Even though RFC 4253 requires that an identification string MUST be
terminated by a carriage return and line feed, this fix restores support
for banners and identification strings that are only terminated by a
line feed.

This is a workaround for an issue in version 7.4 of OpenSSH which was
fixed in version 7.5.
2021-01-24 10:14:02 -08:00
Kenneth Hsu e50d011a1d Update SSH.NET to version 2020.0.0.
This includes support for additional key exchange algorithms, host key
algorithms, and private key formats.

https://github.com/sshnet/SSH.NET/releases/tag/2020.0.0

This fixes #2808, #2950, #3360, and #4378.
2020-12-31 09:30:49 -08:00
Thomas Suckow 50bc8880ac Restore not forking when debugging.
* Fix library name mismatch preventing environmental variables from being loaded correctly
2020-12-29 10:20:19 -08:00
Thomas Suckow acea2fe10f upstream
Update Telegram SharpAESCrypt dep
Update SystemIOWindows to split the difference

# Conflicts:
#	BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.csproj
#	BuildTools/AutoUpdateBuilder/packages.config
#	BuildTools/DependencyFinder/DependencyFinder.csproj
#	BuildTools/DependencyFinder/packages.config
#	BuildTools/GnupgSigningTool/GnupgSigningTool.csproj
#	BuildTools/UpdateVersionStamp/UpdateVersionStamp.csproj
#	BuildTools/UpdateVersionStamp/app.config
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTester/app.config
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/BackendTool/app.config
#	Duplicati/CommandLine/ConfigurationImporter/Duplicati.CommandLine.ConfigurationImporter.csproj
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/CommandLine/RecoveryTool/packages.config
#	Duplicati/CommandLine/app.config
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/packages.config
#	Duplicati/Library/AutoUpdater/Duplicati.Library.AutoUpdater.csproj
#	Duplicati/Library/AutoUpdater/app.config
#	Duplicati/Library/AutoUpdater/packages.config
#	Duplicati/Library/Backend/AlternativeFTP/Duplicati.Library.Backend.AlternativeFTP.csproj
#	Duplicati/Library/Backend/AlternativeFTP/app.config
#	Duplicati/Library/Backend/AlternativeFTP/packages.config
#	Duplicati/Library/Backend/AzureBlob/Duplicati.Library.Backend.AzureBlob.csproj
#	Duplicati/Library/Backend/AzureBlob/packages.config
#	Duplicati/Library/Backend/Backblaze/Duplicati.Library.Backend.Backblaze.csproj
#	Duplicati/Library/Backend/Backblaze/packages.config
#	Duplicati/Library/Backend/Box/Duplicati.Library.Backend.Box.csproj
#	Duplicati/Library/Backend/Box/packages.config
#	Duplicati/Library/Backend/CloudFiles/Duplicati.Library.Backend.CloudFiles.csproj
#	Duplicati/Library/Backend/CloudFiles/app.config
#	Duplicati/Library/Backend/Dropbox/Duplicati.Library.Backend.Dropbox.csproj
#	Duplicati/Library/Backend/Dropbox/packages.config
#	Duplicati/Library/Backend/FTP/Duplicati.Library.Backend.FTP.csproj
#	Duplicati/Library/Backend/FTP/app.config
#	Duplicati/Library/Backend/File/Duplicati.Library.Backend.File.csproj
#	Duplicati/Library/Backend/File/app.config
#	Duplicati/Library/Backend/GoogleServices/Duplicati.Library.Backend.GoogleServices.csproj
#	Duplicati/Library/Backend/GoogleServices/packages.config
#	Duplicati/Library/Backend/HubiC/Duplicati.Library.Backend.HubiC.csproj
#	Duplicati/Library/Backend/Jottacloud/Duplicati.Library.Backend.Jottacloud.csproj
#	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/OAuthHelper/packages.config
#	Duplicati/Library/Backend/OneDrive/Duplicati.Library.Backend.OneDrive.csproj
#	Duplicati/Library/Backend/OneDrive/packages.config
#	Duplicati/Library/Backend/OpenStack/Duplicati.Library.Backend.OpenStack.csproj
#	Duplicati/Library/Backend/OpenStack/packages.config
#	Duplicati/Library/Backend/Rclone/Duplicati.Library.Backend.Rclone.csproj
#	Duplicati/Library/Backend/Rclone/packages.config
#	Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj
#	Duplicati/Library/Backend/S3/app.config
#	Duplicati/Library/Backend/S3/packages.config
#	Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
#	Duplicati/Library/Backend/SSHv2/packages.config
#	Duplicati/Library/Backend/SharePoint/Duplicati.Library.Backend.SharePoint.csproj
#	Duplicati/Library/Backend/SharePoint/app.config
#	Duplicati/Library/Backend/Sia/Duplicati.Library.Backend.Sia.csproj
#	Duplicati/Library/Backend/Sia/packages.config
#	Duplicati/Library/Backend/TahoeLAFS/Duplicati.Library.Backend.TahoeLAFS.csproj
#	Duplicati/Library/Backend/TahoeLAFS/packages.config
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Backend/Tardigrade/packages.config
#	Duplicati/Library/Backend/WEBDAV/Duplicati.Library.Backend.WEBDAV.csproj
#	Duplicati/Library/Backend/WEBDAV/app.config
#	Duplicati/Library/Common/Duplicati.Library.Common.csproj
#	Duplicati/Library/Common/IO/SystemIOWindows.cs
#	Duplicati/Library/Common/app.config
#	Duplicati/Library/Common/packages.config
#	Duplicati/Library/Compression/Duplicati.Library.Compression.csproj
#	Duplicati/Library/Compression/app.config
#	Duplicati/Library/Compression/packages.config
#	Duplicati/Library/DynamicLoader/Duplicati.Library.DynamicLoader.csproj
#	Duplicati/Library/DynamicLoader/app.config
#	Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj
#	Duplicati/Library/Encryption/packages.config
#	Duplicati/Library/Interface/Duplicati.Library.Interface.csproj
#	Duplicati/Library/Localization/Duplicati.Library.Localization.csproj
#	Duplicati/Library/Localization/packages.config
#	Duplicati/Library/Logging/Duplicati.Library.Logging.csproj
#	Duplicati/Library/Logging/app.config
#	Duplicati/Library/Main/Duplicati.Library.Main.csproj
#	Duplicati/Library/Main/app.config
#	Duplicati/Library/Main/packages.config
#	Duplicati/Library/Modules/Builtin/Duplicati.Library.Modules.Builtin.csproj
#	Duplicati/Library/Modules/Builtin/packages.config
#	Duplicati/Library/SQLiteHelper/Duplicati.Library.SQLiteHelper.csproj
#	Duplicati/Library/Snapshots/Duplicati.Library.Snapshots.csproj
#	Duplicati/Library/Snapshots/app.config
#	Duplicati/Library/Snapshots/packages.config
#	Duplicati/Library/UsageReporter/Duplicati.Library.UsageReporter.csproj
#	Duplicati/Library/UsageReporter/packages.config
#	Duplicati/Library/Utility/Duplicati.Library.Utility.csproj
#	Duplicati/Library/Utility/app.config
#	Duplicati/Library/Utility/packages.config
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.Serialization/Duplicati.Server.Serialization.csproj
#	Duplicati/Server/Duplicati.Server.Serialization/packages.config
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/Server/app.config
#	Duplicati/Server/packages.config
#	Duplicati/Service/Duplicati.Service.csproj
#	Duplicati/Service/app.config
#	Duplicati/Tools/Duplicati.Tools.csproj
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
#	Duplicati/UnitTest/RestoreHandlerTests.cs
#	Duplicati/UnitTest/app.config
#	Duplicati/UnitTest/packages.config
#	Duplicati/WindowsService/App.config
#	Duplicati/WindowsService/WindowsService.csproj
#	Tools/SQLiteTool/App.config
#	Tools/SQLiteTool/SQLiteTool.csproj
#	thirdparty/TlsTest/TlsTest.csproj
#	thirdparty/UnixSupport/UnixSupport.csproj
#	thirdparty/mozroots/mozroots.csproj
2020-12-29 09:59:42 -08:00
Karen Martikyan 0f138a1cfb default literal fix for build check pass 2020-11-09 22:11:10 +04:00
Karen Martikyan 74ec1e078f Fixed problems while using few different accounts for storing files. 2020-11-09 22:05:43 +04: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 812d698aba Removed SystemExtensions.cs, using Utility.Utility 2020-11-09 00:28:10 +04:00
Karen Martikyan 1feb75002d Fixed bug connected with finding minimal element in an empty list 2020-11-09 00:16:00 +04:00
Karen Martikyan e1b2a190ad Retrieval of epoch moved to extensions 2020-11-08 23:27:29 +04:00
Karen Martikyan 1bc6e20a57 Fixed possible bug connected with retrieval more than 100 messages from a channel 2020-11-08 23:14:39 +04:00
Karen Martikyan 1d106e8163 PR comments fixed: minor changes 2020-11-08 16:50:29 +04:00
Karen Martikyan 8187f66c60 Removed redundant package dependency 2020-11-07 18:45:45 +04:00
Karen Martikyan 035e34f1de Improvements made, bugfixes made 2020-11-07 18:03:58 +04:00
Karen Martikyan 9017878a3c Small fixes, redundant extension removed 2020-11-07 14:54:33 +04:00
Karen Martikyan b4286bda10 Working state 2020-11-07 14:30:09 +04:00
Karen Martikyan 1f55b1854e Urgent commit 2020-11-05 23:32:11 +04:00
Karen Martikyan b4923216b4 Urgent commit 2020-10-17 22:24:13 +04:00
Kenneth SkovhedeandGitHub a80d50687e Merge pull request #4329 from warwickmm/fix_sia_null_reference
Avoid null reference exception when building Sia error messages
2020-10-09 12:21:38 +02:00
Kenneth Hsu 0d991d5712 Refine check for null web exception response. 2020-10-05 07:38:13 -07:00
Karen Martikyan ce9ad949fd Code quality fixes v2 2020-10-05 00:49:20 +04:00
Karen Martikyan fa47e2bb32 Code quality fixes 2020-10-05 00:40:19 +04:00
2c4ccc27d3 Feature/telegram backend enc sessions (#2)
* Added initial state for encrypted sessions

* Bugs fixed in encrypted sessions

* Working state for encrypted sessions

* Fixed exposing phone number/identity

* Performance problems fixed, bug fixes made

Co-authored-by: Karen Martikyan <karen.martikyan@digitain.com>
2020-10-05 00:36:47 +04:00
Karen Martikyan a994ce8f7d Small fix made 2020-10-01 00:36:59 +04:00
Karen Martikyan 2ee06f2262 Code quality issue fixed 2020-10-01 00:06:12 +04:00
Karen Martikyan b637df08f3 Implemented custom UI 2020-09-30 23:54:53 +04:00
Kenneth Hsu 71edf641a5 Avoid null reference exception when building Sia error messages.
If the resource does not provide an error response, the Response
property will be null.

This fixes #4193.
2020-09-27 09:44:50 -07:00
Karen Martikyan 3aa96accaa Code quality issues fixed 2020-09-27 16:58:57 +04:00
Karen Martikyan 6678e37374 Updated TLSharp nuget, fixed problem with finding very old channel 2020-09-27 16:44:27 +04:00
Kenneth Hsu b360633d65 Fix construction of paths for rclone.
This fixes #3275.
2020-09-26 09:05:59 -07:00
Karen Martikyan 978329c237 Code improvements made, fixed stream reading errors (took StreamReadHelper.cs from FtpBackend) 2020-09-24 23:57:06 +04:00
Karen Martikyan e4ef76670d Fixed disposing the streamReader, fixed closure problems - refactoring needed 2020-09-24 01:38:49 +04:00
Karen Martikyan 6ec3d5ad4b Implemented IStreamingBackend for Telegram, cancellation token checks added, minor fixes 2020-09-22 22:39:20 +04:00
Karen Martikyan 7df3239cea Comment fixed 2020-09-21 00:12:15 +04:00
Karen Martikyan 004db73728 Fixed reflection when comparing ChannelFileInfos 2020-09-21 00:10:21 +04:00
Karen Martikyan 5b8d61c30d Removed flood check when ensuring connection 2020-09-21 00:05:40 +04:00
Karen Martikyan 19ebcda01f Fixed comments 2020-09-20 23:57:45 +04:00
Karen Martikyan a03d8922a1 Minor fixes made 2020-09-20 23:18:37 +04:00
Karen Martikyan 961ea2270b Fixed incorrect naming derived from FTP, added license files for TLSharp, removed redundant Nuget pkgs ... 2020-09-20 23:08:50 +04:00
Karen Martikyan 60198e85a8 Code quality issues fixed, try 2 2020-09-20 22:57:04 +04:00
Karen Martikyan 485bfff2b9 Removed disclaimer: should be added later, but not by me 2020-09-20 22:57:04 +04:00