]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
8 years agoadd list to pveam
Wolfgang Link [Wed, 24 Feb 2016 11:11:07 +0000 (12:11 +0100)]
add list to pveam

This function list all the templates off a specified storage.
It also gives the size of the template.

8 years agoadd pveam download
Wolfgang Link [Wed, 24 Feb 2016 11:11:06 +0000 (12:11 +0100)]
add pveam download

With this function you can download templates from the repositories.

8 years agoremove debugging code
Dietmar Maurer [Fri, 26 Feb 2016 10:36:48 +0000 (11:36 +0100)]
remove debugging code

8 years agorefactor pveam to use it with our CLI Handler.
Wolfgang Link [Wed, 24 Feb 2016 11:11:05 +0000 (12:11 +0100)]
refactor pveam to use it with our CLI Handler.

8 years agofix initlog name
Wolfgang Link [Thu, 25 Feb 2016 13:47:47 +0000 (14:47 +0100)]
fix initlog name

8 years agochange turnkey URL to https version to permit a redirection.
Wolfgang Link [Thu, 25 Feb 2016 13:47:46 +0000 (14:47 +0100)]
change turnkey URL to https version to permit a redirection.

8 years agodo not use Net::SSL
Dietmar Maurer [Fri, 26 Feb 2016 10:29:00 +0000 (11:29 +0100)]
do not use Net::SSL

seems IO::Socket::SSL can now connect to proxy

8 years agofix HA Group Selector display
Emmanuel Kasper [Thu, 25 Feb 2016 15:35:57 +0000 (16:35 +0100)]
fix HA Group Selector display

displayField must now be set in class body, take opportunity to move out
other config properties from initComponent()

8 years agoload the store later, move non-dynamic properties and methods to class body
Emmanuel Kasper [Thu, 25 Feb 2016 12:20:07 +0000 (13:20 +0100)]
load the store later, move non-dynamic properties and methods to class body

this fixes two problems:
 * we were loading the store before the parent ComboGrid class could put
  a listener on the load event
  * displayField must now be set in class body, take opportunity to move out
  what we can of the mega initComponent()

this two fixes allow the HA GroupEdit  Window to properly display the
existing members of a HA Group when editing group membership

8 years agoreload stores of tabpanel children on 'activate' event
Emmanuel Kasper [Thu, 25 Feb 2016 12:20:06 +0000 (13:20 +0100)]
reload stores of tabpanel children on 'activate' event

Tabpanel reload -> send 'show' event -> reload child panel store

do not work with ExtJS6

but

Tabpanel reload -> reload  child panel ->  child send 'show' event ->
reload a grid store in the panel still works

so we don't blindly replace the 'show' events everywhere but only
when the event was expected by a direct child of a tabpanel

8 years agochange xtype name to follow ExtJS and our own conventions
Emmanuel Kasper [Thu, 25 Feb 2016 12:20:05 +0000 (13:20 +0100)]
change xtype name to follow ExtJS and our own conventions

this also fixes the problem that the method
Ext.ComponentQuery.query() was outputting a warning
since it did not know if it should perform a  lookup
for a class name or a xtype

8 years agoext6migrate: enable syslog and taskhistory tabs
Dominik Csapak [Thu, 25 Feb 2016 13:11:23 +0000 (14:11 +0100)]
ext6migrate: enable syslog and taskhistory tabs

enables the tabs for the nodes view

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix LogView
Dominik Csapak [Thu, 25 Feb 2016 13:11:21 +0000 (14:11 +0100)]
ext6migrate: fix LogView

fixes the LogView (for Tasks and Syslog) including:
 moving static configuration to class definition
 changing deprecated bodyStyle: padding to bodyPadding
 removing chrome scrolltop hack (does work properly now, and hack
  did not work anymore)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change applyIf to apply in TaskViewer
Dominik Csapak [Thu, 25 Feb 2016 13:11:22 +0000 (14:11 +0100)]
ext6migrate: change applyIf to apply in TaskViewer

this fixes the window for tasks (previously the content was not
correctly sized)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix Task History for nodes
Dominik Csapak [Thu, 25 Feb 2016 13:11:20 +0000 (14:11 +0100)]
ext6migrate: fix Task History for nodes

fixes include:
 move static configuration to class declaration
 use Ext.create instead of new for reload_task
 use store.reload(), because store.filter() triggers no reload with
  activated
 remove store.guaranteeRange hack for infinite grid (works properly now)
 since buffered: true is deprecated, use a BufferedStore instead
 remove verticalScrollerType and invalidateScrollerOnRefresh
  since this does not exist anymore in extjs6

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint...
Wolfgang Bumiller [Wed, 24 Feb 2016 13:56:59 +0000 (14:56 +0100)]
jslint...

*sigh*

8 years agoRevert "ext5migrate: do not set a custome idProperty for the KeyValue model"
Emmanuel Kasper [Wed, 24 Feb 2016 09:53:52 +0000 (10:53 +0100)]
Revert "ext5migrate: do not set a custome idProperty for the KeyValue model"

This reverts commit c8e0699d5da29a756d00334c3bdea80da98496ef.

Without using an idProperty in the KeyValue model, the id of each
store item is autogenerated, and the DiffStore always recreate the whole
store content every second instead of updating the fields where values
have changed. Recreating the whole store content makes the
Node Summary View flicker, as the order of items in the store change
after each reload.

Testing shows that reversing this commit do not break anything else.

8 years agoAdd documentation header for ObjectGrid.js
Emmanuel Kasper [Wed, 24 Feb 2016 09:53:51 +0000 (10:53 +0100)]
Add documentation header for ObjectGrid.js

also enhance the documentation header for DiffStore and UpdateStore

8 years agoResourceEdit.js: use correct filed label
Dietmar Maurer [Tue, 23 Feb 2016 15:46:15 +0000 (16:46 +0100)]
ResourceEdit.js: use correct filed label

8 years agolxc: disable edit button for non-root users for bindmounts
Wolfgang Bumiller [Tue, 23 Feb 2016 14:00:22 +0000 (15:00 +0100)]
lxc: disable edit button for non-root users for bindmounts

8 years agolxc: use mount point editor in create wizard
Wolfgang Bumiller [Tue, 23 Feb 2016 14:00:21 +0000 (15:00 +0100)]
lxc: use mount point editor in create wizard

8 years agolxc: create/edit/remove mountpoints
Wolfgang Bumiller [Tue, 23 Feb 2016 14:00:20 +0000 (15:00 +0100)]
lxc: create/edit/remove mountpoints

8 years agoparser: perform mountpoint classification
Wolfgang Bumiller [Tue, 23 Feb 2016 14:00:19 +0000 (15:00 +0100)]
parser: perform mountpoint classification

8 years agorename component 'id' property to 'stateId'
Emmanuel Kasper [Mon, 22 Feb 2016 09:16:13 +0000 (10:16 +0100)]
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

8 years agoparser: parseLxcMountPoint, printLxcMountPoint
Wolfgang Bumiller [Mon, 22 Feb 2016 13:33:40 +0000 (14:33 +0100)]
parser: parseLxcMountPoint, printLxcMountPoint

8 years agobump version to 4.1-15
Dietmar Maurer [Sat, 20 Feb 2016 09:22:42 +0000 (10:22 +0100)]
bump version to 4.1-15

8 years agoadd lvmthin to gui
Dominik Csapak [Fri, 19 Feb 2016 13:51:43 +0000 (14:51 +0100)]
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>
8 years agorestrict lvm thin on qemu to storage type raw
Dominik Csapak [Thu, 18 Feb 2016 15:36:08 +0000 (16:36 +0100)]
restrict lvm thin on qemu to storage type raw

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd htmlEncode to various fields
Dominik Csapak [Thu, 18 Feb 2016 14:21:40 +0000 (15:21 +0100)]
add htmlEncode to various fields

and the same for manager6

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd htmlEncode to various fields
Dominik Csapak [Thu, 18 Feb 2016 14:21:39 +0000 (15:21 +0100)]
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>
8 years agofirewall: add enable ndp option
Wolfgang Bumiller [Fri, 19 Feb 2016 08:44:17 +0000 (09:44 +0100)]
firewall: add enable ndp option

8 years agoupdate changelog
Dietmar Maurer [Thu, 18 Feb 2016 08:36:18 +0000 (09:36 +0100)]
update changelog

8 years agoFix 895: don't drop the other processor values on load()
Wolfgang Bumiller [Thu, 18 Feb 2016 07:29:02 +0000 (08:29 +0100)]
Fix 895: don't drop the other processor values on load()

(Introduced in a5d21db: preserve extra cpu options)

8 years agobump version to 4.1-14
Dietmar Maurer [Thu, 18 Feb 2016 05:35:58 +0000 (06:35 +0100)]
bump version to 4.1-14

8 years agoFix problems with turnkey repository.
Wolfgang Link [Wed, 17 Feb 2016 08:12:57 +0000 (09:12 +0100)]
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).

8 years agorename 'autoscroll' parameter to 'scrollable' following framework changes
Emmanuel Kasper [Wed, 17 Feb 2016 13:53:58 +0000 (14:53 +0100)]
rename 'autoscroll' parameter to 'scrollable' following framework changes

also move static parameters out of initComponent() for proper panel
initialization

8 years agotemporary disable accessibility warnings
Emmanuel Kasper [Wed, 17 Feb 2016 13:53:57 +0000 (14:53 +0100)]
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

8 years agoremove redundant model definition
Emmanuel Kasper [Wed, 17 Feb 2016 13:53:56 +0000 (14:53 +0100)]
remove redundant model definition

pve-services is already declared in ServiceView.js provoking
a namespace clash

8 years agoFix initial loading of Node tabpanel:
Emmanuel Kasper [Wed, 17 Feb 2016 13:53:55 +0000 (14:53 +0100)]
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

8 years agoAdd class documentation header
Emmanuel Kasper [Tue, 16 Feb 2016 15:14:14 +0000 (16:14 +0100)]
Add class documentation header

8 years agouse 'refresh' event to reload the grid after filtering the store
Emmanuel Kasper [Tue, 16 Feb 2016 15:14:13 +0000 (16:14 +0100)]
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)

8 years agoEnable HA datacenter panel
Emmanuel Kasper [Mon, 15 Feb 2016 12:29:59 +0000 (13:29 +0100)]
Enable HA datacenter panel

No further changes needed here

8 years agoFix warning in Browser console due to missing meta entry
Emmanuel Kasper [Mon, 15 Feb 2016 12:29:58 +0000 (13:29 +0100)]
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

8 years agoAdded UI elements for the backup job disabling function
Emmanuel Kasper [Mon, 15 Feb 2016 12:29:57 +0000 (13:29 +0100)]
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

8 years agocopy node/TimeView.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:32 +0000 (11:55 +0100)]
copy node/TimeView.js from manager to manager6

8 years agocopy node/TimeEdit.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:32 +0000 (11:55 +0100)]
copy node/TimeEdit.js from manager to manager6

8 years agocopy node/Tasks.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:32 +0000 (11:55 +0100)]
copy node/Tasks.js from manager to manager6

8 years agocopy node/Summary.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:32 +0000 (11:55 +0100)]
copy node/Summary.js from manager to manager6

8 years agocopy node/Subscription.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:32 +0000 (11:55 +0100)]
copy node/Subscription.js from manager to manager6

8 years agocopy node/StatusView.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:32 +0000 (11:55 +0100)]
copy node/StatusView.js from manager to manager6

8 years agocopy node/ServiceView.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:32 +0000 (11:55 +0100)]
copy node/ServiceView.js from manager to manager6

8 years agocopy node/NetworkView.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:32 +0000 (11:55 +0100)]
copy node/NetworkView.js from manager to manager6

8 years agocopy node/NetworkEdit.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:31 +0000 (11:55 +0100)]
copy node/NetworkEdit.js from manager to manager6

8 years agocopy node/DNSView.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:31 +0000 (11:55 +0100)]
copy node/DNSView.js from manager to manager6

8 years agocopy node/DNSEdit.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:31 +0000 (11:55 +0100)]
copy node/DNSEdit.js from manager to manager6

8 years agocopy node/APT.js from manager to manager6
Dietmar Maurer [Wed, 17 Feb 2016 10:55:31 +0000 (11:55 +0100)]
copy node/APT.js from manager to manager6

8 years agocopy ha/StatusView.js from manager to manager6
Dietmar Maurer [Mon, 15 Feb 2016 11:35:14 +0000 (12:35 +0100)]
copy ha/StatusView.js from manager to manager6

8 years agocopy ha/Resources.js from manager to manager6
Dietmar Maurer [Mon, 15 Feb 2016 11:35:14 +0000 (12:35 +0100)]
copy ha/Resources.js from manager to manager6

8 years agocopy ha/ResourceEdit.js from manager to manager6
Dietmar Maurer [Mon, 15 Feb 2016 11:35:14 +0000 (12:35 +0100)]
copy ha/ResourceEdit.js from manager to manager6

8 years agocopy ha/Groups.js from manager to manager6
Dietmar Maurer [Mon, 15 Feb 2016 11:35:14 +0000 (12:35 +0100)]
copy ha/Groups.js from manager to manager6

8 years agocopy ha/GroupSelector.js from manager to manager6
Dietmar Maurer [Mon, 15 Feb 2016 11:35:14 +0000 (12:35 +0100)]
copy ha/GroupSelector.js from manager to manager6

8 years agocopy ha/GroupEdit.js from manager to manager6
Dietmar Maurer [Mon, 15 Feb 2016 11:35:13 +0000 (12:35 +0100)]
copy ha/GroupEdit.js from manager to manager6

8 years agocopy ha/Fencing.js from manager to manager6
Dietmar Maurer [Mon, 15 Feb 2016 11:35:13 +0000 (12:35 +0100)]
copy ha/Fencing.js from manager to manager6

8 years agocopy ha/Config.js from manager to manager6
Dietmar Maurer [Mon, 15 Feb 2016 11:35:13 +0000 (12:35 +0100)]
copy ha/Config.js from manager to manager6

8 years agoext6migrate: fix display of sport/dport/proto combo boxes
Emmanuel Kasper [Mon, 15 Feb 2016 08:23:00 +0000 (09:23 +0100)]
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

8 years agoext6migrate: set valueField as a class property
Emmanuel Kasper [Mon, 15 Feb 2016 08:22:59 +0000 (09:22 +0100)]
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)

8 years agoExt6migrate: Update our ComboGrid component to work with ExtJS6
Emmanuel Kasper [Mon, 15 Feb 2016 08:22:58 +0000 (09:22 +0100)]
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.

8 years agoext6/triton: add some visual changes and fixes
Thomas Lamprecht [Fri, 12 Feb 2016 07:27:42 +0000 (08:27 +0100)]
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.

8 years agobump version to 4.1-13
Dietmar Maurer [Fri, 12 Feb 2016 09:43:31 +0000 (10:43 +0100)]
bump version to 4.1-13

8 years agopveupdate: use warnings instead of -w
Dietmar Maurer [Fri, 12 Feb 2016 09:42:23 +0000 (10:42 +0100)]
pveupdate: use warnings instead of -w

8 years agobump version to 4.1-12
Dietmar Maurer [Fri, 12 Feb 2016 07:23:00 +0000 (08:23 +0100)]
bump version to 4.1-12

8 years agoadd permissions to allow non root ceph configuration
Thomas Lamprecht [Mon, 8 Feb 2016 13:51:38 +0000 (14:51 +0100)]
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

8 years agobump version to 4.1-11
Dietmar Maurer [Thu, 11 Feb 2016 11:06:12 +0000 (12:06 +0100)]
bump version to 4.1-11

8 years agoClose #822: show the nodename in the page title
Wolfgang Bumiller [Thu, 11 Feb 2016 08:54:55 +0000 (09:54 +0100)]
Close #822: show the nodename in the page title

8 years agouse max_workers from datacenter.cfg for stopall/migrateall
Thomas Lamprecht [Wed, 10 Feb 2016 10:58:25 +0000 (11:58 +0100)]
use max_workers from datacenter.cfg for stopall/migrateall

If set limit the maximal worker count to the new datacenter.cfg
setting 'max_workers'.

For stopall we prefer this over the cpu count if it's set.

For migrateall we prefer the parameter but allow now to ommit
the parameter and then we use the new setting if set.
if both are not set we throw an error.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agocleanup leftover debug output
Wolfgang Bumiller [Tue, 9 Feb 2016 10:17:29 +0000 (11:17 +0100)]
cleanup leftover debug output

8 years agoext6migrate: last fixes for firewall
Emmanuel Kasper [Mon, 8 Feb 2016 13:29:54 +0000 (14:29 +0100)]
ext6migrate: last fixes for firewall

listen to 'activate' event is needed because of framework changes,
similar to c0b3df6e34f51a247b477df490db5d52eb0d62a0

ext6migrate: listen to 'activate' events for panels inside a tabpanel

8 years agoext6migrate: fix minor selection bug in the ComboGrid
Emmanuel Kasper [Thu, 4 Feb 2016 16:01:28 +0000 (17:01 +0100)]
ext6migrate: fix minor selection bug in the ComboGrid

up to now we were only updating the picker selection when the picker
was created, which means that subsequent changes in the text field were
not propagated to the drop-down list

This patch creates a private syncSelection() method which is called each time
the picker is shown
This is roughly based on the ExtJS 4 ComboBox behaviour

8 years agoext6migrate: fix IPRefSelector ComboGrid
Emmanuel Kasper [Thu, 4 Feb 2016 13:46:39 +0000 (14:46 +0100)]
ext6migrate: fix IPRefSelector ComboGrid

The IPrefSelector ComboGrid can have selected values which are not backed
by the component store, ie the store only contains IP aliases, but
the ComboGrid can contain an IP adress not registered as an IP alias.

In that case we should not try to update the selection in the dropdown,
as the dropdown only knows about the component store.

Implementation is similar to the syncSelection() private method of the
ExtJS4 ComboBox.

8 years agoext6migrate: push array elements separately
Emmanuel Kasper [Thu, 4 Feb 2016 13:46:38 +0000 (14:46 +0100)]
ext6migrate: push array elements separately

8 years agoext6migrate: replace unsafe pattern
Emmanuel Kasper [Thu, 4 Feb 2016 13:46:37 +0000 (14:46 +0100)]
ext6migrate: replace unsafe pattern

using applyIf is not safe here as the tbar property has already been set
by the framework ( and anyway we would like to override any default
set by the framework )

this allows the toolbar of the component to be displayed

8 years agoext6migrate: push array elements separately
Emmanuel Kasper [Wed, 3 Feb 2016 15:24:44 +0000 (16:24 +0100)]
ext6migrate: push array elements separately

This fix is needed for buttons and columns to be properly displayed when
loading the component.

8 years agoext6migrate: adapt to new KVComboBox interface
Emmanuel Kasper [Wed, 3 Feb 2016 11:11:47 +0000 (12:11 +0100)]
ext6migrate: adapt to new KVComboBox interface

8 years agoext6migrate: replace new with Ext.create()
Emmanuel Kasper [Wed, 3 Feb 2016 11:11:46 +0000 (12:11 +0100)]
ext6migrate: replace new with Ext.create()

This allows us in the future to use the ExtJS class
autoloader if we want

8 years agobump version to 4.1-10
Dietmar Maurer [Tue, 2 Feb 2016 17:13:35 +0000 (18:13 +0100)]
bump version to 4.1-10

8 years agoremove 'VZDump backup file' option from upload web gui
Dominik Csapak [Tue, 2 Feb 2016 10:43:24 +0000 (11:43 +0100)]
remove 'VZDump backup file' option from upload web gui

since we do not want to upload vzdump backup files (see bug #498),
it is confusing to expose this option in the gui, since currently
it can never succeed.

the correct way would probably allow it based on the users permissions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.1-9
Dietmar Maurer [Mon, 1 Feb 2016 16:13:36 +0000 (17:13 +0100)]
bump version to 4.1-9

8 years agogui: use empty default cpu data for ProcessorInputPanel
Wolfgang Bumiller [Mon, 1 Feb 2016 09:27:43 +0000 (10:27 +0100)]
gui: use empty default cpu data for ProcessorInputPanel

Since the create wizard doesn't fill the cpu type we need a
default to avoid accessing undefined values.

8 years agogui: cpu: fix processor editing
Wolfgang Bumiller [Mon, 1 Feb 2016 09:21:34 +0000 (10:21 +0100)]
gui: cpu: fix processor editing

The last processor editing commit broke various parts of the
cpu editor window.
Most noticeably switching between the default and non-default
cpu types dealt with empty values wrongly and tried to
delete the 'cputype' property rather than the cputype
portion of the cpu property string.

8 years agoextjs: add parseBoolean for drive backup and iothreads
Wolfgang Bumiller [Fri, 29 Jan 2016 09:26:23 +0000 (10:26 +0100)]
extjs: add parseBoolean for drive backup and iothreads

The backup and iothread options are now boolean types
internally instead of strings and need to be treated as
such.

Added a parseBoolean() function to deal with this with an
optional default value to use for undefined values.

The default for an undefined backup value is true.

8 years agoext6migrate: adapt the Checkbox column of the firewall panel to ExtJS6
Emmanuel Kasper [Thu, 28 Jan 2016 13:42:43 +0000 (14:42 +0100)]
ext6migrate: adapt the Checkbox column of the firewall panel to ExtJS6

API changes in ExtJS6 involved here:
 * 'checkchange' event passes now the record index instead of the whole record
 * record.fields is now an array of Field objects, before it was an Object

8 years agoext6migrate: enable the Firewall tab
Emmanuel Kasper [Thu, 28 Jan 2016 13:42:42 +0000 (14:42 +0100)]
ext6migrate: enable the Firewall tab

8 years agoext6migrate: remove our in house checkcolumn
Emmanuel Kasper [Thu, 28 Jan 2016 13:42:41 +0000 (14:42 +0100)]
ext6migrate: remove our in house checkcolumn

This component is now available in the framework and works properly
( tested with FirewallRules.js who was the only one using it)

8 years agoext6migrate: enable the AuthPanel
Emmanuel Kasper [Thu, 28 Jan 2016 09:59:26 +0000 (10:59 +0100)]
ext6migrate: enable the AuthPanel

'data' is renamed to 'comboItems' to match the new KVComboBox

8 years agoext6migrate: remove 'comment' id from Comment column in our tables
Emmanuel Kasper [Thu, 28 Jan 2016 09:59:25 +0000 (10:59 +0100)]
ext6migrate: remove 'comment' id from Comment column in our tables

The use of this field raise an error with ExtJS6 because it is not
unique inside the application.
Removing this is safe, because we never query the Comment column
with an id.

8 years agoPendingObjectGrid hasPendingChanges optimization
Wolfgang Bumiller [Wed, 27 Jan 2016 11:08:50 +0000 (12:08 +0100)]
PendingObjectGrid hasPendingChanges optimization

Break out of Ext.Array.each early by returning false when
we found a pending change.

8 years agoupdate changelog
Dietmar Maurer [Wed, 27 Jan 2016 16:12:01 +0000 (17:12 +0100)]
update changelog

8 years agofix PVE::HA use clause so HA resources get registered
Thomas Lamprecht [Wed, 27 Jan 2016 13:25:48 +0000 (14:25 +0100)]
fix PVE::HA use clause so HA resources get registered

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoext6migrate: fix picker dropdown on ViewSelector initial load
Emmanuel Kasper [Wed, 27 Jan 2016 13:13:00 +0000 (14:13 +0100)]
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])

8 years agobump version to 4.1-8
Dietmar Maurer [Wed, 27 Jan 2016 15:46:01 +0000 (16:46 +0100)]
bump version to 4.1-8