public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Wolfgang Bumiller <w.bumiller@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: Re: [pbs-devel] [RFC backup 6/6] gui: tfa support
Date: Tue, 24 Nov 2020 10:42:01 +0100	[thread overview]
Message-ID: <20201124094201.tuamohy25lodgvdu@wobu-vie.proxmox.com> (raw)
In-Reply-To: <20201119145608.16866-7-w.bumiller@proxmox.com>

2 notes:

On Thu, Nov 19, 2020 at 03:56:08PM +0100, Wolfgang Bumiller wrote:
> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
> ---
>  www/LoginView.js             | 323 +++++++++++++++++++++++++++++++++--
>  www/Makefile                 |   6 +
>  www/OnlineHelpInfo.js        |  36 ----
>  www/Utils.js                 |  59 +++++++
>  www/config/TfaView.js        | 322 ++++++++++++++++++++++++++++++++++
>  www/index.hbs                |   1 +
>  www/panel/AccessControl.js   |   6 +
>  www/window/AddTfaRecovery.js | 211 +++++++++++++++++++++++
>  www/window/AddTotp.js        | 283 ++++++++++++++++++++++++++++++
>  www/window/AddWebauthn.js    | 193 +++++++++++++++++++++
>  www/window/TfaEdit.js        |  92 ++++++++++
>  11 files changed, 1478 insertions(+), 54 deletions(-)
>  create mode 100644 www/config/TfaView.js
>  create mode 100644 www/window/AddTfaRecovery.js
>  create mode 100644 www/window/AddTotp.js
>  create mode 100644 www/window/AddWebauthn.js
>  create mode 100644 www/window/TfaEdit.js
> 
> diff --git a/www/Makefile b/www/Makefile
> index 1df2195a..86e0516e 100644
> --- a/www/Makefile
> +++ b/www/Makefile
> @@ -16,12 +16,16 @@ JSSRC=							\
>  	data/RunningTasksStore.js			\
>  	button/TaskButton.js				\
>  	config/UserView.js				\
> +	config/TfaView.js				\
>  	config/TokenView.js				\
>  	config/RemoteView.js				\
>  	config/ACLView.js				\
>  	config/SyncView.js				\
>  	config/VerifyView.js				\
>  	window/ACLEdit.js				\
> +	window/AddTfaRecovery.js			\
> +	window/AddTotp.js				\
> +	window/AddWebauthn.js				\
>  	window/BackupFileDownloader.js			\
>  	window/BackupGroupChangeOwner.js		\
>  	window/CreateDirectory.js			\
> @@ -34,6 +38,7 @@ JSSRC=							\
>  	window/UserEdit.js				\
>  	window/UserPassword.js				\
>  	window/TokenEdit.js				\
> +	window/TfaEdit.js				\
>  	window/VerifyJobEdit.js				\
>  	window/ZFSCreate.js				\
>  	dashboard/DataStoreStatistics.js		\
> @@ -100,6 +105,7 @@ install: js/proxmox-backup-gui.js css/ext6-pbs.css index.hbs
>  	install -m644 index.hbs $(DESTDIR)$(JSDIR)/
>  	install -dm755 $(DESTDIR)$(JSDIR)/js
>  	install -m644 js/proxmox-backup-gui.js $(DESTDIR)$(JSDIR)/js/
> +	install -m 0644 qrcode.min.js $(DESTDIR)$(JSDIR)/

FYI this is a leftover from before the this was packaged separately,
needs to be removed when building a package without the file present.

>  	install -dm755 $(DESTDIR)$(JSDIR)/css
>  	install -m644 css/ext6-pbs.css $(DESTDIR)$(JSDIR)/css/
>  	install -dm755 $(DESTDIR)$(JSDIR)/images
> diff --git a/www/OnlineHelpInfo.js b/www/OnlineHelpInfo.js
> index aee73bf6..c54912d8 100644
> --- a/www/OnlineHelpInfo.js
> +++ b/www/OnlineHelpInfo.js

The changs in this file were a build artifact...?

> @@ -75,42 +75,6 @@ const proxmoxOnlineHelpInfo = {
>      "link": "/docs/pve-integration.html#pve-integration",
>      "title": "`Proxmox VE`_ Integration"
>    },
> -  "rst-primer": {
> -    "link": "/docs/reStructuredText-primer.html#rst-primer",
> -    "title": "reStructuredText Primer"
> -  },
> -  "rst-inline-markup": {
> -    "link": "/docs/reStructuredText-primer.html#rst-inline-markup",
> -    "title": "Inline markup"
> -  },
> -  "rst-literal-blocks": {
> -    "link": "/docs/reStructuredText-primer.html#rst-literal-blocks",
> -    "title": "Literal blocks"
> -  },
> -  "rst-doctest-blocks": {
> -    "link": "/docs/reStructuredText-primer.html#rst-doctest-blocks",
> -    "title": "Doctest blocks"
> -  },
> -  "rst-tables": {
> -    "link": "/docs/reStructuredText-primer.html#rst-tables",
> -    "title": "Tables"
> -  },
> -  "rst-field-lists": {
> -    "link": "/docs/reStructuredText-primer.html#rst-field-lists",
> -    "title": "Field Lists"
> -  },
> -  "rst-roles-alt": {
> -    "link": "/docs/reStructuredText-primer.html#rst-roles-alt",
> -    "title": "Roles"
> -  },
> -  "rst-directives": {
> -    "link": "/docs/reStructuredText-primer.html#rst-directives",
> -    "title": "Directives"
> -  },
> -  "html-meta": {
> -    "link": "/docs/reStructuredText-primer.html#html-meta",
> -    "title": "HTML Metadata"
> -  },
>    "storage-disk-management": {
>      "link": "/docs/storage.html#storage-disk-management",
>      "title": "Disk Management"




  reply	other threads:[~2020-11-24  9:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19 14:56 [pbs-devel] [RFC backup 0/6] Two factor authentication Wolfgang Bumiller
2020-11-19 14:56 ` [pbs-devel] [RFC backup 1/6] add tools::serde_filter submodule Wolfgang Bumiller
2020-11-19 14:56 ` [pbs-devel] [RFC backup 2/6] config: add tfa configuration Wolfgang Bumiller
2020-11-19 14:56 ` [pbs-devel] [RFC backup 3/6] api: tfa management and login Wolfgang Bumiller
2020-11-19 14:56 ` [pbs-devel] [RFC backup 4/6] depend on libjs-qrcodejs Wolfgang Bumiller
2020-11-19 14:56 ` [pbs-devel] [RFC backup 5/6] proxy: expose qrcodejs Wolfgang Bumiller
2020-11-19 14:56 ` [pbs-devel] [RFC backup 6/6] gui: tfa support Wolfgang Bumiller
2020-11-24  9:42   ` Wolfgang Bumiller [this message]
2020-11-24  9:51     ` Thomas Lamprecht
2020-12-02 10:56 ` [pbs-devel] [RFC backup 0/6] Two factor authentication Oguz Bektas
2020-12-02 12:27   ` Thomas Lamprecht
2020-12-02 12:34     ` Thomas Lamprecht
2020-12-02 12:48       ` Oguz Bektas
2020-12-02 12:59         ` Wolfgang Bumiller
2020-12-02 13:08           ` Oguz Bektas
2020-12-02 12:35     ` Oguz Bektas
2020-12-02 12:51       ` Wolfgang Bumiller
2020-12-02 13:15         ` Thomas Lamprecht
2020-12-02 13:07       ` Thomas Lamprecht
2020-12-02 13:35         ` Oguz Bektas
2020-12-02 14:05           ` Thomas Lamprecht
2020-12-02 14:21             ` Oguz Bektas
2020-12-02 14:29               ` Wolfgang Bumiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201124094201.tuamohy25lodgvdu@wobu-vie.proxmox.com \
    --to=w.bumiller@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal