Commit Graph

445 Commits

Author SHA1 Message Date
Thomas Lamprecht
4b21b8cc8e bump version to 2.3-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 12:09:02 +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
Dominik Csapak
5efbff97f8 comboGrid: set errorMask on store load failure
if there occured an error in the api call of the store, show this error
on the picker when opened, instead of just showing an empty picker

this makes it possible to see that there was an error while accessing the api

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-09 08:01:11 +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
Thomas Lamprecht
58c180044a bump version to 2.3-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-03 17:52:09 +01:00
Thomas Lamprecht
20bf242648 Revert "css: avoid inherit of font-size on .fa class, set to 14px"
this is not yet safe everywhere, makes some dashboard icons quite
small

This reverts commit 96ffa5693e.
2020-11-03 17:51:12 +01:00
Thomas Lamprecht
2c0a748f42 task type selector: add clear trigger
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-03 14:41:43 +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
96ffa5693e css: avoid inherit of font-size on .fa class, set to 14px
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-03 12:40:14 +01:00
Thomas Lamprecht
017e3e306d bump version to 2.3-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-02 07:49:27 +01:00
Thomas Lamprecht
16f2ad9717 buildsys: improve clean target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-02 07:41:30 +01:00
Thomas Lamprecht
7bb32b58d1 css: improve icon rendering
Font Awesome is intended to be used at 14px font-size, we set that
already over product specific CSS for some elements like buttons.

But, for tab panel icons and tree navigation views it was often
overruled by ExtJS to 13px which made look them quite blurry and even
the position was a bit off (to high when compared to the texts
baseline.

Fix that by overwriting the font-size to 14px of the
x-treelist-item-icon and x-tab-icon-el-default class, for the latter
improve the icon to text possition by setting a slight top margin.

Setting the color to black was already done by each product, so move
that over here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-31 09:58:18 +01:00
Dominik Csapak
050c168499 add form/TaskTypeSelector
for suggesting workery types when we want to filter by them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-10-30 18:19:33 +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
fa94468a0f bump version to 2.3-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-28 18:39:44 +01:00
Fabian Grünbichler
b99a771b5f add PermissionView
copied from pve-manager, but handling both '1' and 'true' as propagate
values, and making the authentication ID name/parameter configurable.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-10-28 13:14:31 +01:00
Thomas Lamprecht
9244bb7242 edit window: add extraParams config
For passing some default params which are passed along automatically
when calling load and doing the submit.

Useful in PBS, as there we often have the snapshot ID in multiple
parameters, not included in the request path, required for various
API call.

The params take low precendence, and are overwritten by values in
form fields with the same name for submit, or explicit params passed
to load calls

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-28 13:12:03 +01:00
Thomas Lamprecht
1289d32611 edit window: whitespace/newline cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-28 12:53:52 +01:00
Thomas Lamprecht
ca204f31df window/edit: add autoLoadOptions to control API call
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-28 11:36:14 +01:00
Thomas Lamprecht
e951e37de4 bump version to 2.3-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-27 18:34:44 +01:00
Thomas Lamprecht
a9bea10488 HostPort vtype: improve error message
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-27 16:40:46 +01:00
Dominik Csapak
0f687dd7b5 InfoWidget: add setData, so that we can bind it
with a setData function that calls our updateValue, we can now use
viewModel bind to update those widgets

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-10-23 20:34:14 +02:00
Dominik Csapak
4b44709a83 InfoWidget: eslint fixes
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-10-23 20:34:14 +02:00
Dominik Csapak
9354dc13a2 add info widget from pve
we want to reuse that, so copy it here and rename it to pmxInfoWidget

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-10-23 20:34:14 +02:00
Dominik Csapak
98d894d85a improve multiselect behaviour for checkboxmodel
when using the mode 'MULTI' for the checkbox selection model,
clicking a row would deselect all others, only clicking exactly on the
checkbox would select multiple rows

this override makes the whole cell of the checkbox behave like the
checkbox. This minimizes misclicks from the user.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-10-23 13:24:45 +02: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
2efe08de95 bump version to 2.3-4 2020-10-22 12:13:01 +02:00
Dietmar Maurer
6221e40cdd implement and use systemd_unescape 2020-10-22 12:10:29 +02:00
Thomas Lamprecht
51674ecc27 bump version to 2.3-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-22 08:53:21 +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
Hannes Laimer
12159d2cbd safe-destroy: add possibility to show a small note
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
2020-10-22 08:48:46 +02:00
Hannes Laimer
cbb36e759b safe-destroy: replace var with let/const
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
2020-10-22 08:48:46 +02:00
Hannes Laimer
b8b160d6e4 safe-destroy: replace type with purgeable and taskName
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
2020-10-22 08:48:46 +02:00
Hannes Laimer
90cb5fafad safe-destroy: eslint --fix
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
2020-10-22 08:48:46 +02:00
Hannes Laimer
8d86570caa safe-destroy: move SafeDestroy from pve-manager here
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
2020-10-22 08:48:46 +02:00
Dietmar Maurer
9427d6a988 correctly encode upid paramenter (use encodeURIComponent) 2020-10-22 08:48:14 +02:00
Thomas Lamprecht
c6047c4a1e bump version to 2.3-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-15 13:27:34 +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
Thomas Lamprecht
17ee839f6b bump version to 2.3-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-01 15:27:25 +02:00
Dominik Csapak
5252b7f12b Toolkit: add HostPort vtype
for easy checking textfield for a single host:port

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-10-01 10:09:50 +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
Dominik Csapak
aa9607f128 fix autoscrolling on browser zoom
when browser zoom is activated, our scrollposition can be a little bit off
increase the boundary by a few pixels (5px are ~1/3 of a line)
so that the auto-scrolling still works

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-10-01 06:11:08 +02:00
Thomas Lamprecht
ab277cb287 bump version to 2.2-14
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-29 10:18:10 +02:00
Thomas Lamprecht
54dc3ab4de node tasks: add duration column, hide by default
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-29 10:15:41 +02:00
Thomas Lamprecht
8e3f2973a8 task viewer: render tokenid as part of username
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-29 09:46:02 +02:00
Dominik Csapak
0c3ade1d32 node/Tasks: improve scroller behaviour on datastore loading
when we have a fixed totalcount, the scrollbar behaves nicely,
but sometimes we do not have a fixed total, so the api will return
'+1' if there are more elments to load

when doing this, the scrollbar has a weird behaviour where it changes
size frequently the more one scrolls down.

instead, tell the grid to update its layout as soon as the store
prefetches the data, which triggers an update of the scrollbar

this still lets it jump around a little, but only once per load and
more consistent

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-09-29 09:15:26 +02:00
Fabian Grünbichler
c2ad526694 tasks: include API token ID if available
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-09-23 15:12:49 +02:00
Thomas Lamprecht
aaa9ba62de bump version to 2.2-12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-07 13:51:06 +02:00
Thomas Lamprecht
982fde8647 update copyright
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-07 13:49:32 +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