From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 00FED69D84 for ; Fri, 12 Mar 2021 13:29:46 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id EBC38324F9 for ; Fri, 12 Mar 2021 13:29:15 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id EAA53324EA for ; Fri, 12 Mar 2021 13:29:14 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id B02F24637F for ; Fri, 12 Mar 2021 13:29:14 +0100 (CET) From: Dominik Csapak To: pbs-devel@lists.proxmox.com Date: Fri, 12 Mar 2021 13:29:12 +0100 Message-Id: <20210312122913.29451-2-d.csapak@proxmox.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210312122913.29451-1-d.csapak@proxmox.com> References: <20210312122913.29451-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.189 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] [PATCH proxmox-backup 1/2] ui: remove unecessary storeids X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2021 12:29:46 -0000 they are not required by the UpdateStore anymore and serve no purpose Signed-off-by: Dominik Csapak --- www/Dashboard.js | 3 --- www/NavigationTree.js | 2 -- www/config/ACLView.js | 1 - www/config/RemoteView.js | 1 - www/config/SyncView.js | 1 - www/config/TfaView.js | 2 -- www/config/TokenView.js | 3 --- www/config/UserView.js | 1 - www/config/VerifyView.js | 1 - www/dashboard/DataStoreStatistics.js | 1 - www/dashboard/LongestTasks.js | 1 - www/data/RunningTasksStore.js | 1 - www/datastore/DataStoreList.js | 2 -- www/tape/BackupJobs.js | 1 - www/tape/ChangerConfig.js | 1 - www/tape/DriveConfig.js | 1 - www/tape/EncryptionKeys.js | 1 - www/tape/PoolConfig.js | 1 - www/tape/TapeInventory.js | 1 - 19 files changed, 26 deletions(-) diff --git a/www/Dashboard.js b/www/Dashboard.js index 52107a8e..80a0702f 100644 --- a/www/Dashboard.js +++ b/www/Dashboard.js @@ -193,7 +193,6 @@ Ext.define('PBS.Dashboard', { stores: { usage: { - storeid: 'dash-usage', type: 'update', interval: 3000, autoStart: true, @@ -208,7 +207,6 @@ Ext.define('PBS.Dashboard', { }, }, subscription: { - storeid: 'dash-subscription', type: 'update', interval: 10000, autoStart: true, @@ -223,7 +221,6 @@ Ext.define('PBS.Dashboard', { }, }, tasks: { - storeid: 'dash-tasks', type: 'update', interval: 15000, autoStart: true, diff --git a/www/NavigationTree.js b/www/NavigationTree.js index 6d288f09..c609d9a4 100644 --- a/www/NavigationTree.js +++ b/www/NavigationTree.js @@ -111,7 +111,6 @@ Ext.define('PBS.view.main.NavigationTree', { view.rstore = Ext.create('Proxmox.data.UpdateStore', { autoStart: true, interval: 15 * 1000, - storeid: 'pbs-datastore-list', model: 'pbs-datastore-list', }); @@ -123,7 +122,6 @@ Ext.define('PBS.view.main.NavigationTree', { view.tapestore = Ext.create('Proxmox.data.UpdateStore', { autoStart: true, interval: 60 * 1000, - storeid: 'pbs-tape-drive-list', model: 'pbs-tape-drive-list', }); view.tapestore.on('load', this.onTapeDriveLoad, this); diff --git a/www/config/ACLView.js b/www/config/ACLView.js index bab929a2..a3da8b50 100644 --- a/www/config/ACLView.js +++ b/www/config/ACLView.js @@ -141,7 +141,6 @@ Ext.define('PBS.config.ACLView', { sorters: 'aclid', rstore: { type: 'update', - storeid: 'pmx-acls', model: 'pmx-acls', interval: 5000, }, diff --git a/www/config/RemoteView.js b/www/config/RemoteView.js index bf55e02c..646d3ea7 100644 --- a/www/config/RemoteView.js +++ b/www/config/RemoteView.js @@ -83,7 +83,6 @@ Ext.define('PBS.config.RemoteView', { sorters: 'name', rstore: { type: 'update', - storeid: 'pmx-remotes', model: 'pmx-remotes', autoStart: true, interval: 5000, diff --git a/www/config/SyncView.js b/www/config/SyncView.js index 7d7e751c..fdf6d256 100644 --- a/www/config/SyncView.js +++ b/www/config/SyncView.js @@ -134,7 +134,6 @@ Ext.define('PBS.config.SyncJobView', { sorters: 'id', rstore: { type: 'update', - storeid: 'pbs-sync-jobs-status', model: 'pbs-sync-jobs-status', interval: 5000, }, diff --git a/www/config/TfaView.js b/www/config/TfaView.js index 26f0e7b2..4fbccc03 100644 --- a/www/config/TfaView.js +++ b/www/config/TfaView.js @@ -30,7 +30,6 @@ Ext.define('PBS.config.TfaView', { rstore: { type: 'store', proxy: 'memory', - storeid: 'pbs-tfa-entry', model: 'pbs-tfa-entry', }, }, @@ -43,7 +42,6 @@ Ext.define('PBS.config.TfaView', { view.tfaStore = Ext.create('Proxmox.data.UpdateStore', { autoStart: true, interval: 5 * 1000, - storeid: 'pbs-tfa-users', model: 'pbs-tfa-users', }); view.tfaStore.on('load', this.onLoad, this); diff --git a/www/config/TokenView.js b/www/config/TokenView.js index 6282a4d4..6cd1d7c2 100644 --- a/www/config/TokenView.js +++ b/www/config/TokenView.js @@ -39,8 +39,6 @@ Ext.define('PBS.config.TokenView', { view.userStore = Ext.create('Proxmox.data.UpdateStore', { autoStart: true, interval: 5 * 1000, - storeId: 'pbs-users-with-tokens', - storeid: 'pbs-users-with-tokens', model: 'pbs-users-with-tokens', }); view.userStore.on('load', this.onLoad, this); @@ -137,7 +135,6 @@ Ext.define('PBS.config.TokenView', { rstore: { type: 'store', proxy: 'memory', - storeid: 'pbs-tokens', model: 'pbs-tokens', }, }, diff --git a/www/config/UserView.js b/www/config/UserView.js index ae313776..9d58e0a7 100644 --- a/www/config/UserView.js +++ b/www/config/UserView.js @@ -114,7 +114,6 @@ Ext.define('PBS.config.UserView', { sorters: 'userid', rstore: { type: 'update', - storeid: 'pmx-users', model: 'pmx-users', autoStart: true, interval: 5000, diff --git a/www/config/VerifyView.js b/www/config/VerifyView.js index 91ce3a43..fd599cb3 100644 --- a/www/config/VerifyView.js +++ b/www/config/VerifyView.js @@ -129,7 +129,6 @@ Ext.define('PBS.config.VerifyJobView', { sorters: 'id', rstore: { type: 'update', - storeid: 'pbs-verify-jobs-status', model: 'pbs-verify-jobs-status', interval: 5000, }, diff --git a/www/dashboard/DataStoreStatistics.js b/www/dashboard/DataStoreStatistics.js index 13e1d160..eebbcfaa 100644 --- a/www/dashboard/DataStoreStatistics.js +++ b/www/dashboard/DataStoreStatistics.js @@ -125,7 +125,6 @@ Ext.define('PBS.DatastoreStatistics', { sorters: 'store', rstore: { type: 'update', - storeid: 'pbs-datastore-statistics', model: 'pbs-datastore-statistics', autoStart: true, interval: 30000, diff --git a/www/dashboard/LongestTasks.js b/www/dashboard/LongestTasks.js index 20cf1183..b5488684 100644 --- a/www/dashboard/LongestTasks.js +++ b/www/dashboard/LongestTasks.js @@ -66,7 +66,6 @@ Ext.define('PBS.LongestTasks', { }, ], rstore: { - storeid: 'proxmox-tasks-dash', type: 'store', model: 'proxmox-tasks', proxy: { diff --git a/www/data/RunningTasksStore.js b/www/data/RunningTasksStore.js index 1f8cf04c..2a007236 100644 --- a/www/data/RunningTasksStore.js +++ b/www/data/RunningTasksStore.js @@ -8,7 +8,6 @@ Ext.define('PBS.data.RunningTasksStore', { config = config || {}; Ext.apply(config, { interval: 3000, - storeid: 'pbs-running-tasks-dash', model: 'proxmox-tasks', proxy: { type: 'proxmox', diff --git a/www/datastore/DataStoreList.js b/www/datastore/DataStoreList.js index 353709d3..0d5f934f 100644 --- a/www/datastore/DataStoreList.js +++ b/www/datastore/DataStoreList.js @@ -133,7 +133,6 @@ Ext.define('PBS.datastore.DataStoreList', { me.since = (Date.now()/1000 - 30 * 24*3600).toFixed(0); me.usageStore = Ext.create('Proxmox.data.UpdateStore', { - storeid: 'datastore-overview-usage', interval: 5000, proxy: { type: 'proxmox', @@ -148,7 +147,6 @@ Ext.define('PBS.datastore.DataStoreList', { }); me.taskStore = Ext.create('Proxmox.data.UpdateStore', { - storeid: 'datastore-overview-tasks', interval: 15000, model: 'proxmox-tasks', proxy: { diff --git a/www/tape/BackupJobs.js b/www/tape/BackupJobs.js index 84b260b9..badc7c6c 100644 --- a/www/tape/BackupJobs.js +++ b/www/tape/BackupJobs.js @@ -128,7 +128,6 @@ Ext.define('PBS.config.TapeBackupJobView', { sorters: 'id', rstore: { type: 'update', - storeid: 'pbs-tape-backup-job-status', model: 'pbs-tape-backup-job-status', interval: 5000, }, diff --git a/www/tape/ChangerConfig.js b/www/tape/ChangerConfig.js index 1c048b23..0d9f6db6 100644 --- a/www/tape/ChangerConfig.js +++ b/www/tape/ChangerConfig.js @@ -72,7 +72,6 @@ Ext.define('PBS.TapeManagement.ChangerPanel', { type: 'diff', rstore: { type: 'update', - storeid: 'proxmox-tape-changers', model: 'pbs-model-changers', proxy: { type: 'proxmox', diff --git a/www/tape/DriveConfig.js b/www/tape/DriveConfig.js index 40d4b2a9..a65de63a 100644 --- a/www/tape/DriveConfig.js +++ b/www/tape/DriveConfig.js @@ -89,7 +89,6 @@ Ext.define('PBS.TapeManagement.DrivePanel', { type: 'diff', rstore: { type: 'update', - storeid: 'proxmox-tape-drives', model: 'pbs-model-drives', proxy: { type: 'proxmox', diff --git a/www/tape/EncryptionKeys.js b/www/tape/EncryptionKeys.js index a4f91ccc..6420f10f 100644 --- a/www/tape/EncryptionKeys.js +++ b/www/tape/EncryptionKeys.js @@ -84,7 +84,6 @@ Ext.define('PBS.TapeManagement.EncryptionPanel', { type: 'diff', rstore: { type: 'update', - storeid: 'proxmox-tape-encryption-keys', model: 'pbs-tape-encryption-keys', proxy: { type: 'proxmox', diff --git a/www/tape/PoolConfig.js b/www/tape/PoolConfig.js index 3f3e1a18..9b09bae5 100644 --- a/www/tape/PoolConfig.js +++ b/www/tape/PoolConfig.js @@ -75,7 +75,6 @@ Ext.define('PBS.TapeManagement.PoolPanel', { type: 'diff', rstore: { type: 'update', - storeid: 'proxmox-tape-media-pools', model: 'pbs-model-media-pool', proxy: { type: 'proxmox', diff --git a/www/tape/TapeInventory.js b/www/tape/TapeInventory.js index 555445ff..b23d04e1 100644 --- a/www/tape/TapeInventory.js +++ b/www/tape/TapeInventory.js @@ -171,7 +171,6 @@ Ext.define('PBS.TapeManagement.TapeInventory', { }, store: { - storeid: 'proxmox-tape-tapes', model: 'pbs-model-tapes', sorters: 'label-text', groupField: 'pool', -- 2.20.1