Commit Graph
9929 Commits
Author SHA1 Message Date
Kenneth Skovhede dedee8fd35 Hand-picked the recreate fixes from #4982.
This fixes that the recreate will move unused blocks into the `DeletedBlock` table after the database has been recreated.
Due to this, the disruption test can now be verified.
2024-11-01 15:56:14 +01:00
Kenneth Skovhede 46bc51c39d Added additional test 2024-11-01 15:11:21 +01:00
Kenneth Skovhede 85c639a269 Added the db upgrade to the project file 2024-11-01 15:07:58 +01:00
Kenneth Skovhede 1dc2acb2bf Ensure repair also works with the index 2024-11-01 15:02:48 +01:00
Kenneth Skovhede db517a300b Implemented a fix for compaction issues that could cause inconsistent views of the remote storage. 2024-11-01 14:50:26 +01:00
Kenneth Skovhede 779c842b9a Merge branch 'feature/fix-leftover-index' of github.com:duplicati/duplicati into feature/fix-leftover-index 2024-11-01 11:15:13 +01:00
Kenneth Skovhede 0dcb7ceab6 Fixed a test that was succeding for the wrong reason 2024-11-01 11:14:46 +01:00
Kenneth SkovhedeandGitHub 9325ea8bad Merge pull request #5616 from duplicati/feature/enable-partial-test-for-5023
Enable test as it does not fail
2024-11-01 08:30:06 +01:00
Kenneth Skovhede 99f4dbcf51 Enable test as it does not fail 2024-10-31 16:51:55 +01:00
Kenneth Skovhede aae4feadb3 Updated logic for handling repair with index files that are missing block files. 2024-10-29 21:30:06 +01:00
Kenneth Skovhede a18867dcd9 Updated DeterministicErrorBackend to follow the new async IBackend interface 2024-10-29 21:28:43 +01:00
Kenneth Skovhede e9c256c7f2 Merge remote-tracking branch 'origin/master' into feature/fix-leftover-index 2024-10-29 16:40:06 +01:00
Kenneth SkovhedeandGitHub 760c2902e4 Merge pull request #5606 from duplicati/feature/dont-rollback-after-connection-dispose
Moved the transaction abort up so it happens before the connection is disposed
2024-10-29 08:22:26 +01:00
Kenneth Skovhede 372b06cfee Moved the transaction abort up so it happens before the connection is disposed.
This fixes #5585
2024-10-28 21:30:18 +01:00
Kenneth SkovhedeandGitHub 433fa8b6ca Merge pull request #5597 from carljohnsen/performance/sharpaes_bump
Performance/bumped the version of SharpAESCrypt
2024-10-24 15:03:50 +02:00
Kenneth SkovhedeandGitHub 783794505c Merge pull request #5592 from duplicati/feature/improved-remote-control-registration
Feature/improved remote control registration
2024-10-24 15:03:16 +02:00
Carl Johnsen 1fa4d55a2c Bumped the version of SharpAESCrypt 2024-10-24 14:08:26 +02:00
Kenneth SkovhedeandGitHub 2da51059ff Merge pull request #5595 from carljohnsen/compact_linq_fix
Performance/speed up preliminary work in DoCompact()
2024-10-22 11:36:12 +02:00
Kenneth SkovhedeandGitHub e31869992d Merge pull request #5589 from marceloduplicati/feature/remove-legacy-ftp
Removing the legacy FTP Backend
2024-10-21 21:25:14 +02:00
Carl Johnsen 20aea95007 Fixed inconsistent variable naming 2024-10-21 17:50:18 +02:00
Carl Johnsen ce64b7e549 Sped up preliminary work in DoCompact.
The first optimization was to add guards around the queries in case the second collection is empty (which is was when the slow path was found).
The second optimization is to use a HashSet for the second collection, as this speeds up lookup, compared to using two List of string.
2024-10-21 14:27:18 +02:00
Kenneth Skovhede ee94233c84 Automatically opening the registration link via the system browser, if possible. 2024-10-17 14:25:41 +02:00
Kenneth Skovhede 9db3cce5e2 Added support for remote control with pre-signed url 2024-10-16 16:28:13 +02:00
Kenneth Skovhede f251d34b57 Implemented support for including the machine hostname in reports for simpler identification. 2024-10-16 16:22:47 +02:00
marceloduplicatiandGitHub bc4f569325 Merge branch 'duplicati:master' into feature/remove-legacy-ftp 2024-10-15 13:01:20 +02:00
Marcelo Ceccon 3857d0356f Precedence of options match to documentation 2024-10-15 12:58:37 +02:00
Marcelo Ceccon 34f108f127 Implementing backwards compatibility on ftp parameters
With this change, ftp-passive, ftp-regular and use-ssl parameters found on existing FTP Backend configurations will be respected and exhibit the same behavior. They are marked as deprecated so they will issue warning messages when used prompting users to refer to new parameters.
2024-10-15 12:17:51 +02:00
Kenneth SkovhedeandGitHub dec473eab3 Merge pull request #5588 from marceloduplicati/feature/webdav-ignore-invalid-certificates
Solves Webdav issue with self signed certificates and accepts appropriate options
2024-10-15 11:10:25 +02:00
Kenneth SkovhedeandGitHub 366016ec2d Merge pull request #5578 from marceloduplicati/feature/unix-file-lock
Proposed change to open locked files on linux
2024-10-15 11:08:11 +02:00
Marcelo Ceccon a4482a4d03 Removing the legacy FTP Backend
For this change, what was known as the alternate FTP client which uses FluentFTP library now officially replaces the FTP Backend which still used the deprecated FtpWebrequest.

To mantain compatibility with existing configurations, both ftp and aftp targets and configuration prefixes are accepted.
2024-10-11 11:21:54 +02:00
Marcelo Ceccon e863b73708 Merge remote-tracking branch 'marceloduplicati/feature/webdav-ignore-invalid-certificates' into feature/webdav-ignore-invalid-certificates 2024-10-10 10:36:57 +02:00
Marcelo Ceccon fd591d9af2 Fix to Webdav issue around certificate validation
Fix to Webdav to process the options accept-specified-ssl-hash and accept-any-ssl-certificate

Minor refactoring
2024-10-10 10:36:47 +02:00
Marcelo Ceccon 5d49ee9ef4 Fix to Webdav issue around certificate validation
Fix to Webdav to process the options accept-specified-ssl-hash and accept-any-ssl-certificate

Minor refactoring
2024-10-09 16:15:05 +02:00
marceloduplicatiandGitHub 083d0a09a4 Merge pull request #3 from duplicati/feature/unix-file-lock-option
Added commandline option to toggle locks
2024-10-09 09:14:03 +02:00
Kenneth Skovhede 91ea81f537 Added commandline option to toggle locks 2024-10-08 09:35:00 +02:00
Kenneth SkovhedeandGitHub bf7d0f18f5 Merge pull request #5583 from duplicati/feature/fix-incorrect-quote-char
Fixed an incorrect string quote
2024-10-08 08:52:50 +02:00
Kenneth SkovhedeandGitHub db69edc67e Merge pull request #5584 from duplicati/feature/serialize-exception-details
Force serialize exception data before emitting JSON
2024-10-08 08:52:21 +02:00
Kenneth SkovhedeandGitHub 65ae160f1a Merge pull request #5586 from duplicati/feature/handle-response-started-reject
Changed the flow of invalid hostname errors
2024-10-08 08:51:59 +02:00
Kenneth SkovhedeandGitHub 67631ca97b Merge pull request #5587 from duplicati/feature/fix-validate-api
Ensure that we report 404 when a file is not found
2024-10-08 08:51:15 +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 aa9a6b1e7d Changed the flow of invalid hostname errors 2024-10-05 22:23:36 +02:00
Kenneth Skovhede 7be64fd61a Force serialize exception data before emitting JSON 2024-10-05 17:42:40 +02:00
Kenneth Skovhede be0e4d2ed1 Fixed an incorrect string quote 2024-10-05 17:36:42 +02:00
Kenneth SkovhedeandGitHub b246c38687 Merge pull request #5574 from duplicati/feature/backend-async-get
Implemented async version of `Get` for all backends.
2024-10-04 14:00:25 +02:00
Marcelo Ceccon 7d6964b5b2 Simplified version of handling
Macos and Linux were working, ubuntu errors with 'close_nointr(fd) != -EBADF

It seems to be related to both FileStream behavior around closing handles when a SafeFilehandle is provided by an fopen call.
2024-10-04 10:40:39 +02:00
Marcelo Ceccon 3c7cba0927 Removing safehandle force dispose 2024-10-04 10:04:48 +02:00
Marcelo Ceccon 467a4434f9 Enforcing disposal and closure of filehandles. 2024-10-04 09:30:34 +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 SkovhedeandGitHub 8247be9c16 Merge pull request #5580 from duplicati/feature/add-lyve-s3-endpoints
Added endpoints for Seagate Lyve S3
2024-10-04 09:09:52 +02:00
Kenneth Skovhede 66ec130761 Added endpoints for Seagate Lyve S3 2024-10-03 21:47:14 +02:00