Commit Graph
285 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 6a8edd75dc Added additional folders to MacOS. (#5899)
This adds the common "Movies" and "Public" folders to the list of special folders for MacOS (and Linux, if applicable)
2025-01-25 12:42:16 +01:00
marceloduplicatiandGitHub 08f231dd74 Fixes to timeouts on WebDav (#5878)
* Removing timeout from Webdav

The timeout will be controlled externally by the TimeoutObservingStream and or the cancellation token.

Timeout for List set to default of 10 minutes

Since filesystems may take quite sometime to list large number of files, the timeout was set to a high value.

Previous timeout of 30 seconds was triggering in a case reported by user.

Timeout for CreateFolder and DeleteAsync was kept to default of 30 seconds.

Minor formmating/refactoring was done.

* Removing timeout from Webdav

The timeout will be controlled externally by the TimeoutObservingStream and or the cancellation token.

Timeout for List set to default of 10 minutes

Since filesystems may take quite sometime to list large number of files, the timeout was set to a high value.

Previous timeout of 30 seconds was triggering in a case reported by user.

Timeout for CreateFolder and DeleteAsync was kept to default of 30 seconds.

Minor formating/refactoring was done.

* Fixes to Integrated Authentication

This is a fix to the webdav when using integrated authentication, the hint for the underlying issue was found on an old [thread] (https://github.com/dotnet/wcf/issues/2923). By setting up a vm environment with Windows 2022 Server+IIS/Webdav it was possible to reproduce the [issue](https://github.com/duplicati/duplicati/issues/5872) and fix it.

Change to validation script is to avoid the requirement of filling the username when integrated authentication is true.
2025-01-16 16:29:40 +01:00
marceloduplicatiandGitHub 5144aaa36a Fix on JS for CIFS template (#5848)
When creating a new backup, if path was not set to any value, it would default to Undefined and end up as part of the URI.
2025-01-07 09:14:04 +01:00
marceloduplicatiandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub a8ddc5d03c Merge pull request #5772 from duplicati/fix-scanning-issue-20
Fixed incorrect suffix check
2024-12-16 23:14:26 +01:00
Kenneth SkovhedeGitHubCopilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
9d2463a64a Fix code scanning alert no. 16: Useless regular-expression character escape
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-12-16 11:40:34 +01:00
Kenneth Skovhede 9a384fcdde Fixed incorrect suffix check 2024-12-16 11:35:00 +01:00
Kenneth Skovhede 3c18de9bcf Made the websocket path proxy aware.
This fixes #5711
2024-11-27 14:54:17 +01:00
Kenneth Skovhede 9fbff55198 Fixed a usability issue with choosing the pCloud server.
Changed the OAuth server to the new configured instance.
2024-11-25 21:59:43 +01:00
Marcelo Ceccon 4beafc0cc7 Added pCloud Integration
Added pCloud backend with custom interface for editing destination.
2024-11-18 13:07:01 +01:00
Kenneth SkovhedeandGitHub 0571880f65 Merge pull request #4972 from Jojo-1000/fix-file-target-options
Fix bug that removes advanced target options when editing backups
2024-11-07 13:47:32 +01:00
Kenneth Skovhede faa210df63 Updated rclone backend to handle empty options the same as missing options (apply default values).
Made the local repo optional in the UI because it has a default value.
2024-11-01 09:02:40 +01:00
Kenneth Skovhede 43c18dfe69 Added missing transltion for Backup_ProcessingFiles 2024-09-04 09:43:13 +02:00
Kenneth Skovhede 1f79f88839 Added a dialog for changing the server passphrase.
This fixes #5479
2024-08-27 09:59:12 +02:00
Marcelo Ceccon d4d31f25fc Removing console.log from scripts. 2024-08-15 12:24:26 -03:00
Kenneth SkovhedeandGitHub 8dfdde914c Merge branch 'master' into feature/fix-log-in-dialog-redirect 2024-08-13 17:42:47 +02:00
Will Riches 80ca4c3d35 Use wss:// websocket protocol if current page is loaded over HTTPS 2024-08-13 14:29:16 +01:00
Kenneth Skovhede deb9302dd1 Fixed the unauthorized state to show a login option.
Fixed cases where the reconnect timer was not cleared causing repeated connect attempts.
2024-08-13 14:46:28 +02:00
Suguru Hirahara b8648fe692 Update strings for Storj DCS backend 2024-08-13 03:00:42 -04:00
Suguru Hirahara cc5210bed2 Update strings: Bucket (Name) -> Bucket name 2024-08-13 03:00:23 -04:00
Suguru Hirahara aa92e9ecbf Fix strings for OpenStack 2024-08-02 11:24:06 -04:00
Suguru Hirahara b5504ff91c Update the string based on the review 2024-08-01 07:01:45 -04:00
Suguru Hirahara 4bcb4ea594 Update a string on EditUriBuiltins.js to reflect that it is not always expected to adjust a bucket name 2024-08-01 04:07:02 -04:00
Kenneth SkovhedeandGitHub eb8952cfe0 Merge pull request #5333 from luixxiul/e2
Update strings for IDrive e2
2024-07-29 09:17:00 +02:00
Kenneth SkovhedeandGitHub 78e38b81b8 Merge pull request #5314 from duplicati/feature/remove-tardigrade
Purged tardigrade from codebase
2024-07-29 09:13:56 +02:00
Suguru Hirahara 63d6cf082e Merge branch 'master' into e2 2024-07-29 02:00:26 -04:00
Kenneth SkovhedeandGitHub ffc8159a52 Merge pull request #5334 from luixxiul/eg
Fix minor details related to "e.g." and "API"
2024-07-29 07:47:59 +02:00
Kenneth SkovhedeandGitHub 41c9e4cac7 Merge pull request #5332 from luixxiul/ellipsis
Use the precomposed character U+2026 for horizontal ellipsis on JS and HTML files
2024-07-29 07:46:36 +02:00
Kenneth Skovhede 32fae5c835 Merge branch 'master' into feature/remove-tardigrade 2024-07-29 07:36:16 +02:00
Suguru Hirahara 556f1ee958 Change eg. to e.g. 2024-07-27 22:51:10 -04:00
Suguru Hirahara f5dbfaa902 Update strings for IDrive e2 2024-07-27 22:14:57 -04:00
Suguru Hirahara 330233f5ec Use the precomposed character U+2026 for horizontal ellipsis on JS and HTML files 2024-07-27 11:28:12 -04:00
Suguru Hirahara be96e9a669 Change 'Id' to 'ID' 2024-07-27 07:54:26 -04:00
Kenneth Skovhede 60a41f467b Purged tardigrade from codebase 2024-07-26 20:24:14 +02:00
Suguru Hirahara 58d4fc628f Add a comment on EditUriBuiltins.js 2024-07-26 12:19:56 -04:00
Suguru Hirahara 4d4035e8ae Remove a duplicate block 2024-07-26 01:33:57 -04:00
Suguru Hirahara b6d1725534 Move a whitespace character from EditUriBuiltins.js to EditUriBackendConfig.js 2024-07-26 01:31:29 -04:00
Kenneth Skovhede 9cd94bba2a Separating the timers and callbacks 2024-07-19 12:37:30 +02:00
Kenneth Skovhede 0f3254db11 Reworked the task checker to use polling instead of relying on events 2024-07-19 11:59:40 +02:00
Kenneth Skovhede 65885c099d Enable websocket by default 2024-07-19 11:59:31 +02:00
Kenneth Skovhede 3715f51a07 Added support for disabling websocket, and set it to default disabled 2024-07-19 11:58:39 +02:00
Kenneth Skovhede 6147d08e27 Guard against multiple guard calls 2024-07-19 11:58:35 +02:00
Kenneth Skovhede 68516a97b1 Yet-another rework of the reconnect 2024-07-19 11:58:28 +02:00
Kenneth Skovhede 127dd82f59 Added guard against case where the command happens faster than the events can register them 2024-07-19 11:58:22 +02:00
natan 92f1de07ae Bring back /serverstate endpoint. Fix unauhthorized mdodal when cookie is missing.
Small code cleanup here and there.
2024-07-15 11:07:47 +02:00
natan 27ce549e75 cleanup WebsocketAccessor.cs and StatusService.cs a bit.
Remove /serverstate endpoint
2024-07-12 17:59:21 +02:00
Kenneth Skovhede 94d6ab76ee Changed logic for reconnect to not rely on serverstate API.
Changed websocket to send current state on initial connect.
2024-07-11 16:24:22 +02:00
natan 0ae9990f18 fix 401 in websocket 2024-07-09 15:49:17 +02:00