Dominik Csapak
5f0f6b13b5
fix updateStore destroy
...
the store never fires/gets a destroy event, thus it
never stops the load_task and never unqueues itself in case
the store gets destroyed but not explicitely stopped
with overriding the destroy method, this works now as intended
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 11:46:29 +02:00
Dominik Csapak
9950ec0f7d
RRDChart.js: add the seriesConfig parameter
...
so that we can override the the series with custom options like 'color'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:46:50 +02:00
Dominik Csapak
fcb5b70f0e
RRDChart.js: add the noTool parameter
...
so that we can omit the panel header
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:45:39 +02:00
Dominik Csapak
51613acea2
RRDChart.js: use the fieldtitle or fieldname as axistitle
...
if no unit applies
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:45:06 +02:00
Dominik Csapak
b07f375602
add autostart and alias to UpdateStore
...
the alias is to use it in a declarative syntax,
the autostart parameter automatically starts the update
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:44:29 +02:00
Dominik Csapak
b91c7ce210
add format_size from pve
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:43:39 +02:00
Dominik Csapak
e7ff021c57
add GaugeWidget from PVE
...
and adds the functionality to set a different fontsize
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:41:30 +02:00
Dietmar Maurer
917433e621
Tasks.js - correctly display load errors
2017-10-09 07:33:27 +02:00
Dietmar Maurer
b81cf17334
NetworkView.js - correctly set eror mask
2017-10-09 07:00:32 +02:00
Dietmar Maurer
0ee4c725d3
only define gettext if not already defined
2017-10-04 12:17:42 +02:00
Dietmar Maurer
f6f0066aff
LanguageSelector.js - add language selector
2017-10-04 11:16:22 +02:00
Dietmar Maurer
8f5a1a0847
do not translate subscription level
...
To avoid confusion.
2017-10-04 09:59:11 +02:00
Dietmar Maurer
02ef30c91f
new helper format_subscription_level
2017-10-03 14:41:01 +02:00
Dietmar Maurer
c3457485e6
allow to set onlineHelp on Proxmox.window.Edit
2017-10-03 13:17:47 +02:00
Dietmar Maurer
ca31548b04
Revert "add grid/SelectFeature.js"
...
This reverts commit e58445b3a4
.
This is no longer required, because we can simply set:
viewConfig: {
enableTextSelection: true
},
2017-09-27 13:11:57 +02:00
Dietmar Maurer
e58445b3a4
add grid/SelectFeature.js
2017-09-27 12:52:39 +02:00
Dietmar Maurer
a3489b1016
add HelpButton class
2017-09-27 10:04:29 +02:00
Dietmar Maurer
5f93e01085
new checked_command helper, add APT.js
2017-09-25 12:31:36 +02:00
Dietmar Maurer
00ecc6db47
DateTimeField.js - relay change events
2017-09-21 09:36:36 +02:00
Dietmar Maurer
2e7bd1dcba
form/DateTimeField.js - new widget to select Date with Time
2017-09-20 12:42:42 +02:00
Dietmar Maurer
16f921d7b8
bump version to 1.0-3
2017-09-06 09:37:48 +02:00
Dietmar Maurer
5b4b3ffdb6
monStoreErrors: new option clearMaskBeforeLoad
...
To clear error mask before load starts.
2017-09-06 08:53:12 +02:00
Dietmar Maurer
0c786d2b08
add RRDChart class
2017-08-29 08:43:50 +02:00
Dietmar Maurer
1748088d28
add RRDStore class
...
Copied from pve-manager:
- removed field specification
- changed statid to proxmoxRRDTypeSelection
2017-08-29 07:27:40 +02:00
Dietmar Maurer
a0ba293c12
add RRDTypeSelector class
...
Mostly copied from pve-manager.
- added gettext translations
- changed class and state name
2017-08-29 06:25:25 +02:00
Dietmar Maurer
a7dcbdebb9
set default focus and default button for edit window
...
this patch sets following defaults for the edit window:
defaultFocus: 'field'
sets the focus on the first field it finds in its child items,
works for most edit windows, so that the cursor stands in a
textfield, or on a checkbox
defaultButton: 'submitbutton'
so that when someone presses enter, we submit the form
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-25 06:17:22 +02:00
Dietmar Maurer
452892dfba
add helpers to render uptime
2017-04-12 10:55:32 +02:00
Dietmar Maurer
4297e79537
ObjectGrid.js: new monStoreErrors properties
2017-04-07 06:31:34 +02:00
Dietmar Maurer
835b5d8e6a
bump version to 1.0-2
2017-04-05 10:23:15 +02:00
Dominik Csapak
1a68e95dec
change time of startupdate
...
because these components are not always children of
a tabpanel or standalone, we cannot use activate here
else we do not trigger the startupdate
disadvantage: when used as a child of a tabpanel,
it starts immediately instead of when clicking on the tab
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 09:43:19 +02:00
Dominik Csapak
3c93b430cd
add baseurl of stdremovebutton to config
...
so that we can bind this
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 09:42:22 +02:00
Dietmar Maurer
ecb078243a
ServiceView.js: add syslog button
2017-04-05 07:36:50 +02:00
Dietmar Maurer
f21840aa20
ServiceView.js: view syslog on dblclick
2017-04-04 06:36:31 +02:00
Dietmar Maurer
6a42adffda
button/Button.js: do not sreach for selection model if selModel === null
...
For Buttons which needs to trigger when nothing is selected.
2017-04-01 17:54:40 +02:00
Dietmar Maurer
7d9225e651
CBind.js: fix cloneTemplateArray
2017-03-31 12:35:39 +02:00
Dietmar Maurer
fbdf4ca751
CBind.js: ignore case in regex
2017-03-31 12:26:33 +02:00
Dietmar Maurer
281ad45b5d
add experimental CBind mixin
2017-03-31 11:26:55 +02:00
Dietmar Maurer
a1891d7676
PasswordEdit.js: do not allow blank passwords
2017-03-30 08:03:03 +02:00
Dietmar Maurer
4c21393ea7
window/PasswordEdit.js: cleanup
2017-03-30 06:50:27 +02:00
Dietmar Maurer
a55813d6d7
do not override getSubmitValue, add note about strange semantics
2017-03-30 06:30:14 +02:00
Dietmar Maurer
a33ba257ed
window/Edit.js: implement autoLoad feature
2017-03-29 19:36:13 +02:00
Dietmar Maurer
f0372135cd
try to use real config properties
...
to generate getter/setter functions (required for bind)
2017-03-29 18:47:19 +02:00
Dietmar Maurer
36704a2fcc
add VType for password confirmation
2017-03-29 18:02:23 +02:00
Dietmar Maurer
1d9804a953
add missing setSubmitValue() for text fields
2017-03-29 17:46:57 +02:00
Dietmar Maurer
1b07a95ac8
window/Edit.js: query for inputpanel
...
Because access to item[0] return the config object (not the real object).
2017-03-28 15:12:22 +02:00
Dietmar Maurer
81244aa1fe
button/Button.js: make it work with named scopes
...
and add ability to bind to underlying grid automatically if no selModel
specified.
2017-03-28 13:07:10 +02:00
Dietmar Maurer
a4eeb5939d
KVComboBox.js: use correct namespace
2017-03-27 13:02:18 +02:00
Dietmar Maurer
0f35d1ffdb
PasswordEdit.js: use larger labels to avoid line break
2017-03-27 12:32:05 +02:00
Dietmar Maurer
ec62162dae
fix typo, use correct Proxmox namespace
2017-03-27 11:04:46 +02:00
Dietmar Maurer
2d0153a5ad
add format_expire() utility method
2017-03-27 11:04:46 +02:00