2195 Commits

Author SHA1 Message Date
Thomas Lamprecht
d0f1b9ab78 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>
2016-04-01 13:25:00 +02:00
Dominik Csapak
638160ecba 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>
2016-04-01 13:23:08 +02:00
Dominik Csapak
f8a5b9a0ff 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>
2016-04-01 13:22:50 +02:00
Dominik Csapak
44a64147c6 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>
2016-04-01 13:22:43 +02:00
Dominik Csapak
cd3f5bde45 fix language selector
due to the changes in
7515e62236b9f3c8317c3aa0dbf470e2b8efdd71
we have to set the default value to '__default__'
instead of ''

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 13:22:25 +02:00
Dominik Csapak
2f232b21f9 add missing state string
'monitor' was missing in dictionary for the states

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 13:22:14 +02:00
Dietmar Maurer
2db33cb00c update Ext JS to 6.0.1 2016-04-01 09:54:04 +02:00
Dominik Csapak
2bb3bee1d9 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>
2016-04-01 09:09:55 +02:00
Dominik Csapak
5db8e4d020 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>
2016-04-01 09:06:59 +02:00
Dominik Csapak
efdf77017d fix package versions in node summary
this bug was introduced by me with commit
'd43922e7ec5b5c1dd43d4ffee90b0c18eea0b708'
by mistake

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 09:06:42 +02:00
Dietmar Maurer
b9ebe6f2f4 update changelog 2016-03-31 17:22:46 +02:00
Wolfgang Bumiller
0419e76f4f 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.
2016-03-31 17:21:37 +02:00
Dominik Csapak
aeecc28829 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>
2016-03-31 17:17:40 +02:00
Dominik Csapak
5ce8f81f3b 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>
2016-03-31 17:10:10 +02:00
Dominik Csapak
e925705935 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>
2016-03-31 13:38:58 +02:00
Emmanuel Kasper
8996f4634e Fix ExtJS6 locales file name 2016-03-31 13:35:01 +02:00
Dietmar Maurer
c39c6190d4 Workspace: simplify layout 2016-03-31 13:30:41 +02:00
Wolfgang Bumiller
a467e7d4eb 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.
2016-03-31 12:43:31 +02:00
Dominik Csapak
c0f8ea9075 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>
2016-03-31 12:39:11 +02:00
Dietmar Maurer
3a98ad027f update changelog 2016-03-31 12:18:03 +02:00
Dietmar Maurer
8a5caad8af switch GUI to extjs6 2016-03-31 12:11:31 +02:00
Dietmar Maurer
49f53f2e9b fix jslint errors 2016-03-31 11:13:50 +02:00
Dietmar Maurer
b13f0e045d bump version to 4.1-23 2016-03-31 10:58:49 +02:00
Caspar Smit
d7a7df103d Fixed a small typo
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:56:49 +02:00
Caspar Smit
fc9fc12f3c Allow migrate-all button on HA enabled VMs
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:56:22 +02:00
Caspar Smit
fdfdac6c69 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>
2016-03-31 10:51:11 +02:00
Caspar Smit
39d451c09b 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>
2016-03-31 10:50:34 +02:00
Emmanuel Kasper
4856495f9e Readme.md: add pveproxy restart as neeed step for testing ExtJS6 GUI 2016-03-31 10:39:49 +02:00
Dominik Csapak
d43922e7ec 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>
2016-03-31 10:39:14 +02:00
Dominik Csapak
bb579dd256 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>
2016-03-31 10:38:37 +02:00
Dominik Csapak
9d978b3477 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>
2016-03-31 10:38:28 +02:00
Dominik Csapak
1fbcb8d34c 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>
2016-03-31 10:36:02 +02:00
Fabian Grünbichler
655f21a97f use PVE::Storage::config(), not cfs_read_file() 2016-03-30 10:35:58 +02:00
Dietmar Maurer
0d6f7ff567 simplify code 2016-03-30 09:37:47 +02:00
Dietmar Maurer
4b402a7ee7 lxc: disable console button for templates 2016-03-30 09:35:52 +02:00
Emmanuel Kasper
82a06e08b4 disable console button for templates 2016-03-30 09:23:11 +02:00
Emmanuel Kasper
6a0e5c4b67 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
2016-03-30 09:22:38 +02:00
Dietmar Maurer
9943271764 SafeDestroy: remove dead code
The cancel button was already removed.
2016-03-30 09:19:06 +02:00
Dietmar Maurer
1509fb3477 SafeDestroy.js: use modern ExtJS features
We now use the class config system, a View Model and a View Controller.
2016-03-30 09:07:32 +02:00
Dietmar Maurer
b11db5ebcb SafeDestroy.js: factor out common code 2016-03-29 10:27:40 +02:00
Dietmar Maurer
3056432e11 cleanup: run emacs indent-region on SafeDestroy.js 2016-03-29 09:58:04 +02:00
Emmanuel Kasper
f2f6934b4b Do not turn the strings CT and VM into separate localizable strings
According to the PO files, translators keep 'CT' and 'VM' unchanged
2016-03-29 09:21:14 +02:00
Dominik Csapak
3c1c291786 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>
2016-03-21 14:02:47 +01:00
Dominik Csapak
d3c6699c8b 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>
2016-03-21 14:02:29 +01:00
Dominik Csapak
0400d94fc6 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>
2016-03-21 11:16:59 +01:00
Dominik Csapak
4d478aa7af 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>
2016-03-21 11:16:39 +01:00
Dominik Csapak
b3e01b00af 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>
2016-03-21 11:16:27 +01:00
Dominik Csapak
ad1b482b2d ext6migrate: add Haswell and Broadwell noTSX
these were missing in manager6

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-21 11:16:13 +01:00
Dominik Csapak
8744c4a6d8 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>
2016-03-21 11:15:50 +01:00
Emmanuel Kasper
62c41d5d38 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
2016-03-21 10:45:49 +01:00