IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
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>
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>
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>
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>
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>
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>
lots of churn and changes but will allow to enforce linting again in
the build system.
Also switch over from var to let.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
all autofixed by eslint with a slightly reduced base config rule set
to avoid rules which may give some undesired results in our code
base.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
We set the id for vzdump tasks only for single VM/CT backups, so if
it's undefined we got a job for sure.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
fixes and regression for backup jobs which seems to get from empty
string to undefined ID in PVE 6.x - whyever...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
to get the selection model of the parent, we use by default the xtype
'grid', but sometimes we want to use something else (e.g. 'treepanel')
to be flexible we make this configurable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Docking the legend to the bottom took space away from the chart, and
was the just used as the simplest solution when it was implemented.
The panel header has enough spaces for any reasonable number of
different series in a chart, so move it there.
Drop then the legend toggle tool from the header as it isn't required
anymore..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
The rationale is that things like 11.4d or 22.6h is hard to parse for
humans (base 10 to base 60 or base 24 conversion). So try to emulate
what a human would tell another human to pass a duration information
along with reasonable good but not high accuracy.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
As else we get some issues with inner field adding some space on
outer fieldcontainer, which let a mix of "normal" fields and this one
appear asymmetrical.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
the updateView method can be called through an XHR request callback,
which may get triggered once the user switched already over to
another panel and viewmodel isn't valid (or did not get valid at the
first place) anymore.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
normally this is used as strict task history, meaning no running
tasks included. But we can have running tasks in PBS here, so at
least avoid that they're shown as error.
Also add a refresh button as a simple workaround to the auto-refresh
problem, which isn't straightforward to solve with the buffered
reader we have here.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Allows having only the common ones here, and more special ones in the
per product code. Sometimes there are simple worker IDs which can
have a very different meaning for one product, with this that clash
can be resolved in a standardized way.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>