]>
git.proxmox.com Git - proxmox-widget-toolkit.git/log
Thomas Lamprecht [Mon, 23 Nov 2020 12:13:23 +0000 (13:13 +0100)]
input panel: support convenience top column
mirrors columnB (column bottom) but is placed on the top, i.e.,
columnT.
One can no conveniently set the following layout:
+-------------------------------------+
| |
| columnT |
| |
+------------------+------------------+
| | |
| | |
| column1 | column2 |
| | |
| | |
+------------------+------------------+
| |
| columnB |
| |
+-------------------------------------+
(4 columns should work too, but we do not use that anywhere FWICT)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 23 Nov 2020 07:14:55 +0000 (08:14 +0100)]
bump version to 2.4-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 23 Nov 2020 07:08:12 +0000 (08:08 +0100)]
fixup prune field usage
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sun, 22 Nov 2020 17:04:39 +0000 (18:04 +0100)]
bump version to 2.4-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sun, 22 Nov 2020 17:12:22 +0000 (18:12 +0100)]
css: unify button icon font-size to 14px
in a central place, we already have some of those set in pve or pbs
css
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 21 Nov 2020 18:42:57 +0000 (19:42 +0100)]
edit window: url is optional if both loadUrl and submitUrl are set
but it cannot be the default identityFn in that case..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 21 Nov 2020 18:41:01 +0000 (19:41 +0100)]
edit window: add loadUrl to config
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 21 Nov 2020 16:17:33 +0000 (17:17 +0100)]
edit window: add submitUrl config
Helps for those cases where the id is in the API path itself.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 21 Nov 2020 16:15:13 +0000 (17:15 +0100)]
input panel: make advanced column check more flexible
allow that any of the three column/docked definitions can be set,
without setting the first one to an empty array to go in that if
branch.
Note, column2 works fine, but I did not greatly test a sole
advancedColumnB definition, so there may be still some improvements
for fixes - but at that point the user could also use advancedItems
to have full control.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 21 Nov 2020 16:14:15 +0000 (17:14 +0100)]
toolkit: drop old jslint control comments
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 21 Nov 2020 19:02:28 +0000 (20:02 +0100)]
panel: add PruneInputPanel
over from PBS
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 21 Nov 2020 19:02:00 +0000 (20:02 +0100)]
form: add PruneKeepField
over from PBS
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Aaron Lauterer [Tue, 17 Nov 2020 13:50:43 +0000 (14:50 +0100)]
InputPanel: remove old code for useFieldContainer
`useFieldContainer` doesn't seem to be used anymore in any of our
products:
* PVE
* PMG
* PBS
it therefore can be considered dead code.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Aaron Lauterer [Tue, 17 Nov 2020 13:50:42 +0000 (14:50 +0100)]
InputPanel: fix column scaling behavior
When scaling the browsers content either via the browser itself or
because the OS has a different scaling / DPI setting, it can happen that
not all columns have enough space next to each other and thus the last
column is moved further below.
This happens especially on chromium bases browsers (e.g. chrome, edge).
Changing the layout to use extjs HBOXes with flex instead of columns
solves works well.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Thomas Lamprecht [Thu, 12 Nov 2020 09:10:19 +0000 (10:10 +0100)]
buildsys: add lint incremental mode, use stricter check mode for full build
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 10 Nov 2020 15:29:15 +0000 (16:29 +0100)]
bump version to 2.3-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 10 Nov 2020 15:27:43 +0000 (16:27 +0100)]
utils: get help info: fix normalization with multiple minuses
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 10 Nov 2020 15:26:27 +0000 (16:26 +0100)]
Revert "Utils: fix help section normalization"
replaceAll is not supported by all browser we try to guarantee to
support.
This reverts commit
f7b816a39987b37ebcc976eb78cf33da2ad37bf3 .
Thomas Lamprecht [Tue, 10 Nov 2020 11:09:02 +0000 (12:09 +0100)]
bump version to 2.3-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Aaron Lauterer [Tue, 10 Nov 2020 09:34:13 +0000 (10:34 +0100)]
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>
Dominik Csapak [Wed, 4 Nov 2020 14:17:40 +0000 (15:17 +0100)]
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>
Thomas Lamprecht [Mon, 9 Nov 2020 06:56:34 +0000 (07:56 +0100)]
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>
Thomas Lamprecht [Tue, 3 Nov 2020 16:52:09 +0000 (17:52 +0100)]
bump version to 2.3-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 3 Nov 2020 16:51:12 +0000 (17:51 +0100)]
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
96ffa5693e0eeb4b6a9664832035fbc154bc92d6 .
Thomas Lamprecht [Tue, 3 Nov 2020 12:58:12 +0000 (13:58 +0100)]
task type selector: add clear trigger
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 30 Oct 2020 13:02:55 +0000 (14:02 +0100)]
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>
Thomas Lamprecht [Tue, 3 Nov 2020 11:40:14 +0000 (12:40 +0100)]
css: avoid inherit of font-size on .fa class, set to 14px
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 2 Nov 2020 06:49:27 +0000 (07:49 +0100)]
bump version to 2.3-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 2 Nov 2020 06:41:30 +0000 (07:41 +0100)]
buildsys: improve clean target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 31 Oct 2020 08:52:10 +0000 (09:52 +0100)]
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>
Dominik Csapak [Fri, 30 Oct 2020 14:02:09 +0000 (15:02 +0100)]
add form/TaskTypeSelector
for suggesting workery types when we want to filter by them
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 29 Oct 2020 13:18:42 +0000 (14:18 +0100)]
make subscription status check compare lower case
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Oct 2020 17:39:44 +0000 (18:39 +0100)]
bump version to 2.3-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Grünbichler [Wed, 28 Oct 2020 11:36:22 +0000 (12:36 +0100)]
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>
Thomas Lamprecht [Wed, 28 Oct 2020 11:54:25 +0000 (12:54 +0100)]
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>
Thomas Lamprecht [Wed, 28 Oct 2020 11:53:52 +0000 (12:53 +0100)]
edit window: whitespace/newline cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Oct 2020 10:36:14 +0000 (11:36 +0100)]
window/edit: add autoLoadOptions to control API call
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 27 Oct 2020 17:34:44 +0000 (18:34 +0100)]
bump version to 2.3-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 1 Oct 2020 08:30:58 +0000 (10:30 +0200)]
HostPort vtype: improve error message
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 23 Oct 2020 14:29:54 +0000 (16:29 +0200)]
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>
Dominik Csapak [Fri, 23 Oct 2020 14:29:53 +0000 (16:29 +0200)]
InfoWidget: eslint fixes
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Oct 2020 14:29:52 +0000 (16:29 +0200)]
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>
Dominik Csapak [Wed, 22 Apr 2020 07:26:23 +0000 (09:26 +0200)]
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>
Thomas Lamprecht [Thu, 22 Oct 2020 10:27:23 +0000 (12:27 +0200)]
eslint fixup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Thu, 22 Oct 2020 10:13:01 +0000 (12:13 +0200)]
bump version to 2.3-4
Dietmar Maurer [Thu, 22 Oct 2020 10:09:16 +0000 (12:09 +0200)]
implement and use systemd_unescape
Thomas Lamprecht [Thu, 22 Oct 2020 06:53:21 +0000 (08:53 +0200)]
bump version to 2.3-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:16 +0000 (11:54 +0200)]
utils: add task description for directory removal
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:15 +0000 (11:54 +0200)]
safe-destroy: add possibility to show a small note
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:14 +0000 (11:54 +0200)]
safe-destroy: replace var with let/const
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:13 +0000 (11:54 +0200)]
safe-destroy: replace type with purgeable and taskName
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:12 +0000 (11:54 +0200)]
safe-destroy: eslint --fix
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:11 +0000 (11:54 +0200)]
safe-destroy: move SafeDestroy from pve-manager here
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Dietmar Maurer [Thu, 22 Oct 2020 06:38:17 +0000 (08:38 +0200)]
correctly encode upid paramenter (use encodeURIComponent)
Thomas Lamprecht [Thu, 15 Oct 2020 11:27:34 +0000 (13:27 +0200)]
bump version to 2.3-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 15 Oct 2020 11:24:43 +0000 (13:24 +0200)]
add Korean as translation choice
it was recently contributed by 김 주철
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 1 Oct 2020 13:27:25 +0000 (15:27 +0200)]
bump version to 2.3-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 1 Oct 2020 07:57:55 +0000 (09:57 +0200)]
Toolkit: add HostPort vtype
for easy checking textfield for a single host:port
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 1 Oct 2020 07:57:54 +0000 (09:57 +0200)]
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>
Dominik Csapak [Wed, 30 Sep 2020 12:04:39 +0000 (14:04 +0200)]
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>
Thomas Lamprecht [Tue, 29 Sep 2020 08:18:10 +0000 (10:18 +0200)]
bump version to 2.2-14
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 29 Sep 2020 08:15:41 +0000 (10:15 +0200)]
node tasks: add duration column, hide by default
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 29 Sep 2020 07:46:02 +0000 (09:46 +0200)]
task viewer: render tokenid as part of username
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 25 Sep 2020 14:13:27 +0000 (16:13 +0200)]
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>
Fabian Grünbichler [Wed, 23 Sep 2020 08:38:49 +0000 (10:38 +0200)]
tasks: include API token ID if available
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Thomas Lamprecht [Mon, 7 Sep 2020 11:51:06 +0000 (13:51 +0200)]
bump version to 2.2-12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 7 Sep 2020 11:49:32 +0000 (13:49 +0200)]
update copyright
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 27 Aug 2020 12:52:50 +0000 (14:52 +0200)]
language_map: add Dutch
Contributed-by: Jorren Schauwaert <jorren.schauwaert@gmail.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 27 Aug 2020 12:52:44 +0000 (14:52 +0200)]
utils: order languages after rendered name
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 26 Aug 2020 18:01:36 +0000 (20:01 +0200)]
eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 26 Aug 2020 18:02:35 +0000 (20:02 +0200)]
utils: improve indentation and better check API result
to avoid dereferencing a null/undefined value.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 14 Aug 2020 08:33:52 +0000 (10:33 +0200)]
fix #2933: correct behaviour of initgpt button
fixes 4 issues:
* use correct /api2/ext url to get the 'success' parameter
* check 'used' property for 'unused' (pbs vs pve)
* use 'name' instead of 'devpath' for id
(name always contains the correct id for the product,
e.g. /dev/sdd for pve and sdd for pbs)
* add a reload in taskDone to reload the list of disks when the inti is done
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 14:17:10 +0000 (16:17 +0200)]
bump version to 2.2-11
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 14:01:48 +0000 (16:01 +0200)]
bump version to 2.2-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 12:06:58 +0000 (14:06 +0200)]
service view: allow overwriting restart command
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 12:05:51 +0000 (14:05 +0200)]
service view: refactor assembling API path
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 11:59:47 +0000 (13:59 +0200)]
displayedit: allow passing an explicit displayConfig
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 11:59:27 +0000 (13:59 +0200)]
displayedit: allow binding editable and value
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 21 Jul 2020 14:28:22 +0000 (16:28 +0200)]
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>
Fabian Möller [Wed, 8 Jul 2020 08:42:42 +0000 (10:42 +0200)]
Add focusable pseudo class to edit windows defaultFocus
Restricting the defaultFocus of the edit windows to only focusable fields
ensures that windows like "PVE -> Virtual Machine -> Manage HA", which
has a first field of xtype "displayfield", receive focus upon opening.
This allows those windows to be closed with the ESC key, which only
works when an element inside has focus.
In newer versions of ExtJS (>= 6.2.0) this filter could be reduced to
"field:canfocus" or maybe even ":canfocus".
Thomas Lamprecht [Tue, 30 Jun 2020 11:36:09 +0000 (13:36 +0200)]
bump version to 2.2-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 30 Jun 2020 11:27:29 +0000 (13:27 +0200)]
followup: s/storedUser/storedAuth/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tim Marx [Thu, 7 May 2020 12:28:24 +0000 (14:28 +0200)]
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>
Dominik Csapak [Thu, 25 Jun 2020 11:59:32 +0000 (13:59 +0200)]
add window/ZFSDetail
inspired by pve's detail window, which used two sub components
(ZFSStatus, ZFSDevices; which were never used elsewhere)
combined into one self-contained window
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 25 Jun 2020 11:59:31 +0000 (13:59 +0200)]
add form/MultiDiskSelector
from pve's ZFSCreate window, refactored to be self-contained using
field mixin, as well as be configureable enough to be used by pve as
well as other products
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 25 Jun 2020 11:59:30 +0000 (13:59 +0200)]
Utils: add render_zfs_health
from pve-manager
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 16 Jun 2020 14:49:46 +0000 (16:49 +0200)]
bump version to 2.2-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jun 2020 14:07:10 +0000 (16:07 +0200)]
task viewer: show task endtime and duration in status
But only when the caller gives us the endtime, since the status API
call does not give us the endtime.
As we stop updating the store once a task isn't running anymore the
fallback to current unix utc timestamp doesn't needs an additional
check, the last one is shown static then.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
[ Thomas: improve commit message ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Tue, 16 Jun 2020 09:06:34 +0000 (11:06 +0200)]
add DiskSmart window and DiskList from PVE
for use with other produts.
the models are now all prefixed with 'pmx' instead of pve, so they
should not conflict
includes some changes to the model for remapping some fields and
some small refactors (change to controller for the DiskList,
some cleanup of the initComponent of the DiskSmart window)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 16 Jun 2020 09:06:33 +0000 (11:06 +0200)]
add DiskSelector from PVE
to be usable with other products.
also add a parameter 'typeProperty' to be able to configure
the backend property for the usage type
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 15 Jun 2020 14:07:11 +0000 (16:07 +0200)]
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>
Dominik Csapak [Mon, 15 Jun 2020 14:07:09 +0000 (16:07 +0200)]
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>
Dominik Csapak [Mon, 15 Jun 2020 14:07:08 +0000 (16:07 +0200)]
ProxmoxProxy: add duration fields for proxmox-tasks
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 8 Jun 2020 14:47:42 +0000 (16:47 +0200)]
networkedit: display MTU for OVS-bond interfaces too
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Originally-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Sat, 6 Jun 2020 16:08:01 +0000 (18:08 +0200)]
d/control: drop rsync from build dependencies
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 16:05:20 +0000 (18:05 +0200)]
improve passing package version down
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 15:44:20 +0000 (17:44 +0200)]
drop leftover utils, moved to src
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 15:35:28 +0000 (17:35 +0200)]
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>
Thomas Lamprecht [Sat, 6 Jun 2020 15:20:50 +0000 (17:20 +0200)]
use eslint and execute as check target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 15:20:30 +0000 (17:20 +0200)]
add pbs to upload target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>