Commit Graph

191 Commits

Author SHA1 Message Date
Thomas Lamprecht
1b44369277 compat 10 and record rsync as build dependency
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 12:59:38 +01:00
Thomas Lamprecht
e62859c5e5 ship commit hash and repo we build from
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 12:57:19 +01:00
Thomas Lamprecht
f0e4870b4f buildsys: add dsc target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 12:56:57 +01:00
Dominik Csapak
b7d94d3e1a 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>
2019-03-30 12:41:41 +01:00
Stoiko Ivanov
a2fb6c87cb 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>
2019-03-21 18:35:37 +01:00
Thomas Lamprecht
ffe265051c MacPrefix: add note about unicast addr. to MacPrefixText
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 10:12:49 +01:00
Stoiko Ivanov
add18fadb5 MacPrefix: prevent multicast MacPrefixes
provide direct visual feedback for the related commit in pve-cluster.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-03-14 10:08:22 +01:00
Thomas Lamprecht
60b98983d4 bump version to 1.0-24
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 07:42:09 +01:00
Thomas Lamprecht
694a76f617 minimal coding style and grammar fixup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 07:41:18 +01:00
Dominik Csapak
ba916e58a9 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>
2019-03-14 07:38:21 +01:00
Thomas Lamprecht
f90c941bc6 bump version to 1.0-23
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-28 11:25:52 +01:00
Tim Marx
f80f1f94d3 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>
2019-02-28 10:39:40 +01:00
Dominik Csapak
9bf01f76c7 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>
2019-02-21 12:31:16 +01:00
Fabian Grünbichler
9138244f8b 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>
2019-01-03 09:19:40 +01:00
Thomas Lamprecht
2caa58a379 bump version to 1.0-22
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-29 12:59:09 +01:00
Dominik Csapak
99a5979b2b fix typo
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-29 12:33:08 +01:00
Thomas Lamprecht
ec0798689f form: proxmox textfield: support binding 'allowBlank'
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-28 12:17:57 +01:00
Thomas Lamprecht
0a751aabb5 update bump to 1.0-21
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 15:00:54 +01:00
Dominik Csapak
0908d830cf Utils: storage creation task descriptions
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-22 14:07:31 +01:00
Thomas Lamprecht
cbf3acee3a bump version to 1.0-21
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 13:23:32 +01:00
Thomas Lamprecht
c5aaa502d3 Utils: fix jslint errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 13:20:25 +01:00
Thomas Lamprecht
9367da29d2 Utils: add some task descriptions
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 13:20:21 +01:00
Dominik Csapak
9629b6ca03 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>
2018-10-22 08:57:24 +02:00
Dietmar Maurer
7fc8bdf570 bump version to 1.0-20 2018-09-14 12:01:38 +02:00
Dominik Csapak
3cf341e92a add node/HostsView
to show/edit /etc/hosts

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-09-14 11:51:31 +02:00
Thomas Lamprecht
8cb1ec178c fixup: vlan type: use 'Linux VLAN'
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-19 14:22:34 +02:00
Alexandre Derumier
92ccd25d2a add missing vlan type in network panel
Currently a vlan interface is correctly parsed,
but GUI display it as unknown
2018-06-19 11:33:27 +02:00
Thomas Lamprecht
a348814625 bump version to 1.0-19 2018-06-12 16:45:57 +02:00
Thomas Lamprecht
0247a07a1e add traditional Chinese to language map
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-07 09:46:24 +02:00
Fabian Grünbichler
46574d3548 bump version to 1.0-18 2018-05-14 11:07:56 +02:00
Dominik Csapak
18ffbaef6c 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>
2018-05-14 10:53:04 +02:00
Wolfgang Bumiller
bd7c96d053 bump version to 1.0-17
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-05-03 08:26:41 +02:00
Dominik Csapak
ce9a0f27cd 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>
2018-05-02 15:53:35 +02:00
Thomas Lamprecht
41670d25b5 bump version to 1.0-16 2018-05-02 13:50:03 +02:00
Thomas Lamprecht
73b0150c5e fixup: rename returnCompleteRecord to getRecord
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-04-30 10:46:30 +02:00
Dominik Csapak
59db703100 add returnCompleteRecord to ObjectStore
this can be useful when needing multiple fields

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-30 09:41:36 +02:00
Dominik Csapak
a498f27991 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>
2018-04-27 14:03:37 +02:00
Dominik Csapak
2087bcd90b 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>
2018-04-23 12:13:46 +02:00
Dietmar Maurer
bebf81f0ce bump version to 1.0-15 2018-04-06 13:48:36 +02:00
Dominik Csapak
9307eda498 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>
2018-04-06 13:46:36 +02:00
Dominik Csapak
5d3089cd94 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>
2018-04-06 13:44:27 +02:00
Dominik Csapak
880df5d504 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>
2018-04-06 10:08:31 +02:00
Dominik Csapak
33a4fc355c 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>
2018-04-06 10:05:33 +02:00
Dietmar Maurer
ba70732c22 bump version to 1.0-14 2018-04-05 12:19:12 +02:00
Dominik Csapak
aea77b2c69 (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>
2018-03-30 10:10:46 +02:00
Thomas Lamprecht
fde8e8bbb9 task view, progress: add taskDone callback
and integrate it into the edit window

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-27 14:03:14 +02:00
Thomas Lamprecht
8d8dbfc5b9 window/Edit: allow showing TaskViewer instead of TaskProgress
let our users decide if the want to show a TaskProgress window or a
TaskViewer window, so that they do not always must create the Viewer
their self

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-27 11:53:30 +02:00
Dominik Csapak
37d8d60201 add labelWidth to the fieldDefaults in add_*_row
this resizes the editwindow to the correct size

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-16 16:01:57 +01:00
Dominik Csapak
0d5c5e14c8 add an optional renderer for integer rows in ObjectGrid
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-16 11:35:35 +01:00
Dietmar Maurer
36ee012f37 bump version to 1.0-13 2018-03-08 11:38:18 +01:00