]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
9 years agoAdd comment header for important classes, idea taken from Workspace.js
Emmanuel Kasper [Thu, 28 May 2015 09:56:27 +0000 (11:56 +0200)]
Add comment header for important classes, idea taken from Workspace.js

9 years agoTemporary disable loading the tabs of the main Config panel
Emmanuel Kasper [Thu, 28 May 2015 09:56:26 +0000 (11:56 +0200)]
Temporary disable loading the tabs of the main Config panel

9 years agoAdd necessary javascript includes to load Status Panel
Emmanuel Kasper [Thu, 28 May 2015 09:56:25 +0000 (11:56 +0200)]
Add necessary javascript includes to load Status Panel

9 years agoRemove unused misspelled parameter
Emmanuel Kasper [Thu, 28 May 2015 09:56:24 +0000 (11:56 +0200)]
Remove unused misspelled parameter

9 years agocopy dc/Tasks.js from manager to manager5
Dietmar Maurer [Wed, 27 May 2015 14:24:25 +0000 (16:24 +0200)]
copy dc/Tasks.js from manager to manager5

9 years agocopy dc/Log.js from manager to manager5
Dietmar Maurer [Wed, 27 May 2015 14:23:37 +0000 (16:23 +0200)]
copy dc/Log.js from manager to manager5

9 years agocopy data/DiffStore.js from manager to manager5
Dietmar Maurer [Wed, 27 May 2015 14:21:31 +0000 (16:21 +0200)]
copy data/DiffStore.js from manager to manager5

9 years agowork around ipv6 browser inconsistencies
Wolfgang Bumiller [Tue, 26 May 2015 14:09:38 +0000 (16:09 +0200)]
work around ipv6 browser inconsistencies

Browsers seem to disagree on whether window.location.hostname
shouldinclude the brackets around an ipv6 address.
Adding PVE.Utils.windowHostname() to always strip them away.

9 years agolocalhost instead of 127.0.0.1 makes ipv6 life easier
Wolfgang Bumiller [Tue, 26 May 2015 14:09:37 +0000 (16:09 +0200)]
localhost instead of 127.0.0.1 makes ipv6 life easier

9 years agoenclose ipv6 hosts in brackets in proxy_request()
Wolfgang Bumiller [Thu, 21 May 2015 14:13:40 +0000 (16:13 +0200)]
enclose ipv6 hosts in brackets in proxy_request()

9 years agoRemove the queryForm parameter as it blocks the combobox list loading.
Emmanuel Kasper [Thu, 21 May 2015 09:08:23 +0000 (11:08 +0200)]
Remove the queryForm parameter as it blocks the combobox list loading.

For unknown reasons, setting queryForm: here prevents loading
the option list in the combobox.
However: the queryForm parameter only would only make sense if we also
set 'editable' to 'true', since queryForm specifies how the drop down
list should react to user input in the text field of the combobox.
Hence it is safe to remove it.

Tested with ExtJS4 and ExtJS5, this patch has no impact on
the rendering of the underneath node tree.

9 years agoDisable setting 'triggerAction' locally as we use the default anyway.
Emmanuel Kasper [Thu, 21 May 2015 09:08:22 +0000 (11:08 +0200)]
Disable setting 'triggerAction' locally as we use the default anyway.

Ref: http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.form.field.ComboBox-cfg-triggerAction

9 years agoremove hardcoded span html tag, as it appears to be unused
Emmanuel Kasper [Tue, 19 May 2015 06:37:01 +0000 (08:37 +0200)]
remove hardcoded span html tag, as it appears to be unused

9 years agoext5migrate: fix display of PVE version underneath product name
Emmanuel Kasper [Tue, 19 May 2015 06:37:00 +0000 (08:37 +0200)]
ext5migrate: fix display of PVE version underneath product name

With the alignment set to 'middle' in the north region, the 'versioninfo'
component was wrongly pushed downwards, hiding the version string.
Besides that we need to manually set a 'height' argument
to 'versioninfo' equal to the size of the north region, to prevent extjs to
generate a problematic padding.

9 years agoext5migrate: replace obsolete 'margins' parameter with 'margin'
Emmanuel Kasper [Tue, 19 May 2015 06:36:59 +0000 (08:36 +0200)]
ext5migrate: replace obsolete 'margins' parameter with 'margin'

As mentioned in
http://docs.sencha.com/extjs/5.1/whats_new/5.0/extjs_upgrade_guide.html
the 'margins' component parameter is now obsolete.

9 years agoext5migrate: Replace obsolete call to Ext.ModelMgr.create()
Emmanuel Kasper [Wed, 13 May 2015 14:41:58 +0000 (16:41 +0200)]
ext5migrate: Replace obsolete call to Ext.ModelMgr.create()

See a736e4b749c540589cd7af12b3ba21421a242cdd for reasoning

9 years agoLoad KVComboBox.js earlier as it is needed for the login window
Emmanuel Kasper [Wed, 13 May 2015 14:41:57 +0000 (16:41 +0200)]
Load KVComboBox.js earlier as it is needed for the login window

9 years agospiceproxy: same condition for ipv6 socket as in pveproxy
Wolfgang Bumiller [Tue, 12 May 2015 14:06:25 +0000 (16:06 +0200)]
spiceproxy: same condition for ipv6 socket as in pveproxy

9 years agoext5migrate: remove Ext.grid.feature.Chunking hack
Emmanuel Kasper [Tue, 12 May 2015 13:16:23 +0000 (15:16 +0200)]
ext5migrate: remove Ext.grid.feature.Chunking hack

With ExtJS 4, we introduced an override to Ext.grid.feature.Chunking
to fix scrollings problems in the grid when having a high number
of nodes. Ext.grid.feature.Chunking has been removed from ExtJS
in version 5, so we hope either the problem is fixed on ExtJS side,
or we will have to find a different workaround.

9 years agoAdd required url routing for ext5 compatible main grid
Emmanuel Kasper [Tue, 12 May 2015 13:16:22 +0000 (15:16 +0200)]
Add required url routing for ext5 compatible main grid

9 years agopass port family to next_vnc_port
Wolfgang Bumiller [Tue, 12 May 2015 10:12:47 +0000 (12:12 +0200)]
pass port family to next_vnc_port

9 years agoadd icons for LXC
Dietmar Maurer [Fri, 8 May 2015 14:07:08 +0000 (16:07 +0200)]
add icons for LXC

9 years agobump version to 4.0-9
Dietmar Maurer [Fri, 8 May 2015 10:45:12 +0000 (12:45 +0200)]
bump version to 4.0-9

9 years agolisten on ipv6 if the node's hostname resolves to ipv6
Wolfgang Bumiller [Fri, 8 May 2015 10:36:29 +0000 (12:36 +0200)]
listen on ipv6 if the node's hostname resolves to ipv6

9 years agoHTTPServer.pm: accept ip6 connections
Wolfgang Bumiller [Fri, 8 May 2015 10:36:28 +0000 (12:36 +0200)]
HTTPServer.pm: accept ip6 connections

9 years agoAdd manager5 directory in case of missing development symlink
Emmanuel Kasper [Wed, 6 May 2015 10:25:21 +0000 (12:25 +0200)]
Add manager5 directory in case of missing development symlink

9 years agobump version to 4.0-8
Dietmar Maurer [Tue, 5 May 2015 12:44:06 +0000 (14:44 +0200)]
bump version to 4.0-8

9 years agouse name based trigger
Dietmar Maurer [Tue, 5 May 2015 12:42:23 +0000 (14:42 +0200)]
use name based trigger

9 years agocopy dc/Config.js from manager to manager5
Dietmar Maurer [Tue, 5 May 2015 04:46:37 +0000 (06:46 +0200)]
copy dc/Config.js from manager to manager5

9 years agocopy ResourceGrid.js from manager to manager5
Dietmar Maurer [Tue, 5 May 2015 04:46:11 +0000 (06:46 +0200)]
copy ResourceGrid.js from manager to manager5

9 years agocopy ConfigPanel.js from manager to manager5
Dietmar Maurer [Tue, 5 May 2015 04:45:39 +0000 (06:45 +0200)]
copy ConfigPanel.js from manager to manager5

9 years agocopy StatusPanel.js from manager to manager5
Dietmar Maurer [Tue, 5 May 2015 04:45:04 +0000 (06:45 +0200)]
copy StatusPanel.js from manager to manager5

9 years agouse generic names (do not include container type)
Dietmar Maurer [Fri, 1 May 2015 09:37:13 +0000 (11:37 +0200)]
use generic names (do not include container type)

9 years agobump version to 4.0-7
Dietmar Maurer [Thu, 30 Apr 2015 16:49:44 +0000 (18:49 +0200)]
bump version to 4.0-7

9 years agoAdd Readme explaining how to use extjs5 for dev
Emmanuel Kasper [Thu, 30 Apr 2015 09:12:58 +0000 (11:12 +0200)]
Add Readme explaining how to use extjs5 for dev

9 years agoext5migrate: replace deprecated call Ext.ModelMgr.create()
Emmanuel Kasper [Wed, 29 Apr 2015 09:57:30 +0000 (11:57 +0200)]
ext5migrate: replace deprecated call Ext.ModelMgr.create()

Ext.ModelMgr.create() was removed in 5.*
The recommended way to create a new instance is to call Ext.create()
Ext.create() does not take a "id" argument, however it sets
the id of the instance to the id  of the config object given
to the Ext.create() call.

9 years agoswitch default extjs 5 theme to neptune
Emmanuel Kasper [Wed, 29 Apr 2015 09:57:29 +0000 (11:57 +0200)]
switch default extjs 5 theme to neptune

9 years agoload new LXC vzdump plugin
Dietmar Maurer [Wed, 29 Apr 2015 07:11:44 +0000 (09:11 +0200)]
load new LXC vzdump plugin

9 years agovzdump: improve error message
Dietmar Maurer [Tue, 28 Apr 2015 06:02:04 +0000 (08:02 +0200)]
vzdump: improve error message

9 years agoext5migrate: rename 'root:' property of a Ext.data.reader
Emmanuel Kasper [Mon, 27 Apr 2015 12:09:41 +0000 (14:09 +0200)]
ext5migrate: rename 'root:' property of a Ext.data.reader

This has been renamed to 'rootProperty:' in ExtJS 5. Rename our parameter
accordingly to silence the deprecation warning.

9 years agoTemporary deactivate southPanel so we can load the rest of the Workspace
Emmanuel Kasper [Mon, 27 Apr 2015 11:50:33 +0000 (13:50 +0200)]
Temporary deactivate southPanel so we can load the rest of the Workspace

9 years agoAdd new url routing needed to load the login window
Emmanuel Kasper [Mon, 27 Apr 2015 11:50:32 +0000 (13:50 +0200)]
Add new url routing needed to load the login window

9 years agoext5migration: move afterRequest() declaration
Emmanuel Kasper [Mon, 27 Apr 2015 11:50:31 +0000 (13:50 +0200)]
ext5migration: move afterRequest() declaration

and default values from constructor to class body, needed fix for

"Cannot override method afterRequest on Ext.data.proxy.Ajax instance"

error. See:

https://fiddle.sencha.com/#fiddle/lpe for test fiddle
http://bit.ly/1HJJ0Ej for background

9 years agopveceph: remove /git/ from download url
Dietmar Maurer [Tue, 28 Apr 2015 04:18:49 +0000 (06:18 +0200)]
pveceph: remove /git/ from download url

9 years agocopy LoginWindow.js from manager to manager5
Dietmar Maurer [Mon, 27 Apr 2015 09:56:45 +0000 (11:56 +0200)]
copy LoginWindow.js from manager to manager5

9 years agocopy RealmComboBox.js from manager to manager5
Dietmar Maurer [Mon, 27 Apr 2015 09:56:18 +0000 (11:56 +0200)]
copy RealmComboBox.js from manager to manager5

9 years agocopy LanguageSelector.js from manager to manager5
Dietmar Maurer [Mon, 27 Apr 2015 09:55:47 +0000 (11:55 +0200)]
copy LanguageSelector.js from manager to manager5

9 years agocopy KVComboBox.js from manager to manager5
Dietmar Maurer [Mon, 27 Apr 2015 09:55:23 +0000 (11:55 +0200)]
copy KVComboBox.js from manager to manager5

9 years agocopy UpdateQueue.js from manager to manager5
Dietmar Maurer [Mon, 27 Apr 2015 09:54:50 +0000 (11:54 +0200)]
copy UpdateQueue.js from manager to manager5

9 years agopveceph: use git.ceph.com for key download url.
Dietmar Maurer [Mon, 27 Apr 2015 04:33:27 +0000 (06:33 +0200)]
pveceph: use git.ceph.com for key download url.

9 years agolxc create wizard: add disk size option
Dietmar Maurer [Mon, 27 Apr 2015 06:14:32 +0000 (08:14 +0200)]
lxc create wizard: add disk size option

9 years agoimprove lxc DNS panel
Dietmar Maurer [Thu, 23 Apr 2015 10:14:46 +0000 (12:14 +0200)]
improve lxc DNS panel

9 years agopveceph: add hammer release
Dietmar Maurer [Thu, 23 Apr 2015 04:15:30 +0000 (06:15 +0200)]
pveceph: add hammer release

9 years agopveceph init: allow protocol http
Dietmar Maurer [Thu, 23 Apr 2015 04:11:38 +0000 (06:11 +0200)]
pveceph init: allow protocol http

It is no longer possible to download the key without that.

9 years agolxc GUI: add DNS panel to create wizard.
Dietmar Maurer [Wed, 22 Apr 2015 16:26:22 +0000 (18:26 +0200)]
lxc GUI: add DNS panel to create wizard.

9 years agoext5migration: Replace non working 'text' type with 'string' in model definition
Emmanuel Kasper [Wed, 22 Apr 2015 08:58:46 +0000 (10:58 +0200)]
ext5migration: Replace non working 'text' type with 'string' in model definition

See http://stackoverflow.com/questions/29748414/ext-createbyalias-unrecognized-alias-data-field-text-when-migrating-a-ext4

Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
9 years agoext5migration: add javascript files url routing needed to load the workspace
Emmanuel Kasper [Wed, 22 Apr 2015 08:58:44 +0000 (10:58 +0200)]
ext5migration: add javascript files url routing needed to load the workspace

Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
9 years agolxc GUI: add DNS panel
Dietmar Maurer [Wed, 22 Apr 2015 13:40:38 +0000 (15:40 +0200)]
lxc GUI: add DNS panel

9 years agolxc: implement startup and onboot option
Dietmar Maurer [Wed, 22 Apr 2015 08:49:30 +0000 (10:49 +0200)]
lxc: implement startup and onboot option

9 years agolxc GUI: enable firewall and vlan tag
Dietmar Maurer [Wed, 22 Apr 2015 05:56:22 +0000 (07:56 +0200)]
lxc GUI: enable firewall and vlan tag

9 years agolxc network: use 'bridge' property instead of 'link'
Dietmar Maurer [Wed, 22 Apr 2015 05:52:02 +0000 (07:52 +0200)]
lxc network: use 'bridge' property instead of 'link'

9 years agoadd resource panel to lxc create wizard
Dietmar Maurer [Tue, 21 Apr 2015 10:33:51 +0000 (12:33 +0200)]
add resource panel to lxc create wizard

9 years agolxc GUI: implement resource panel (set cpu, memory and swap)
Dietmar Maurer [Tue, 21 Apr 2015 10:29:03 +0000 (12:29 +0200)]
lxc GUI: implement resource panel (set cpu, memory and swap)

9 years agofix/add CSS classes for LXC
Dietmar Maurer [Tue, 21 Apr 2015 04:57:57 +0000 (06:57 +0200)]
fix/add CSS classes for LXC

The logo is still wrong.

9 years agouse new PVE.lxc.NetworkInputPanel inside CreateWizard
Dietmar Maurer [Mon, 20 Apr 2015 16:06:07 +0000 (18:06 +0200)]
use new PVE.lxc.NetworkInputPanel inside CreateWizard

9 years agoimplement network panel for LXC
Dietmar Maurer [Mon, 20 Apr 2015 15:09:41 +0000 (17:09 +0200)]
implement network panel for LXC

9 years agoimplement parseLxcNetwork, fix printLxcNetwork
Dietmar Maurer [Mon, 20 Apr 2015 15:08:05 +0000 (17:08 +0200)]
implement parseLxcNetwork, fix printLxcNetwork

9 years agoadd more vtypes for IP input fields
Dietmar Maurer [Mon, 20 Apr 2015 15:06:50 +0000 (17:06 +0200)]
add more vtypes for IP input fields

9 years agoUtils.js: add more regex for IPs
Dietmar Maurer [Mon, 20 Apr 2015 15:05:36 +0000 (17:05 +0200)]
Utils.js: add more regex for IPs

9 years agocopy tree/ResourceTree.js from manager to manager5
Dietmar Maurer [Mon, 20 Apr 2015 04:14:55 +0000 (06:14 +0200)]
copy tree/ResourceTree.js from manager to manager5

9 years agocopy form/ViewSelector.js from manager to manager5
Dietmar Maurer [Mon, 20 Apr 2015 04:11:26 +0000 (06:11 +0200)]
copy form/ViewSelector.js from manager to manager5

9 years agocopy data/ResourceStore.js from manager to manager5
Dietmar Maurer [Mon, 20 Apr 2015 04:10:08 +0000 (06:10 +0200)]
copy data/ResourceStore.js from manager to manager5

9 years agocopy data/UpdateStore.js from manager to manager5
Dietmar Maurer [Mon, 20 Apr 2015 04:08:47 +0000 (06:08 +0200)]
copy data/UpdateStore.js from manager to manager5

9 years agocopy data/PVEProxy.js from manager to manager5
Dietmar Maurer [Mon, 20 Apr 2015 04:07:49 +0000 (06:07 +0200)]
copy data/PVEProxy.js from manager to manager5

9 years agocopy StateProvider.js from manager to manager5
Dietmar Maurer [Mon, 20 Apr 2015 04:06:28 +0000 (06:06 +0200)]
copy StateProvider.js from manager to manager5

9 years agocopy Workspace.js from manager to manager5
Dietmar Maurer [Mon, 20 Apr 2015 04:05:29 +0000 (06:05 +0200)]
copy Workspace.js from manager to manager5

9 years agobump version to 4.0-6
Dietmar Maurer [Sat, 18 Apr 2015 07:50:20 +0000 (09:50 +0200)]
bump version to 4.0-6

9 years agoGUI: use lxc instead of openvz
Dietmar Maurer [Sat, 18 Apr 2015 07:47:58 +0000 (09:47 +0200)]
GUI: use lxc instead of openvz

9 years agopvestatd: update status of LXC containers
Dietmar Maurer [Sat, 18 Apr 2015 07:43:45 +0000 (09:43 +0200)]
pvestatd: update status of LXC containers

9 years agodepend on new pve-container package, activate LXC API
Dietmar Maurer [Sat, 18 Apr 2015 07:40:44 +0000 (09:40 +0200)]
depend on new pve-container package, activate LXC API

9 years agoGUI: new helper printLxcNetwork
Dietmar Maurer [Sat, 18 Apr 2015 07:38:16 +0000 (09:38 +0200)]
GUI: new helper printLxcNetwork

9 years agoadd GUI for LXC containers
Dietmar Maurer [Sat, 18 Apr 2015 07:37:27 +0000 (09:37 +0200)]
add GUI for LXC containers

9 years agore-add template download code
Dietmar Maurer [Thu, 16 Apr 2015 05:58:50 +0000 (07:58 +0200)]
re-add template download code

this was removed by accident.

9 years agoChange source attribute of javascript include to point to our manager5 directory.
Emmanuel Kasper [Tue, 14 Apr 2015 11:28:20 +0000 (13:28 +0200)]
Change source attribute of javascript include to point to our manager5 directory.

For ext 5 developpment, we will include in the html headers every javascript ressources
incrementally, so we can bypass the "make install" step.

Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
9 years agoAdd extra /manager5 url route to serve local javascript files
Emmanuel Kasper [Tue, 14 Apr 2015 11:28:19 +0000 (13:28 +0200)]
Add extra /manager5 url route to serve local javascript files

Provided you symlink the manager5 directory to your git repository,
this will allow to test javascript changes by simply reloading
the page, without calling "make install" in between.
For instance, if you have your pve-manager code in $HOME/pve/pve-manager,
you can do

ln -s $HOME/pve/pve-manager/www/manager5 /usr/share/pve-manager/manager5

and you can serve javascript files directly from your copy of the source repo

curl -k -s -o /dev/null -w "%{http_code}" https://localhost:8006/pve2/manager5/Utils.js && printf "\n"
200

Not that at the momment this is only meant for Ext 5 development

Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
9 years agocopy Utils.js from manager to manager5
Emmanuel Kasper [Tue, 14 Apr 2015 11:28:18 +0000 (13:28 +0200)]
copy Utils.js from manager to manager5

Developement of the ext5 version of the pve-manager will take place
in the www/management5 directory of the git repo.
We start the initial import with Utils.js, who contains variables and
static functions used by all other components.

Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
9 years agofix typo
Dietmar Maurer [Tue, 14 Apr 2015 13:08:54 +0000 (15:08 +0200)]
fix typo

9 years agofix apt sources for jessie
Dietmar Maurer [Tue, 14 Apr 2015 12:45:08 +0000 (14:45 +0200)]
fix apt sources for jessie

9 years agobump version to 4.0-5
Dietmar Maurer [Tue, 7 Apr 2015 07:56:03 +0000 (09:56 +0200)]
bump version to 4.0-5

9 years agoha GUI: show configuration errors
Dietmar Maurer [Tue, 7 Apr 2015 07:54:57 +0000 (09:54 +0200)]
ha GUI: show configuration errors

9 years agoadd missing file
Dietmar Maurer [Fri, 3 Apr 2015 16:50:41 +0000 (18:50 +0200)]
add missing file

9 years agobump version to 4.0-4
Dietmar Maurer [Fri, 3 Apr 2015 16:49:53 +0000 (18:49 +0200)]
bump version to 4.0-4

9 years agoha group editor: fix subject
Dietmar Maurer [Fri, 3 Apr 2015 14:48:08 +0000 (16:48 +0200)]
ha group editor: fix subject

9 years agoadd nice ha group selector
Dietmar Maurer [Fri, 3 Apr 2015 14:36:26 +0000 (16:36 +0200)]
add nice ha group selector

9 years agoimplement ha resource editor
Dietmar Maurer [Fri, 3 Apr 2015 10:32:56 +0000 (12:32 +0200)]
implement ha resource editor

9 years agoimplement GUI to manage ha groups
Dietmar Maurer [Fri, 3 Apr 2015 09:21:22 +0000 (11:21 +0200)]
implement GUI to manage ha groups

9 years agoEnhance pveproxy by adding an optional ext5 parameter to load the extjs 5 framework
Emmanuel Kasper [Thu, 2 Apr 2015 12:51:58 +0000 (14:51 +0200)]
Enhance pveproxy by adding an optional ext5 parameter to load the extjs 5 framework

Calling the pveproxy with https://localhost:8006/?ext5=1 will
load the web ui with the extjs 5 js libs.
Please note that at the momment the workspace does not load with
extjs 5.

Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
9 years agoAdd new ExtJSIndex5 package to allow running the pveproxy with two different versions...
Emmanuel Kasper [Thu, 2 Apr 2015 12:51:57 +0000 (14:51 +0200)]
Add new ExtJSIndex5 package to allow running the pveproxy with two different versions of extjs

Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
9 years agoadd ha fencing panel (dummy for now)
Dietmar Maurer [Fri, 3 Apr 2015 07:44:35 +0000 (09:44 +0200)]
add ha fencing panel (dummy for now)

9 years agoadd ha resource panel
Dietmar Maurer [Fri, 3 Apr 2015 07:10:20 +0000 (09:10 +0200)]
add ha resource panel