Commit Graph
216 Commits
Author SHA1 Message Date
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
JanandGitHub 3a0667dc64 Add option to disable chunked encoding for AWS S3. (#4999)
Some S3 providers do not support MultiChunkedEncoding (#4994).
2023-09-25 02:02:55 +02:00
gpatel-frandGitHub b19f6f3743 update restsharp to 106.10.1 (#5029)
to make Dependabot happy - have to update minio as well
2023-09-23 14:57:27 +02:00
adithajayandGitHub 16c13f4fef Update S3Backend.cs
Added endpoints for S3 compatible storage from Scaleway. I feel adding this provider is important as they provide 75GB of free storage and many users would utilize that.
2023-04-12 02:31:15 +05:30
gpatel-frandGitHub 4a67d57400 Merge pull request #4905 from daniel0m0baker/master
Adding Impossible Cloud US endpoint
2023-03-24 21:05:51 +01:00
Daniel BakerandGitHub a8053ce702 Update S3Backend.cs
Added Impossible Cloud US endpoint.
2023-03-15 16:27:58 +01:00
David Gileadi 6f0ae31cd1 Make Xamarin-based CocoaRunner the default on Mac 2022-08-03 12:35:43 -07:00
linitio 1ee2214b8d FIx missing ',' on S3Backend.cs 2022-06-14 16:34:36 +02:00
linitio 7560a65f04 Add all Infomaniak clusters Swiss Backup & Public Cloud 2022-06-14 16:20:29 +02:00
linitio 8ade3abe8c Add all Infomaniak clusters Swiss Backup & Public Cloud 2022-06-14 16:17:16 +02:00
Kenneth Skovhede 63e7c4e693 Minor naming fix 2022-06-12 20:25:22 +02: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
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
Kenneth Hsu 29f1d2c3cb Fix bug handling deprecated Azure and S3 options.
In pull request #4443, we renamed some of the Azure and S3 options to
use dashes '-' instead of underscores '_' for consistency.  However, our
treatment of the options in the backend constructors still required that
the underscore versions be present even if the dashed version was
provided.

Now, we allow for either option to be present, but the value for the
dashed version will take precedence.
2021-05-15 14:37:53 -07:00
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
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 7c59b3d531 Add Storadera S3 provider.
This fixes #4313.
2020-09-10 16:44:31 -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
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