Commit Graph
1336 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 79d6dc0cad Merge branch 'master' into feature/backends-add-pcloud 2024-11-25 11:08:55 +01:00
Marcelo C. 068ae42aa1 Implementation of changes requested in review 2024-11-25 11:01:59 +01:00
Kenneth Skovhede c915b70697 Added support for ftp/aftp treating url paths as before the update 2024-11-21 14:37:25 +01:00
Kenneth Skovhede 9dadd514bf Inverted the flag for relative paths, as that is more compatible with the previous library. 2024-11-21 13:13:44 +01:00
Kenneth Skovhede 5712264e6a Updated some parsing to be simpler.
Changed the strategy to use absolute paths for all operations, to avoid cases where a silent reconnect would end up in a different folder.
Add backwards compatible option to use CWD style relative operations.
Added support for detecting the SSL certificate hash when there is a certificate error.
2024-11-19 13:55:23 +01:00
Kenneth Skovhede 2828729a59 Changed logic for how error messages are constructed 2024-11-19 06:52:17 +01:00
Marcelo Ceccon 4beafc0cc7 Added pCloud Integration
Added pCloud backend with custom interface for editing destination.
2024-11-18 13:07:01 +01:00
Kenneth Skovhede 88ae1d18b1 Fixed output from S3 options to mimic previous version 2024-11-15 14:18:39 +01:00
Kenneth Skovhede 38a255eb00 Fixed startup delay on Windows.
Delay was caused by AWS library performing network queries when reading properties on the configuration object.
On top of this, the properties were read twice.
Unified reading+application of options between iDrive and AWS S3.
2024-11-15 14:04:42 +01:00
Kenneth Skovhede 81c0b2209e Fixed a warning when using S3 2024-11-11 21:20:21 +01:00
Kenneth SkovhedeandGitHub c96d2e0b7c Merge pull request #5655 from marceloduplicati/feature/warnings-cleanup-lowimpactwarnings
Further progress on removal of build warnings.
2024-11-08 10:54:57 +01:00
Marcelo Ceccon d4d9c47824 Further progress on removal of build warnings.
None of these changes have impact on code execution, they are mainly part of the effort to remove all build warnings.

The removal of Thread.ResetAbort leaves a TODO for us to integrate CancelationToken when it gets propagated down here on future changes.
2024-11-07 18:02:15 +01:00
Marcelo Ceccon 706e490f79 Upgrading AWS SDK to latest
This also resolves a series of warnings produced by unequalized versions between AWSSDK.Core and AWSSDK.S3 references.

The decision to not upgrade Minio (which is rather dated) is because starting at 4.0.0 several calls were made obsolete including the constructor. A specific feature branch will be opened to integrate the new version and run CI tests.
2024-11-07 17:33:44 +01:00
Kenneth Skovhede a9cd488bf2 Change the s3-client option to an enumeration-type as it has two possible values.
Fixed the parser to handle empty string and null as the same.
2024-11-06 22:07:27 +01:00
Kenneth SkovhedeandGitHub 2c8be00bab Merge pull request #5619 from duplicati/feature/reuse-retry-after-information
Fixed MSGraph backend not obeying the retry-after header.
2024-11-04 09:23:58 +01:00
Kenneth Skovhede 4ef0497d0e Reverted the message severity, it is not actionable by the user. 2024-11-01 09:24:28 +01:00
Kenneth Skovhede e62f1639b3 Implemented a way to share retry timeouts between multiple instances of the same backend. 2024-11-01 09:20:11 +01:00
Kenneth Skovhede faa210df63 Updated rclone backend to handle empty options the same as missing options (apply default values).
Made the local repo optional in the UI because it has a default value.
2024-11-01 09:02:40 +01:00
marceloduplicatiandGitHub bc4f569325 Merge branch 'duplicati:master' into feature/remove-legacy-ftp 2024-10-15 13:01:20 +02:00
Marcelo Ceccon 3857d0356f Precedence of options match to documentation 2024-10-15 12:58:37 +02:00
Marcelo Ceccon 34f108f127 Implementing backwards compatibility on ftp parameters
With this change, ftp-passive, ftp-regular and use-ssl parameters found on existing FTP Backend configurations will be respected and exhibit the same behavior. They are marked as deprecated so they will issue warning messages when used prompting users to refer to new parameters.
2024-10-15 12:17:51 +02:00
Marcelo Ceccon a4482a4d03 Removing the legacy FTP Backend
For this change, what was known as the alternate FTP client which uses FluentFTP library now officially replaces the FTP Backend which still used the deprecated FtpWebrequest.

To mantain compatibility with existing configurations, both ftp and aftp targets and configuration prefixes are accepted.
2024-10-11 11:21:54 +02:00
Marcelo Ceccon fd591d9af2 Fix to Webdav issue around certificate validation
Fix to Webdav to process the options accept-specified-ssl-hash and accept-any-ssl-certificate

Minor refactoring
2024-10-10 10:36:47 +02:00
Kenneth Skovhede 454b1bb93b Merge remote-tracking branch 'origin/master' into feature/backend-async-get 2024-10-04 09:11:50 +02:00
Kenneth Skovhede 66ec130761 Added endpoints for Seagate Lyve S3 2024-10-03 21:47:14 +02:00
Kenneth Skovhede f65d529d5d Fixed SSH backend throwing FileMissingException 2024-10-03 14:41:15 +02:00
Kenneth Skovhede d00c3b11df WebDAV throws FileMissingException 2024-10-03 14:34:25 +02:00
Kenneth Skovhede 9939926a99 Fixed S3 backend throwing the FileMissingException 2024-10-03 14:13:29 +02:00
Kenneth Skovhede 61ea36091a Added DNSNames as async 2024-10-02 09:37:52 +02:00
Kenneth Skovhede 586c08522e Implemented async method for Test, CreateFolder and Quota in all backends.
Still missing the List and DNSHostnames.
The AsyncRequest class is also preventing many backends from fully upgrading.
2024-10-01 09:30:02 +02:00
Kenneth Skovhede 8bdb85e261 Implemented RenameAsync on all backends supporting rename 2024-09-29 23:21:50 +02:00
Kenneth Skovhede ecf2e8b551 Implemented DeleteAsync on all backends 2024-09-29 23:04:54 +02:00
Kenneth Skovhede e3e3d1305f Implemented async version of Get for all backends. 2024-09-29 22:00:57 +02:00
Marcelo Ceccon c7c46aed7d Replacing deprecated WebClient for HttpClient
This is a proposal for replacing the deprecated WebClient with the HttpClient.

This commit implements the core functionality following the HttpClientFactory pattern as suggested by the framework. It also supports an alternative approach in areas where the HttpClient pattern is not desirable.

The first backend component to be migrated is WebDav, and the HttpClient pattern is also applied to the update downloader.

Once merged, other backend components can be migrated, eventually removing the deprecated WebClient from the codebase.

Additionally, the debug-profind-file option from webdav, which was a remnant from early development, is removed as it is no longer useful for debugging different webdav server responses.
2024-09-06 10:46:46 +02:00
Suguru Hirahara a6b8f61646 Remove conjugation more 2024-08-13 08:09:04 -04:00
Suguru Hirahara b304df1a5d Remove conjugation - WEBDAV/Strings.cs 2024-08-13 08:08:22 -04:00
Suguru Hirahara b4d1f06943 Remove conjugation - TahoeLAFS/Strings.cs 2024-08-13 08:08:15 -04:00
Suguru Hirahara 6467f96171 Remove conjugation - SSHv2/Strings.cs 2024-08-13 08:08:07 -04:00
Suguru Hirahara 55de4643c9 Remove conjugation - S3/Strings.cs 2024-08-13 08:07:58 -04:00
Suguru Hirahara aebf9f9614 Remove conjugation - specify 2024-08-13 08:07:52 -04:00
Suguru Hirahara c7dae6bc66 Remove conjugation - FTP/Strings.cs 2024-08-13 08:07:44 -04:00
Suguru Hirahara 6f1a913eef Remove conjugation - supply 2024-08-13 08:07:28 -04:00
Suguru Hirahara f53e920d82 Remove 'Use this option to' for consistency 2024-08-13 03:08:48 -04:00
Suguru Hirahara 810d62ac23 Add verbs to the strings on Storj/Strings.cs 2024-08-13 03:00:57 -04:00
Suguru Hirahara 318448d962 Remove 'the' from strings on Storj/Strings.cs 2024-08-13 03:00:50 -04:00
Suguru Hirahara b8648fe692 Update strings for Storj DCS backend 2024-08-13 03:00:42 -04:00
Suguru Hirahara cc5210bed2 Update strings: Bucket (Name) -> Bucket name 2024-08-13 03:00:23 -04:00
Kenneth SkovhedeandGitHub 4ca034e2f6 Merge pull request #5416 from luixxiul/Mega/Strings.cs
Update Mega/Strings.cs
2024-08-12 16:25:37 +02:00
Kenneth SkovhedeandGitHub 20103d213b Merge pull request #5415 from luixxiul/strings-descriptions
Update strings for descriptions of OneDriveForBusiness and WEBDAV backends
2024-08-12 16:24:54 +02:00
Kenneth SkovhedeandGitHub 9a07792ac6 Merge pull request #5412 from luixxiul/Strings-SSHv2
Update SSHv2/Strings.cs
2024-08-12 16:15:43 +02:00