]>
git.proxmox.com Git - pve-manager-legacy.git/log
Fabian Grünbichler [Tue, 13 Mar 2018 09:46:39 +0000 (10:46 +0100)]
postinst: start/restart units like dh_start
with an added "reload-or" for pvedaemon/pveproxy/spiceproxy, which
dh_start unfortunately does not yet support
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 13 Mar 2018 09:46:38 +0000 (10:46 +0100)]
postinst: unify version-dependent cleanup
putting this into one place is better for readability
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 13 Mar 2018 09:46:37 +0000 (10:46 +0100)]
postinst: refactor service/timer handling
reduce code duplication, and reload-or-restart timers just like service
units instead of just starting them.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 13 Mar 2018 09:46:36 +0000 (10:46 +0100)]
postinst: actually enable and start pveupdate.timer
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 13 Mar 2018 09:46:35 +0000 (10:46 +0100)]
postinst: cleanup trigger code
reload-or-try-restart works just fine even if the unit is stopped or
disabled
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Dominik Csapak [Mon, 12 Mar 2018 14:02:34 +0000 (15:02 +0100)]
add missing idProperty for pve-domains model
without this, we could not delete realms
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:14:08 +0000 (14:14 +0100)]
b/prerm: cleanup cruft from prerm helper
we actually want to keep this for now as else we get the
autogenerated systemd helper code here which stops all services from
this package before upgrading, which we really really do not want
(kills API connections, among other things)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:14:07 +0000 (14:14 +0100)]
buildsys: remove outdated preinst helper
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:14:06 +0000 (14:14 +0100)]
b/postrm: let debhelper generate systemd stuff
With #DEBHELPER# the manual maintained code will be autogenerated, no
need to manually track which services and timers this packages has.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:14:05 +0000 (14:14 +0100)]
pveupdate: replace cron job with systemd timer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:14:04 +0000 (14:14 +0100)]
postinst: remove pvebanner call
We have the pvebanner.service in places which ensures this gets
called on boot before the getty target.
Thus this only had an effect if we changed the nodename to IP mapping
_and_ upgraded/reinstalled pve-manager, then switching to another TTY
would show the updated IP. But as this a) is for sure not a common
triggered path and b) a IP change suggest a reboot either way, and if
the user can handle it on their own without a reboot, they should be
able to also handle an outdated /etc/issue until the next reboot.
Also for PVE ontop of plain Debian a reboot is needed, so that the
PVE kernel gets booted, so this shouldn't be an issue ther neither.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:14:03 +0000 (14:14 +0100)]
postinst: remove commented out call to a2ensite
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:14:02 +0000 (14:14 +0100)]
postinst: remove fixup for ceph jewel update transition
In commit
8b89f7533e2df983e0285e2f170971a3637d7349 we needed to
change the ceph.service install target to multi-user.target, as
ceph.target could hang indefinitely if ceph-common gets upgraded.
This change is included in pve-manager 4.4-13 and newer, as users
wanting to upgrade to 5.0 must upgrade to latest 4.4 to be able to do
so (without headache) this can be removed.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:14:01 +0000 (14:14 +0100)]
postinst: simplify code for transitional updates
The first case won't happen anymore on a recent PVE.
The 'version is empty or <unknown>' check may drop the '<unknown>'
part, it gets handled by the 'dpkg --compare-versions' bits just
fine, if it happens at all for the 'configure' case
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:14:00 +0000 (14:14 +0100)]
postinst: combine abort-* cases and remove boilerplate cruft
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:13:59 +0000 (14:13 +0100)]
postinst: simplify root's mail .forward check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:13:58 +0000 (14:13 +0100)]
postinst: bootlogd is not used under systemd
"Note that not all init systems print messages to the system console,
so that the logfile may remain empty; this is the case with systemd
(the default init system). Try "journalctl -b" instead."
-- https://packages.debian.org/stretch/bootlogd
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:13:57 +0000 (14:13 +0100)]
postinst: removing old APL dir is obsolete
This was added by
82f9a5d7c on 2012-02-21 11:42:32, as we had 2 major
upgrades since them every system either was update or new installed,
so just remove this.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:13:56 +0000 (14:13 +0100)]
buildsys: remove unused debconf template
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:13:55 +0000 (14:13 +0100)]
postinst: purge all old init.d service files on upgrade
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:13:54 +0000 (14:13 +0100)]
services: remove obsolete init.d scripts
They all have a systemd service file so no need for them anymore
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:13:53 +0000 (14:13 +0100)]
buildsys: add %.1.pod make target to reduce duplication
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 12 Mar 2018 13:13:52 +0000 (14:13 +0100)]
remove obsolete (rgmanager era) HA resource agent
This was used by rgmanager which was superseeded in 2015 with our
ha-manager for PVE 4.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Herman van Rink [Fri, 9 Mar 2018 10:32:32 +0000 (11:32 +0100)]
Whitespace cleanup
Signed-off-by: Herman van Rink <rink@initfour.nl>
Herman van Rink [Fri, 9 Mar 2018 10:32:31 +0000 (11:32 +0100)]
Elaborate comment in hook example
Signed-off-by: Herman van Rink <rink@initfour.nl>
Fabian Grünbichler [Wed, 28 Feb 2018 10:12:01 +0000 (11:12 +0100)]
VZDump: handle timelocal year correctly
while this is unlikely to cause any problems, it is unnecessary to
substract 1900 here - timelocal handles 4-digit years perfectly well.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Dominik Csapak [Mon, 5 Mar 2018 08:58:41 +0000 (09:58 +0100)]
Graphite.pm: fix whitespace
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 5 Mar 2018 08:58:40 +0000 (09:58 +0100)]
fix #1683: do not send non-numeric values to graphite
the graphite daemons which accept the data (carbon), only
accepts numeric values, and logs all invalid lines
since that were about 5 values per vm/ct this generated lot of noise
in the carbon log
so we check with a regex if a value is numeric, and
additionally we have a blacklist of keys which seem to be numeric but
are either boolean (e.g. template) or a state (e.g. pid)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Wolfgang Bumiller [Tue, 27 Feb 2018 14:55:15 +0000 (15:55 +0100)]
Merge branch 'master' of git://git.proxmox.com/git/pve-manager
Dominik Csapak [Mon, 26 Feb 2018 12:12:21 +0000 (13:12 +0100)]
make GuestStatusView declarative
use the cbind function to generate isLxc/Qemu to hide the
relevant fields, and cbind the nodename
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Wolfgang Bumiller [Mon, 26 Feb 2018 09:29:18 +0000 (10:29 +0100)]
bump version to 5.1-47
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Fri, 23 Feb 2018 10:14:33 +0000 (11:14 +0100)]
d/control: update version dependency to widget toolkit
Dominik Csapak [Fri, 23 Feb 2018 09:32:02 +0000 (10:32 +0100)]
node/Summary.js: fix trailing whitespace
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Feb 2018 09:32:01 +0000 (10:32 +0100)]
improve node/lxc/qemu summary pages
let them use a one/two column layout depending on browser width
optimize stylings/padding values
get rid of the (now long) unecessary lazyitems plugin
(this was necessary for performance when we still used tabpanels instead
of our own configpanel with treelist)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Feb 2018 09:32:00 +0000 (10:32 +0100)]
use notesview declaratively in storage summary
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Feb 2018 09:31:59 +0000 (10:31 +0100)]
let the storage summary use the full browser width
use one/two column layout depending on browser width
and optimize some stylings
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Feb 2018 09:31:58 +0000 (10:31 +0100)]
add xtype to noteview so we can use it declaratively
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Feb 2018 09:31:57 +0000 (10:31 +0100)]
let cluster dashboard use full browser width
use one/two column layout instead of hardcoding width for the panels
also optimize padding values
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Feb 2018 09:31:56 +0000 (10:31 +0100)]
let ceph dashboard use the full browser width
instead of hardcoding the width of the panels,
use a columnlayout and use one column for screens < 1900 width
and two columns for screens >= 1900 width
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Feb 2018 09:31:55 +0000 (10:31 +0100)]
show guest-agent provided ip address in qemu summary
this adds a new component 'AgentIPView' which
uses the qemu-agent api call to tries to get the ip information for
the guests
only for vms at the moment, since for containers you already
set it on their network tab
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 22 Feb 2018 13:17:41 +0000 (14:17 +0100)]
ui: declarative LXC Create
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 22 Feb 2018 13:17:40 +0000 (14:17 +0100)]
ui: MPEdit: add setUnprivileged to allow data binding
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 22 Feb 2018 13:17:39 +0000 (14:17 +0100)]
ui: lxc/Network: set empty datachache by default when in wizard
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 22 Feb 2018 13:17:38 +0000 (14:17 +0100)]
ui: FileSelector: add setNodename to allow data binding
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 22 Feb 2018 13:17:37 +0000 (14:17 +0100)]
ui: move loadSSHKeyFromFile from lxc/Create to Utils
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 22 Feb 2018 13:32:40 +0000 (14:32 +0100)]
add ha info to the template summary
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 22 Feb 2018 13:32:39 +0000 (14:32 +0100)]
add icons to summaries and improve spacing
also add a helper css class to use the png icons like fontawesome icons
and add the ha state to template summary
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 22 Feb 2018 13:32:38 +0000 (14:32 +0100)]
add optional icon to InfoWidget
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 21 Feb 2018 14:32:23 +0000 (15:32 +0100)]
tree: prepare for ExtJS 6.2.0
Remove the expand/collapse hack needed for an earlier ExtJS version.
Further do not collapse the rootnode before restoring the state, it
may not be collapsible at this time, as it may be still seen as leaf
node, and thus throws exceptions with ExtJS 6.2.0
we fired the refresh to late for the store, i moved it up to fire
directly after we resume events on the store, i.e. when our store update
window is closed again. So it happens before applying the state and
expanding the rootnode.
see
https://pve.proxmox.com/pipermail/pve-devel/2018-February/030762.html
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Fri, 16 Feb 2018 14:08:32 +0000 (15:08 +0100)]
bump version to 5.1-46
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fabian Grünbichler [Fri, 16 Feb 2018 13:58:10 +0000 (14:58 +0100)]
pveversion: use AptPkg::Version, not Dpkg::Version
to avoid an extra dependency
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 16 Feb 2018 11:46:35 +0000 (12:46 +0100)]
bump version to 5.1-45
Fabian Grünbichler [Fri, 16 Feb 2018 09:49:27 +0000 (10:49 +0100)]
pveversion: sort kernel packages by version
instead of lexically by package name
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 15 Feb 2018 15:05:51 +0000 (16:05 +0100)]
fix wizard validity check for options spanning multiple tabs
when changing the guest os, we changed the disk type
(e.g. ide for windows, scsi for linux, etc.)
but if the id was outside the allowed range (e.g. > 3 for ide)
we did not correctly enable/disable tabs
now we check all tabs until the highest already visited,
or until we detect a not valid tab
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Feb 2018 12:34:48 +0000 (13:34 +0100)]
form/FileSelector: move to declarative style
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Feb 2018 12:34:47 +0000 (13:34 +0100)]
qemu/wizard: move to declarative syntax
Use a ViewModel directly, instead of emulating its behaviour with a
ViewController.
The rest consists mostly of indentation changes, moving some
components directly inside their parent declaration.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Feb 2018 12:34:46 +0000 (13:34 +0100)]
wizard: set config values on top
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Feb 2018 12:34:45 +0000 (13:34 +0100)]
wizard: use fbar convenience helper for footer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Feb 2018 12:34:44 +0000 (13:34 +0100)]
wizard: remove hidden outdated header logic
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 15 Feb 2018 09:20:45 +0000 (10:20 +0100)]
APT API: versions: add new pve packages
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 15 Feb 2018 09:20:44 +0000 (10:20 +0100)]
APT API: versions: split up long line and refactor
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 9 Feb 2018 12:08:07 +0000 (13:08 +0100)]
ui: qemu: make DisplayEdit declarative and drop DisplaySelector
DisplayEdit did not get a cleanup during our ExtJS 4 to ExtJS 6
cleanup, in fact it was really touched in the last 5 years.
So refactor it to a declarative syntax, at least almost, we keep the
me.load in initComponent, just to much hassle to adress this for now.
Also purge DisplaySelector. It was a component inheriting from
KVComboBox with the possible VGA values as items only used here.
So just use a KVComboBox directly and set comboboxItems directly.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Tue, 28 Nov 2017 13:05:01 +0000 (14:05 +0100)]
fix #1573: show bootdisk usage on container summary
we have the information, so show it
this does not change the output for vms, where we do not have
any information about disk usage at all
if we add the 'disk' info to vms, it will magically work there then
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 26 Jan 2018 12:30:20 +0000 (13:30 +0100)]
StatusView.js: call renderer in context of field
so that we can access the field inside the renderer
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 26 Jan 2018 12:29:08 +0000 (13:29 +0100)]
InfoWidget.js: make printBar toggleable at runtime
we add a setPrintBar function, where we can make the
progressbar visible/hide it at runtime
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 7 Feb 2018 09:11:22 +0000 (10:11 +0100)]
fix edit button for some panels
when using the 'run_editor' function provided by the ObjectGrid,
we have to make sure the function runs in the context of the grid,
not in that of the button, else we cannot access the
selectionModel/rows/etc. of the grid
this happened with the switch to the widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 25 Jan 2018 14:55:11 +0000 (15:55 +0100)]
fix #1629: improve min/max memory handling
instead of directly setting the minvalue when the maxvalue is lower
we invalidate it and only on blur we set the minvalue
without this we lose the minvalue when editing only the maxvalue
e.g.:
Max: 2048
Min: 1024
if we now edit the maxvalue to 4096, on pressing the '4', we are
setting the minvalue to '4' because 4 is lower than 1024
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 25 Jan 2018 14:55:10 +0000 (15:55 +0100)]
fix #1631: change units to binary prefix
we always expected MiB/GiB but labeled them incorrectly
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 30 Jan 2018 09:34:14 +0000 (10:34 +0100)]
fix #1635: correctly change maxIds in ControllerSelector in wizard
we want to change the maxIds value even when not rendered, since
in the wizard, the controller can change from a different panel in the
tabpanel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 26 Jan 2018 10:58:03 +0000 (11:58 +0100)]
enable/disable xtermjs depending on the existance of a serial port
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Fri, 26 Jan 2018 10:58:02 +0000 (11:58 +0100)]
show serial ports on the gui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Fri, 26 Jan 2018 10:58:01 +0000 (11:58 +0100)]
change group of unused to 99 to that we can add things in between
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Fri, 26 Jan 2018 10:58:00 +0000 (11:58 +0100)]
add icon/class for serial ports
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Fri, 26 Jan 2018 14:25:26 +0000 (15:25 +0100)]
qemu/Monitor: save the last 20 commands
and make them available with the up/down arrow key
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Thu, 25 Jan 2018 12:59:01 +0000 (13:59 +0100)]
bump version to 5.1-44
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Fri, 26 Jan 2018 07:52:55 +0000 (08:52 +0100)]
use API2Request from Proxmox.Utils in mobile interface
this was missing from the migration to the widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 25 Jan 2018 13:36:51 +0000 (14:36 +0100)]
change PVE.UserName/CSRFPreventionToken to Proxmox
this is now all in the widget-toolkit and needs to be
set/read to/from there, else we possibly get an inconsistent view on
those
this fixes as issue, where after login the ResourceStore would not update
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 23 Jan 2018 09:55:18 +0000 (10:55 +0100)]
remove now unused translations
We use proxmox-i18n now and merged those files there already
Thomas Lamprecht [Tue, 16 Jan 2018 12:29:47 +0000 (13:29 +0100)]
reuse Toolkit from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 11 Dec 2017 14:47:14 +0000 (15:47 +0100)]
RealmComboBox: use schematic declaration and ViewController
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 11 Dec 2017 15:10:13 +0000 (16:10 +0100)]
use InputPanel from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 11 Dec 2017 15:06:50 +0000 (16:06 +0100)]
use LogView from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 11 Dec 2017 13:57:13 +0000 (14:57 +0100)]
use GaugeWidget from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 11 Dec 2017 13:46:51 +0000 (14:46 +0100)]
use RestProxy from widget toolkit
Split PVE specific models, which where not moved to the general
widget toolkit, in a separate folder: data/models/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 11 Dec 2017 12:50:25 +0000 (13:50 +0100)]
use ObjectStore from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 11 Dec 2017 12:09:31 +0000 (13:09 +0100)]
use TimezoneStore from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 11 Dec 2017 11:05:39 +0000 (12:05 +0100)]
use DiffStore from widget toolkit
The alias stayed the same (store.diff) so we need to change direct
usage of 'PVE.data.DiffStore' only.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 11 Dec 2017 10:25:58 +0000 (11:25 +0100)]
use HelpButton from widget toolkit
Proxmox.button.Help renamed the css class for the button styling, as
this class is only used rarely and the widget toolkit does not
provides a (shared) css file itself, just rename it here too.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 7 Dec 2017 08:58:50 +0000 (09:58 +0100)]
use window.PasswordEdit from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 17:30:16 +0000 (18:30 +0100)]
use TaskViewer & TaskProgress window from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 17:12:41 +0000 (18:12 +0100)]
use windowEdit from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 17:02:00 +0000 (18:02 +0100)]
use PendingObjectGrid from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 16:54:30 +0000 (17:54 +0100)]
qemu/Options: cleanup & use new features from ObjectGrid
Ther's a little delay with the revert button on pending changes, but
that was the case previously too, so don't worry for that in this
patch
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 16:28:41 +0000 (17:28 +0100)]
grid/FireWallOptions: cleanup & use new features from ObjectGrid
switch add_boolean and add_integer row to a simple wrapper.
We really use it often and can save quite some lines with it so it
does not make sense to remove it completely yet.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 15:59:02 +0000 (16:59 +0100)]
lxc/Options: cleanup & use a few new features from ObjectGrid
Use also same store update interval as qemu/Options
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 15:51:45 +0000 (16:51 +0100)]
lxc/Resources: cleanup & use new features from ObjectGrid
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 14:09:23 +0000 (15:09 +0100)]
dc/OptionView: cleanup & use new features from ObjectGrid
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 12:49:24 +0000 (13:49 +0100)]
use ObjectGrid from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 11:16:07 +0000 (12:16 +0100)]
use KVCombobox from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 6 Dec 2017 11:05:57 +0000 (12:05 +0100)]
use RRDTypeSelector from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>