Commit Graph
14 Commits
Author SHA1 Message Date
Svend Roperos c1e22faa03 fix: make string.Split calls explicit to resolve ambiguous overloads 2025-09-04 20:14:52 +02:00
Kenneth Skovhede 35058d333e Update handling of alternate OAuth url
This PR removes the `OAuthContextSettings` class, and makes the `--oauth-url` option available on each backend that uses it, so it can be configured as part of the destination.

To assemble everything related to configuring OAuth, the code was moved to the `AuthIdOptionsHelper`, such that the usage can be shared between implementations.

This PR also adds the option to set the default OAuth url from the environment variable `DUPLICATI_OAUTH_SERVICE`.

The server can then be set in the following locations (most important last):
- Environment variable
- Server-wide advanced settings
- Backup job advanced settings (or commandline)
- Destination url
2025-06-11 09:27:40 +02:00
Kenneth SkovhedeandGitHub 9f6a24ad4f Update AuthIdOptionsHelper.cs
Change type to Password
2025-05-08 15:34:21 +02:00
Kenneth Skovhede 631c80d6a8 Cleaned up some option names 2025-03-24 10:17:26 +01:00
Kenneth Skovhede 9d617fe08a Updated TahoeLAFS 2025-03-24 09:15:49 +01:00
Kenneth Skovhede fc927b881f Updated rclone backend 2025-03-22 08:08:54 +01:00
Kenneth Skovhede 9cecee04b9 Updated pCloud 2025-03-21 17:01:37 +01:00
Kenneth Skovhede 769158c3f0 Upgraded CloudFiles 2025-03-21 10:05:33 +01:00
Kenneth Skovhede 41d2b22015 Adde option names to helper 2025-03-21 09:13:48 +01:00
Kenneth Skovhede 0247f13ebf Updated box.com 2025-03-20 11:17:35 +01:00
Kenneth Skovhede d1659b7d40 Fixed FTP credentials not being parsed 2025-03-20 10:15:27 +01:00
Kenneth Skovhede 7405bab68f Simplified working with the options helpers 2025-03-19 23:16:37 +01:00
Kenneth Skovhede 6cad935656 Common parsing for auth options 2025-03-19 22:40:09 +01:00
Kenneth Skovhede 6c7843b332 Unified options
This PR adds a unified way of supplying timeouts to each of the backends.

It also adds an opt-in way of adding commonly used options, so parsing and usage can be standardized across multiple backends.
2025-03-19 15:27:02 +01:00