]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
8 years agoqemu: parse vlan trunks
Wolfgang Bumiller [Mon, 11 Apr 2016 09:44:29 +0000 (11:44 +0200)]
qemu: parse vlan trunks

Fixes an error when trying to edit a network with assigned
trunks.

8 years agocorrect qemu cmdMenu
Dominik Csapak [Mon, 11 Apr 2016 08:19:08 +0000 (10:19 +0200)]
correct qemu cmdMenu

start button should be disabled when suspended

use 'file' icon instead of 'sticky-note'
to be consistent with tree icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd icon to nodes more button
Dominik Csapak [Mon, 11 Apr 2016 08:19:07 +0000 (10:19 +0200)]
add icon to nodes more button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agonew icons for snapshottree
Dominik Csapak [Mon, 11 Apr 2016 08:19:06 +0000 (10:19 +0200)]
new icons for snapshottree

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agochange icons in storage add menu
Dominik Csapak [Mon, 11 Apr 2016 08:19:05 +0000 (10:19 +0200)]
change icons in storage add menu

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd icons to Logout/Create VM/CT
Dominik Csapak [Mon, 11 Apr 2016 08:19:04 +0000 (10:19 +0200)]
add icons to Logout/Create VM/CT

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd icons for user/group in aclview
Dominik Csapak [Mon, 11 Apr 2016 08:19:03 +0000 (10:19 +0200)]
add icons for user/group in aclview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd new icons to grid and tree
Dominik Csapak [Mon, 11 Apr 2016 08:19:02 +0000 (10:19 +0200)]
add new icons to grid and tree

we set new icons for the tree and grid
changes:
* new icons
* wider type column (bigger icons)
* use arrows true (uses arrows instead of +/- and gets rid of the
  ugly lines in the tree)
* datacenter has icon instead of folder open/close
* "folder view" gets type icons for folders

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd icons classes to ext6-pve.css
Dominik Csapak [Mon, 11 Apr 2016 08:19:01 +0000 (10:19 +0200)]
add icons classes to ext6-pve.css

this adds the necessary classes/overwrites for the new icons

notable changes:

nodes/cts/vms state:
Dark when on
Light grey when off

Badges for Nodes (check = on, cross = off)
VM/CT (play = on, pause = paused)

change the hardware/resource view to the new icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd new icons for hardware/resources view
Dominik Csapak [Mon, 11 Apr 2016 08:19:00 +0000 (10:19 +0200)]
add new icons for hardware/resources view

this adds a few icons
most are from font-awesome (exported as png)
and some are selfmade (xcf sources included)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agouse pve-doc-generator, bump version to 4.1-25
Dietmar Maurer [Sun, 10 Apr 2016 13:52:42 +0000 (15:52 +0200)]
use pve-doc-generator, bump version to 4.1-25

8 years agoremove old openvz make targets
Dietmar Maurer [Sun, 10 Apr 2016 12:49:37 +0000 (14:49 +0200)]
remove old openvz make targets

8 years agochange show to activate
Dominik Csapak [Fri, 8 Apr 2016 14:48:43 +0000 (16:48 +0200)]
change show to activate

so that the store loads on page activation (refresh and intial click)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agochange minValue of VLAN tag to 2
Dominik Csapak [Fri, 8 Apr 2016 14:48:42 +0000 (16:48 +0200)]
change minValue of VLAN tag to 2

since linux bridges have untagged traffic on vlan1,
we cannot set this value

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agodisable suspend/resume on containers
Dominik Csapak [Thu, 7 Apr 2016 11:29:26 +0000 (13:29 +0200)]
disable suspend/resume on containers

since this feature is not really working at the moment,
disable it in the gui

we can reenable it when it works reliably

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agochange order of weekdays
Dominik Csapak [Thu, 7 Apr 2016 11:29:25 +0000 (13:29 +0200)]
change order of weekdays

to be consistent with the grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoshow days of week as ranges
Dominik Csapak [Thu, 7 Apr 2016 11:29:24 +0000 (13:29 +0200)]
show days of week as ranges

when selecting days in a backup job,
show every series of 3 or more days as range, instead
of single days
e.g. Monday-Wednesday instead of Monday, Tuesday, Wednesday

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake enabled column wider in backupview
Dominik Csapak [Thu, 7 Apr 2016 11:29:23 +0000 (13:29 +0200)]
make enabled column wider in backupview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoOverrides Ext.Msg.alert() to always display an Error Icon
Emmanuel Kasper [Thu, 7 Apr 2016 11:26:23 +0000 (13:26 +0200)]
Overrides Ext.Msg.alert() to always display an Error Icon

8 years agotranslate weekdays in backupgrid
Dominik Csapak [Wed, 6 Apr 2016 12:34:57 +0000 (14:34 +0200)]
translate weekdays in backupgrid

previously we displayed always something like: "mon,tue,wed"
now we use the full name of the day and the correct translation
making it (eg in german):
"Montag, Dienstag, Mittwoch"

i did not to choose the first 3 letters, because we cannot be
sure they are unique for all workdays in every language

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd weekdays to comboitems at runtime
Dominik Csapak [Wed, 6 Apr 2016 12:34:56 +0000 (14:34 +0200)]
add weekdays to comboitems at runtime

the translation of extjs has not been applied
at the time of class declaration, so that
the weekdays were always "Sunday", "Monday", etc.

when we declare them in initComponent, the translations are there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake enabled column a checkcolumn in backupview
Dominik Csapak [Wed, 6 Apr 2016 12:34:55 +0000 (14:34 +0200)]
make enabled column a checkcolumn in backupview

it is nicer than 'true' and 'false',
also this was not translated before

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoremove useShims
Dominik Csapak [Wed, 6 Apr 2016 09:44:04 +0000 (11:44 +0200)]
remove useShims

since this was only necessary for the old java applet
we can remove this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoremove displayfield height hack
Dominik Csapak [Wed, 6 Apr 2016 09:44:03 +0000 (11:44 +0200)]
remove displayfield height hack

this did not work anymore,
instead overwrite css for displayfields to have correct
min-height

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoprevent contextmenu on lxc templates
Dominik Csapak [Tue, 5 Apr 2016 12:21:11 +0000 (14:21 +0200)]
prevent contextmenu on lxc templates

since we do not support lxc templates on the gui yet,
prepare the correct contextmenu call, but comment it out

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoshow CT in migrate window Title
Dominik Csapak [Tue, 5 Apr 2016 12:21:10 +0000 (14:21 +0200)]
show CT in migrate window Title

shows different title in migration window if vmtype
is not qemu

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix trailing whitespaces
Dominik Csapak [Tue, 5 Apr 2016 09:31:48 +0000 (11:31 +0200)]
fix trailing whitespaces

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake contextmenus status-sensitive
Dominik Csapak [Tue, 5 Apr 2016 09:31:47 +0000 (11:31 +0200)]
make contextmenus status-sensitive

for example, allow starting from contextmenu
only if vm/ct is stopped, etc.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agouse font-awesome icons for action buttons and cmdmenu
Dominik Csapak [Tue, 5 Apr 2016 09:31:46 +0000 (11:31 +0200)]
use font-awesome icons for action buttons and cmdmenu

this patch makes use of font-awesome for
lxc/qemu action buttons (start/shutdown etc.)
node actions buttons (restart/shutdown etc.)
and lxc/qemu cmdmenus

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd font-awesome
Dominik Csapak [Tue, 5 Apr 2016 09:31:45 +0000 (11:31 +0200)]
add font-awesome

adds font-awesome to css folder and
inserts the css into the html of the site

we will use font-awesome for most icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agouse split button for shutdown/stop for vm/ct
Dominik Csapak [Tue, 5 Apr 2016 09:25:33 +0000 (11:25 +0200)]
use split button for shutdown/stop for vm/ct

uses the new split button for the shutdown action
to reduse the number of buttons, and reduce confusion

also make the stop button 'dangerous'
(shows just a different symbol on the confirm dialog)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd font-awesome
Dietmar Maurer [Tue, 5 Apr 2016 09:14:02 +0000 (11:14 +0200)]
add font-awesome

https://fortawesome.github.io/Font-Awesome/

8 years agoreduce translation overhead
Dietmar Maurer [Tue, 5 Apr 2016 09:10:52 +0000 (11:10 +0200)]
reduce translation overhead

8 years agoSafeDestroy: remove viewModel - it not flexible enough
Dietmar Maurer [Tue, 5 Apr 2016 09:09:42 +0000 (11:09 +0200)]
SafeDestroy: remove viewModel - it not flexible enough

8 years agoadd split button
Dominik Csapak [Mon, 4 Apr 2016 10:35:23 +0000 (12:35 +0200)]
add split button

the same code base as our pveButton
(selectionchange handling, confirm,etc.)
but with a split button (a button with a menu)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoUse Ext.apply instead of applyIf when loading a task window
Emmanuel Kasper [Mon, 4 Apr 2016 10:03:26 +0000 (12:03 +0200)]
Use Ext.apply instead of applyIf when loading a task window

Without this the window title is not displayed

8 years agoremove unnecessary reference to confirmField
Dietmar Maurer [Tue, 5 Apr 2016 04:34:13 +0000 (06:34 +0200)]
remove unnecessary reference to confirmField

8 years agoSafeDestroy.js: allow to submit the form with Enter key
Emmanuel Kasper [Mon, 4 Apr 2016 10:01:45 +0000 (12:01 +0200)]
SafeDestroy.js: allow to submit the form with Enter key

also set focus on the confirm field of the Destroy Window on display

8 years agovzdump: use sendmail from tools
Thomas Lamprecht [Mon, 4 Apr 2016 14:23:09 +0000 (16:23 +0200)]
vzdump: use sendmail from tools

use the factored out sendmail from the PVE::Tools package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoreduce translation overhead
Dietmar Maurer [Mon, 4 Apr 2016 14:59:52 +0000 (16:59 +0200)]
reduce translation overhead

8 years agoUtils.js: add task descriptions for vzclone and vztemplate
Dietmar Maurer [Mon, 4 Apr 2016 10:42:32 +0000 (12:42 +0200)]
Utils.js: add task descriptions for vzclone and vztemplate

8 years agoadd 'Log' to gettext translations
Dietmar Maurer [Fri, 1 Apr 2016 16:36:30 +0000 (18:36 +0200)]
add 'Log' to gettext translations

8 years agoimprove german translation
Dietmar Maurer [Fri, 1 Apr 2016 16:32:57 +0000 (18:32 +0200)]
improve german translation

8 years agobump version to 4.1-24
Dietmar Maurer [Fri, 1 Apr 2016 14:39:19 +0000 (16:39 +0200)]
bump version to 4.1-24

8 years agoupdated logo to higher quality
Dominik Csapak [Fri, 1 Apr 2016 12:30:44 +0000 (14:30 +0200)]
updated logo to higher quality

old logo png looked a little blurry,
this one should look a bit better and is only
~600bytes larger

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoIPRefSelector: fix selection
Thomas Lamprecht [Fri, 1 Apr 2016 11:22:11 +0000 (13:22 +0200)]
IPRefSelector: fix selection

move valueField and displayField to class config, else the value
of the selection wont show up when selecting it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoproperly hide the resume button by default
Dominik Csapak [Fri, 1 Apr 2016 11:11:01 +0000 (13:11 +0200)]
properly hide the resume button by default

the config 'visible' does not exist,
instead use 'hidden'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix applyIf in DNSView
Dominik Csapak [Fri, 1 Apr 2016 11:11:00 +0000 (13:11 +0200)]
fix applyIf in DNSView

there was still an applyIf instead of apply,
hiding the Edit button there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomove valueField and displayField to class config
Dominik Csapak [Fri, 1 Apr 2016 11:10:59 +0000 (13:10 +0200)]
move valueField and displayField to class config

if we do not do this, we cannot select items
(used in the clone window for example)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix language selector
Dominik Csapak [Fri, 1 Apr 2016 11:10:58 +0000 (13:10 +0200)]
fix language selector

due to the changes in
f2782813cd763382a1bbc1ce43121e21377efe4f
we have to set the default value to '__default__'
instead of ''

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd missing state string
Dominik Csapak [Fri, 1 Apr 2016 11:10:57 +0000 (13:10 +0200)]
add missing state string

'monitor' was missing in dictionary for the states

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoset default focus of login window
Dominik Csapak [Fri, 1 Apr 2016 07:01:39 +0000 (09:01 +0200)]
set default focus of login window

usability fix: when showing the login window,
make the username field have the default focus,
so that one can enter the username right away

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoremove unneccesary title and border
Dominik Csapak [Fri, 1 Apr 2016 06:59:19 +0000 (08:59 +0200)]
remove unneccesary title and border

since the 'search' panel is now a subcomponent of a tab,
the title here shows a redundant title bar, and we have
an unwanted border

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix package versions in node summary
Dominik Csapak [Fri, 1 Apr 2016 06:59:18 +0000 (08:59 +0200)]
fix package versions in node summary

this bug was introduced by me with commit
'13af4d510f95ea2d7bf6fdca143373b96908afbb'
by mistake

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoupdate changelog
Dietmar Maurer [Thu, 31 Mar 2016 15:22:46 +0000 (17:22 +0200)]
update changelog

8 years agoFix #926: vzdump: config/default key regression
Wolfgang Bumiller [Thu, 31 Mar 2016 13:46:41 +0000 (15:46 +0200)]
Fix #926: vzdump: config/default key regression

Add a missing defined() so that explicit `0` values in
/etc/vzdump.conf don't get replaced by their defaults.

8 years agouse new rrd graphs on storage summary pages
Dominik Csapak [Thu, 31 Mar 2016 13:29:26 +0000 (15:29 +0200)]
use new rrd graphs on storage summary pages

this was missing before
also fix styling error (style takes not a single string parameter)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix compression selection in backup window
Dominik Csapak [Thu, 31 Mar 2016 12:45:10 +0000 (14:45 +0200)]
fix compression selection in backup window

we wrongly assumed, that no compression argument for
vzdump meant 'no compression', instead it means 'lzo'

this patch mirrors that behaviour on the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix missing icons and spacing
Dominik Csapak [Thu, 31 Mar 2016 11:36:38 +0000 (13:36 +0200)]
fix missing icons and spacing

adds the missing icons after migration to ext6

also fixes the spacing in the tree (without this,
the spacing of the dot background in the tree is not right)

and fixes the horizontal spacing of the icons in the dropdown menus

since the loading dots gif does not exist in this theme, i used
the loading circle which is shown everywhere else for the task loading
entry

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoFix ExtJS6 locales file name
Emmanuel Kasper [Thu, 31 Mar 2016 11:16:44 +0000 (13:16 +0200)]
Fix ExtJS6 locales file name

8 years agoWorkspace: simplify layout
Dietmar Maurer [Thu, 31 Mar 2016 11:30:41 +0000 (13:30 +0200)]
Workspace: simplify layout

8 years agomobile: use ext6 Cookies.js
Wolfgang Bumiller [Thu, 31 Mar 2016 10:32:30 +0000 (12:32 +0200)]
mobile: use ext6 Cookies.js

The ext4 file is not in the repository and we don't unpack
the zip anymore, so it won't be found after a `make clean`.
It's the same code formatted differently, so it should work.

8 years agofix button toolbar height
Dominik Csapak [Thu, 31 Mar 2016 09:34:25 +0000 (11:34 +0200)]
fix button toolbar height

setting the border to false, instead of setting the style
(which had the wrong syntax for extjs6 anyway)
and set the height to 36 pixesl (because of the larger font)
this makes the buttons vertically centered

to make the text on the left vertically centered, we
remove the padding

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoupdate changelog
Dietmar Maurer [Thu, 31 Mar 2016 10:18:03 +0000 (12:18 +0200)]
update changelog

8 years agoswitch GUI to extjs6
Dietmar Maurer [Thu, 31 Mar 2016 09:42:29 +0000 (11:42 +0200)]
switch GUI to extjs6

8 years agofix jslint errors
Dietmar Maurer [Thu, 31 Mar 2016 09:13:50 +0000 (11:13 +0200)]
fix jslint errors

8 years agobump version to 4.1-23
Dietmar Maurer [Thu, 31 Mar 2016 08:58:49 +0000 (10:58 +0200)]
bump version to 4.1-23

8 years agoFixed a small typo
Caspar Smit [Fri, 18 Mar 2016 08:30:31 +0000 (09:30 +0100)]
Fixed a small typo

Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoAllow migrate-all button on HA enabled VMs
Caspar Smit [Fri, 18 Mar 2016 08:30:30 +0000 (09:30 +0100)]
Allow migrate-all button on HA enabled VMs

Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoSkip templates when using the start all VMs button
Caspar Smit [Fri, 18 Mar 2016 08:30:29 +0000 (09:30 +0100)]
Skip templates when using the start all VMs button

Refactored and now using PVE::QemuConfig and PVE::LXC::Config
Moved the next if.. statements into the corresponding branches

Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoAllow non-root to use start/stop/migrate all buttons
Caspar Smit [Fri, 18 Mar 2016 08:30:28 +0000 (09:30 +0100)]
Allow non-root to use start/stop/migrate all buttons

Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoReadme.md: add pveproxy restart as neeed step for testing ExtJS6 GUI
Emmanuel Kasper [Thu, 31 Mar 2016 08:28:09 +0000 (10:28 +0200)]
Readme.md: add pveproxy restart as neeed step for testing ExtJS6 GUI

8 years agoext6migrate: use new charts for node/lxc/qemu
Dominik Csapak [Thu, 31 Mar 2016 08:30:20 +0000 (10:30 +0200)]
ext6migrate: use new charts for node/lxc/qemu

uses the new charts for the rrd graphs in the summary pages
and make them lazy (for minimal performance impact)

also correct some styling errors and move static fields
to the class definition

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change status units to binary prefixes
Dominik Csapak [Thu, 31 Mar 2016 08:30:19 +0000 (10:30 +0200)]
ext6migrate: change status units to binary prefixes

we used a factor of 2^10 when calculating, but
wrote MB,GB,etc which is not (entirely) correct

this patch changes the units to MiB, GiB, etc,
because this is more sensible than changing the calculation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add RRDStore class and RRDChart
Dominik Csapak [Thu, 31 Mar 2016 08:30:18 +0000 (10:30 +0200)]
ext6migrate: add RRDStore class and RRDChart

this patch adds two classes for the charts:

RRDStore:

based on our updatestore, but specialized on our rrddata output
it converts the percentage (cpu) and the time (from unix to milliseconds)

also it handles the changes for the timeframe and cf

it sets a default reload of 30seconds

RRDChart:

based on Ext.chart.CartesianChart,
with specialized options for our rrd graphs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add charts js/css to index html
Dominik Csapak [Thu, 31 Mar 2016 08:30:17 +0000 (10:30 +0200)]
ext6migrate: add charts js/css to index html

adds the sencha charts lib to the makefile and
the index file

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agouse PVE::Storage::config(), not cfs_read_file()
Fabian Grünbichler [Fri, 25 Mar 2016 12:56:17 +0000 (13:56 +0100)]
use PVE::Storage::config(), not cfs_read_file()

8 years agosimplify code
Dietmar Maurer [Wed, 30 Mar 2016 07:37:47 +0000 (09:37 +0200)]
simplify code

8 years agolxc: disable console button for templates
Dietmar Maurer [Wed, 30 Mar 2016 07:35:52 +0000 (09:35 +0200)]
lxc: disable console button for templates

8 years agodisable console button for templates
Emmanuel Kasper [Thu, 24 Mar 2016 12:37:03 +0000 (13:37 +0100)]
disable console button for templates

8 years agofix tree update when migrating a VM/CT
Emmanuel Kasper [Thu, 24 Mar 2016 12:37:02 +0000 (13:37 +0100)]
fix tree update when migrating a VM/CT

original bug:
migrated items where not appearing under the target server

implentation:
remove items whose 'node' property has changed
as these items need to be removed before being re-added

also rename the local variable 'changed' to 'moved' to
better differentiate between what is updated in place, and
what needs to be redisplayed

8 years agoSafeDestroy: remove dead code
Dietmar Maurer [Wed, 30 Mar 2016 07:19:06 +0000 (09:19 +0200)]
SafeDestroy: remove dead code

The cancel button was already removed.

8 years agoSafeDestroy.js: use modern ExtJS features
Dietmar Maurer [Wed, 30 Mar 2016 07:07:32 +0000 (09:07 +0200)]
SafeDestroy.js: use modern ExtJS features

We now use the class config system, a View Model and a View Controller.

8 years agoSafeDestroy.js: factor out common code
Dietmar Maurer [Tue, 29 Mar 2016 08:27:40 +0000 (10:27 +0200)]
SafeDestroy.js: factor out common code

8 years agocleanup: run emacs indent-region on SafeDestroy.js
Dietmar Maurer [Tue, 29 Mar 2016 07:58:04 +0000 (09:58 +0200)]
cleanup: run emacs indent-region on SafeDestroy.js

8 years agoDo not turn the strings CT and VM into separate localizable strings
Emmanuel Kasper [Wed, 23 Mar 2016 12:06:14 +0000 (13:06 +0100)]
Do not turn the strings CT and VM into separate localizable strings

According to the PO files, translators keep 'CT' and 'VM' unchanged

8 years agoext6migrate: remove button height from upload window
Dominik Csapak [Mon, 21 Mar 2016 11:57:39 +0000 (12:57 +0100)]
ext6migrate: remove button height from upload window

since we changed to the crisp theme, the button should
not have a height of 32px

this reverts part of the commit:
5d57889439c5f05afb86b08df076e422520e8381

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofilter backup always by vm type
Dominik Csapak [Mon, 21 Mar 2016 11:57:38 +0000 (12:57 +0100)]
filter backup always by vm type

currently, as soon as you type something in the backup search bar,
the filter for the vm type (e.g. lxc or qemu) gets cleared, and
you see *all* backups (also those not for the current type)

this patch adds the original filterFn to the filter when searching

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: Qemu Options fixes
Dominik Csapak [Mon, 21 Mar 2016 09:53:13 +0000 (10:53 +0100)]
ext6migrate: Qemu Options fixes

change applyIf to apply, so that the values are changed
and
change activate to show, so that the store starts updating
on site refresh

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: let the components determine width
Dominik Csapak [Mon, 21 Mar 2016 09:53:12 +0000 (10:53 +0100)]
ext6migrate: let the components determine width

since we have a bigger font, instead of
hardcoding the width, let the components generate the
necessary width

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change default values
Dominik Csapak [Mon, 21 Mar 2016 09:53:11 +0000 (10:53 +0100)]
ext6migrate: change default values

since KVCombobox expects __default__ as default value
change to this in

DisplayEdit
HDEdit
KeyboardEdit
ProcessorEdit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add Haswell and Broadwell noTSX
Dominik Csapak [Mon, 21 Mar 2016 09:53:10 +0000 (10:53 +0100)]
ext6migrate: add Haswell and Broadwell noTSX

these were missing in manager6

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: Qemu Bios Selector fixes
Dominik Csapak [Mon, 21 Mar 2016 09:53:09 +0000 (10:53 +0100)]
ext6migrate: Qemu Bios Selector fixes

add render function for Qemu Bios,
and change data to comboItems and '' to '__default__'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agorequires manual entering VM id before enabling the delete Button for VMs
Emmanuel Kasper [Mon, 21 Mar 2016 09:35:04 +0000 (10:35 +0100)]
requires manual entering VM id before enabling the delete Button for VMs

suggested by a user in https://bugzilla.proxmox.com/show_bug.cgi?id=360#c7
similar to the way github handles the deleting of a repository

fixes: #360

8 years agoparser: fix case sensitivity when classifying mountpoints
Wolfgang Bumiller [Thu, 17 Mar 2016 13:22:22 +0000 (14:22 +0100)]
parser: fix case sensitivity when classifying mountpoints

8 years agoext6migrate: enable some qemu tabs
Dominik Csapak [Fri, 18 Mar 2016 13:36:11 +0000 (14:36 +0100)]
ext6migrate: enable some qemu tabs

enables:
Monitor, Backup, Snapshot, Console, Firewall, Permissions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix HDEdit, HDMove, HDResize
Dominik Csapak [Fri, 18 Mar 2016 13:36:10 +0000 (14:36 +0100)]
ext6migrate: fix HDEdit, HDMove, HDResize

the StorageSelector fires the change event one time before data is there,
this patch catches that

also make the hdresize window wider because of the bigger font

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change reference to widget
Dominik Csapak [Fri, 18 Mar 2016 13:36:09 +0000 (14:36 +0100)]
ext6migrate: change reference to widget

the correct name is pveNodeSelector

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix lxc resource view
Dominik Csapak [Fri, 18 Mar 2016 13:36:08 +0000 (14:36 +0100)]
ext6migrate: fix lxc resource view

after making the resource view lazy
the activate event does not trigger everytime
(where we reload)
so we make it the afterrender event

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix KVCombobox behaviour in qemu
Dominik Csapak [Fri, 18 Mar 2016 13:36:07 +0000 (14:36 +0100)]
ext6migrate: fix KVCombobox behaviour in qemu

for details see commit:
f2782813cd763382a1bbc1ce43121e21377efe4f

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>