Commit Graph
59 Commits
Author SHA1 Message Date
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 Skovhede 3c18de9bcf Made the websocket path proxy aware.
This fixes #5711
2024-11-27 14:54:17 +01:00
Kenneth Skovhede 43c18dfe69 Added missing transltion for Backup_ProcessingFiles 2024-09-04 09:43:13 +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 330233f5ec Use the precomposed character U+2026 for horizontal ellipsis on JS and HTML files 2024-07-27 11:28:12 -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
natan f7656f464e fix websocket connection 2024-07-03 22:26:03 +02:00
Kenneth Skovhede fa7d5e45f7 Fixed auto-reconnect 2024-06-21 07:52:39 +02:00
Kenneth Skovhede 92b82df78b Disabled websocket as it is not complete.
Fallback to longpoll :'(
2024-06-20 22:46:42 +02:00
Kenneth Skovhede fd9b1a1c5b Remove XSRF 2024-06-20 22:43:51 +02:00
Kenneth Skovhede 3f29642f6c Implemented JWT tokens.
Added auth requirement on all endpoints.
Added SignIn-, Access- and Refresh-Tokens based on JWT.
Upgraded stored password to be based on PBKDF2.
Added default password assignment.
Updated logic to support auth-header and re-sign-in for tray-icon and web-ui.
2024-06-19 13:54:10 +02:00
natan a937e8712e fix json naming issue 2024-04-26 09:41:48 +02:00
natan 8fa4875885 fix date handling coming from WS 2024-04-25 17:07:02 +02:00
natan f9f6dfee6b Merge branch 'refs/heads/feature/kestrel-avalonia-upgrade' into feature/http-server-modernization
# Conflicts:
#	Duplicati.Library.RestAPI/UpdatePollThread.cs
#	Duplicati/Server/Program.cs
#	Duplicati/Server/webroot/ngax/scripts/services/ServerStatus.js
#	Duplicati/WebserverCore/DuplicatiWebserver.cs
2024-04-22 09:35:53 +02:00
natan 85c2864a9b fix XSRF errors at start 2024-04-19 11:44:12 +02:00
natan 23a9c72115 Selenium Tests 2024-04-18 12:43:56 +02:00
natan d78b9f2c63 WIP 2024-04-03 10:40:29 +02:00
natan 5d53eddb32 WIP 2024-03-26 18:32:56 +01:00
Kenneth Skovhede 115e887802 Implemented new updater logic that supports multi-arch distributions. 2024-03-15 14:18:56 +01:00
Kelly Campbell dbbd427cf1 Fixes connect to server not working when a password is used for the UI. 2024-02-04 01:15:19 -06:00
JanandGitHub 6c8ecb7b8e Remove reliance on statusText for error messages. (#5056)
HTTP/2 does not support statusText, and proxies might replace it. Use the response body instead.

Closes #4729
2023-12-12 23:17:12 +01:00
leelaandGitHub d5735214b5 typo ellipsis, added 2019-09-02 17:15:34 +00:00
drwtsn32x 41a639ddc5 Show vacuum in status message 2019-04-18 21:04:31 -07:00
Lucas Costi 1be80fde3e Fix server status strings grammar and consistency 2018-10-02 17:37:17 +10:00
Lucas CostiandGitHub 20dcc0b46a Fix #3337 - Ambigous 'waiting for upload' status 2018-08-13 11:38:38 +10:00
Kenneth Skovhede 1ecae8b923 Fixed spelling issue, notified via Transifex 2018-04-15 14:31:54 +02:00
Sandu Rajapakse 072228d735 GUI - Added detail to the status messages
Added to the amount of detail on the status messages to give a clear idea of Duplicati's present status. (In response for UI Issue #3141)
2018-04-03 19:08:12 -04:00
Kenneth Skovhede dd86dfa32d Added a fix to reload without longpoll after errors.
This should fix the XSRF error prompt on some startups.
2017-08-01 15:28:30 +02:00
Kenneth Skovhede 4bf4871427 Added commandline operation to purge select files from filesets.
This fixes #1009.
This paves the way for #1337.
2016-12-29 22:41:13 +01:00
agrajaghh 0bbe2ada61 bugfix? missing |? 2016-10-21 17:53:30 +02:00
Kenneth SkovhedeandGitHub 17e2a3dab4 Feature/add delete dialog (#2008)
Added a delete page with options to delete the local database, as well as the remote files.
Added a captcha to protect against automated attacks that would attempt to delete the remote files.

This fixes #1201
2016-10-13 21:45:31 +02:00
Kenneth Skovhede e4e24f5f15 Updated localizations to not use the "args" filter, and rely on the angular-gettext params attributes 2016-10-04 00:51:43 +02:00
agrajaghh a1d5a49636 simple js replacement 2016-10-02 15:56:53 +02:00
Kenneth Skovhede 5afbc4e10f Fixed a problem with showing progress in the UI.
This fixes #1949
2016-09-27 20:47:41 +02:00
Kenneth Skovhede 0e76547b26 Implemented localization across all files in the ngax UI. 2016-09-19 22:09:50 +02:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
Kenneth Skovhede 51612aabf9 Added bug report progress information.
This fixes #1619
2016-03-13 16:23:58 +01:00