Commit Graph

1929 Commits

Author SHA1 Message Date
Emmanuel Kasper
851bd43cc2 rename component 'id' property to 'stateId'
ExtJS6 requires a stateId if we want to save the component state
(seems it is not autogenerated anymore from 'id')
this fix the selection of timeframes in the Summary View

also move properties out of initComponent()

also remove code which duplicates framework code:
setting stateEvents to 'select' will save the component state
after a selection by calling applyState()/getState() automatically
so we don't need to specify a callback ourselves and we don't need
the testChange() method since applyState() will be called anyway
2016-02-23 12:54:17 +01:00
Wolfgang Bumiller
b521e9729e parser: parseLxcMountPoint, printLxcMountPoint 2016-02-22 16:31:27 +01:00
Dietmar Maurer
011e74d852 bump version to 4.1-15 2016-02-20 10:22:42 +01:00
Dominik Csapak
0ed3141561 add lvmthin to gui
this patch adds the ability to add existing lvm thinpools to the
storage configuration via the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-20 10:17:24 +01:00
Dominik Csapak
8bc518aca4 restrict lvm thin on qemu to storage type raw
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-20 09:49:45 +01:00
Dominik Csapak
2eb0767b3c add htmlEncode to various fields
and the same for manager6

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-20 09:48:23 +01:00
Dominik Csapak
3095fb1d08 add htmlEncode to various fields
add htmlEnode as a renderer to fields which lets you
input arbitrary strings, to prevent html tags

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-20 09:48:11 +01:00
Wolfgang Bumiller
bda8855a5b firewall: add enable ndp option 2016-02-19 10:10:51 +01:00
Dietmar Maurer
487166b67a update changelog 2016-02-18 09:36:18 +01:00
Wolfgang Bumiller
b73df817a3 Fix 895: don't drop the other processor values on load()
(Introduced in a5d21db: preserve extra cpu options)
2016-02-18 09:33:52 +01:00
Dietmar Maurer
b38c679ba9 bump version to 4.1-14 2016-02-18 06:35:58 +01:00
Wolfgang Link
d5a62d20da Fix problems with turnkey repository.
To prevent that one time Net:SSL and an outer time IO::Socket::SSL is loaded,
ensure that always use the same socket class.

We load the the Net:SSL in AccessControl.pm if we call pveupdate,
but if we call pveam update this module is not loaded an so the default is used (IO::Socket::SSL).
2016-02-18 06:34:41 +01:00
Emmanuel Kasper
355ac51eb2 rename 'autoscroll' parameter to 'scrollable' following framework changes
also move static parameters out of initComponent() for proper panel
initialization
2016-02-17 15:26:49 +01:00
Emmanuel Kasper
63b9faaec1 temporary disable accessibility warnings
ExtJS6 adds accessibility (aria) support to the framework, which means
special handling of space/enter key and panels title, and a lot of
warnings / errors in the browser console

Aria support will be reenabled after all the components are migrated to
ExtJS6
2016-02-17 15:26:13 +01:00
Emmanuel Kasper
0a0ca36c94 remove redundant model definition
pve-services is already declared in ServiceView.js provoking
a namespace clash
2016-02-17 15:25:38 +01:00
Emmanuel Kasper
7621bfbf77 Fix initial loading of Node tabpanel:
* push initial components individually
* replace ifor the momment pvepanels with basic panels so we can at least load the first tabs
* group ceph component with previous push call as they require the same capabilities
2016-02-17 15:23:35 +01:00
Emmanuel Kasper
458e534cf2 Add class documentation header 2016-02-17 12:06:32 +01:00
Emmanuel Kasper
7a3691ac08 use 'refresh' event to reload the grid after filtering the store
'datachanged' event was not reloading the store with ExtJS5,
but 'refresh' does.
According to the API description 'refresh' seems to be what we need:
http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.data.AbstractStore-event-refresh

also remove deprecated readme ( ExtJS6 do not have the 'chunking' Grid Feature, and no bugs
seen in scrolling yet)
2016-02-17 12:06:14 +01:00
Emmanuel Kasper
64ece72558 Enable HA datacenter panel
No further changes needed here
2016-02-17 11:58:36 +01:00
Emmanuel Kasper
36fd2767a6 Fix warning in Browser console due to missing meta entry
We're not going to support mobile devices via the standard gui,
but ExtJS 6 themes need this
2016-02-17 11:58:16 +01:00
Emmanuel Kasper
cfdc7ada3a Added UI elements for the backup job disabling function
Added a column in the datacenter backup job overview to see if a job
is enabled or not. Added checkbox to the input panel, which enables
or disables a job.
This closes bug/feature request 492.

This patch was missing in manager6
2016-02-17 11:57:36 +01:00
Dietmar Maurer
48e8c32a4d copy node/TimeView.js from manager to manager6 2016-02-17 11:55:32 +01:00
Dietmar Maurer
f48586ba86 copy node/TimeEdit.js from manager to manager6 2016-02-17 11:55:32 +01:00
Dietmar Maurer
fec1ae37a8 copy node/Tasks.js from manager to manager6 2016-02-17 11:55:32 +01:00
Dietmar Maurer
e5a857f788 copy node/Summary.js from manager to manager6 2016-02-17 11:55:32 +01:00
Dietmar Maurer
0bef095abc copy node/Subscription.js from manager to manager6 2016-02-17 11:55:32 +01:00
Dietmar Maurer
a5c093b1e6 copy node/StatusView.js from manager to manager6 2016-02-17 11:55:32 +01:00
Dietmar Maurer
fa19c53c07 copy node/ServiceView.js from manager to manager6 2016-02-17 11:55:32 +01:00
Dietmar Maurer
7d7862e27c copy node/NetworkView.js from manager to manager6 2016-02-17 11:55:32 +01:00
Dietmar Maurer
2793ed3bfc copy node/NetworkEdit.js from manager to manager6 2016-02-17 11:55:31 +01:00
Dietmar Maurer
5867b20c6a copy node/DNSView.js from manager to manager6 2016-02-17 11:55:31 +01:00
Dietmar Maurer
5d19ec1a00 copy node/DNSEdit.js from manager to manager6 2016-02-17 11:55:31 +01:00
Dietmar Maurer
3ab68bc9ce copy node/APT.js from manager to manager6 2016-02-17 11:55:31 +01:00
Dietmar Maurer
189d7c6c33 copy ha/StatusView.js from manager to manager6 2016-02-15 12:35:14 +01:00
Dietmar Maurer
b7ba8353fd copy ha/Resources.js from manager to manager6 2016-02-15 12:35:14 +01:00
Dietmar Maurer
9b81768fd7 copy ha/ResourceEdit.js from manager to manager6 2016-02-15 12:35:14 +01:00
Dietmar Maurer
6439b3696b copy ha/Groups.js from manager to manager6 2016-02-15 12:35:14 +01:00
Dietmar Maurer
1e4d58ad87 copy ha/GroupSelector.js from manager to manager6 2016-02-15 12:35:14 +01:00
Dietmar Maurer
78fa628075 copy ha/GroupEdit.js from manager to manager6 2016-02-15 12:35:13 +01:00
Dietmar Maurer
bc0c438d17 copy ha/Fencing.js from manager to manager6 2016-02-15 12:35:13 +01:00
Dietmar Maurer
922f545058 copy ha/Config.js from manager to manager6 2016-02-15 12:35:13 +01:00
Emmanuel Kasper
1fafdce8c2 ext6migrate: fix display of sport/dport/proto combo boxes
setting the field value of to '' would trigger
the 'change' event which would then disable
the sport/dport/proto comboboxes too early, an empty
form would have the comboboxes disabled too

instead keep the field to a null value if it is empty, but force
it to '' before sending to the pve-proxy

also makes the macro selector keyboard editable, similar to
the other comboboxes in the input panel
2016-02-15 12:28:23 +01:00
Emmanuel Kasper
3d990919c2 ext6migrate: set valueField as a class property
Also moves to full declarative style for
IPProtocolSelector, saves 11 lines of of boilerplate code
(works when the store is local and not pulled over the API)
2016-02-15 12:28:13 +01:00
Emmanuel Kasper
a263665b16 Ext6migrate: Update our ComboGrid component to work with ExtJS6
The ComboGrid combonent requires row-like selection something that
the default ExtJS Ext.selection.DataViewModel used for ComboBox cannot do.

This requires overriding the protected method onBindStore() where the selection
model is set.
2016-02-15 12:25:17 +01:00
Thomas Lamprecht
5fc9bddb07 ext6/triton: add some visual changes and fixes
They are mostly intended to save space as the "new theme", if it
gets applied, takes up space like it's worth pure gold.

Paddings get made smaller on buttons, tabs and grids.
Also let the main tree receive a sane space padding.

Further fix the height of the top info panel (the one with the logo,
PVE version, login button ...).

Also the "start/stop/more/..." buttons from the tool bar above the
navigation tab bar gets fixed.

Login panel got also some small fixes together with all input
fields.

We use simple CSS overrides to achieve this all.
Working with the scss (sass) files and rebuilding the theme would
be nicer, but as I have no intend to start working with senchas
"build system" and we self have no sane way for compiling the sass
stuff also, this is the preferred way for now.

We add a new css stylesheet so that the current manager remains
untouched by this changes.
2016-02-12 10:46:51 +01:00
Dietmar Maurer
5a49655419 bump version to 4.1-13 2016-02-12 10:43:31 +01:00
Dietmar Maurer
194076348f pveupdate: use warnings instead of -w 2016-02-12 10:42:23 +01:00
Dietmar Maurer
f9ee64e1a5 bump version to 4.1-12 2016-02-12 08:23:00 +01:00
Thomas Lamprecht
90c75580b6 add permissions to allow non root ceph configuration
Do not only allow root@pam to admin ceph server as some user do not
want to allow root logins and users with the Sys.Modify permission
should be able to modify ceph related stuff.

We use basically the following permissions:
 Sys.Modify:
    for any delete, add, modify action (POST, PUT, DELETE)
 Sys.Audit and Datastore.Audit:
    for any status/information view action (GET)
 Sys.Log:
    for viewing the Ceph log (was already implemented)

We have two exceptions creating and destroying osds. Those may only
be done by 'root@pam' for security reasons.

Also show users with any of those capabilities the ceph tab in the
web GUI.

Addresses bug#818
2016-02-12 08:22:16 +01:00
Dietmar Maurer
feaf335817 bump version to 4.1-11 2016-02-11 12:06:12 +01:00