Commit Graph
9823 Commits
Author SHA1 Message Date
TopperDEL 3295f2196f fix: Indentation 2021-07-16 08:33:10 +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
warwickmmandGitHub a0e6d7ade2 Merge pull request #4571 from vfrz/feature/mega_two_fa_3696
Add support for mega.nz two factor authentication.
2021-07-07 11:31:01 -07:00
Valentin 3ae924f72d Add PreserveNewest to license files 2021-07-07 17:52:48 +02:00
Valentin c2dc922866 Mega Strings const review 2021-07-05 21:10:23 +02:00
Valentin 0351fa6b45 Add Otp.NET licensing info 2021-07-05 21:10:14 +02:00
warwickmmandGitHub c0acaeee20 Merge pull request #4572 from warwickmm/simplify_workflow_trigger
Simplify test workflow trigger.
2021-07-01 10:40:22 -07:00
Kenneth Hsu 5cb6ad8ee0 Simplify workflow trigger.
Also, a single '*' matches zero or more characters, but does not match
the '/' character, so this is less restrictive.
2021-07-01 09:43:14 -07:00
Kenneth Hsu 895ab357a7 Restrict branch in GitHub test workflow. 2021-06-28 10:23:00 -07:00
Kenneth Hsu b400be18da Add GitHub workflow to run tests using .NET 5.
This fixes #4537.
2021-06-28 09:57:29 -07:00
Kenneth Hsu 30287a3eb4 Replace manual thread management with Tasks and CancellationToken.
This was causing a strange issue when testing the situation where write
privileges were removed from the local destination directory.  Instead
of catching the AccessViolationException and returning the expected exit
code of 100, the process would exit with Aborted (core dumped).

This concerns #4533.
2021-06-28 09:52:13 -07: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
Kenneth Hsu 67eef2c1fd Fix path to GTK tray icons.
The use of a backslash as a path separator only works for Windows.

This fixes #4528.
2021-06-28 09:52:13 -07:00
Thomas SuckowandKenneth Hsu 69d90e8fc3 Rip out libappindicator as it isn't compatible with net5
This fixes #4529.
2021-06-28 09:52:13 -07:00
Thomas SuckowandKenneth Hsu 060b4886da Just use the nuget version of the sqlite library
This fixes #4526.
2021-06-28 09:52:13 -07:00
Kenneth Hsu f3b43d2df6 Fix GTK build.
This fixes #4527.
2021-06-28 09:44:32 -07:00
warwickmmandGitHub 48f2679391 Merge pull request #4483 from tsuckow/net5-split/more-bugfixes
This fixes some additional issues in the experimental/net5-split branch:

* Replace call to Thread.Abort.
* Fix retrieval of embedded resource.
* Replace DNS client (DnsLite doesn't work on Mac or Linux with .NET 5).
* Avoid opening terminal when running TrayIcon project on Windows.
2021-06-28 09:35:57 -07:00
Valentin eda3666bc7 Add support for mega.nz two fa authentication 2021-06-26 13:39:05 +02:00
Kenneth Hsu 8559834d1f Use consistent style for advanced option descriptions.
Previously, the styles for the advanced options descriptions were
different between Step 2 (Destination) and Step 5 (Options).
2021-06-24 09:08:19 -07:00
Kenneth Hsu 8f1341306d Show deprecation message before option description. 2021-06-24 08:36:41 -07:00
Kenneth Hsu f4b2e5c0f0 Indicate deprecated options in UI.
This fixes #4566.
2021-06-23 10:04:53 -07:00
Kenneth Skovhede 650e1ff998 Version bump to v2.0.6.3-2.0.6.3_beta_2021-06-17
You can download this build from:

Binaries: https://updates.duplicati.com/beta/duplicati-2.0.6.3_beta_2021-06-17.zip

Signature file: https://updates.duplicati.com/beta/duplicati-2.0.6.3_beta_2021-06-17.zip.sig

ASCII signature file: https://updates.duplicati.com/beta/duplicati-2.0.6.3_beta_2021-06-17.zip.sig.asc

MD5: 5201b28339fd2e6ca33ed8674ca483df

SHA1: 276426778d4a9b02e3106d1d6dcf46601de1e753

SHA256: 85a45ce43e0f8050324854f64f130e8967d881c73c3e120cf81028c1f110cb50
v2.0.6.3-2.0.6.3_beta_2021-06-17
2021-06-17 11:30:38 +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
warwickmmandGitHub 5af46b6eec Merge pull request #4548 from sergethedev17/bugfix/alternativeftp-test-rw
Fix read and write tests for AlternativeFTP backend.
2021-06-02 13:07:02 -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 Skovhede 5af9ed2d64 Version bump to v2.0.6.2-2.0.6.2_experimental_2021-05-29
You can download this build from:

Binaries: https://updates.duplicati.com/experimental/duplicati-2.0.6.2_experimental_2021-05-29.zip

Signature file: https://updates.duplicati.com/experimental/duplicati-2.0.6.2_experimental_2021-05-29.zip.sig

ASCII signature file: https://updates.duplicati.com/experimental/duplicati-2.0.6.2_experimental_2021-05-29.zip.sig.asc

MD5: d00ed869fd64381c1d54853f65baa86b

SHA1: 0013abb0c42ce0200f8ce8c3156ec4b74485c8e4

SHA256: 3762edf2aa75e75fef1dd3bc49a40bd8fab00c12742c5ca93cd903cd4bb5d6ab
v2.0.6.2-2.0.6.2_experimental_2021-05-29
2021-05-29 12:42:08 +02:00
Kenneth Skovhede b8d0b6d794 Merge commit '29f1d2c3cbb27ff1c1d205abc7d2f81ed51cb894' into release/2.0.6.2_experimental 2021-05-29 12:34:54 +02:00
Kenneth Skovhede fe99e8179e Merge commit 'a5fbee033536d54a937d7dbc7ff935efcbe10b7c' into release/2.0.6.2_experimental 2021-05-29 12:34:12 +02: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 SkovhedeandGitHub dea88ee58c Merge pull request #4521 from warwickmm/use_consistent_target_framework
Use consistent target framework for .NET 5 entry executables
2021-05-29 12:14:37 +02:00
Kenneth Hsu 82f60d7989 Use consistent target frameworks for entry executables.
Previously, we would have inconsistent paths to the executables (net5
vs. net5.0).  For example,

Executables/net5/Duplicati.CommandLine.BackendTester/bin/Debug/net5.0
Executables/net5/Duplicati.CommandLine/bin/Debug/net5

With these changes, the path to the Duplicati.CommandLine executables
becomes

Executables/net5/Duplicati.CommandLine/bin/Debug/net5.0
2021-05-23 20:20:21 -07:00
Kenneth Hsu e90eb3b2a3 Create custom Exception for remote list verification failures.
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-20 13:42:41 -07: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
Kenneth Hsu bfa240c8ec Assume we have ECDSA support if our test throws exception.
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-18 09:06:00 -07:00
Kenneth Hsu 90dfce81b2 Construct instance of ECDsaCng to test for ECDSA support.
This more closely reflects the SSH.NET code.
2021-05-18 09:00:40 -07:00
Kenneth Hsu 3d8817608e Test for ECDSA support explicitly.
The previous implementation could possibly fail for reasons unrelated to
ECDSA support.
2021-05-16 17:29:00 -07:00
warwickmmandGitHub 0a43410535 Merge pull request #4511 from marodev/cosmetics/technical-debt-use-string-interpolation
Simplify string formatting.
2021-05-16 10:33:36 -07:00