5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2024-12-22 17:34:20 +03:00
Commit Graph

80 Commits

Author SHA1 Message Date
Dominik Csapak
a375b7e5d0 rebase novnc patches on 1.0.0
also optimize indentation and squash patches

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-05-09 14:52:41 +02:00
Dominik Csapak
43233cc27e upgrade to novnc 1.0.0
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-05-09 14:52:41 +02:00
Thomas Lamprecht
6dadd28ae1 buildsys: ad BUILDDIR variable
allows easier reading
2018-01-25 10:16:45 +01:00
Thomas Lamprecht
5f6ca76d48 buildsys: write actual checked out git revision to SOURCE 2018-01-25 10:16:45 +01:00
Fabian Grünbichler
19227a3ac7 build: reformat debian/control
using wrap-and-sort -abt
2017-10-04 11:05:33 +02:00
Dietmar Maurer
dd4387ee77 bump version to 0.6-4 2017-06-30 06:42:10 +02:00
Emmanuel Kasper
f4aecc66a5 Replace 'migrating' info strings with more generic 'connecting' messages
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.
2017-06-30 06:41:07 +02:00
Wolfgang Bumiller
3e9e694e97 bump version to 0.6-3 2017-06-07 13:52:26 +02:00
Wolfgang Bumiller
15b516eaec delete leftover novnc.tgz 2017-06-07 13:51:21 +02:00
Dominik Csapak
e9bc42607c change color for highlighting pressed buttons
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-07 12:43:51 +02:00
Wolfgang Bumiller
e8fc454e26 bump version to 0.6-2 2017-06-02 09:12:32 +02:00
Dominik Csapak
a43028e6a8 request size with vncshell and container console
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>
2017-05-24 13:00:43 +02:00
Dominik Csapak
c6cb2f9d53 debian package fixup
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-24 13:00:39 +02:00
Dominik Csapak
1e63d71311 transpile javascript before packaging
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>
2017-05-24 13:00:39 +02:00
Dominik Csapak
4d91357934 remove old unused patches
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-24 13:00:39 +02:00
Dominik Csapak
742d9e9130 upgrade novnc to commit b0061a3c49dc25a71f7b0a9a1f31a8befe787cb4
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>
2017-05-24 13:00:39 +02:00
Dominik Csapak
fe91e9e1e3 add new rebased patches
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>
2017-05-24 13:00:39 +02:00
Dominik Csapak
339cafefa3 change from tgz to submodule
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-24 13:00:39 +02:00
Dietmar Maurer
104710c7f1 version bump for debian stretch - to make room for jessie updates 2017-03-10 08:37:59 +01:00
Dietmar Maurer
30b9aebb0a Makefile: use "--product pmg,pve --dist stretch" for upload target 2017-03-09 16:51:19 +01:00
Dominik Csapak
f8d9a6f315 generate index.html.tpl from vnc.html
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>
2017-03-09 10:32:01 +01:00
Wolfgang Bumiller
c3a2bb4fc9 buildsys: make job safety 2017-02-07 15:40:30 +01:00
Dietmar Maurer
d0878349a5 bump version to 0.5-8 2016-08-08 12:22:40 +02:00
Dominik Csapak
6bd3883761 fix height on resize
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>
2016-08-08 12:20:38 +02:00
Dietmar Maurer
a42cfd1514 use new repoman for upload target 2016-08-03 11:56:30 +02:00
Dietmar Maurer
7176b21c40 bump version to 0.5-7 2016-08-03 11:55:17 +02:00
Dominik Csapak
77d2f9657f adjust novnc look, to better blend in with web gui
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>
2016-08-03 11:51:25 +02:00
Dominik Csapak
ecdd814018 remove unnecessary 6px addition
this added a 6px border at the bottom for
chrome/firefox/ie11

this patch removes it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-03 11:09:03 +02:00
Dietmar Maurer
f02d0e75a0 bump version to 0.5-6 2016-04-14 12:15:49 +02:00
Dominik Csapak
782c2d8a25 add fix for sendCtrlAltDeleteButton
with this patch the sendCtrlAltDeleteButton shows and
hides properly on mobile

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-14 12:14:26 +02:00
Dominik Csapak
5b53f03537 add ie11 resize fix
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>
2016-04-14 12:14:18 +02:00
Dominik Csapak
1ca3f40997 fixup of fix-base-css.patch
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-14 12:14:08 +02:00
Dominik Csapak
0e8ee99a81 rebased alexandres pveui.js patch
a small fixup (the line numbers did not match)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-14 12:13:40 +02:00
Dietmar Maurer
e4211f6939 bump version to 0.5-5 2015-09-24 12:33:56 +02:00
Alexandre Derumier
b400fab129 novnc : install inflator.js to bump to last version
The display glitch bug has finally be fixed
c802d93189

We can now bump to last version, which improve performance.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-09-24 12:30:03 +02:00
Dietmar Maurer
e5f70572bb update novnc to commit a0e7ab43dca0ce11a713694ee4cf530bd3b17c5a 2015-09-24 12:29:44 +02:00
Alexandre Derumier
4efe1c41a2 remove inflator.js
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-08-31 16:09:54 +02:00
Dietmar Maurer
a02c17613f bump version to 0.5-4 2015-08-31 16:09:00 +02:00
Dietmar Maurer
1de2531fc3 revert novnc.tar.gz to 8f3c0f6b9b5e5c23a7dc7e90bd22901017ab4fc7
later version has seroius bugs
2015-08-31 16:05:59 +02:00
Dietmar Maurer
38eb9ef81f bump version to 0.5-3 2015-08-28 12:00:36 +02:00
Alexandre Derumier
6182bef025 novnc : bump to a369a80c2480af685b7bddacddae9cca3aea95f9 commit (20/08/2015) V2
They are performances improvements and fullscreen button support

changelog: only display fullscreen button is resize=scale is defined

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-08-28 11:58:48 +02:00
Dietmar Maurer
1297dd841d update source to latest version from git (commit 40b35fa20d459c731a5de826f4bd17634101a1db) 2015-08-28 11:57:17 +02:00
Dietmar Maurer
e9c68be949 bump version to 0.5-2 2015-06-26 09:54:57 +02:00
Alexandre Derumier
e8f9dd4dbd add resize optionnal
resize is now off by default, and match previous behaviour.

it can be enable passing resize=(scale|downscale|remote) to the url

ex:

https://node1:8006/?console=kvm&novnc=1&vmid=100&vmname=test&node=node1&resize=scale
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-26 09:53:54 +02:00
Alexandre Derumier
fe63e00300 fix togglePVESendKeysPanel
also rebase to last master
b098afc234

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-26 09:53:43 +02:00
Dietmar Maurer
bfd4e2ffa6 update source from upstream
to commit b098afc234528af8d3e6d708226d8839d8132d20
2015-06-26 09:53:28 +02:00
Dietmar Maurer
74991400a5 bump version to 0.5-1 2015-06-25 18:31:57 +02:00
Dietmar Maurer
34996d5cf3 remove unused file pveui.js
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2015-06-25 18:30:24 +02:00
Dietmar Maurer
bb64acc7c0 update to latest novnc source
novnc commit 31ddaa1c7a4f2a8f211f53da1b53bfe294ad6a38
2015-06-25 18:30:06 +02:00
Alexandre Derumier
a7e88cd9e9 bump to 0.5.1 master branch
generate pveui.js from include/ui.js with a patch

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-25 18:29:50 +02:00