Kenneth Skovhede
27f0bb4ea0
Unified code to find the data folder.
...
The `machineid.txt` and `installation.txt` files are now default located in same folder where the database is default located.
2025-01-27 22:51:45 +01:00
Kenneth Skovhede
97d62163c5
Renamed methods for database path to better distinguish what they do
2025-01-27 11:46:24 +01:00
Kenneth Skovhede and GitHub
997891525a
Updated license-updater to update csproj files ( #5898 )
...
* Updated license-updater to update csproj files
* License updates
2025-01-22 21:04:19 +01:00
Marcelo C.
adc4bfa650
Added timers to backend testing tool
...
Also changed logic around test result, ensuring it fails when any unexpected behavior happens.
2025-01-17 09:45:49 -03:00
Kenneth Skovhede and GitHub
e9aa8717fc
Improve ServerUtil ( #5860 )
...
* Improve the ServerUtil
Added `status` command to show server state
* Added support for waiting on a backup after starting it
2025-01-09 14:48:00 +01:00
Kenneth Skovhede and GitHub
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 and GitHub
447c2b3238
Feature/improve ci testing ( #5781 )
...
* Added options to insert delays in backend tester
* Added wait delays to Azure and GoogleDrive to see it the CI is more stable with small delays
* Added more debug output to the backend tester
* Fixed dropbox reporting OAuth quota errors, when it is likely Dropbox API quota errors
* Implemented exception detection on AzureBlob backend
* Also showing sleep times in output
* Fixed a bug with the dropbox quota response
* Fixed error message to report correct number of files
* Fixed suppressed warning
2024-12-20 16:10:08 +01:00
Kenneth Skovhede and GitHub
86f3f6b178
Fixed issues with timeout in msgraph ( #5790 )
...
* Fixed issues with timeout in msgraph
Fixed a place where the cancellation token was not applied.
Fixed a problem with msgraph not sending correct DNS information.
Fixed a problem with msgraph downloading the entire file before streaming it, bypassing throttle and tripping the timeout.
Added `ITimeoutExemptBackend` to selectively disable timeouts for backends that do not support it.
Updated the backendmanager to support `ITimeoutExemptBackend`.
Updated the backendmanager to abort as soon as a timeout happens.
* Updated BackendTester to use the `TimeoutObservingStream` and support the `--read-write-timeout` setting.
Updated backend tester code to use `var`
* Fixed a bug reading the `read-write-timeout`
* Updated to using constants with names instead of `-1`.
2024-12-19 09:31:06 +01:00
Kenneth Skovhede
feeda8d9dc
Formatted the output for generating a forever token
2024-12-12 11:07:40 +01:00
Kenneth Skovhede
7d4f9ffab3
Implemented a forever-token feature
2024-12-12 08:59:59 +01:00
Kenneth Skovhede and GitHub
58a5fc57f4
Implemented support for emitting intermediate certificates from pfx ( #5739 )
...
* Implemented support for emitting intermediate certificates from pfx files
* Added certificate check to crash earlier
* Fixed loading certificate on Windows
2024-12-05 10:34:10 +01:00
Kenneth Skovhede
2b5bb6a4ec
Logging unobserved task exceptions
2024-11-29 08:42:43 +01:00
Kenneth Skovhede
c6ee74aec3
Added minor update to the email CLI help
2024-11-06 13:29:13 +01:00
Kenneth Skovhede
a72bf27aa3
Merge remote-tracking branch 'origin/master' into feature/add-secret-provider
2024-11-05 11:48:30 +01:00
Kenneth Skovhede
8250a5befa
Refactored SecretProviderHelper to replace in Uri instances instead of raw string.
...
This fixes some issues with URL encoding/decoding.
Due to the legacy class `Duplicati.Library.Utility.Uri` there are two replacements done.
2024-11-04 15:57:56 +01:00
Kenneth Skovhede
57c8c025d1
This fixes an issues with the recovery tool that would mangle names if no encryption module is set on the source files.
...
This uses a test provided in #4490 to verify.
This fixes #4490
2024-11-01 17:01:30 +01:00
Kenneth Skovhede
c99e819d70
Merge remote-tracking branch 'origin/master' into feature/add-secret-provider
2024-11-01 08:49:52 +01:00
Kenneth Skovhede
3833f7abf5
Made the auto-cert detection disabled if the user supplied the cert hashes.
2024-10-31 12:04:24 +01:00
Kenneth Skovhede
d9953852ad
Fixed compile errors on Windows
2024-10-30 10:51:32 +01:00
Kenneth Skovhede
ff25d91663
Simplified code a bit.
...
Added support for multiple cert-hashes.
Made `server-util` auto-detect hashes as well.
2024-10-29 14:38:23 +01:00
Kenneth Skovhede
e690364a47
Added licenses
2024-10-28 08:08:29 +01:00
Kenneth Skovhede
9a89ca5a15
Cleaned up the use of the default pattern to use a single const value.
...
Added support for inheriting the secret pattern as it is more logical that all settings are carried through to the application.
2024-10-26 08:37:26 +02:00
Kenneth Skovhede
7bbdb9afac
Fixed Windows compile errors
2024-10-25 23:46:43 +02:00
Kenneth Skovhede
352e049b84
Improved exception messages
2024-10-24 21:20:02 +02:00
Kenneth Skovhede
1ac26d7600
Added support for secret provider in server-util
2024-10-24 16:52:44 +02:00
Kenneth Skovhede
f7e473e67e
Fixed signature and nullability issues
2024-10-24 16:52:09 +02:00
Kenneth Skovhede
34d13a20e2
Initial version of the external secret provider
2024-10-24 16:06:59 +02:00
Kenneth Skovhede
6ab27cb870
Merge remote-tracking branch 'origin/master' into feature/backend-async-get
2024-10-03 13:22:36 +02:00
Kenneth Skovhede and GitHub
c3c0ad9fca
Merge pull request #5562 from duplicati/feature/remove-thread-culture-dependence
...
Avoid setting Thread.CurrentCulture
2024-10-02 22:53:47 +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
Kenneth Skovhede
f3e2a0a902
Avoid setting Thread.CurrentCulture
...
Avoids setting deprecated `Thread.CurrentCulture` and `Thread.CurrentUICulture`, using `CultureInfo.CurrentCulture` instead.
Fixed a few legacy places where incorrect string compares were used.
2024-09-18 09:24:55 +02:00
Kenneth Skovhede
e3579312e2
Added healt checks to server.
...
Added health command to server-util.
This fixes #5560
2024-09-17 14:01:08 +02:00
Kenneth Skovhede
1e6eea5758
Added command to export configurations from the server
2024-09-11 16:41:25 +02:00
Kenneth Skovhede
542a4d6e7c
Added support for connecting to a server with a self-signed certificate.
...
This fixes #5534
2024-09-04 20:33:59 +02:00
Kenneth Skovhede
e3a8f34a67
Fixed issue with not finding backup by name.
...
Improved error message if it can be extracted from the server response.
2024-09-03 22:02:51 +02:00
Kenneth Skovhede
5ac0abb60b
Added a check that logs finding no database is the user has supplied a database folder
2024-09-03 14:58:16 +02:00
Kenneth Skovhede
d8c8ce7988
Removed the use of DeviceId due to lack of sufficient key material.
...
Kept the infrastructure to allow re-introducing it later if a better source for a device key is found.
Added support for not having any valid settings encryption key.
Added warnings if the user is running without a settings encryption key.
Added additional checks during startup to help with troubleshooting and configuring a setup with a settings encryption key.
Docker builds will now warn if no encryption key is set.
This fixes #5518
2024-08-31 11:02:14 +02:00
Kenneth Skovhede and GitHub
037796e42c
Merge pull request #5513 from duplicati/feature/isolate-datafolder-lookup
...
Simplify datafolder lookup
2024-08-30 15:44:15 +02:00
Kenneth Skovhede
595ac3c7ee
Refactored the code to use the same method for detecting an existing server database.
...
This prevents creating empty databases when probing for one.
2024-08-30 13:08:37 +02:00
Kenneth Skovhede
b693813ecc
Fixed serverutil handling blacklisted keys
2024-08-30 12:46:21 +02:00
Kenneth Skovhede
37574f21e0
Fixed the output in case the duration takes more than 24h
2024-08-29 17:04:52 +02:00
Kenneth Skovhede
3548475360
Implemented preload support.
...
This commit adds the option to provide preload/preset options that change the default values for Duplicati's commandline or environment variables.
This fixes #5480
2024-08-28 00:18:55 +02:00
Kenneth Skovhede
bc48f923ba
Moving folders into place
2024-08-28 00:15:20 +02:00
Kenneth Skovhede
735b4020eb
Implemented duplicati-server-util for sending various commands to a running server.
...
This tool replaces `ConfigurationImporter` and partially replaces `duplicati_client`.
This fixes #5474
2024-08-26 20:00:13 +02:00
Suguru Hirahara
a6b8f61646
Remove conjugation more
2024-08-13 08:09:04 -04:00
Suguru Hirahara
e254aa36df
Merge branch 'master' of https://github.com/duplicati/duplicati into strings-ZIP-Zip-zip
2024-08-12 10:47:36 -04:00