duplicati/Duplicati/Server/webroot/ngax/scripts/controllers/PauseController.js
Kenneth Skovhede 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

6 lines
236 B
JavaScript

backupApp.controller('PauseController', function($scope, $location, gettextCatalog) {
$scope.selection = $scope.$parent.state.CurrentItem;
$scope.selection.time = 'infinite';
$scope.selection.pauseTransfers = false;
});