Dominik Csapak
13799d5b9e
ui: eslint: fix undefined check
...
'typeof' cannot return 'undefined' only the string '"undefined"', newer
eslint versions detect that as error
to fix it, directly check it for undefined instead of using typeof
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-09-16 12:50:56 +02:00
Thomas Lamprecht
26f68e6534
ui: storage: add namespace support when creating PBS storage
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-12 15:07:38 +02:00
Dominik Csapak
4b105ec574
ui: storage/PBSEdit: do not send server on edit
...
it's a fixed value for the storage config, so the api would reject it
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-10-28 15:55:42 +02:00
Lorenz Stechauner
ae595bc16c
ui: storage/PBSEdit: add port to server field
...
this gives users the chance to supply the port nr in the gui,
without having to add a extra new field to the panel.
using the same implementation as in RemoteEdit.js in PBS.
Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
2021-10-28 15:46:24 +02:00
Dominik Csapak
6c23fbbec0
fix #3620 : ui: dc/storage: delete empty pbs fingerprint on edit
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-13 12:36:32 +02:00
Dominic Jäger
f9fa832270
ui: storage/PBS edit: eslint fixes
...
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
2021-05-19 12:12:36 +02:00
Thomas Lamprecht
8058410f40
ui: eslint: fix various spacing related issues
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:39:15 +01:00
Fabian Grünbichler
a6f6ed5a06
ui: don't refer to enc key as 'master key'
...
the master key is something entirely different, this might confuse
users..
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-11-26 10:42:20 +01:00
Thomas Lamprecht
903e646d7c
ui: pbs: set onlineHelp (again)
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-25 16:19:50 +01:00
Dominik Csapak
13a0434066
ui: pbs key show: improve labelWidth for 'Key' in translations
...
it is not that short in other languages, e.g. German
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-25 13:19:30 +01:00
Dominic Jäger
ba854589f4
ui: storage: pbsedit: Fix spelling
...
No e in unusable.
to loose means to free from restraint, or to make less tight or strict [1].
to lose means to fail to keep, or to miss something from one's possession [2].
So "losing" (instead of "loosing") would be bad.
[0] https://www.merriam-webster.com/dictionary/unusable
[1] https://www.merriam-webster.com/dictionary/loose
[2] https://www.merriam-webster.com/dictionary/lose
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
2020-11-25 13:16:30 +01:00
Thomas Lamprecht
cfc3a1665a
ui: storage: pbs paperkey: print short fingerprint in heading
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-24 23:32:20 +01:00
Thomas Lamprecht
db364c61bb
ui: storage: pbs: move datastore field to right column for balance
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-24 23:10:26 +01:00
Thomas Lamprecht
14ba33fbff
ui: storage: pbs: improve encryption key handling
...
Move encryption key handling in its own tab.
Allow uploads, warn more visible on edit/remove
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-24 23:10:26 +01:00
Thomas Lamprecht
5b7ab402c4
ui: storage: pbs: add hint for backup retention
...
Normally it's better to configure pruning (backup retention) on the
backup server only, as then multiple client settings may not
interfere with each other due to outdated or to strict prune
settings (remember, the strictest prune setting always wins).
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-23 19:33:02 +01:00
Thomas Lamprecht
370fc0c498
storage: drop max backup fields, replaced by pruning
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-23 19:33:02 +01:00
Thomas Lamprecht
d1a7c6ee15
ui: storage/PBS: allow to download/print new encryption key
...
note that the key is really important, add our recommended backup
strategy (copy to PW manager, save onto secured USB drive, print
paperkey and secure it) with the respective buttons to do so.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-15 16:46:02 +01:00
Thomas Lamprecht
57e40406de
ui: storage/PBS: drop beta hint
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-15 14:56:37 +01:00
Thomas Lamprecht
76fa1b432a
ui: pbs: allow empty fingerprint
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-23 15:09:46 +02:00
Thomas Lamprecht
34b53ccc82
ui: fix PBS edit typos
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-08-19 15:48:51 +02:00
Thomas Lamprecht
d3d1e19912
ui: fixup gettext quoting
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-08-18 18:27:43 +02:00
Hannes Laimer
648696b50b
ui: Close #2908 : fixed password validator for adding PBS as storage
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
2020-08-03 08:08:08 +02:00
Thomas Lamprecht
f3d7d0023c
followup: use true as inputValue
...
and normalize original value comparison, just to be sure.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-24 19:31:31 +02:00
Thomas Lamprecht
303dc33fde
ui: Proxmox Backup: allow to autogenerate an encryption key
...
a bit more complicated than wished, but if we want to have at least a
bsaic OK user experience we need to give good feedback that the key
will be deleted.
We definitively want to extend this, allow uploading their own,
export if root@pam, only move not delete on "removal", for safety.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-24 19:17:50 +02:00
Thomas Lamprecht
21a80d8a35
ui: storage: adapt pbs hint sligtly
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-09 20:09:51 +02:00
Thomas Lamprecht
6c9c7d03f3
ui: storage: add beta hint to PBS panel
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-08 14:55:17 +02:00
Thomas Lamprecht
ee19d33178
ui: add PBS edit input panel
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-07 18:29:09 +02:00