Commit Graph

2054 Commits

Author SHA1 Message Date
Dominik Csapak
06366d355b ext6migrate: update Ext.ux.IFrame code in Toolkit.js
update to current code from framework
makes it working again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-27 09:26:28 +01:00
Wolfgang Link
16b8d964cd add remove function to pveam
now it is possible to erase templates with pveam
2016-02-26 11:51:35 +01:00
Wolfgang Link
c519fe3c91 add list to pveam
This function list all the templates off a specified storage.
It also gives the size of the template.
2016-02-26 11:39:25 +01:00
Wolfgang Link
82282acf4f add pveam download
With this function you can download templates from the repositories.
2016-02-26 11:37:11 +01:00
Dietmar Maurer
9cfacf24b7 remove debugging code 2016-02-26 11:36:48 +01:00
Wolfgang Link
108b722948 refactor pveam to use it with our CLI Handler. 2016-02-26 11:34:52 +01:00
Wolfgang Link
c8969ecb19 fix initlog name 2016-02-26 11:30:17 +01:00
Wolfgang Link
06399fd71a change turnkey URL to https version to permit a redirection. 2016-02-26 11:30:06 +01:00
Dietmar Maurer
f494187fb6 do not use Net::SSL
seems IO::Socket::SSL can now connect to proxy
2016-02-26 11:29:00 +01:00
Emmanuel Kasper
7fc52dff20 fix HA Group Selector display
displayField must now be set in class body, take opportunity to move out
other config properties from initComponent()
2016-02-26 07:39:53 +01:00
Emmanuel Kasper
9ccd656a61 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
2016-02-26 07:38:50 +01:00
Emmanuel Kasper
55bc792342 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
2016-02-26 07:38:17 +01:00
Emmanuel Kasper
d46faa2c06 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
2016-02-26 07:37:29 +01:00
Dominik Csapak
e1eeed5a7e ext6migrate: enable syslog and taskhistory tabs
enables the tabs for the nodes view

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-26 07:33:07 +01:00
Dominik Csapak
f5783553d0 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>
2016-02-26 07:32:43 +01:00
Dominik Csapak
e1984cbd58 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>
2016-02-26 07:31:39 +01:00
Dominik Csapak
39e52cd44d 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>
2016-02-26 07:30:21 +01:00
Wolfgang Bumiller
30164175f8 jslint...
*sigh*
2016-02-24 16:33:55 +01:00
Emmanuel Kasper
147a74c689 Revert "ext5migrate: do not set a custome idProperty for the KeyValue model"
This reverts commit c8e0699d5d.

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.
2016-02-24 11:05:34 +01:00
Emmanuel Kasper
636247e253 Add documentation header for ObjectGrid.js
also enhance the documentation header for DiffStore and UpdateStore
2016-02-24 11:05:22 +01:00
Dietmar Maurer
69a30784fc ResourceEdit.js: use correct filed label 2016-02-23 16:46:15 +01:00
Wolfgang Bumiller
4a218fd947 lxc: disable edit button for non-root users for bindmounts 2016-02-23 16:37:43 +01:00
Wolfgang Bumiller
0c8efcf5d9 lxc: use mount point editor in create wizard 2016-02-23 16:36:57 +01:00
Wolfgang Bumiller
946eb8cd89 lxc: create/edit/remove mountpoints 2016-02-23 16:36:23 +01:00
Wolfgang Bumiller
ae8a861e5b parser: perform mountpoint classification 2016-02-23 16:34:16 +01:00
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