Commit Graph

1804 Commits

Author SHA1 Message Date
Emmanuel Kasper
389b62b276 ext6migrate: fix picker dropdown on ViewSelector initial load
This fixes a nasty bug where an initial click on the  ViewSelector
trigger would display the picker but hide it immediatly afterwards.

What was happening behind the scene, is that without queryMode 'local',
the store bound to the picker was loaded on each picker display.

Loading the store would then trigger our onLoad() override in ToolKit.js
which called setValue(), which fired a bunch of unwanted events
including 'collapse'.

It is safe here not to call onLoad() to set an initial value, because
the initial value is set in initComponent() (value: groupdef[0][0])
2016-01-27 16:53:12 +01:00
Dietmar Maurer
2b353a6042 bump version to 4.1-8 2016-01-27 16:46:01 +01:00
Wolfgang Bumiller
0f2c29ad4f gui: preserve extra cpu options when changing CPU type 2016-01-27 16:44:59 +01:00
Emmanuel Kasper
aeb5e2f63f replace object creation via 'new' with ExtJS methods
This makes the code more homogeneous and allows us to use the ExtJS
class autoloader in the future if we want (autoloader idea: ExtJS tries to load the
JS class file over HTTP based on the class name, no need to maintain a list
of includes)
2016-01-27 09:18:15 +01:00
Emmanuel Kasper
fb3877561f ext6migrate: fix ressource tree filter selection
the selection do not return an array but a single 'records' object
so records.length is always undefined
2016-01-27 09:17:53 +01:00
Emmanuel Kasper
820c770f04 ext6migrate: move static fields to class body
Some fields  need to be processed by initConfig(),
which will be run before initComponent() in the
component lifecycle.

This fix the problem of the Selector default value
whihc was not loading.
2016-01-27 09:16:58 +01:00
Dietmar Maurer
ffd96a3bf5 add correct display text for lvmthin and drbd storage type 2016-01-27 05:56:30 +01:00
Dietmar Maurer
0d3370c685 bump version to 4.1-7 2016-01-26 16:47:46 +01:00
Fabian Grünbichler
41196653e1 Add DHPARAMS option in /etc/default/pveproxy
If set, Diffie-Hellman parameters in PEM format are loaded
from the given path. Otherwise, the built-in 'skip2048'
group is used.

Also fix some typos in the man page.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-01-26 16:44:17 +01:00
Fabian Grünbichler
ee0b96b15f Enable TLS 1.1 and 1.2, change default DH params
AnyEvent uses a built-in DH group defined as 'schmorp1539'
by default, which seems to trigger the bug in [1] for every
attempt of accessing the web GUI using IE11 and TLS1.2. By
switching to a bigger default DH group ('skip2048'), the
bug seems to be gone (or trigger sufficiently rarely).

1: http://engineering.imvu.com/2015/01/27/the-case-of-the-page-cant-be-displayed-intermittent-selenium-test/
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-01-26 16:42:53 +01:00
Emmanuel Kasper
08801a5d01 ext6migrate: fix a long running bug where a logout from the GUI would break the workspace
If we pass true to the removeAll() , ExtJS6 will try to erase the leafes of a tree,
and then try to to iterate throuch these leaves in onNodeRemove() ( this obviously do not work)

The true parameter does not seem to be needed anyway anymore.
After a call to removeAll, the childNodes[] property of the rootNode is empty
2016-01-26 10:54:32 +01:00
Emmanuel Kasper
b70496d69d Comment out missing/broken JS classes so we can select nodes in the left ressource tree with ExtJS6 2016-01-26 10:53:44 +01:00
Emmanuel Kasper
7722bd0958 When running with extjs=1, construct the includes lists based on manager6 dir content
This way, we don't have to manage manually the list files and let the FS do it.
For development purpose only.
2016-01-26 10:52:53 +01:00
Dietmar Maurer
3f60f3b82a bump version to 4.1-6 2016-01-25 11:01:27 +01:00
Wolfgang Bumiller
675946f221 fix #871: netstat: include veth devices
Include container's veth devices in /nodes/{node}/netstat
2016-01-25 10:59:48 +01:00
Dietmar Maurer
cab2875f4f add description for vztemplate and vzclone tasks 2016-01-22 11:24:32 +01:00
Dietmar Maurer
6c545e91d3 lxc GUI: add 'Convert to template' 2016-01-22 11:24:31 +01:00
Dietmar Maurer
cdac411263 update translation files
We try to avoid duplicate translation by using {0} instead if 'VM {0}'
and 'CT {0}'.
2016-01-22 11:24:31 +01:00
Dietmar Maurer
4507171400 copy storage/Browser.js from manager to manager5 2016-01-22 11:24:31 +01:00
Dietmar Maurer
156095db99 copy qemu/Config.js from manager to manager5 2016-01-22 11:24:30 +01:00
Dietmar Maurer
2ba22ee4f6 copy node/Config.js from manager to manager5 2016-01-22 11:24:30 +01:00
Dietmar Maurer
56166a785d copy lxc/Config.js from manager to manager5 2016-01-22 11:24:30 +01:00
Emmanuel Kasper
ed9ea0f563 Apply listConfig parameters when the picker is created, not when the component is created.
This fix the problem that multiple ComboGrids were displaying the same listConfig.
2016-01-22 11:24:29 +01:00
Dietmar Maurer
cbaae277f0 cleanup previous patch 2016-01-22 11:24:29 +01:00
Emmanuel Kasper
effd0b0a8b ext6migrate: Update our ComboGrid component to work with ExtJS6
Instead of extending the framework ComboBox, we extend the abstract
parent class Picker, so we don't rely on private methods ( and hopefull survive the
next ExtJS upgrade )

Usability improvement:
The selection model is now a checkboxmodel, which makes more clear to the user that
we can select more than one element in the list.
2016-01-22 11:24:28 +01:00
Wolfgang Bumiller
45a997c11e add Haswell-noTSX and Broadwell-noTSX cpu types 2016-01-22 11:24:28 +01:00
Dietmar Maurer
32fed66cd2 bump version to 4.1-5 2016-01-22 11:24:28 +01:00
Wolfgang Bumiller
2ffd4f64ca Close #850: ifenslave-2.6 is a transitional package
ifenslave>=2.6 replaces ifenslave-2.6 from 1.1.0-22.
we depended on ifenslave-2.6 >= 1.1.0-10
2016-01-22 11:24:27 +01:00
Dietmar Maurer
ce43b68af5 bump version to 4.1-4 2016-01-22 11:24:27 +01:00
Dietmar Maurer
637f2b730a bump version to 4.1-3 2016-01-22 11:24:26 +01:00
Dietmar Maurer
e581141e40 add hungarian translation 2016-01-22 11:24:26 +01:00
Dietmar Maurer
ad95f6af75 fix Makefiles (add 'all' target) 2016-01-22 11:24:26 +01:00
Wolfgang Bumiller
15a5cdd1b3 ceph: make config parser less greedy
Options such as:
  osd mount options xfs = -i size=2048 -n size=16k
were parsed as:
  key: 'osd mount options xfs = -i size=2048 -n size'
  value: '16k'

This is due to the greedy .* in the beginning. Making it
non-greedy fixes this.

Fixes #851
2016-01-22 11:24:25 +01:00
Dietmar Maurer
f65c77d3ca bump version to 4.1-1 2016-01-22 11:24:25 +01:00
Emmanuel Kasper
2ad16f261f Do not try to enforce a Picker size manually, let the framework do it
The Picker of the ComboBox, has by default a maxHeight of 300 px. If the list of elements is bigger that 300 pixels, then a scrollbar will be added.
This behaviour was broken with ExtJS4, but now works correctly with ExtJS6.
2016-01-22 11:24:25 +01:00
Emmanuel Kasper
a13842bf0e Ext6migrate: move static configuration from instantiation time to class declaration time.
This fixes the problem that this ComboGrid was displayed with an empty value
( similar the to the Keyboard Selection and Realm Selection in the login window)
2016-01-22 11:24:24 +01:00
Dietmar Maurer
ebc1f47c4c bump versiont to 4.0-66 2016-01-22 11:24:24 +01:00
Dietmar Maurer
59d47ade01 add qemu BIOS option 2016-01-22 11:24:24 +01:00
Dietmar Maurer
98c607e1ce bump version to 4.0-65 2016-01-22 11:24:23 +01:00
Wolfgang Bumiller
49ee2d1ae8 APLInfo: support proxying http traffic
As requested in ticket #838, to support running `pveam
update` from within a proxied environment.

Closes #838
2016-01-22 11:24:23 +01:00
Emmanuel Kasper
137f890ac7 Ext6migrate :remove unused column ID
An component id 'comment' is already defined for the column Comment of UserView.js causing here a conflict.
It seems ExtJS6 is more stringent about that than ExtJS4.
2016-01-22 11:24:23 +01:00
Emmanuel Kasper
a26c8bf752 Ext6migrate: Fix selection mode combobox for backup 2016-01-22 11:24:22 +01:00
Emmanuel Kasper
ff118a4dd7 Listen to activate / deactivate events to start the background store refresh
This fixes the problem that a user triggerred F5 was not displaying the
content of the Cluster Log Tab
2016-01-22 11:24:22 +01:00
Dietmar Maurer
dfd36ce1d6 set RELEASE=4.1 2016-01-22 11:24:22 +01:00
Dietmar Maurer
888b6be2fe bump version to 4.0-64 2016-01-22 11:24:21 +01:00
Wolfgang Bumiller
28b699bc7b fix bug #821: add systemd-timesyncd to service list. 2016-01-22 11:24:21 +01:00
Emmanuel Kasper
cececa1d65 ext6migrate: remove redundant code to set the default active tab
If the default activeTab is *undefined* and *not* null, activeTab defaults to 0,
so we don't need to set this explicitely.

dug from ExtJS tabPanel:
activeTab = me.activeTab !== null ? (me.activeTab || 0) : null;
2016-01-22 11:24:21 +01:00
Emmanuel Kasper
c0b3df6e34 ext6migrate: listen to 'activate' events for panels inside a tabpanel
Using ExtJS6 a browser refresh (F5) do not send the 'show' event which we use to display the store as it did with ExtJS4.

At the momment only for tabs inside the datacenter tabpanel, since node and lxc tabpanels are not yet in manager6/
2016-01-22 11:24:20 +01:00
Dietmar Maurer
424c12694e bump version to 4.0-63 2016-01-22 11:24:20 +01:00
Dietmar Maurer
623c4a1079 pveproxy.service: start after remote-fs and ceph 2016-01-22 11:24:20 +01:00