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 3FE086B965 for ; Wed, 27 Jan 2021 11:34:41 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 7EC95211CA for ; Wed, 27 Jan 2021 11:34:09 +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 8895421041 for ; Wed, 27 Jan 2021 11:34:05 +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 5331746127 for ; Wed, 27 Jan 2021 11:34:05 +0100 (CET) From: Dominik Csapak To: pbs-devel@lists.proxmox.com Date: Wed, 27 Jan 2021 11:33:46 +0100 Message-Id: <20210127103401.32535-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.254 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [media.rs, mod.rs, drive.rs, changer.rs, backup.rs] Subject: [pbs-devel] [PATCH proxmox-backup 00/15] implement first version of tape gui 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: Wed, 27 Jan 2021 10:34:41 -0000 it's a very rough beginning, mostly so that we can test the features on the webui its still not baked in by default, and there are things missing (e.g. restore, encryption, etc) also the ux is not representable of what i have in mind for the finished gui, e.g. * a first setup wizard * a wizard for creating/extending media pools etc. i'd love some feedback though Dominik Csapak (15): api2/types/tape/drive: add changer_drivenum api2/tape/changer: add get_drives api call api2/tape/drive: reorganize drive api api2/tape: add missing protected to some api calls api2/tape/drive: add load_media as api call api2/tape/drive: change methods of some api calls from put to get api2/config/{drive,changer}: prevent adding same device multiple times ui: tape: add form fields ui: tape: add Edit Windows ui: tape: add BackupOverview Panel ui: tape: add ChangerStatus panel ui: tape: add DriveConfig panel ui: tape: add PoolConfig ui: tape: move TapeManagement.js to tape dir ui: tape: use panels in tape interface src/api2/config/changer.rs | 13 +- src/api2/config/drive.rs | 38 +- src/api2/config/media_pool.rs | 3 + src/api2/tape/backup.rs | 1 + src/api2/tape/changer.rs | 72 ++- src/api2/tape/drive.rs | 82 ++- src/api2/tape/media.rs | 2 + src/api2/tape/mod.rs | 5 + src/api2/types/tape/drive.rs | 4 + src/bin/proxmox_tape/drive.rs | 2 +- www/Makefile | 18 +- www/TapeManagement.js | 11 - www/tape/BackupOverview.js | 150 ++++++ www/tape/ChangerStatus.js | 631 ++++++++++++++++++++++++ www/tape/DriveConfig.js | 316 ++++++++++++ www/tape/PoolConfig.js | 119 +++++ www/tape/TapeManagement.js | 35 ++ www/tape/form/AllocationSelector.js | 31 ++ www/tape/form/ChangerSelector.js | 60 +++ www/tape/form/DriveSelector.js | 69 +++ www/tape/form/PoolSelector.js | 44 ++ www/tape/form/RetentionSelector.js | 26 + www/tape/form/TapeDevicePathSelector.js | 62 +++ www/tape/window/ChangerEdit.js | 50 ++ www/tape/window/DriveEdit.js | 77 +++ www/tape/window/LabelMedia.js | 47 ++ www/tape/window/PoolEdit.js | 69 +++ www/tape/window/TapeBackup.js | 43 ++ 28 files changed, 2026 insertions(+), 54 deletions(-) delete mode 100644 www/TapeManagement.js create mode 100644 www/tape/BackupOverview.js create mode 100644 www/tape/ChangerStatus.js create mode 100644 www/tape/DriveConfig.js create mode 100644 www/tape/PoolConfig.js create mode 100644 www/tape/TapeManagement.js create mode 100644 www/tape/form/AllocationSelector.js create mode 100644 www/tape/form/ChangerSelector.js create mode 100644 www/tape/form/DriveSelector.js create mode 100644 www/tape/form/PoolSelector.js create mode 100644 www/tape/form/RetentionSelector.js create mode 100644 www/tape/form/TapeDevicePathSelector.js create mode 100644 www/tape/window/ChangerEdit.js create mode 100644 www/tape/window/DriveEdit.js create mode 100644 www/tape/window/LabelMedia.js create mode 100644 www/tape/window/PoolEdit.js create mode 100644 www/tape/window/TapeBackup.js -- 2.20.1