Dominik Csapak
76f549debb
ui: DataStoreList: remove datastores also from hash
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-16 10:39:34 +01:00
Thomas Lamprecht
87367decf2
ui: tell ESLint to be strict in check target
...
the .lint-incremental target, which is implicitly used by the install
target, is still more forgiving to allow faster "change, build, test"
iteration when developing.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-12 09:54:39 +01:00
Dominik Csapak
0a274ab0a0
ui: UserView: render name as 'Firstname Lastname'
...
instead of only the firstname
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-11 14:09:40 +01:00
Dominik Csapak
c0026563b0
make user properties deletable
...
by using our usual pattern for the update call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-11 14:09:40 +01:00
Thomas Lamprecht
03e40aa4ee
ui: datastore add: set default schedule
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-11 07:49:01 +01:00
Thomas Lamprecht
be1d6cbcc6
ui: shorten automatic ID length a bit
...
Without hyphens, we had 20 hex digits, so ~80 bit which is probably overkill.
Use 12 (13 with hyphen), this is still 48 bit.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-11 07:40:23 +01:00
Thomas Lamprecht
ffaca016ad
ui: datastore summary: drop removed bytes display
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-11 07:27:21 +01:00
Thomas Lamprecht
a108a2e967
ui: drop debug beta code
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 14:47:48 +01:00
Dominik Csapak
240b2ffb9b
ui: improve activeTab selection from fragment and state
...
handle invalid fragments for tabs, as well as not rendered tabpanels
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-10 14:21:54 +01:00
Aaron Lauterer
f4f9a503de
ui: add mising panel help buttons
...
add missing help buttons (question mark, top right) so that we are
consistent and each panel has it.
I chose the IMHO most fitting sections.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2020-11-10 13:53:21 +01:00
Aaron Lauterer
a4971d5f90
docs: add ref for sysadmin host admin section
...
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2020-11-10 13:53:21 +01:00
Thomas Lamprecht
38efbfc148
ui: app: fix fixme
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 13:38:30 +01:00
Fabian Grünbichler
10052ea644
remote.cfg: rename userid to 'auth-id'
...
and fixup config file on upgrades accordingly
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-11-10 13:25:24 +01:00
Thomas Lamprecht
b57619ea29
ui: datastores sync: future proof and move local store column in front
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 13:22:54 +01:00
Dominik Csapak
445b0043b2
ui: show (local)datastore column only in global sync/verifyview
...
its rather hacky, but our cbind mixin does not support columns (yet).
if it does sometime in the future, we could use that instead
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-10 13:14:47 +01:00
Dietmar Maurer
0c83e8891e
ui: fix task description
2020-11-10 11:53:39 +01:00
Aaron Lauterer
133de2dd1f
ui: add/fix help buttons
...
added a few more help buttons were appropriate:
* GC and Prune schedule windows
* Create Directory window
* API Tokens, link directly to token section
* verify jobs window
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2020-11-10 11:51:03 +01:00
Aaron Lauterer
c8219747f0
ui: add all online help refs found in docs
...
recommit the onlinehelp after the scanrefs script has been adapted and
the docs are up to date
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2020-11-10 11:50:56 +01:00
Thomas Lamprecht
984ac33d5c
ui: subscription: usage chart: render date as ISO 8601
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 11:46:22 +01:00
Thomas Lamprecht
0a4dfd63c9
ui: usage graph: show axis and set maximum
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 11:46:05 +01:00
Thomas Lamprecht
a6e746f652
ui: datastore list summary: add more padding between elements
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 11:46:05 +01:00
Dominik Csapak
9f0ee346e9
ui: Datastores Summary: change layout and chart
...
changes the layout to look i little bit more like the statistics panel
we have for ceph in pve, while changing to the UsageChart and adding
some more datastore infos (from last garbage collect)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-10 10:43:07 +01:00
Dominik Csapak
48d6dede4a
ui: refactor calculate_dedup_factor
...
so that we can reuse this
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-10 10:43:07 +01:00
Dominik Csapak
8432e4a655
ui: add panel/UsageChart
...
heavily inspired by pveRunningChart, without the dynamically adding
of data and specific for the usage of datastores
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-10 10:43:07 +01:00
Thomas Lamprecht
c3a1b34ed3
ui: subscription: add more button icons, small UX fix
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 10:42:45 +01:00
Thomas Lamprecht
bb26843cd6
ui/docs: add get help onlineHelp
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 10:35:35 +01:00
Thomas Lamprecht
ee0ab12dd0
ui: move disks/directory stuff to tab panel
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 10:15:44 +01:00
Thomas Lamprecht
5c64e83b1e
ui: datastore: set onlineHelp for chaging group owner
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 09:53:05 +01:00
Thomas Lamprecht
0f6f99b4ec
ui: prune: set onlineHelp
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 09:51:30 +01:00
Thomas Lamprecht
f668862ae0
ui: prune: add clear-trigger to keep fields
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 09:51:20 +01:00
Thomas Lamprecht
9a3ddcea33
ui: utils: eslint format fixes
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 09:24:35 +01:00
Fabian Ebner
3f30b32c2e
ui: prune: show count for rule
...
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2020-11-10 09:24:13 +01:00
Fabian Ebner
5eafe6aabc
ui: prune: show which rule keeps backup
...
and adjust layout so the description fits.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2020-11-10 09:24:13 +01:00
Dietmar Maurer
2c9f274efa
ui: add help tool to user and remote config
2020-11-10 09:23:22 +01:00
Dietmar Maurer
31112c79ac
ui: add help tool to datastore panel
2020-11-10 09:15:12 +01:00
Thomas Lamprecht
d89f91b538
ui: acl editor: disallow path editing for datastore permission views
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 08:19:17 +01:00
Dietmar Maurer
a6310ec294
ui: fix widget height in dashboard
2020-11-10 08:12:35 +01:00
Dietmar Maurer
98d9323534
ui: add link to www.proxmox.com for subscription plans
2020-11-10 08:07:49 +01:00
Thomas Lamprecht
09f1f28800
ui: ACL view: fix path filtering
...
and add some comments about actual behavior of those config
properties..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-10 07:33:20 +01:00
Thomas Lamprecht
e1da9ca4bb
ui: datastore dashboard: use gauge for usage, rework layout a bit
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-09 19:26:48 +01:00
Thomas Lamprecht
625c7bfc0b
ui: task summary: enable grid mouse track over
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-09 19:25:43 +01:00
Thomas Lamprecht
d9503950e3
ui: tasl summary: add pointer cursor if clickable
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-09 18:09:05 +01:00
Thomas Lamprecht
376e927980
ui: datastore summary: increase usage graph height
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-09 17:55:59 +01:00
Thomas Lamprecht
5204cbcf0f
ui: datastore summary: add line chart icon to full-estimation
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-09 17:48:53 +01:00
Thomas Lamprecht
e373dcc564
ui: datastore/content: improve action button layout
...
Fix font-size to 14px to improve font-awesome rendering, add some
slight margin between the buttons so that they are not glued
together, add a slight text-shadow on mouse over.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-09 17:45:08 +01:00
Dominik Csapak
ed1329ecf7
ui: make Datastore clickable again
...
by showing the previously added pbsDataStores panel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-09 16:37:24 +01:00
Dominik Csapak
2371c1e371
ui: add Panels necessary for Datastores Overview
...
a panel for a single datastore that gets updated from an external caller
shows the usage, estimated full date, history and task summary grid
a panel that dynamically generates the panel above for each datastore
and a tabpanel that includes the panel above, as well as a global
syncview, verifiyview and aclview
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-09 16:37:24 +01:00
Dominik Csapak
63c07d950c
ui: TaskSummary: handle less defined parameters of tasks
...
this makes it a little easier to provide good data, without
hardcoding all types in the source object
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-09 16:37:24 +01:00
Dominik Csapak
a3cdb19e33
ui: TaskSummary: add subPanelModal and datastore parameters
...
in preparation for the per-datastore grid
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-09 16:37:24 +01:00
Dominik Csapak
4623cd6497
ui: TaskSummary: move state/types/titles out of the controller
...
it seems that under certain circumstances, extjs does not initialize
or remove the content from objects in controllers
move it to the view, were they always exist
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-09 16:37:24 +01:00