proxmox-widget-toolkit.git
7 days agobump version to 2.0-7 master
Thomas Lamprecht [Fri, 16 Aug 2019 10:45:41 +0000 (12:45 +0200)]
bump version to 2.0-7

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 days agocombogrid: fix validation if valueField is different than displayField
Thomas Lamprecht [Fri, 16 Aug 2019 10:44:33 +0000 (12:44 +0200)]
combogrid: fix validation if valueField is different than displayField

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 days agobump version to 2.0-6
Thomas Lamprecht [Tue, 13 Aug 2019 14:00:32 +0000 (16:00 +0200)]
bump version to 2.0-6

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 days agoComboGrid: add trigger to delete from ComboGrid
Dominik Csapak [Wed, 24 Jul 2019 07:21:12 +0000 (09:21 +0200)]
ComboGrid: add trigger to delete from ComboGrid

when we have a combogrid that may be empty, we now show a
little 'x' where the user can delete the content

this is not shown when the field is not allowed to be empty

we add a new css for this because triggers need a background image
with a very specific layout:

110x22px which is 5 icons in one image for the various states
(normal, hover, active, focused, focused hover)

the icon is taken from the theme-crisp
form/tag-field-item-close.png but rearranged to fit the size

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
10 days agoadd css and image directory to packaging
Dominik Csapak [Wed, 24 Jul 2019 07:21:11 +0000 (09:21 +0200)]
add css and image directory to packaging

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 weeks agofollowup code cleanup
Thomas Lamprecht [Thu, 25 Jul 2019 11:22:42 +0000 (13:22 +0200)]
followup code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 weeks agoFix #582: Add delay to button
Dominic Jäger [Mon, 15 Jul 2019 10:28:19 +0000 (12:28 +0200)]
Fix #582: Add delay to button

The StdRemoveButton can now pass a delay parameter to the API.
It is set undefined as default so that users of the button
can set the parameter themselves.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
5 weeks agocombogrid: add handling for historic set values currently not available
Thomas Lamprecht [Thu, 18 Jul 2019 13:55:37 +0000 (15:55 +0200)]
combogrid: add handling for historic set values currently not available

We can often run into situations where a value set in the past is not
valid anymore. An example could be a deleted network bridge, e.g., we
set the vNIC of a VM to 'vmbr1' but then we decide to obsolete that
and delete that one, one would now expect that the field gets marked
as invalid when editing the VM's vNIC, so add that behavior.

As sometimes this can be valid and wanted behavior (e.g., usb
passthrough, which is hot-pluggable), also add a switch do restore
the old behavior.

Note that the empty value is not handled by this change, we let the
existing "allowBlank" config switch handle that one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 weeks agocombogrid: always set the initial value, even if not found
Thomas Lamprecht [Wed, 17 Jul 2019 14:17:55 +0000 (16:17 +0200)]
combogrid: always set the initial value, even if not found

as else one lies to the user and only creates strange behavior,
one should see the values even if not there anymore, if this is a
invalid state is left for a later patch.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agobump version to 2.0-5
Thomas Lamprecht [Thu, 11 Jul 2019 17:34:00 +0000 (19:34 +0200)]
bump version to 2.0-5

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agoKVComboBox: add setComboItems function
Oguz Bektas [Thu, 11 Jul 2019 12:54:06 +0000 (14:54 +0200)]
KVComboBox: add setComboItems function

this allows to change the comboItems of a KVComboBox on the run

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
6 weeks agooverride Ext.Components 'validIdRe' to include '@'
Dominik Csapak [Thu, 11 Jul 2019 12:10:30 +0000 (14:10 +0200)]
override Ext.Components 'validIdRe' to include '@'

we use itemIds with '@' already in the ceph dashboard, and in
non-debug modeit works (as expected) but throws an error
while using ext-all-debug.js so override it to include the '@'

the regex was in place because in html4 the 'id' tag could only consist
letters ofthe mentioned regex, this was lifted in html5 though[0]

0: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 weeks agofollouwp: code cleanup for render_bond_mode
Thomas Lamprecht [Wed, 10 Jul 2019 10:40:07 +0000 (12:40 +0200)]
follouwp: code cleanup for render_bond_mode

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agofollouwp: code cleanup for bond_mode_array
Thomas Lamprecht [Wed, 10 Jul 2019 10:36:57 +0000 (12:36 +0200)]
follouwp: code cleanup for bond_mode_array

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agonode network: add Bond Mode and Hash Policy columns
Dominik Csapak [Wed, 10 Jul 2019 09:30:52 +0000 (11:30 +0200)]
node network: add Bond Mode and Hash Policy columns

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 weeks agonode network: refactor bond mode array generation
Dominik Csapak [Wed, 10 Jul 2019 09:30:51 +0000 (11:30 +0200)]
node network: refactor bond mode array generation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 weeks agonode network: hide ip and netmask by default
Dominik Csapak [Wed, 10 Jul 2019 09:30:50 +0000 (11:30 +0200)]
node network: hide ip and netmask by default

CIDR column displays the same information in only on column,
no need to duplicate the information (by default)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 weeks agofix syslog resizing
Dominik Csapak [Tue, 2 Jul 2019 11:05:43 +0000 (13:05 +0200)]
fix syslog resizing

makes the logview autosize with the window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 weeks agobump version to 2.0-4
Thomas Lamprecht [Fri, 28 Jun 2019 18:31:07 +0000 (20:31 +0200)]
bump version to 2.0-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 weeks agonetwork selector: allow to select IP too
Thomas Lamprecht [Thu, 27 Jun 2019 19:49:29 +0000 (21:49 +0200)]
network selector: allow to select IP too

not only CIDR.. maybe it could make sense to add a small child class
which  overwrites just the displayField and valueField to address

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 weeks agocombogrid: add deleteEmpty and skipEmptyText
Thomas Lamprecht [Thu, 27 Jun 2019 12:21:43 +0000 (14:21 +0200)]
combogrid: add deleteEmpty and skipEmptyText

Slightly adapted from the proxmox textfield version of this

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 weeks agotextfield: validate after allowBlank
Thomas Lamprecht [Thu, 27 Jun 2019 12:20:51 +0000 (14:20 +0200)]
textfield: validate after allowBlank

8 weeks agocombo grid: add setAllowBlank to help bindings
Thomas Lamprecht [Wed, 26 Jun 2019 14:05:56 +0000 (16:05 +0200)]
combo grid: add setAllowBlank to help bindings

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 weeks agouse https links to our sites
Thomas Lamprecht [Wed, 26 Jun 2019 14:05:34 +0000 (16:05 +0200)]
use https links to our sites

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 weeks agobump version to 2.0-3
Thomas Lamprecht [Mon, 24 Jun 2019 15:54:58 +0000 (17:54 +0200)]
bump version to 2.0-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agorefactor info/link extraction from onlinehelp to utils
Dominik Csapak [Fri, 21 Jun 2019 10:03:49 +0000 (12:03 +0200)]
refactor info/link extraction from onlinehelp to utils

so that we can reuse that code for getting links from the docs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 months agobump version to 2.0-2
Thomas Lamprecht [Fri, 14 Jun 2019 18:48:02 +0000 (20:48 +0200)]
bump version to 2.0-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agofollowup: network selector: refactor cidr6 merge logic
Thomas Lamprecht [Wed, 12 Jun 2019 11:07:32 +0000 (13:07 +0200)]
followup: network selector: refactor cidr6 merge logic

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agofollowup: network selector: reorder columns and adapt widths
Thomas Lamprecht [Wed, 12 Jun 2019 09:46:20 +0000 (11:46 +0200)]
followup: network selector: reorder columns and adapt widths

and use format_boolean to render the active column
also hide the type column by default, it often is not too important,
and can be derived from the interface name, e.g., vmbrX -> bridge,
bondX -> bond, etc.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agoadd network selector widget
Tim Marx [Wed, 12 Jun 2019 08:56:31 +0000 (10:56 +0200)]
add network selector widget

Signed-off-by: Tim Marx <t.marx@proxmox.com>
2 months agonode/APT: whitespace cleanup
Thomas Lamprecht [Mon, 3 Jun 2019 14:37:00 +0000 (16:37 +0200)]
node/APT: whitespace cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agonode/apt updates: show full package description conditionally
Thomas Lamprecht [Mon, 3 Jun 2019 10:59:28 +0000 (12:59 +0200)]
node/apt updates: show full package description conditionally

The full package description is often quite long, and for upgrades
it's not relevant most of the time. But, it can be intresting to
have, if one wonders what a package is even used for.
So add a checkbox in the top bar which allows to switch between
showing and hiding the description, simply done by re-using the
'grid-row-body-hidden' ExtJS CSS class (got the idea from the
RowBody feature source code).
Default it to off, as it's better to not overwhelm users here with a
huge pile of text by default, showing the list of package with the
short one line title is enough most of the times, I'd guess.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Tim Marx <t.marx@proxmox.com>
2 months ago backport fix for ExtJS pie chart tooltip for 0% entries
Dominik Csapak [Wed, 29 May 2019 11:36:04 +0000 (13:36 +0200)]
 backport fix for ExtJS pie chart tooltip for 0% entries

this fixes bug EXTJS_18900 where the tooltip of a piechart was always
shown for the first data entry with 0 percent of the pie chart

the relevant lines for the fix are
...
if (a === b) {
    return false;
}
...

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agobuildsys: switch upload dist over to buster
Thomas Lamprecht [Wed, 22 May 2019 08:23:21 +0000 (10:23 +0200)]
buildsys: switch upload dist over to buster

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agobump version to 2.0-1
Thomas Lamprecht [Wed, 22 May 2019 05:16:44 +0000 (07:16 +0200)]
bump version to 2.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agobuildsys: cleanup before building source package
Thomas Lamprecht [Wed, 22 May 2019 05:13:23 +0000 (07:13 +0200)]
buildsys: cleanup before building source package

makes lintian happier and there's no real reason not to do so.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agobuildsys: use dpkg-dev makefile helpers for pkg info
Thomas Lamprecht [Wed, 22 May 2019 05:12:53 +0000 (07:12 +0200)]
buildsys: use dpkg-dev makefile helpers for pkg info

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agobump version to 1.0-28
Thomas Lamprecht [Wed, 15 May 2019 12:28:44 +0000 (14:28 +0200)]
bump version to 1.0-28

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agofollowup: elaborate a bit more why there could be no content
Thomas Lamprecht [Wed, 15 May 2019 11:18:08 +0000 (13:18 +0200)]
followup: elaborate a bit more why there could be no content

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agofollowup: pull out 'Since/Until' to remove extra whitespace
Thomas Lamprecht [Wed, 15 May 2019 11:14:10 +0000 (13:14 +0200)]
followup: pull out 'Since/Until' to remove extra whitespace

This is similar to how we did in panel/LogView but adds disabling
also to the label, not only the picker field, which is a bit nicer.

And no, it really does not seems like this can be done easier...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agoadd panel/JournalView
Dominik Csapak [Wed, 15 May 2019 09:15:12 +0000 (11:15 +0200)]
add panel/JournalView

similar to LogView, but expects the result from the /node/journal api call,
which is an array of strings, with start/endcursor instead of
an array of objects with line numbers

the new api call also does not accept start line numbers and limit,
so it is necessary to handle it differently

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 months agochange network input from address/netmask to cidr and change labels
Dominik Csapak [Fri, 3 May 2019 07:28:55 +0000 (09:28 +0200)]
change network input from address/netmask to cidr and change labels

this makes the ui easier and is consistent with the rest of our ui
(container and cloud init)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 months agoshow cidr in network view and optimize renderer
Dominik Csapak [Fri, 3 May 2019 07:28:54 +0000 (09:28 +0200)]
show cidr in network view and optimize renderer

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 months agore-bump version to 1.0-27
Thomas Lamprecht [Tue, 7 May 2019 15:14:32 +0000 (15:14 +0000)]
re-bump version to 1.0-27

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agoLogView: also reduce log syscall on scrolling
Thomas Lamprecht [Tue, 7 May 2019 15:11:34 +0000 (15:11 +0000)]
LogView: also reduce log syscall on scrolling

move the "return early, because a request is already pending" into
the doLoad function, so that all calls to it underly the request
limiting, but note that such a new request is desired, and if so
schedule it once the current finishes. This ensures that scrolling
will always get honored, but does not produces multiple hanging
workers, at max one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agobump version to 1.0-27
Thomas Lamprecht [Tue, 7 May 2019 14:22:42 +0000 (14:22 +0000)]
bump version to 1.0-27

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agoreduce syslog api calls
Dominik Csapak [Tue, 30 Apr 2019 13:03:35 +0000 (15:03 +0200)]
reduce syslog api calls

do not poll the syslog api call multiple times simultaneously,
since it can be very costly, depending on the journal size

with this, there is always only one per client

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 months agobump version to 1.0-26
Thomas Lamprecht [Tue, 16 Apr 2019 05:58:20 +0000 (05:58 +0000)]
bump version to 1.0-26

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agonode/TimeEdit: allow to 'search' time zone
Thomas Lamprecht [Tue, 16 Apr 2019 05:53:06 +0000 (05:53 +0000)]
node/TimeEdit: allow to 'search' time zone

follow the logic we use in file selectors of the PVE gui, i.e., allow
editable but force a match and do not allow blank, this lets
quick filter this big list instead of scrolling, and searching if
something appears or not, even if one is may not be sure if/how this
was sorted...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agoadd ipv6 and ipv4 cidr match vtype
Mira Limbeck [Mon, 15 Apr 2019 13:12:16 +0000 (15:12 +0200)]
add ipv6 and ipv4 cidr match vtype

add additional vtype for combined ipv4 and ipv6 cidr validation.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
4 months agofix #1784: allow to set UTC as Timezone
Thomas Lamprecht [Mon, 15 Apr 2019 11:31:26 +0000 (11:31 +0000)]
fix #1784: allow to set UTC as Timezone

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agobump version to 1.0-25
Thomas Lamprecht [Wed, 3 Apr 2019 12:01:18 +0000 (14:01 +0200)]
bump version to 1.0-25

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agoadd helpers required for u2f authentication
Wolfgang Bumiller [Tue, 2 Apr 2019 10:22:09 +0000 (12:22 +0200)]
add helpers required for u2f authentication

With u2f having a ticket doesn't mean we're logged in yet,
so we need to be able to distinguish between the two.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 months agorework panel/LogView
Dominik Csapak [Tue, 2 Apr 2019 10:16:49 +0000 (12:16 +0200)]
rework panel/LogView

use the view, viewmodel, controller style code, which makes the logic
much more understandable

this adds two features to it, namely a viewBuffer range, which controls
the distance to the end of the data on which the panel loads the next data
and an optional failCallback, which will be used for the cephlog

this also fixes #2151

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 months agouse <sourcepackage>-<upstreamversion> as build dir, dpkg-source likes it
Thomas Lamprecht [Sat, 30 Mar 2019 12:00:20 +0000 (13:00 +0100)]
use <sourcepackage>-<upstreamversion> as build dir, dpkg-source likes it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agocompat 10 and record rsync as build dependency
Thomas Lamprecht [Sat, 30 Mar 2019 11:59:38 +0000 (12:59 +0100)]
compat 10 and record rsync as build dependency

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agoship commit hash and repo we build from
Thomas Lamprecht [Sat, 30 Mar 2019 11:57:19 +0000 (12:57 +0100)]
ship commit hash and repo we build from

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agobuildsys: add dsc target
Thomas Lamprecht [Sat, 30 Mar 2019 11:56:57 +0000 (12:56 +0100)]
buildsys: add dsc target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agoreword suspend
Dominik Csapak [Fri, 29 Mar 2019 09:44:32 +0000 (10:44 +0100)]
reword suspend

we have now have two suspend modes:

* pause: leave the process running and pause the guest cpu
* hibernate: save the state (and memory) to disk, stop the vm

since the meanings of suspend and hibernate are too close,
we change the old 'suspend' to 'pause'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 months agochange allowed v6 prefix-length to 128
Stoiko Ivanov [Thu, 21 Mar 2019 17:20:32 +0000 (18:20 +0100)]
change allowed v6 prefix-length to 128

Currently the frontend validation only allows values 8-120 as prefix-lengths for
ipv6-cidr notations.

Following commit 70ea22506939f9687e1146c0f35247cfbe9225b8 in pve-common, this
patch changes that value to 128, which, while seldomly seen in regular setups
is technically correct.

Problem was reported by a user in the forum - they needed to set a length of
125, because their provider supplies only smaller networks. [0]

[0] https://forum.proxmox.com/threads/lxc-ipv6-why-8-120.52638/

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
5 months agoMacPrefix: add note about unicast addr. to MacPrefixText
Thomas Lamprecht [Thu, 14 Mar 2019 09:12:47 +0000 (10:12 +0100)]
MacPrefix: add note about unicast addr. to MacPrefixText

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoMacPrefix: prevent multicast MacPrefixes
Stoiko Ivanov [Tue, 12 Mar 2019 15:07:47 +0000 (16:07 +0100)]
MacPrefix: prevent multicast MacPrefixes

provide direct visual feedback for the related commit in pve-cluster.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
5 months agobump version to 1.0-24
Thomas Lamprecht [Thu, 14 Mar 2019 06:42:09 +0000 (07:42 +0100)]
bump version to 1.0-24

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agominimal coding style and grammar fixup
Thomas Lamprecht [Thu, 14 Mar 2019 06:41:18 +0000 (07:41 +0100)]
minimal coding style and grammar fixup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoadd DnsOrIp vtype
Dominik Csapak [Wed, 13 Mar 2019 14:17:09 +0000 (15:17 +0100)]
add DnsOrIp vtype

this is useful for options that can be dns names or ips (e.g. ldap servers)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 months agobump version to 1.0-23
Thomas Lamprecht [Thu, 28 Feb 2019 10:25:52 +0000 (11:25 +0100)]
bump version to 1.0-23

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoutils: xtermjs: allow to pass a 'cmd' parameter to the terminal
Tim Marx [Wed, 27 Feb 2019 14:01:17 +0000 (15:01 +0100)]
utils: xtermjs: allow to pass a 'cmd' parameter to the terminal

also, as we already touch this:
Ext.urlEncode is deprecated, use Ext.Object.toQueryString instead

Signed-off-by: Tim Marx <t.marx@proxmox.com>
6 months agofix popup behaviour in firefox with touchscreens on desktop
Dominik Csapak [Thu, 21 Feb 2019 10:34:24 +0000 (11:34 +0100)]
fix popup behaviour in firefox with touchscreens on desktop

when the popup blocker is active, nw is undefined and nw.focus() throws
an error and the touchend event is not finished, causing
extjs to retry the touchevent and click handler, which tries to open
a popup which gets blocked here, and so on

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 months agotasks: put vzdump into VM/CT category
Fabian Grünbichler [Wed, 28 Nov 2018 09:51:41 +0000 (10:51 +0100)]
tasks: put vzdump into VM/CT category

to allow rendering of guest ID if available.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
8 months agobump version to 1.0-22
Thomas Lamprecht [Thu, 29 Nov 2018 11:59:09 +0000 (12:59 +0100)]
bump version to 1.0-22

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 months agofix typo
Dominik Csapak [Thu, 29 Nov 2018 11:33:08 +0000 (12:33 +0100)]
fix typo

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 months agoform: proxmox textfield: support binding 'allowBlank'
Thomas Lamprecht [Tue, 27 Nov 2018 14:22:23 +0000 (15:22 +0100)]
form: proxmox textfield: support binding 'allowBlank'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoupdate bump to 1.0-21
Thomas Lamprecht [Thu, 22 Nov 2018 13:59:33 +0000 (14:59 +0100)]
update bump to 1.0-21

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoUtils: storage creation task descriptions
Dominik Csapak [Thu, 22 Nov 2018 13:04:57 +0000 (14:04 +0100)]
Utils: storage creation task descriptions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
9 months agobump version to 1.0-21
Thomas Lamprecht [Thu, 22 Nov 2018 12:23:32 +0000 (13:23 +0100)]
bump version to 1.0-21

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoUtils: fix jslint errors
Thomas Lamprecht [Thu, 22 Nov 2018 12:20:13 +0000 (13:20 +0100)]
Utils: fix jslint errors

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoUtils: add some task descriptions
Thomas Lamprecht [Thu, 22 Nov 2018 12:19:50 +0000 (13:19 +0100)]
Utils: add some task descriptions

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agonode/DNS: render DNS fields htmlEncoded
Dominik Csapak [Fri, 19 Oct 2018 10:36:21 +0000 (12:36 +0200)]
node/DNS: render DNS fields htmlEncoded

and change to a better code formatting of the properties

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobump version to 1.0-20
Dietmar Maurer [Fri, 14 Sep 2018 10:01:38 +0000 (12:01 +0200)]
bump version to 1.0-20

11 months agoadd node/HostsView
Dominik Csapak [Thu, 13 Sep 2018 12:55:54 +0000 (14:55 +0200)]
add node/HostsView

to show/edit /etc/hosts

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
14 months agofixup: vlan type: use 'Linux VLAN'
Thomas Lamprecht [Tue, 19 Jun 2018 12:22:32 +0000 (14:22 +0200)]
fixup: vlan type: use 'Linux VLAN'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
14 months agoadd missing vlan type in network panel
Alexandre Derumier [Tue, 19 Jun 2018 08:47:22 +0000 (10:47 +0200)]
add missing vlan type in network panel

Currently a vlan interface is correctly parsed,
but GUI display it as unknown

14 months agobump version to 1.0-19
Thomas Lamprecht [Tue, 12 Jun 2018 14:45:57 +0000 (16:45 +0200)]
bump version to 1.0-19

14 months agoadd traditional Chinese to language map
Thomas Lamprecht [Tue, 5 Jun 2018 05:49:23 +0000 (07:49 +0200)]
add traditional Chinese to language map

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agobump version to 1.0-18
Fabian Grünbichler [Mon, 14 May 2018 09:07:56 +0000 (11:07 +0200)]
bump version to 1.0-18

15 months agoadd missing task description mappings
Dominik Csapak [Fri, 11 May 2018 12:48:26 +0000 (14:48 +0200)]
add missing task description mappings

this includes
* cephmgrcreate/destroy
* acmerenew/register/deactivate/refresh/renew/revoke/update
* clustercreate/join
* move_volume

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
15 months agobump version to 1.0-17
Wolfgang Bumiller [Thu, 3 May 2018 06:26:41 +0000 (08:26 +0200)]
bump version to 1.0-17

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
15 months agosave index on keydown and check on keyup
Dominik Csapak [Wed, 2 May 2018 13:28:26 +0000 (15:28 +0200)]
save index on keydown and check on keyup

so that the edit window does not open again when pressing enter

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
15 months agobump version to 1.0-16
Thomas Lamprecht [Wed, 2 May 2018 11:50:03 +0000 (13:50 +0200)]
bump version to 1.0-16

15 months agofixup: rename returnCompleteRecord to getRecord
Thomas Lamprecht [Mon, 30 Apr 2018 08:46:12 +0000 (10:46 +0200)]
fixup: rename returnCompleteRecord to getRecord

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agoadd returnCompleteRecord to ObjectStore
Dominik Csapak [Fri, 27 Apr 2018 10:28:32 +0000 (12:28 +0200)]
add returnCompleteRecord to ObjectStore

this can be useful when needing multiple fields

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
15 months agoadd apiCallDone callback for window.edit
Dominik Csapak [Thu, 26 Apr 2018 06:45:49 +0000 (08:45 +0200)]
add apiCallDone callback for window.edit

we sometimes want/need to do something when the api call
finished and need to know whether it was successful or need the result

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
16 months agoPendingObjectGrid: fix display of deletion of multikey fields
Dominik Csapak [Tue, 10 Apr 2018 14:36:42 +0000 (16:36 +0200)]
PendingObjectGrid: fix display of deletion of multikey fields

we did only check if the first field of a mulitfield key is being deleted,
resulting in showing no pending change at all when deleting any other,
and as long as only deletions were taking place

also when deleting the 'main' key of a multikey field, we
showed the deletion of the whole line, even when already showing
a different pending line

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
16 months agobump version to 1.0-15
Dietmar Maurer [Fri, 6 Apr 2018 11:48:36 +0000 (13:48 +0200)]
bump version to 1.0-15

16 months agoallow pressing enter in ObjectGrids to edit a field
Dominik Csapak [Fri, 6 Apr 2018 11:22:44 +0000 (13:22 +0200)]
allow pressing enter in ObjectGrids to edit a field

for this we need to overwrite the 'run_editor' function
of the ObjectGrid if we use a custom one

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
16 months agobetter default focus selection
Dominik Csapak [Fri, 6 Apr 2018 11:11:16 +0000 (13:11 +0200)]
better default focus selection

we do not want to focus on hidden/disabled fields,
because that focus gets lost and prevents some things
e.g. cancelling with ESC

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
16 months agoadd a checkbox to edit windows for advanced options
Dominik Csapak [Thu, 5 Apr 2018 14:03:45 +0000 (16:03 +0200)]
add a checkbox to edit windows for advanced options

if the inputpanel has advanced options, show a checkbox to
show/hide them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
16 months agoadd advanced options to the input panel
Dominik Csapak [Thu, 5 Apr 2018 14:03:44 +0000 (16:03 +0200)]
add advanced options to the input panel

with this, you can now put items in the
advancedColumn1/2/B and show/hide it with
setAdvancedVisible

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
16 months agobump version to 1.0-14
Dietmar Maurer [Thu, 5 Apr 2018 10:19:12 +0000 (12:19 +0200)]
bump version to 1.0-14

16 months ago(partially) fix #1223: add touchscreen override for extjs
Dominik Csapak [Fri, 30 Mar 2018 07:48:41 +0000 (09:48 +0200)]
(partially) fix #1223: add touchscreen override for extjs

the combination of firefox, touchscreen, mouse input and extjs
prevents normal click/touch input for buttons, lists, etc.

the workaround on firefox was to set
dom.w3c_touch_events.enabled
to 0 (in about:config)

or to upgrade to extjs >= 6.5.1 (of which there is no gpl release as of now)

so we introduce that workaround as it seems to not disrupt 'normal'
browsers and non-touchscreen devices

we then still have an issue with scrolling though, since extjs
now expects the user to drag the content instead of using the wheel

but it is still better than a completely non working interface

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>