1967 Commits

Author SHA1 Message Date
Dietmar Maurer
e9eaaee8a4 bump version to 4.1-17 2016-03-02 17:18:22 +01:00
Wolfgang Link
60d31ad8d3 Remove content type Container from GlusterFS 2016-03-02 17:16:29 +01:00
Emmanuel Kasper
d622e39c61 fix display cluster status in Datacenter Panel
use getData() instead of accessing the intern raw value
2016-03-02 12:38:25 +01:00
Emmanuel Kasper
6cfec58f26 fix Timezones window
Ext.regModel() was removed from the framework
rewrite the store in declarative style with inline data
2016-03-02 12:37:16 +01:00
Thomas Lamprecht
db2dd0e439 web-syslog: add date span selection
This allows the user to only show logs from a specific date span.
For that two date picker and a 'Update' button were added to the
header bar.

For the until date we assume always 23:59:59 o'clock, as witouth
a specific time journalctl assumes 00:00 which would result in an
empty log if we only wanted to look at todays log.

As the LogView is shared with others (e.g. ceph log) use an boolean
variable to set if we want to show those date pickers)

Fixes timeout when the user has a long uptime and or persistent logs
2016-03-02 06:25:33 +01:00
Thomas Lamprecht
1b4fad23d1 syslog: allow since/until parameters
allow the since/until parameters which journalctl understands
We use a really simple regex to check a valit date (time) stamp.

This can be done as this API call gets mainly used by the GUI where
we have full controll over what we send and additional journalctl
has already a good timestamp parser which can handle that.
2016-03-02 06:24:55 +01:00
Dominik Csapak
1aad83a320 ext6migrate: enable firewall and subscription tabs
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-02 06:15:19 +01:00
Dominik Csapak
704a6e3d61 ext6migrate: fix subscription tab
fixes:
 * update deprecated field
 * move static configuration to class definition
 * change applyIf to apply
 * change system report handler to pass a function to
    check_command (instead of the result of showReport)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-02 06:15:01 +01:00
Dominik Csapak
f9d1e2f2c0 ext6migrate: change applyIf to apply
in the option view, change the applyIf to apply to
correctly show the 'Edit' button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-02 06:13:16 +01:00
Dietmar Maurer
9c2b4ffd22 PVE::API2::Nodes::Nodeinfo: import raise_param_exc 2016-03-01 09:22:39 +01:00
Emmanuel Kasper
4cf02a6a14 move component properties to prototype body
this is needed for 'displayField'

also remove redundant truthiness test which is also
taking place at the beginning of setNodeName()
2016-02-29 16:52:27 +01:00
Emmanuel Kasper
f8cde33a63 adapt BondSelector to our ExtJS6 KVComboBox parameters 2016-02-29 16:52:12 +01:00
Emmanuel Kasper
9173b9d3c5 push column items individually
looks like ExtJS is not automatically flattening the array anymore
and items in a multidimensionnal array are not displayed with ExtJS6

lxc/Config.js is still commented because we haven't reached this part
in the upgrade, but fixing there too
2016-02-29 16:52:01 +01:00
Emmanuel Kasper
5fd7ef775c use 'refresh' event to reload the grid after the store content has changed
this fixes the problem that buttons and grid contents were not updated
after a service stop/start
2016-02-29 15:37:13 +01:00
Emmanuel Kasper
6155252f27 reload stores of tabpanel children on 'activate' event 2016-02-29 15:36:49 +01:00
Emmanuel Kasper
ce6805ae2f enable more node panels 2016-02-29 15:34:57 +01:00
Emmanuel Kasper
694d9d4cbc move tabs of a sub tabpanel to the left by default
This takes a bit of screensize, but is fine as long as the browser
horizontal screen size is at least 1280 px ( 92 % of desktop users in 2016
according to StatsCounter)
Still usable for the remaining small displays, but horizontal scrolling
is needed for grids with a lot of columns.

Moving the sub tabs to the top left provides a minor usability
improvement as all controls are now grouped together in the same
screen region.
2016-02-29 15:31:41 +01:00
Dominik Csapak
7515e62236 ext6migrate: fix model behaviour for KVComboBox
we used an empty value for the Key-Value ComboBox for defaults.
With extjs6, if the idProperty of a model is empty, they generate
a name for it, which breaks our logic for submitting
(currently we checked if this is empty, and send a delete command
to our api)
instead, we use the value 'default' and check for it when we submit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-29 15:27:15 +01:00
Dominik Csapak
a2d6bf2b56 ext6migrate: fix fullscreen for noVNC
add allowfullscreen to iframe code, makes novnc fullscreen work

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-29 12:33:43 +01:00
Dominik Csapak
8ddf32d5c6 ext6migrate: enable update and console tab for node
since the console is working again, we can activate the
console tab and the update tab for nodes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-29 10:51:00 +01:00
Dietmar Maurer
608e37c683 bump version to 4.1-16 2016-02-27 10:30:20 +01:00
Wolfgang Bumiller
afdc45f125 firewall: add option to allow router advertisement 2016-02-27 10:26:31 +01:00
Dominik Csapak
f5e339c5a8 fixing trailing whitespaces and jslint type confusions
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-27 09:31:09 +01:00
Dominik Csapak
994e2d86fc ext6migrate: update vncconsole and remove java applet code
includes the following fixes:
 * remove all code related to the old java applet vnc client
   (we do not use this anymore)
 * move static configuration to class definition
 * use Ext.ux.IFrame instead of widget.uxiframe (to be consistent)
 * change listener from show to activate (for browser refresh)
 * change deprecated autoScroll to scrollable
 * remove novnc option from openVNCViewer function,
    since we do not need this option anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-27 09:27:15 +01:00
Dominik Csapak
ed15db794d 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
Dietmar Maurer
93754f8bd8 update Norwegian translation
Many thnaks to Jostein Hove-Henriksen for the translation.
2016-02-26 16:33:18 +01:00
Wolfgang Link
c9aaba9d5a add remove function to pveam
now it is possible to erase templates with pveam
2016-02-26 11:51:35 +01:00
Wolfgang Link
b6691b7034 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
e2b1fe71a4 add pveam download
With this function you can download templates from the repositories.
2016-02-26 11:37:11 +01:00
Dietmar Maurer
0f9ec66ebf remove debugging code 2016-02-26 11:36:48 +01:00
Wolfgang Link
9c5c9b623e refactor pveam to use it with our CLI Handler. 2016-02-26 11:34:52 +01:00
Wolfgang Link
4470d00c7e fix initlog name 2016-02-26 11:30:17 +01:00
Wolfgang Link
d2b867735a change turnkey URL to https version to permit a redirection. 2016-02-26 11:30:06 +01:00
Dietmar Maurer
4e2e2d515f do not use Net::SSL
seems IO::Socket::SSL can now connect to proxy
2016-02-26 11:29:00 +01:00
Emmanuel Kasper
0e3dc56d62 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
ad6569d8b2 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
df1419e813 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
a0b5883841 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
652b021d12 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
09a727f030 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
b9dc40e333 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
937be156aa 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
35491b4a27 jslint...
*sigh*
2016-02-24 16:33:55 +01:00
Emmanuel Kasper
b46a0e4ed4 Revert "ext5migrate: do not set a custome idProperty for the KeyValue model"
This reverts commit 3150236aa5ebed6565c6eaf64126bb1195693396.

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
b6212157c5 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
be2c141ee6 ResourceEdit.js: use correct filed label 2016-02-23 16:46:15 +01:00
Wolfgang Bumiller
febadb4b13 lxc: disable edit button for non-root users for bindmounts 2016-02-23 16:37:43 +01:00
Wolfgang Bumiller
fb104806c5 lxc: use mount point editor in create wizard 2016-02-23 16:36:57 +01:00
Wolfgang Bumiller
ac68fa6e0e lxc: create/edit/remove mountpoints 2016-02-23 16:36:23 +01:00
Wolfgang Bumiller
853be40b8e parser: perform mountpoint classification 2016-02-23 16:34:16 +01:00