Commit Graph
21 Commits
Author SHA1 Message Date
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 Skovhede 6a42613f70 Fixed passing the FolderMissingException to the caller for triggering the autocreate 2025-05-24 15:34:38 +02:00
Kenneth Skovhede 6031b4de8b Update Test method to check for write permissions
This PR moves the check from the FTP backend into shared code, so all backends will now check for read/write permissions when using the "Test" button.

For situations where write permissions are not required (like restore or verify) there is a flag on the v2 API that indicates if the connection was established, so the UI can show a message suggesting that it is possible to proceed, if the current UI operation does not require write permissions.

This fixes #2473
2025-05-21 17:19:27 +02:00
Kenneth Skovhede f0f68dfebf Fix locale-sensitive time parsing
On some locales, odd strings would parse as valid full dates, causing relative dates to be incorrectly calculated.

This commit fixes the issues and revisits the DST aware calculations with more tests.
2025-04-08 23:38:36 +02:00
Kenneth Skovhede 1a38df7709 Cleaned up some callbacks to not use events with async methods.
Implemented argument validation for the TrayIcon and server startup.
2025-03-25 11:14:03 +01:00
Kenneth Skovhede 0247f13ebf Updated box.com 2025-03-20 11:17:35 +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
Kenneth SkovhedeandGitHub 9c808e07b3 Correctly formatting size strings as Kikibytes. This fixes #3685 (#5778)
Note: This may cause issues for scripts that parse the string as opposed to using the numeric values.
2025-01-10 09:25:40 +01:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede 77c64becc8 Changed wrong classname 2024-10-03 14:13:44 +02:00
Suguru Hirahara 8e85c10754 Set arguments for strings 2024-07-29 11:30:43 -04:00
Suguru Hirahara 1a2de59a56 Remove MonoHelpSSL as well 2024-07-28 23:43:20 -04:00
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
Kenneth Skovhede 022b2087c0 Renamed DefaultFilters to FilterGroups 2018-03-05 22:27:16 +01:00
Kenneth Skovhede 282c70f75f Implemented default filter groups as suggested in #3030 2018-03-02 15:26:55 +01:00
Tyler Gill d4865eb4cd Add default filters parameter, and some built-in default filter sets.
These sets are essentially blacklists for many common files and paths on different platforms that don't need to be backed up.
2017-09-13 22:21:12 -07:00
Kenneth Skovhede 0e954b202f Changed mozroots references to point to cert-sync instead, as mentioned in issue #2097 2016-11-12 14:04:28 +01:00
agrajaghh 861a8a6f7f string fixes 2016-10-30 22:07:13 +01:00
Kenneth Skovhede 7cf987b9af Moved the MD5 calculating stream into a generic hash-calculating stream 2015-12-05 11:26:34 +01:00
Kenneth Skovhede a51399145b Updated the SSL error message as described in issue #1493
Added additional help message when running in Mono without SSL certificates.
2015-11-17 22:24:11 +01:00
Kenneth Skovhede 16c791f0b5 Removed all resx files, now using Duplicati.Library.Localization exclusively 2015-01-20 21:07:24 +01:00