From ad9f4e46e604c8680990f9da8404ab14e6c616d9 Mon Sep 17 00:00:00 2001 From: SebClem Date: Fri, 13 Jan 2023 22:57:38 +0100 Subject: [PATCH] :hammer: Add addon auto stop and security menu --- .../BackupConfig/BackupConfigAddon.vue | 1 - .../BackupConfig/BackupConfigAutoClean.vue | 4 +- .../BackupConfig/BackupConfigAutoStop.vue | 34 +++++++++++ .../BackupConfig/BackupConfigSecurity.vue | 56 +++++++++++++++++++ .../components/settings/BackupConfigForm.vue | 13 +++++ .../frontend/src/services/configService.ts | 4 ++ 6 files changed, 109 insertions(+), 3 deletions(-) create mode 100644 nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigAutoStop.vue create mode 100644 nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigSecurity.vue diff --git a/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigAddon.vue b/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigAddon.vue index 0c1a717..2998f1b 100644 --- a/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigAddon.vue +++ b/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigAddon.vue @@ -31,7 +31,6 @@ import { watch } from "vue"; defineProps<{ loading: boolean }>(); const backupConfigStore = useBackupConfigStore(); - const { data, addons, invertedAddons } = storeToRefs(backupConfigStore); watch(invertedAddons, () => { data.value.exclude.addon = []; diff --git a/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigAutoClean.vue b/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigAutoClean.vue index 484c067..0a05e1b 100644 --- a/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigAutoClean.vue +++ b/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigAutoClean.vue @@ -9,7 +9,7 @@ + + + Auto Stop Addon + + +
+ +
+ + +
+
+ + + diff --git a/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigSecurity.vue b/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigSecurity.vue new file mode 100644 index 0000000..b19ea1d --- /dev/null +++ b/nextcloud_backup/frontend/src/components/settings/BackupConfig/BackupConfigSecurity.vue @@ -0,0 +1,56 @@ + + + diff --git a/nextcloud_backup/frontend/src/components/settings/BackupConfigForm.vue b/nextcloud_backup/frontend/src/components/settings/BackupConfigForm.vue index 7bc226d..bd9ed1a 100644 --- a/nextcloud_backup/frontend/src/components/settings/BackupConfigForm.vue +++ b/nextcloud_backup/frontend/src/components/settings/BackupConfigForm.vue @@ -55,6 +55,17 @@
+ + + + + + + + + + +