marceloduplicati and GitHub
3f552196de
Merge pull request #5849 from marceloduplicati/feature/cifs-add-to-ci
...
Adding CIFS to CI
2025-01-06 18:12:51 -03:00
Marcelo C.
e4d1d77ddf
Adding CIFS to CI
2025-01-06 18:09:58 -03:00
Kenneth Skovhede and GitHub
66daba4b3b
Update dmg file ( #5844 )
...
* Added resources and script to create DMG template
* Created new empty DMG
2025-01-06 20:59:30 +01:00
Carl-Johannes Johnsen and GitHub
1bd22bfa2e
Merge pull request #5842 from carljohnsen/bugfix/restore-overwrite
...
Bugfix/restore overwrite
2025-01-06 19:39:23 +01:00
Carl Johnsen
b9a20037db
Empty commit
2025-01-06 18:58:28 +01:00
Carl Johnsen
46b05b94ef
Limit file name conflict attempts to 100 and log an error if exceeded
2025-01-06 16:01:53 +01:00
Carl Johnsen
6f263ad874
Added a note about potential memory consumption of restores FileProcessor
2025-01-06 16:00:11 +01:00
Carl Johnsen
284b14b72f
Merge branch 'master' into bugfix/restore-overwrite
2025-01-06 14:43:03 +01:00
marceloduplicati and GitHub
99ee234640
Primary functionality implemented for CIFS ( #5780 )
...
* Primary functionality implemented for CIFS
This will add CIFS support to Duplicati.
One of the advantages is that the resource does not need to be mounted as the backend connects and authenticates directly to the resource via TCP/or Netbios over TCP.
The authentication supported is domain/username/password. At present integrated Windows authentication is not supported.
This implementation relies on SMBLibrary library (https://github.com/TalAloni/SMBLibrary ).
* Fixes to XML documentation
* Implementing single CIFS connection + Fix on PutAsync
Single CIFS connection to avoid re-authentication on every operation.
Fix to PutAsync which only because apparent after file sizes were larger than _smb2Client.MaxWriteSize
* Adding CI tests for CIFS
The CI test for CIFS is self contained, requiring no environment variables. Also updated README.
2025-01-06 14:22:23 +01:00
Kenneth Skovhede and GitHub
2a757dea0f
Quota check disabled fix ( #5843 )
...
The QuotaCheck is done in two places, and only one place was checking if the quota check was supposed to be disabled.
This adds the check in the other place.
2025-01-06 14:21:53 +01:00
Carl-Johannes Johnsen and GitHub
8079aa81aa
Merge pull request #5840 from carljohnsen/bugfix/restore-missing-folder
...
Bugfix/Restore missing folder
2025-01-06 10:41:39 +01:00
Kenneth Skovhede and GitHub
40e28f170e
Added help button to login ( #5839 )
...
Added a help button to the connection dialog.
Added a help link to the login dialog.
Added a help link to the signin dialog.
2025-01-06 09:13:17 +01:00
Carl Johnsen
88846251b1
Restoring a symlink that already exists triggers an overwrite of the file, which should count towards number of files restored.
2025-01-06 08:14:32 +01:00
Carl Johnsen
1bea0f3696
Restored empty files should count towards the restoration file count.
2025-01-05 12:46:08 +01:00
Carl Johnsen
e88b16dd86
Add assertions to verify untouched files during restore operations
2025-01-05 12:28:08 +01:00
Carl Johnsen
5b7314621c
Reduced test file size to speed up the test. File size shouldn't matter too much here.
2025-01-05 12:17:16 +01:00
Carl Johnsen
193b5a8e64
Extended the 5825 test to verify finding an already restored but timestamp retargeted file.
2025-01-05 12:15:43 +01:00
Carl Johnsen
4cd565d592
Added handling of already restored timestamp-retargeted files
2025-01-05 12:09:38 +01:00
Carl Johnsen
b759b4564d
Added docstrings to new functions
2025-01-05 12:09:04 +01:00
Carl Johnsen
85ddeaba51
Fixed old assertion message in restore test
2025-01-05 11:54:38 +01:00
Carl Johnsen
23aefd51c9
Add unit test for Issue #5825 Restore behavior with overwrite option
2025-01-05 11:52:12 +01:00
Carl Johnsen
eb64320a49
Changed the reporting of restored files to match the legacy restore's reporting.
2025-01-05 11:51:52 +01:00
Carl Johnsen
637bfcefc8
Forgot to check whether the file exists
2025-01-05 11:25:19 +01:00
Carl Johnsen
eba477c271
Added handling of the 'overwrite' option in the new restore flow
2025-01-05 10:44:08 +01:00
Carl Johnsen
f76bf90e68
Added additional dry run logging
2025-01-05 10:43:23 +01:00
Carl Johnsen
8e92754efd
VerifyLocalBlocks now keeps track of internally verified blocks for logging
2025-01-05 10:43:01 +01:00
Carl Johnsen
be99f03bac
VerifyLocalBlocks wasn't respecting dry run properly
2025-01-05 10:41:33 +01:00
Carl Johnsen
a14d29da93
Modified VerifyTargetBlocks to also return the blocks that were verified.
2025-01-05 10:40:14 +01:00
Carl Johnsen
a7507fb765
Simplified variable assignment
2025-01-05 10:35:50 +01:00
Carl Johnsen
83d1617984
Fixed the IO calls to also work on Windows
2025-01-03 23:27:35 +01:00
Carl Johnsen
1157f7c7bd
Update RestoreHandlerTests to expect warning for non-created restore folder
2025-01-03 21:38:03 +01:00
Carl Johnsen
52018db0bb
Added handling and warning throwing for when the folder for restored files aren't created properly
2025-01-03 20:48:58 +01:00
Carl Johnsen
ec001e7e73
Added a test to capture issue #5826
2025-01-03 20:34:45 +01:00
Kenneth Skovhede and GitHub
2cbf62d02b
Update Storj options and docs ( #5838 )
...
This introduces a few constants in favor of multiple strings with the same value.
The supported arguments in the module have been augmented to better report possible values and default values.
The options parser has been updated to work better with CLI where the options are not default filled.
2025-01-03 17:21:00 +01:00
Kenneth Skovhede and GitHub
228a472b07
Changed Sia redundancy to decimal ( #5837 )
2025-01-03 17:20:37 +01:00
Kenneth Skovhede and GitHub
d0924c3e01
Auto-select version for OpenStack ( #5836 )
...
This adds a check to see if the give url contains the standard `/v3` suffix, and if so selects the v3 protocol.
2025-01-03 17:20:19 +01:00
Kenneth Skovhede and GitHub
c70b593fed
Corrected documentation for OpenStack ( #5835 )
...
The region was not described correctly.
2025-01-03 17:19:57 +01:00
Kenneth Skovhede and GitHub
78da4527be
Removed unused region from Aliyun ( #5833 )
2025-01-03 14:08:29 +01:00
Carl-Johannes Johnsen and GitHub
832af1069f
Merge pull request #4785 from snamds/SlowBigRestore
...
Improved restore performance
2025-01-03 11:40:58 +01:00
Carl Johnsen
198e4d8e6e
Refactor SQL query formatting
2025-01-03 11:06:49 +01:00
Carl Johnsen
661a73ff2a
Merge remote-tracking branch 'upstream/master' into SlowBigRestore
2025-01-03 10:11:50 +01:00
Kenneth Skovhede and GitHub
2fac31bd60
Clean Azure Blob options ( #5829 )
...
This removes Azure Blob options that has been deprecated for years.
The option `--azure-blob-container-name` was not used, so it was removed as well.
2025-01-02 18:51:00 +01:00
Kenneth Skovhede and GitHub
6fdb01b52a
This commit ensures the client connects on first use, instead of relying on the library to connect. ( #5828 )
2025-01-01 14:06:35 +01:00
Kenneth Skovhede and GitHub
358f713841
Version bump to v2.1.0.104-2.1.0.104_canary_2024-12-31 ( #5823 )
...
You can download this build from:
Binaries: https://updates.duplicati.com/canary/?version=2.1.0.104
Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.104_canary_2024-12-31.signatures.zip
2024-12-31 18:42:35 +01:00
Kenneth Skovhede and GitHub
31503ea595
Added option to log FTP diagnostics data to regular log ( #5821 )
v2.1.0.104_canary_2024-12-31
2024-12-31 16:47:28 +01:00
Kenneth Skovhede and GitHub
fe401da509
Release/canary 2.1.0.103 ( #5822 )
...
* Trimmed the changelog
* Version bump to v2.1.0.103-2.1.0.103_canary_2024-12-21
You can download this build from:
Binaries: https://updates.duplicati.com/canary/?version=2.1.0.103
Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.103_canary_2024-12-21.signatures.zip
2024-12-31 16:41:53 +01:00
Kenneth Skovhede and GitHub
ba645ddb5f
Clean up options for file backend ( #5820 )
...
This removes unsupported arguments from non-windows clients, so the reported options fit what is supported.
2024-12-31 16:37:07 +01:00
Kenneth Skovhede and GitHub
bc6114323f
Workaround for multi-backend. ( #5815 )
...
* Workaround for multi-backend.
There is currently an issue with creating the BackendManager which has a backend instance. This instance is not used by the uploader, so they will create new instances.
The BackendManager instance can then time out, but is used later.
This commit will allow the uploader to "borrow" the instance from the backend manager, so only a single instance is needed.
This is not a clean fix, but doing so requires a full rewrite of the backend manager and uploader, so the controller creates a single instance of the manager, which is then used for all operations.
This would allow the backend manager to keep track of instances across all requests.
* Improved reuse after shutdown
2024-12-28 21:25:49 +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
d940af1f64
Fixed TrayIcon disconnecting. ( #5819 )
...
This fixes a problem where the exception was not correctly detected causing the token to not be re-obtained.
This fixes #5818
2024-12-28 20:02:21 +01:00