Kenneth Skovhede
237102003c
Removed some #if DEBUG directives in favor of a boolean.
...
Using the flag instead ensures both DEBUG and RELEASE versions of the code is compiled.
JIT optimizations will remove the unused code during compilation just the same.
2024-08-28 12:52:33 +02:00
Kenneth Skovhede and GitHub
c3795210b8
Merge pull request #5490 from duplicati/feature/windows-service-improvements
...
Feature/windows service improvements
2024-08-28 11:47:27 +02:00
Kenneth Skovhede and GitHub
e38bc12131
Merge pull request #5486 from duplicati/feature/improve-initial-password-setup
...
Added a dialog for changing the server passphrase.
2024-08-27 18:27:07 +02:00
Kenneth Skovhede and GitHub
2674fd0b19
Merge pull request #5483 from duplicati/feature/add-server-util
...
Add server comandline utility
2024-08-27 18:26:14 +02:00
Kenneth Skovhede and GitHub
2dbe985ca3
Merge pull request #5487 from duplicati/feature/fix-port-probing-with-kestrel
...
Fixed probing for free ports
2024-08-27 18:24:42 +02:00
Kenneth Skovhede and GitHub
7c1c93ff1c
Merge pull request #5488 from duplicati/feature/fix-ctrl-c-stop
...
Fixed responding to stop signals.
2024-08-27 18:24:16 +02:00
Kenneth Skovhede
feb77b3959
Merged the server stop signal changes
2024-08-27 18:22:53 +02:00
Kenneth Skovhede
ab62db0099
Merge remote-tracking branch 'origin/feature/fix-ctrl-c-stop' into feature/windows-service-improvements
2024-08-27 18:18:46 +02:00
Kenneth Skovhede
81e09ad28d
WindowsService now logs to eventlog.
...
This fixes #5476
2024-08-27 16:25:43 +02:00
Kenneth Skovhede
29f96afc08
Added support for logging to Windows EventLog
2024-08-27 16:24:33 +02:00
Kenneth Skovhede
538f6a88de
Add support for multi-sink logging in server
2024-08-27 15:44:41 +02:00
Kenneth Skovhede
2a817fe093
Implemented support for setting the Windows Service description
2024-08-27 14:08:52 +02:00
Kenneth Skovhede
6a9d37ad9e
Fixed responding to stop signals.
...
This fixes #5478
2024-08-27 11:33:52 +02:00
Kenneth Skovhede
60da34d0de
Fixed probing for free port which broke with Kestrel update due to wrapped exceptions.
...
Re-implemented the logic that would use the last working port when multiple options are possible.
This fixes #5477
2024-08-27 10:38:21 +02:00
Kenneth Skovhede and GitHub
c10fd170fd
Merge pull request #5484 from duplicati/feature/move-restapi-into-place
...
Fix the Duplicati.Library.RestAPI path
2024-08-27 10:00:00 +02:00
Kenneth Skovhede and GitHub
7a770ab65d
Merge pull request #5485 from duplicati/feature/add-deviceid-library-to-licenses
...
Added `DeviceId` to list of libraries
2024-08-27 09:59:45 +02:00
Kenneth Skovhede
1f79f88839
Added a dialog for changing the server passphrase.
...
This fixes #5479
2024-08-27 09:59:12 +02:00
Kenneth Skovhede
de008b8588
Added DeviceId to list of libraries
2024-08-27 08:41:09 +02:00
Kenneth Skovhede
d1008bc7a2
Fix the Duplicati.Library.RestAPI path.
...
It was previously located in the root, but placed correctly in the solution file.
2024-08-27 08:30:26 +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
0b76d28d1e
Default to using project-relative folders to store data for debug builds (instead of system folders)
2024-08-26 17:59:47 +02:00
Kenneth Skovhede and GitHub
9d6232e1dd
Merge pull request #5472 from marceloduplicati/feature/settingsencryption5420
...
Feature/settingsencryption5420
2024-08-26 14:15:35 +02:00
Kenneth Skovhede and GitHub
65a4aabf9d
Merge pull request #5481 from duplicati/feature/common-datafolder-location
...
Made the database locator and server-database location code the same.
2024-08-26 12:58:24 +02:00
Kenneth Skovhede
bc4e9a1c77
Made the database locator and server-database location code the same.
2024-08-23 17:53:17 +02:00
marceloduplicati and GitHub
412e513e22
Merge pull request #2 from duplicati/feature/settingsencryption/update2
2024-08-21 16:33:33 -03:00
Kenneth Skovhede and GitHub
c79f8a6687
Merge branch 'feature/settingsencryption5420' into feature/settingsencryption/update2
2024-08-21 21:05:23 +02:00
Kenneth Skovhede
efd30a06bf
Fixed tests by allowing test code to pass a custom key for encryption
2024-08-21 21:02:42 +02:00
Marcelo Ceccon
9632999bb6
Merge branch 'feature/settingsencryption5420' of https://github.com/marceloduplicati/duplicati into feature/settingsencryption5420
2024-08-21 11:43:14 -03:00
Marcelo Ceccon
dc59d83701
Changes to the unit testing after new encryption prefix
...
Encrypted sample had different key, new template now for tests
2024-08-21 11:39:06 -03:00
Marcelo Ceccon
29404f8dd6
Changes to the unit testing after new encryption prefix
2024-08-21 09:49:12 -03:00
Kenneth Skovhede
4a5ccb623e
Added a cersion bump of the DB schema to prevent failed downgrades.
2024-08-21 11:59:52 +02:00
Kenneth Skovhede
1573a8c86b
Version bump to v2.0.9.104-2.0.9.104_canary_2024-08-21
...
You can download this build from:
Binaries: https://updates.duplicati.com/canary/
Signature file: https://updates.duplicati.com/canary/duplicati-2.0.9.104_canary_2024-08-21.signatures.zip
v2.0.9.104-2.0.9.104_canary_2024-08-21
2024-08-21 11:21:06 +02:00
Kenneth Skovhede and GitHub
5bbc66665d
Merge pull request #5471 from duplicati/feature/custom-hostname-validation
...
Add custom hostname validation
v2.0.9.104_canary_2024-08-21
2024-08-21 08:40:33 +02:00
Kenneth Skovhede and GitHub
be0b67f229
Merge pull request #5473 from duplicati/feature/fix-detached-tray-icon
...
Fix detached tray icon
2024-08-21 08:40:12 +02:00
marceloduplicati and GitHub
15014de80a
Merge pull request #1 from duplicati/feature/settingsencryption/update
...
Feature/settingsencryption/update
2024-08-20 19:06:23 -03:00
Kenneth Skovhede
b114380547
Improved error handling on crashes to avoid obscuring the actual error message
2024-08-20 21:11:59 +02:00
Kenneth Skovhede
f844f8c04f
Re-added PBKDF config, although it should be safe to shared
2024-08-20 21:11:31 +02:00
Kenneth Skovhede
26ae10bbff
Made fields readonly
2024-08-20 21:10:54 +02:00
Kenneth Skovhede
d53357f4e7
Fixed decrypt/re-encrypt toggling
2024-08-20 21:10:15 +02:00
Kenneth Skovhede
3c1a4b5d94
Encryption uses StringBuilder instead of stream to minimize byte[] use.
2024-08-20 21:09:14 +02:00
Kenneth Skovhede
7b66271ad4
Enabled minimal header
2024-08-20 21:08:36 +02:00
Kenneth Skovhede
ff196eb284
Implemented support for enabling/disabling encryption
2024-08-20 17:10:34 +02:00
Kenneth Skovhede
ae6d5112f8
Reworked encryption of fields to only affect code inside Connection.cs
2024-08-20 17:08:55 +02:00
Kenneth Skovhede
12d196194b
Optimizations to avoid repeated calculations on the same data (DeviceId + KeyHash)
2024-08-20 17:01:21 +02:00
Kenneth Skovhede
5dd937bcc2
Updated AES Crypt to support creating encrypted blob with a smaller header.
2024-08-20 16:52:26 +02:00
Kenneth Skovhede and GitHub
1690ad4b41
Merge pull request #5470 from duplicati/feature/support-swagger-for-debug-builds
...
Add Swagger UI and metadata
2024-08-20 12:42:06 +02:00
Kenneth Skovhede
06531695ab
Fixed a case where settings were null
2024-08-20 12:41:49 +02:00
Kenneth Skovhede
3e3985b164
Added detection for invalid setup.
...
Added help message if an invalid detached configuration is provided.
This fixes #5468
2024-08-20 12:17:04 +02:00
Kenneth Skovhede
d0b35dbeee
Fixed a case where an exception stack trace was lost
2024-08-20 12:16:11 +02:00