IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
We want to deprecate the 'upgrade' parameter in favor of a more
general 'cmd' parameter, which is easier to extend, e.g., for
installing pveceph through the WebUI.
Signed-off-by: Tim Marx <t.marx@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
noVNC logic is this: do not show a local cursor, except when the server
sends it
this cannot happen with qemu (excluding QXL) and so we only ever have
the remote cursor.
since that is sometimes very laggy, add the option to show the local
cursor in addition
this reinstates the old behaviour where the user would (normally)
see two mouse cursors: one remote and one local, but since
this can be configured now, users which do not want this can
turn it off
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this patch rebases the patches onto the current master and changes some
things:
* show the noVNC settings window/button (but still hide the advanced
options there, since those only contain connection relevant settings)
* decouple the window autoresize somewhat from the 'resize' setting, so
that a user can deactivate that and still have the wanted scaling
(but keep the default behaviour, incl. changing the scaling on
fullscreen change)
* do not use the updateSetings call anymore (since it lost its second
parameter) use forceSetting/initSettings instead
(we have to give the resize parameter in pve-manager for this
to correctly work)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This fixes the problem that a restarted container was seen as migrating
in the UI.
Background:
The check for migration happens on a 'disconnected' event, but can very well
come for other reasons, like entering reboot on the LXC console.
Since we have no idea about what have caused the disconnection, it is
better to display a more generic message.
when opening the console*tab* on a host or a container,
give the current size to the vncproxy api call, so that the console
fills the entire tab
resizing the window/iframe does not resize the vnc console
(because libvncserver has no setDesktopSize support)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
instead of using the babel-shim (which is not production-ready),
create a bundle app.js file with node-es6-module-transpiler in the
dh_auto_build step
this way, we only need to ship 1 js file instead of many
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
novnc changed quiet a bit, so we have to update
the Makefile, add a line to the debian rules file, and
to adjust the install file
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
adds the new rebased patches, based on current novnc master
notable changes:
* (most of) our code is in an es6 module, opposed to patching the ui.js
* removed our sendkeys menu in favor of the novnc one
* you can now enter fullscreen from a popup console
* when a vm resizes its resolution, the canvas should also rescale in
the console tab
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
we do not want to have the html for novnc in the pve-manager package,
so we have it in the novnc-pve package as a template, which we will
load using Template::Toolkit
the changes are copied from NoVncIndex.pm from pve-manager/PVE/
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
it already was in the comment but i forgot it:
some browsers need an even size,
so we do Floor(x/2)*2
but if we have an uneven height, we get a window
that is a pixel too small, resulting in a scrollbar
so we have to add 1 first (like with the width)
Floor((x+1)/2)*2
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this patch makes the bar white (instead of a blue gradient),
yellow in warning state, and red in error state
this also makes the buttons blue like our "Create VM"
Button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
on ie11, the 'clip' setting will always be parsed to true
(because of weird calls to some functions which try to get
the clip setting at the wrong time, but only in ie11)
so instead of initSetting, we forceSetting the clip to false
if clip is true, it gets in the way of resizing
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>