]> git.proxmox.com Git - proxmox-widget-toolkit.git/log
proxmox-widget-toolkit.git
6 years agobump version to 1.0-5
Dietmar Maurer [Tue, 14 Nov 2017 07:12:52 +0000 (08:12 +0100)]
bump version to 1.0-5

6 years agouse (de)activate events for dns/timeview
Dominik Csapak [Fri, 10 Nov 2017 11:57:26 +0000 (12:57 +0100)]
use (de)activate events for dns/timeview

this allows us to properly stop the updatestore when in a
tab/cardpanel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agobump version to 1.0-4
Dietmar Maurer [Tue, 24 Oct 2017 06:45:40 +0000 (08:45 +0200)]
bump version to 1.0-4

6 years agoadd textarea/enter workaround
Dominik Csapak [Mon, 16 Oct 2017 12:02:23 +0000 (14:02 +0200)]
add textarea/enter workaround

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agofix updateStore destroy
Dominik Csapak [Wed, 11 Oct 2017 09:31:07 +0000 (11:31 +0200)]
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>
6 years agoRRDChart.js: add the seriesConfig parameter
Dominik Csapak [Tue, 10 Oct 2017 13:10:25 +0000 (15:10 +0200)]
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>
6 years agoRRDChart.js: add the noTool parameter
Dominik Csapak [Tue, 10 Oct 2017 13:10:24 +0000 (15:10 +0200)]
RRDChart.js: add the noTool parameter

so that we can omit the panel header

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agoRRDChart.js: use the fieldtitle or fieldname as axistitle
Dominik Csapak [Tue, 10 Oct 2017 13:10:23 +0000 (15:10 +0200)]
RRDChart.js: use the fieldtitle or fieldname as axistitle

if no unit applies

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agoadd autostart and alias to UpdateStore
Dominik Csapak [Tue, 10 Oct 2017 13:10:22 +0000 (15:10 +0200)]
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>
6 years agoadd format_size from pve
Dominik Csapak [Tue, 10 Oct 2017 13:10:21 +0000 (15:10 +0200)]
add format_size from pve

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agoadd GaugeWidget from PVE
Dominik Csapak [Tue, 10 Oct 2017 13:10:20 +0000 (15:10 +0200)]
add GaugeWidget from PVE

and adds the functionality to set a different fontsize

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agoTasks.js - correctly display load errors
Dietmar Maurer [Mon, 9 Oct 2017 05:33:27 +0000 (07:33 +0200)]
Tasks.js - correctly display load errors

6 years agoNetworkView.js - correctly set eror mask
Dietmar Maurer [Mon, 9 Oct 2017 05:00:32 +0000 (07:00 +0200)]
NetworkView.js - correctly set eror mask

6 years agoonly define gettext if not already defined
Dietmar Maurer [Wed, 4 Oct 2017 10:17:42 +0000 (12:17 +0200)]
only define gettext if not already defined

6 years agoLanguageSelector.js - add language selector
Dietmar Maurer [Wed, 4 Oct 2017 08:50:59 +0000 (10:50 +0200)]
LanguageSelector.js - add language selector

6 years agodo not translate subscription level
Dietmar Maurer [Wed, 4 Oct 2017 07:59:11 +0000 (09:59 +0200)]
do not translate subscription level

To avoid confusion.

6 years agonew helper format_subscription_level
Dietmar Maurer [Tue, 3 Oct 2017 12:35:34 +0000 (14:35 +0200)]
new helper format_subscription_level

6 years agoallow to set onlineHelp on Proxmox.window.Edit
Dietmar Maurer [Tue, 3 Oct 2017 11:17:47 +0000 (13:17 +0200)]
allow to set onlineHelp on Proxmox.window.Edit

6 years agoRevert "add grid/SelectFeature.js"
Dietmar Maurer [Wed, 27 Sep 2017 11:11:57 +0000 (13:11 +0200)]
Revert "add grid/SelectFeature.js"

This reverts commit e58445b3a458adac3f881b69959a468ef273333a.

This is no longer required, because we can simply set:

    viewConfig: {
enableTextSelection: true
    },

6 years agoadd grid/SelectFeature.js
Dietmar Maurer [Wed, 27 Sep 2017 10:52:39 +0000 (12:52 +0200)]
add grid/SelectFeature.js

6 years agoadd HelpButton class
Dietmar Maurer [Wed, 27 Sep 2017 08:04:29 +0000 (10:04 +0200)]
add HelpButton class

6 years agonew checked_command helper, add APT.js
Dietmar Maurer [Thu, 21 Sep 2017 11:05:07 +0000 (13:05 +0200)]
new checked_command helper, add APT.js

6 years agoDateTimeField.js - relay change events
Dietmar Maurer [Thu, 21 Sep 2017 07:36:36 +0000 (09:36 +0200)]
DateTimeField.js - relay change events

6 years agoform/DateTimeField.js - new widget to select Date with Time
Dietmar Maurer [Wed, 20 Sep 2017 10:42:19 +0000 (12:42 +0200)]
form/DateTimeField.js - new widget to select Date with Time

6 years agobump version to 1.0-3
Dietmar Maurer [Wed, 6 Sep 2017 07:37:48 +0000 (09:37 +0200)]
bump version to 1.0-3

6 years agomonStoreErrors: new option clearMaskBeforeLoad
Dietmar Maurer [Wed, 6 Sep 2017 06:53:12 +0000 (08:53 +0200)]
monStoreErrors: new option clearMaskBeforeLoad

To clear error mask before load starts.

6 years agoadd RRDChart class
Dietmar Maurer [Tue, 29 Aug 2017 06:43:50 +0000 (08:43 +0200)]
add RRDChart class

6 years agoadd RRDStore class
Dietmar Maurer [Tue, 29 Aug 2017 05:03:32 +0000 (07:03 +0200)]
add RRDStore class

Copied from pve-manager:

- removed field specification
- changed statid to proxmoxRRDTypeSelection

6 years agoadd RRDTypeSelector class
Dietmar Maurer [Tue, 29 Aug 2017 04:25:25 +0000 (06:25 +0200)]
add RRDTypeSelector class

Mostly copied from pve-manager.

- added gettext translations
- changed class and state name

7 years agoset default focus and default button for edit window
Dietmar Maurer [Tue, 25 Apr 2017 04:17:22 +0000 (06:17 +0200)]
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>
7 years agoadd helpers to render uptime
Dietmar Maurer [Wed, 12 Apr 2017 08:55:32 +0000 (10:55 +0200)]
add helpers to render uptime

7 years agoObjectGrid.js: new monStoreErrors properties
Dietmar Maurer [Fri, 7 Apr 2017 04:31:34 +0000 (06:31 +0200)]
ObjectGrid.js: new monStoreErrors properties

7 years agobump version to 1.0-2
Dietmar Maurer [Wed, 5 Apr 2017 08:23:15 +0000 (10:23 +0200)]
bump version to 1.0-2

7 years agochange time of startupdate
Dominik Csapak [Wed, 5 Apr 2017 07:25:50 +0000 (09:25 +0200)]
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>
7 years agoadd baseurl of stdremovebutton to config
Dominik Csapak [Wed, 5 Apr 2017 07:25:49 +0000 (09:25 +0200)]
add baseurl of stdremovebutton to config

so that we can bind this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoServiceView.js: add syslog button
Dietmar Maurer [Wed, 5 Apr 2017 05:36:50 +0000 (07:36 +0200)]
ServiceView.js: add syslog button

7 years agoServiceView.js: view syslog on dblclick
Dietmar Maurer [Tue, 4 Apr 2017 04:36:31 +0000 (06:36 +0200)]
ServiceView.js: view syslog on dblclick

7 years agobutton/Button.js: do not sreach for selection model if selModel === null
Dietmar Maurer [Sat, 1 Apr 2017 15:54:40 +0000 (17:54 +0200)]
button/Button.js: do not sreach for selection model if selModel === null

For Buttons which needs to trigger when nothing is selected.

7 years agoCBind.js: fix cloneTemplateArray
Dietmar Maurer [Fri, 31 Mar 2017 10:35:39 +0000 (12:35 +0200)]
CBind.js: fix cloneTemplateArray

7 years agoCBind.js: ignore case in regex
Dietmar Maurer [Fri, 31 Mar 2017 10:26:33 +0000 (12:26 +0200)]
CBind.js: ignore case in regex

7 years agoadd experimental CBind mixin
Dietmar Maurer [Fri, 31 Mar 2017 08:19:53 +0000 (10:19 +0200)]
add experimental CBind mixin

7 years agoPasswordEdit.js: do not allow blank passwords
Dietmar Maurer [Thu, 30 Mar 2017 06:03:03 +0000 (08:03 +0200)]
PasswordEdit.js: do not allow blank passwords

7 years agowindow/PasswordEdit.js: cleanup
Dietmar Maurer [Thu, 30 Mar 2017 04:50:27 +0000 (06:50 +0200)]
window/PasswordEdit.js: cleanup

7 years agodo not override getSubmitValue, add note about strange semantics
Dietmar Maurer [Thu, 30 Mar 2017 04:30:14 +0000 (06:30 +0200)]
do not override getSubmitValue, add note about strange semantics

7 years agowindow/Edit.js: implement autoLoad feature
Dietmar Maurer [Wed, 29 Mar 2017 17:36:13 +0000 (19:36 +0200)]
window/Edit.js: implement autoLoad feature

7 years agotry to use real config properties
Dietmar Maurer [Wed, 29 Mar 2017 16:47:19 +0000 (18:47 +0200)]
try to use real config properties

to generate getter/setter functions (required for bind)

7 years agoadd VType for password confirmation
Dietmar Maurer [Wed, 29 Mar 2017 15:50:05 +0000 (17:50 +0200)]
add VType for password confirmation

7 years agoadd missing setSubmitValue() for text fields
Dietmar Maurer [Wed, 29 Mar 2017 15:46:57 +0000 (17:46 +0200)]
add missing setSubmitValue() for text fields

7 years agowindow/Edit.js: query for inputpanel
Dietmar Maurer [Tue, 28 Mar 2017 13:12:22 +0000 (15:12 +0200)]
window/Edit.js: query for inputpanel

Because access to item[0] return the config object (not the real object).

7 years agobutton/Button.js: make it work with named scopes
Dietmar Maurer [Tue, 28 Mar 2017 11:00:11 +0000 (13:00 +0200)]
button/Button.js: make it work with named scopes

and add ability to bind to underlying grid automatically if no selModel
specified.

7 years agoKVComboBox.js: use correct namespace
Dietmar Maurer [Mon, 27 Mar 2017 11:02:18 +0000 (13:02 +0200)]
KVComboBox.js: use correct namespace

7 years agoPasswordEdit.js: use larger labels to avoid line break
Dietmar Maurer [Mon, 27 Mar 2017 10:32:05 +0000 (12:32 +0200)]
PasswordEdit.js: use larger labels to avoid line break

7 years agofix typo, use correct Proxmox namespace
Dietmar Maurer [Mon, 27 Mar 2017 07:48:14 +0000 (09:48 +0200)]
fix typo, use correct Proxmox namespace

7 years agoadd format_expire() utility method
Dietmar Maurer [Mon, 27 Mar 2017 07:43:02 +0000 (09:43 +0200)]
add format_expire() utility method

7 years agowindow/PasswordEdit.js: copied from pve-manager
Dietmar Maurer [Mon, 27 Mar 2017 06:14:46 +0000 (08:14 +0200)]
window/PasswordEdit.js: copied from pve-manager

7 years agoform/ComboGrid.js: imported from pve-manager
Dietmar Maurer [Wed, 22 Mar 2017 11:32:28 +0000 (12:32 +0100)]
form/ComboGrid.js: imported from pve-manager

7 years agoproxmoxStdRemoveButton: fixup getUrl method - add 'me'
Dietmar Maurer [Mon, 27 Mar 2017 09:03:12 +0000 (11:03 +0200)]
proxmoxStdRemoveButton: fixup getUrl method - add 'me'

7 years agoproxmoxStdRemoveButton: add getUrl method
Dietmar Maurer [Mon, 20 Mar 2017 06:31:05 +0000 (07:31 +0100)]
proxmoxStdRemoveButton: add getUrl method

7 years agonew widget: proxmoxStdRemoveButton
Dietmar Maurer [Mon, 20 Mar 2017 06:23:16 +0000 (07:23 +0100)]
new widget: proxmoxStdRemoveButton

7 years agoMakefile: use "--product pve,pmg --dist stretch" for upload target
Dietmar Maurer [Wed, 8 Mar 2017 16:03:11 +0000 (17:03 +0100)]
Makefile: use "--product pve,pmg --dist stretch" for upload target

7 years agoNetworkView.js: improve column width
Dietmar Maurer [Tue, 7 Mar 2017 16:35:18 +0000 (17:35 +0100)]
NetworkView.js: improve column width

7 years agoNetworkView: conditionally view pending changes
Dietmar Maurer [Tue, 7 Mar 2017 16:29:12 +0000 (17:29 +0100)]
NetworkView: conditionally view pending changes

7 years agoServiceView.js: use flex instead of fixed width
Dietmar Maurer [Tue, 7 Mar 2017 16:16:05 +0000 (17:16 +0100)]
ServiceView.js: use flex instead of fixed width

7 years agogrid/ObjectGrid.js: new helper add_combobox_row()
Dietmar Maurer [Wed, 1 Mar 2017 06:44:58 +0000 (07:44 +0100)]
grid/ObjectGrid.js: new helper add_combobox_row()

7 years agoInputPanel: allow 4 column layout
Dietmar Maurer [Tue, 28 Feb 2017 15:31:57 +0000 (16:31 +0100)]
InputPanel: allow 4 column layout

7 years agobutton/Button.js: imported from pve-manager
Dietmar Maurer [Sat, 25 Feb 2017 13:35:29 +0000 (14:35 +0100)]
button/Button.js: imported from pve-manager

7 years agoObjectGrid: avoid static definition of rows
Dietmar Maurer [Sat, 25 Feb 2017 10:07:37 +0000 (11:07 +0100)]
ObjectGrid: avoid static definition of rows

Else all grids use the same data.

7 years agoObjectGrid: new helper add_text_row
Dietmar Maurer [Sat, 25 Feb 2017 09:52:31 +0000 (10:52 +0100)]
ObjectGrid: new helper add_text_row

7 years agonew helper Proxmox.Utils.compute_min_label_width()
Dietmar Maurer [Sat, 25 Feb 2017 09:47:20 +0000 (10:47 +0100)]
new helper Proxmox.Utils.compute_min_label_width()

7 years agoKVComboBox: imported from pve-manager
Dietmar Maurer [Sat, 25 Feb 2017 09:20:12 +0000 (10:20 +0100)]
KVComboBox: imported from pve-manager

7 years agoObjectGrid: add helpers to add editor
Dietmar Maurer [Fri, 24 Feb 2017 16:43:49 +0000 (17:43 +0100)]
ObjectGrid: add helpers to add editor

7 years agoObjectGrid: add run_editor() and reload() helpers
Dietmar Maurer [Fri, 24 Feb 2017 09:50:03 +0000 (10:50 +0100)]
ObjectGrid: add run_editor() and reload() helpers

7 years agorename pveintegerfield to proxmoxintegerfield
Dietmar Maurer [Fri, 24 Feb 2017 08:15:20 +0000 (09:15 +0100)]
rename pveintegerfield to proxmoxintegerfield

7 years agorename integerfield to pveintegerfiled, implement deleteEmpty
Dietmar Maurer [Fri, 24 Feb 2017 07:59:06 +0000 (08:59 +0100)]
rename integerfield to pveintegerfiled, implement deleteEmpty

7 years agoadd integer field
Dietmar Maurer [Fri, 24 Feb 2017 07:32:30 +0000 (08:32 +0100)]
add integer field

7 years agoadd formatters for boolean
Dietmar Maurer [Fri, 24 Feb 2017 07:19:35 +0000 (08:19 +0100)]
add formatters for boolean

7 years agoadd commonly used text
Dietmar Maurer [Fri, 24 Feb 2017 07:18:36 +0000 (08:18 +0100)]
add commonly used text

7 years agoPendingObjectGrid.js: import from pve-manager
Dietmar Maurer [Fri, 24 Feb 2017 06:45:09 +0000 (07:45 +0100)]
PendingObjectGrid.js: import from pve-manager

just changed the name

7 years agoadd DNS view/edit widgets
Dietmar Maurer [Wed, 1 Feb 2017 06:14:07 +0000 (07:14 +0100)]
add DNS view/edit widgets

7 years agoadd Toolkit.js
Dietmar Maurer [Tue, 31 Jan 2017 16:32:18 +0000 (17:32 +0100)]
add Toolkit.js

Copied from pve-manager

7 years agoadd Checkbox.js
Dietmar Maurer [Tue, 31 Jan 2017 16:17:12 +0000 (17:17 +0100)]
add Checkbox.js

Copied from pve-manager

7 years agoadd TextField.js
Dietmar Maurer [Tue, 31 Jan 2017 16:12:14 +0000 (17:12 +0100)]
add TextField.js

Copied from pve-manager

7 years agoadd InputPanel.js
Dietmar Maurer [Tue, 31 Jan 2017 16:08:47 +0000 (17:08 +0100)]
add InputPanel.js

Copied from pve-manager

7 years agoadd NetworkView.js and NetworkEdit.js
Dietmar Maurer [Tue, 31 Jan 2017 16:05:09 +0000 (17:05 +0100)]
add NetworkView.js and NetworkEdit.js

Copied from pve-manager

7 years agoadd ServiceView widget
Dietmar Maurer [Tue, 31 Jan 2017 14:21:37 +0000 (15:21 +0100)]
add ServiceView widget

7 years agoadd render_upid to Proxmox.Utils
Dietmar Maurer [Tue, 31 Jan 2017 11:18:29 +0000 (12:18 +0100)]
add render_upid to Proxmox.Utils

7 years agoadd log viewer class
Dietmar Maurer [Tue, 31 Jan 2017 10:58:53 +0000 (11:58 +0100)]
add log viewer class

Copied from pve-manager

7 years agoadd task list class
Dietmar Maurer [Tue, 31 Jan 2017 08:25:24 +0000 (09:25 +0100)]
add task list class

7 years agoadd TimeView, TimeEdit and TaskViewer
Dietmar Maurer [Mon, 30 Jan 2017 12:40:51 +0000 (13:40 +0100)]
add TimeView, TimeEdit and TaskViewer

7 years agowhite space cleanup
Dietmar Maurer [Mon, 30 Jan 2017 11:23:44 +0000 (12:23 +0100)]
white space cleanup

7 years agofix cookie setup (use correct name)
Dietmar Maurer [Mon, 30 Jan 2017 11:10:56 +0000 (12:10 +0100)]
fix cookie setup (use correct name)

7 years agoadd debian package files
Dietmar Maurer [Mon, 30 Jan 2017 08:57:12 +0000 (09:57 +0100)]
add debian package files

7 years agoinitial import
Dietmar Maurer [Mon, 30 Jan 2017 08:45:41 +0000 (09:45 +0100)]
initial import

copied from pve-manager, remove pve-manager specific code and
rename 'pve' to 'proxmox'.