Thomas Lamprecht
63ec56e5bc
utils: get help info: fix normalization with multiple minuses
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 16:27:43 +01:00
Thomas Lamprecht
1f905769b1
Revert "Utils: fix help section normalization"
...
replaceAll is not supported by all browser we try to guarantee to
support.
This reverts commit f7b816a399
.
2020-11-10 16:26:27 +01:00
Aaron Lauterer
f7b816a399
Utils: fix help section normalization
...
We need to replace all occurences when normalizing underscores or
dashes.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2020-11-10 11:53:29 +01:00
Thomas Lamprecht
6fb81c1519
enable ARIA again
...
we have everything updated to ExtJS 6.x since quite a bit, and some
quick checks on various components did not show any error - lets
enable this again.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-09 07:56:42 +01:00
Dominik Csapak
3571d71343
Utils: remove product specific task descriptions
...
we use 'override_task_descriptions' in the specific products to
add the ones that are not used everywhere
took the chance and sorted the remaining alphabetically
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-03 12:40:45 +01:00
Thomas Lamprecht
57ba4cdcb3
make subscription status check compare lower case
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-29 14:18:42 +01:00
Thomas Lamprecht
31780db0bb
eslint fixup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-23 13:24:20 +02:00
Dietmar Maurer
6221e40cdd
implement and use systemd_unescape
2020-10-22 12:10:29 +02:00
Hannes Laimer
c63c63111f
utils: add task description for directory removal
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
2020-10-22 08:48:46 +02:00
Thomas Lamprecht
abfc18575e
add Korean as translation choice
...
it was recently contributed by 김 주철
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-15 13:25:20 +02:00
Dominik Csapak
a1d40d37ed
Utils: improve matching groups of ip/host regexes
...
we only ever want to match the whole hostname/ip, never just some part of it
and we do not want to have the ':' as part of the port
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-10-01 10:09:41 +02:00
Thomas Lamprecht
6127ba8883
language_map: add Dutch
...
Contributed-by: Jorren Schauwaert <jorren.schauwaert@gmail.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-08-27 14:53:06 +02:00
Thomas Lamprecht
998237fcd7
utils: order languages after rendered name
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-08-27 14:52:44 +02:00
Thomas Lamprecht
a718654e76
utils: improve indentation and better check API result
...
to avoid dereferencing a null/undefined value.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-08-26 20:20:41 +02:00
Thomas Lamprecht
7f56fd0cb0
onlineHelp: try finding - and _ normalized blockid variants
...
allows easy support of both separation variants, commonly used in
asciidoc or sphinx.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-21 16:28:25 +02:00
Thomas Lamprecht
b6d1735ae1
followup: s/storedUser/storedAuth/
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-30 13:27:29 +02:00
Tim Marx
63252ab6ab
adapt auth utils for proxmox token authentication
...
Signed-off-by: Tim Marx <t.marx@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-30 13:25:14 +02:00
Dominik Csapak
f29e6a669e
Utils: add render_zfs_health
...
from pve-manager
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-25 15:58:18 +02:00
Dominik Csapak
b2d7d422ec
format_duration_human: say <0.1s instead of 0s
...
if we get a duration of <=0.1s it should actually be somewhere
betweeen 0 and 0.1 so return <0.1s
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-16 09:56:23 +02:00
Dominik Csapak
b1d446d0b2
show Task warnings differently
...
tasks can now show also 'WARNINGS: <count>'
filter it out and provide a 'parse_task_status' function for easy reuse
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-16 09:55:17 +02:00
Thomas Lamprecht
ecabd4379c
cleanly separate sources from package build, move to own folder
...
compared result with `diffoscope`, saw now difference
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 17:43:03 +02:00