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

91 Commits

Author SHA1 Message Date
Thomas Lamprecht
018065f9c4 add DSC source package and fix its reported lintian errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 19:31:36 +02:00
Thomas Lamprecht
e4d1a2f4e8 bump debian compat level to 11
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 19:22:29 +02:00
Thomas Lamprecht
815c0744e2 buildsys: use dpkg-dev makefile helpers for pkg info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 19:22:17 +02:00
Thomas Lamprecht
35eede9f28 bump version to 1.0.0-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-28 11:14:21 +01:00
Tim Marx
08db285b76 support new 'cmd' parameter
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>
2019-02-28 11:01:27 +01:00
Thomas Lamprecht
abe37c0a61 bump version to 1.0.0-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-07-23 14:08:41 +02:00
Dominik Csapak
4930b83280 add version to js/css url to prevent caching
when our version changes, we always want the user to have the new version

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-07-23 12:04:24 +02:00
Dominik Csapak
d709d68c17 add a setting for local cursor
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>
2018-07-23 11:23:11 +02:00
Dominik Csapak
4cc9ed084b rebase patches to current master
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>
2018-07-23 11:23:11 +02:00
Dominik Csapak
c821336b5d upgrade novnc to current master
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-07-23 11:23:11 +02:00
Dominik Csapak
c81b80da00 bump version to 1.0.0-1
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-05-09 14:52:41 +02:00
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