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 E05B77D85C for ; Tue, 9 Nov 2021 12:28:23 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 38A7CB093 for ; Tue, 9 Nov 2021 12:27:48 +0100 (CET) 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 3F815B077 for ; Tue, 9 Nov 2021 12:27:33 +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 0EB3942669 for ; Tue, 9 Nov 2021 12:27:33 +0100 (CET) From: Wolfgang Bumiller To: pve-devel@lists.proxmox.com Date: Tue, 9 Nov 2021 12:27:10 +0100 Message-Id: <20211109112721.130935-22-w.bumiller@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211109112721.130935-1-w.bumiller@proxmox.com> References: <20211109112721.130935-1-w.bumiller@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.394 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 KAM_SHORT 0.001 Use of a URL Shortener for very short URL PROLO_LEO1 0.1 Meta Catches all Leo drug variations so far PROLO_LEO3 0.1 Meta Catches all Leo drug variations so far 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. [pveproxy.pm, message.data] Subject: [pve-devel] [PATCH manager 3/7] use u2f-api.js and qrcode.min.js from wtk 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, 09 Nov 2021 11:28:24 -0000 Signed-off-by: Wolfgang Bumiller --- PVE/Service/pveproxy.pm | 6 + www/Makefile | 2 - www/index.html.tpl | 4 +- www/qrcode.min.js | 1 - www/u2f-api.js | 748 ---------------------------------------- 5 files changed, 8 insertions(+), 753 deletions(-) delete mode 100644 www/qrcode.min.js delete mode 100644 www/u2f-api.js diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm index d10c4fe9..cff73332 100755 --- a/PVE/Service/pveproxy.pm +++ b/PVE/Service/pveproxy.pm @@ -120,6 +120,12 @@ sub init { '/proxmoxlib.js' =3D> { file =3D> "$basedirs->{widgettoolkit}/proxmoxlib.js", }, + '/qrcode.min.js' =3D> { + file =3D> "$basedirs->{widgettoolkit}/qrcode.min.js", + }, + '/u2f-api.js' =3D> { + file =3D> "$basedirs->{widgettoolkit}/u2f-api.js", + }, }, dirs =3D> $dirs, }; diff --git a/www/Makefile b/www/Makefile index 639ad4b4..b9857fc1 100644 --- a/www/Makefile +++ b/www/Makefile @@ -8,8 +8,6 @@ install: set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done install -m 0644 index.html.tpl ${WWWBASEDIR} install -d ${WWWJSDIR} - install -m 0644 u2f-api.js ${WWWJSDIR} - install -m 0644 qrcode.min.js ${WWWJSDIR} =20 .PHONY: check check: diff --git a/www/index.html.tpl b/www/index.html.tpl index 7f07ea18..62a6eff1 100644 --- a/www/index.html.tpl +++ b/www/index.html.tpl @@ -24,8 +24,8 @@ [% END %] - - +