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

68 Commits

Author SHA1 Message Date
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
Dietmar Maurer
b1c0d8007d bump version to 4.0-8 2015-04-17 16:23:07 +02:00
Dietmar Maurer
0afcb695c4 replace s/openvz/lxc/ 2015-04-17 16:21:28 +02:00
Dietmar Maurer
568f58b2fc set RELEASE=4.0 2015-04-17 16:14:58 +02:00
Dietmar Maurer
361ef3bc98 ser RELEASE to 3.3 2014-09-17 13:37:27 +02:00
Dietmar Maurer
0bf1bbb918 bump version to 0.4-7 2014-09-17 13:36:18 +02:00
Dietmar Maurer
fcf84f44bb fix bug #562: set port to 443 when no port is specified
This can happen if someone tries to access with revers proxy.
2014-09-17 13:33:47 +02:00
Dietmar Maurer
7067bd17af bump version to 0.4-6 2014-08-07 11:06:46 +02:00
Dietmar Maurer
baa7cf038c detect vm migration and reconnect 2014-08-07 11:05:20 +02:00
Dietmar Maurer
62e78ac903 add comment abou the origin of the code 2014-08-07 10:21:42 +02:00
Dietmar Maurer
1bcafb21bd improve resize for firefox 2014-08-07 09:53:21 +02:00
Dietmar Maurer
7df350a001 bump version to 0.4-5 2014-08-06 09:07:52 +02:00
Dietmar Maurer
f8aa3689b1 generate pve command memu dynamically 2014-08-06 09:03:44 +02:00