Kenneth Skovhede
cf5b4bb24d
Added support for Wmic based Windows VSS snapshots.
...
Refactored code a bit to be easier to understand.
2025-02-19 14:00:14 +01:00
Kenneth Skovhede
8c935a7344
This creates a new ISourceProvider interface for describing a data source.
...
With this interface it is possible to wrap the current support for snapshots and USN and simplify the enumeration.
This makes a number of assumptions into fields such as `IsMetaEntry` and `IsRootEntry` that removes code that was checking for various properties.
This first commit has support for VSS and USN as well as "naked" files, keeping feature parity.
There is also an experimental support for loading a backend-as-a-source. The support for this is currently limited as the backends need to be extended to support a folder concept.
2025-02-09 16:14:22 +01:00
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
b8e46a202d
This fixes the attributes of special folders not emitted to the UI ( #5906 )
2025-01-25 12:39:22 +01:00
marceloduplicati and GitHub
2836e904fd
Fix encoding on export backup configuration filename ( #5888 )
...
Fix for issue:
https://github.com/duplicati/duplicati/issues/5884
2025-01-17 15:14:01 +01:00
Kenneth Skovhede and GitHub
6bbd64a655
Fixed nullability warnings in Utility.cs ( #5861 )
...
* Fixed nullability warnings in `Utility.cs`
* Fixed a number of nullability issues and warnings
* More nullable fixes
* Fixed the overwrite issue
* Fixed additional nullability issues
* Removed additional nullability issues
* More nullability fixes and added some xmldoc
* Added more xmldocs and removed an unused argument
* Removed more warnings
2025-01-14 14:03:48 +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
7f40ec46db
Removed the captcha. ( #5816 )
...
This commit removes the Captcha support, and replaces with a copy-paste-able safeguard in the UI.
2024-12-28 20:03:52 +01:00
Kenneth Skovhede and GitHub
ff1b2b7990
Simplified task control ( #5753 )
...
* Simplified task control by having all logic in a single class and using async control mechanism
* Fixed the tests
* Made the marking of a backup partial explicitly communicated if the enumeration process is stopped.
* Added support for pausing active transfers
* Introduced transfer token to abort operations.
* Updated the way LiveControl is emitting events.
* Retains the paused state of the server across reboots, this fixes #5760 .
* Reworked the way throttle speeds are propagated through LiveControls.
* Added option to pause transfers in the UI.
* Removed throttle settings from the LiveControls class so it is exclusively handled by the ApplicationSettings.
* Removed `thread-priority` as it does not work at all when tasks are used.
* Fixed the stop dialog and API to only support stop and abort.
* Removed unused variables
2024-12-18 08:27:59 +01:00
Kenneth Skovhede
22d7426e07
Fixed bugreport download.
...
This fixes #5758
2024-12-17 21:38:18 +01:00
Kenneth Skovhede
c9665da91b
Reworked the tokens to only support emitting a single token per server startup
2024-12-12 11:05:09 +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
6fb8a05318
Fixed exported type for filters
2024-11-26 11:29:13 +01:00
Kenneth Skovhede
42c4e50482
Fixed issues with update detection.
...
This fixes a case where the update checker keeps an old reference to the previous updated version, despite running a newer version.
It also removes some use of `Assembly.GetExecutingAssembly().GetName().Version` with the information from `UpdaterManager.SelfVersion.Version` as that should follow the update info.
This fixes #5698
This fixes #5252
2024-11-25 17:27:50 +01:00
Kenneth Skovhede
97c8c8ac80
Made the status call available when running agent mode, and hiding the buttons.
2024-11-14 22:24:10 +01:00
Kenneth Skovhede
1b07fadd88
Moved systemInfo into a service with cache so it can preload
2024-11-08 10:07:03 +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
e37f0cd741
Exposed secret providers as modules
2024-11-04 14:59:35 +01:00
Kenneth Skovhede
e9a516e717
Merge branch 'feature/add-secret-provider' of github.com:duplicati/duplicati into feature/add-secret-provider
2024-11-04 13:21:35 +01:00
Kenneth Skovhede
d98186e1eb
Implemented secret provider on the remoteoperation and webmodules calls
2024-11-04 13:20:23 +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 and GitHub
7631b921b4
Merge pull request #5608 from duplicati/feature/support-ec-certificates
...
Feature/support ec certificates
2024-10-31 09:56:41 +01:00
Kenneth Skovhede
df449f9cae
Added better error reporting for the test/cerate operations
2024-10-30 15:26:25 +01:00
Kenneth Skovhede
56816abed8
Reverted to not storing the certificate as a file, since the x509Certificate loader was the broken part, not Kestrel.
2024-10-29 13:55:12 +01:00
Kenneth Skovhede
7841a6026f
Implemented API endpoint to update the SSL certificate via the API
2024-10-29 12:03:10 +01:00
Kenneth Skovhede
4783050d53
Simplified logic by having an option to disable https.
...
Simplified checks for https by having a single property that unifies the logic.
2024-10-29 11:15:06 +01:00
Kenneth Skovhede
34d13a20e2
Initial version of the external secret provider
2024-10-24 16:06:59 +02:00
Kenneth Skovhede
b2332bcb31
Ensure that we report 404 when a file is not found
2024-10-05 22:30:46 +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
6ab27cb870
Merge remote-tracking branch 'origin/master' into feature/backend-async-get
2024-10-03 13:22:36 +02:00
Kenneth Skovhede
d46188427f
Merge remote-tracking branch 'origin/master' into feature/remote-control-support
2024-10-02 14:53:00 +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
51a9c0f0e5
Added default Url for remote control registration
2024-09-25 10:38:14 +02:00
Kenneth Skovhede
efab444d94
Bugfix sending empty registration url
2024-09-23 11:45:36 +02:00
Kenneth Skovhede
550397cd70
Switched to using a single common certificate implementation
2024-09-20 09:42:21 +02:00
Kenneth Skovhede
eae1988d0b
Improved the flow so the claim will be detected even if the browser closes after the claim link is opened.
2024-09-19 14:51:39 +02:00
Kenneth Skovhede
5c0d297687
Implemented support for enabling remote control via settings
2024-09-19 14:33:17 +02:00
Kenneth Skovhede
f49359eaf3
Removed use of Environment.OSVersion which is now deprecated.
...
Fallback to getting Windows version with `cmd /v ver`, which should be supported way back to DOS v6.
2024-09-18 16:02:01 +02:00
Kenneth Skovhede
669e90704d
Initial work on supporting a secure remote control connection.
2024-09-18 11:07:59 +02:00
Kenneth Skovhede
7e77217171
Fix Swagger exposed API.
...
Changed order or Json serializers to fix the parsing issue for enums.
Removed support code for controllers as we are only using minimal API.
2024-09-06 10:50:06 +02:00
Kenneth Skovhede
8f8aad1153
Merge remote-tracking branch 'origin/master' into feature/support-preload-configurations
2024-08-29 11:25:50 +02:00
Kenneth Skovhede
4989b5aa84
Merge branch 'feature/support-preload-configurations' of github.com:duplicati/duplicati into feature/support-preload-configurations
2024-08-29 11:24:38 +02:00
Kenneth Skovhede
f618aa830a
Prevent the settings hash from being exposed as it has no value outside the settings update check.
2024-08-29 11:23:31 +02:00
Kenneth Skovhede
be9464f252
Added encrypted fields to guarded input.
...
This prevents the API from setting the field, which would cause restarts to re-write the settings, but does not affect the encrypted/decrypted state.
2024-08-29 11:20:56 +02:00
Kenneth Skovhede
653868f553
Removed unused using directives
2024-08-28 15:10:43 +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
Kenneth Skovhede
8810e90af1
Clarified variables and headers, as it is not returning HTML
2024-08-26 18:00:18 +02:00
Kenneth Skovhede
ae6d5112f8
Reworked encryption of fields to only affect code inside Connection.cs
2024-08-20 17:08:55 +02:00