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 4CF88C961; Tue, 12 Apr 2022 12:34:35 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 18862D2EF; Tue, 12 Apr 2022 12:34:35 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (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 5C934D2D6; Tue, 12 Apr 2022 12:34:34 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 261A44164F; Tue, 12 Apr 2022 12:34:34 +0200 (CEST) From: Stefan Sterz To: pbs-devel@lists.proxmox.com, pve-devel@lists.proxmox.com Date: Tue, 12 Apr 2022 12:34:18 +0200 Message-Id: <20220412103423.3845322-1-s.sterz@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.025 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] [PATCH proxmox-backup v5 0/5] fix 3067: add notes functionality in webui X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2022 10:34:35 -0000 adds support for markdown-based notes to pbs. It also refactors the pve `NotesView` panel and `NotesEdit` window so that we can move it to the widget toolkit and maintain a single version of the two. hence, the last commits for proxmox-backup and pve-manager need to be applied and bumped with or after the toolkit. changes v5: * split commit adding NotesEdit and NotesView to widget kit into two commits * several minort improvements to NotesEdit and NotesView changes v4 (thanks @ Thomas Lamprecht): * several improvements to NotesView * makes onlineHelp of the NotesEdit window used by NotesView configurable changes v3 (thanks @ Dominik Csapak): * refactored NotesView and NotesEdit * removed notes from dashboard * several javascrpt improvements changes v2 (thanks @ Wolfgang Bumiller): * performance improvements when parsing/writing a node configuration * adjusted multi-line regex to remove superfluous "\s*" * better formatting of rust code Stefan Sterz (2): fix #3067: docs: add markdown primer from pve to pbs fix #3067: ui: add a separate notes view for longer markdown notes docs/index.rst | 1 + docs/markdown-primer.rst | 178 +++++++++++++++++++++++++++++++++++++++ www/Makefile | 1 + www/NavigationTree.js | 6 ++ www/NodeNotes.js | 23 +++++ 5 files changed, 209 insertions(+) create mode 100644 docs/markdown-primer.rst create mode 100644 www/NodeNotes.js Stefan Sterz (2): toolkit: add NotesView panel and NotesEdit window toolkit: refactor markdown based NotesView and NotesEdit src/Makefile | 2 + src/panel/NotesView.js | 152 ++++++++++++++++++++++++++++++++++++++++ src/window/NotesEdit.js | 38 ++++++++++ 3 files changed, 192 insertions(+) create mode 100644 src/panel/NotesView.js create mode 100644 src/window/NotesEdit.js Stefan Sterz (1): ui: move NotesView panel and NotesEdit window to widget kit www/manager6/Makefile | 2 - www/manager6/dc/Config.js | 2 +- www/manager6/node/Config.js | 2 +- www/manager6/panel/GuestSummary.js | 2 +- www/manager6/panel/NotesView.js | 129 ----------------------------- www/manager6/window/NotesEdit.js | 38 --------- 6 files changed, 3 insertions(+), 172 deletions(-) delete mode 100644 www/manager6/panel/NotesView.js delete mode 100644 www/manager6/window/NotesEdit.js -- 2.30.2