Commit Graph
196 Commits
Author SHA1 Message Date
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
Kenneth SkovhedeandGitHub 53f9b8bddc Merge pull request #4237 from warwickmm/add_s3_me_bahrain
Fix endpoint for Middle East (Bahrain) S3 region
2020-07-09 13:15:54 +02:00
Kenneth SkovhedeandGitHub 59cf5886d3 Merge pull request #4226 from warwickmm/add_s3_eu_south
Add support for Europe (Milan) S3 region
2020-07-09 13:15:00 +02:00
Jon Schewe 7294befad9 Remove try/catch that is hiding errors
The try/catch here was hiding timeouts fetching the test files. This
logic appears to be for handling a very old version of S3. They should
not be needed anymore.

Fixes duplicati/duplicati#4225
2020-07-08 07:52:04 -05:00
Kenneth Hsu b0a3763fdf Fix endpoint for Middle East (Bahrain) S3 region.
This fixes issue #4235.
2020-06-27 12:21:59 -07:00
Kenneth Hsu 9e05c5a982 Add support for Europe (Milan) S3 region.
This fixes #4224.
2020-06-14 11:23:45 -07:00
Kenneth Skovhede 1ab8256f1d Removed mentions of "Amazon S3" and changed it to "S3 compatible" as Duplicati (and the backend) is not associated with Amazon. 2020-05-11 08:55:20 +02:00
Cedric Hauber 0276eca34e Added MyCloudyPlace.com S3 provider 2020-05-06 19:05:22 +02:00
verhoek 3f3de17d1c Fix codacy complaints. 2019-11-30 23:14:17 +01:00
verhoek 274bcfc437 Removed forgotten m_options. 2019-11-27 21:49:45 +01:00
verhoek 8d782bd0c8 Make codacy happier. 2019-11-26 22:19:11 +01:00
verhoek 707ee587af Use same exception handling cases for Minio as for the AWS client. 2019-11-26 21:59:53 +01:00
verhoek f93562931d Adjusted static command line doc for s3-client. 2019-11-25 23:46:50 +01:00
verhoek 0ff63913ed Implemented remaining methods.
Add remove object method.
Add dns host.
Added rename method.
2019-11-25 22:44:16 +01:00
verhoek 8f0002465e Add get object to minio client. 2019-11-24 22:53:37 +01:00
verhoek 201a3a27a7 Removal of obsolete method. 2019-11-24 22:53:21 +01:00
verhoek 2243c7d609 Added put object to minio s3 client. 2019-11-24 11:21:00 +01:00
verhoek fee7ad02a9 Remove unused functions from aws sdk wrapper. 2019-11-24 11:11:17 +01:00
verhoek 0cc79c5a6e Implemented addbucket for minio. 2019-11-23 09:45:06 +01:00
verhoek 259dd75953 Added listbucket for minio client 2019-11-22 22:37:23 +01:00
verhoek a0b20bfd92 Created s3 client interface. 2019-11-21 22:37:32 +01:00
verhoek 7b859792fe Start writing MinioWrapper using Minio. 2019-11-21 22:37:09 +01:00
Kenneth Hsu 2aa76881a5 Mark fields that don't need to be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
Kenneth Skovhede f1cf209e86 Revert "Updated AWS core library to 3.3.103.41 and AWS S3 library to 3.3.104.29"
This reverts commit 21a3add369.
2019-09-20 12:59:34 +02:00
Kenneth Skovhede 21a3add369 Updated AWS core library to 3.3.103.41 and AWS S3 library to 3.3.104.29 2019-09-20 11:42:17 +02:00
Kenneth Skovhede d8ef349c3e Changed lookup to use dictionary lookup instead of looping over the keys. 2019-09-17 22:01:33 +02:00
Kenneth Skovhede b04b00f92a Changed hostnames from s3-region.amazonaws.com to s3.region.amazonaws.com as specified in the documentation:
https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
2019-09-17 11:17:58 +02:00
Kenneth Skovhede ccc4bb78b4 Rewrote S3 to use dictionaries with inline specifiers, instead of arrays with key-value pairs. 2019-09-17 11:16:09 +02:00
Kenneth Skovhede c9dc151f4b Updated S3 providers.
Added AP Hong Kong and ME Bahrain to locations.
Added One Zone IA and Deep Archive to storage classes.
2019-09-17 10:59:47 +02:00
BlueBlock f57a9d8a73 nuget updates
aws,azure,fluentftp,mailkit,cocol
2019-09-14 07:36:22 -04:00
BlueBlock 28074a4d4e update nuget packages
includes update to FluentFTP
2019-08-31 16:42:12 -04:00
BlueBlock 815e30b63b update csproj toolverion and nuget packages 2019-07-31 13:20:03 -04:00
BlueBlock f3ac04e49a nuget packages updated to keep current
and important to keep the aws sdk current
2019-07-30 09:36:38 -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 c05f304fd7 Update S3, Sharepoint, Tahoe, and WEBDAV backends for async Put 2019-03-05 21:25:35 -06:00
Sean Templeton 0c122ff550 Change IBackend and IStreamingBackend to return Task for Put() 2019-03-03 21:43:10 -06:00
Rune HenriksenandGitHub 9d3fb26989 Merge pull request #3677 from FroggieFrog/update-known-locations
added new known locations of S3
2019-02-25 23:45:47 +01:00
FroggieFrog 496b923079 added new known locations of S3 2019-02-25 16:24:28 +01:00
FroggieFrog 97894bc655 fix #3665 added "Wasabi Hot Storage (EU Central)" 2019-02-25 16:13:57 +01:00
Kenneth Skovhede f5de77053a Added explicit isroot property, and changed to be a string generated from false.ToString() 2019-01-16 14:22:24 +01:00
verhoek 97c26adcbb Refactored into one responsibility functions. 2019-01-12 17:08:08 +01:00
verhoek 7543f2999a Fixed typo. 2019-01-12 16:10:34 +01:00
verhoek ed38d19ac7 Made helper methods static. 2019-01-12 15:58:57 +01:00
verhoek e412b404be Rewrote CanCreateUser in a more verbose way. 2019-01-12 15:46:30 +01:00
verhoek 9fa2e7c453 Code improvements. 2019-01-11 13:19:36 +01:00
verhoek 68d1ba4b39 Replaced type by var. 2019-01-11 13:19:21 +01:00
verhoek d5119d2422 Simplifying object initialization. 2019-01-06 18:41:57 +01:00
Kenneth SkovhedeandGitHub 1b54cd6107 Merge pull request #3456 from verhoek/issue/3311
Refactor the way paths are handled.
This fixes #3311 PathTooLongException when using USNJournal
2018-11-08 12:50:09 +01:00
Rune Henriksen edefa17b58 updated AWSSDK to newest version 2018-11-04 14:59:38 +01:00