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

128 Commits

Author SHA1 Message Date
Markus Frank
51ad2fb548 bump version to 1.4.0-1
Signed-off-by: Markus Frank <m.frank@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-02-08 16:57:19 +01:00
Markus Frank
f422faaeb1 upgrade novnc and patches to 1.4.0
rebase patches for 1.4.0

Signed-off-by: Markus Frank <m.frank@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-02-08 16:57:19 +01:00
Markus Frank
a83daecf21 replaced check for VERSION file with check for package.json
Signed-off-by: Markus Frank <m.frank@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-02-08 16:57:19 +01:00
Dominik Csapak
36b6bb616e suppress unauthorized error from status query for VM.Console only user
We now query the guest status before starting the console to provide
a start button if it's not yet running, but that requires VM.Audit
privileges, so more than just VM.Console on the guest.

So, ignore a `403 Forbidden` response, as that just means we cannot
query the VM info to see if it's running, rather just continue
connecting.

See: https://forum.proxmox.com/threads/116176/
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
 [ T: reworked commit message ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-10-10 10:43:02 +02:00
Thomas Lamprecht
4eff717ce3 command menu: fine tune action wording
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-09-21 09:41:20 +02:00
Thomas Lamprecht
295a64be5e bump version to 1.3.0-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-26 15:55:31 +02:00
Dominik Csapak
b23fa19378 don't require confirmation for starting a stopped vm from button
when the vm is stopped and the user clicks on the 'start now' button,
there really is no need for confirmation again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-04-26 15:37:03 +02:00
Dominik Csapak
aec9732603 parse 'already running' error on guest start
Starting an already running container results in an sync-error
instead of a task that fails async. So, to have similar behaviour
between VMs and CTs, check any request error for the start command
and silent the 'already running' one.

Put this change in the first downstream patch and rebase the rest of
them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-24 13:37:58 +01:00
Thomas Lamprecht
f2bfba2ecf bump version to 1.3.0-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-11 18:55:34 +01:00
Dominik Csapak
ae5331307a fix #3882: backport firefox workaround for ResizeObserver
it's a minor but annoying issue, and novnc does not release that often,
so backport the patch

also rebases our patches on top

we can drop this with the next novnc release

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-02-11 18:52:11 +01:00
Thomas Lamprecht
18fa9537f1 start button: ease-in faster
0.5s is a bit long, it feels borderline "slow".

The existing native noVNC menu thingy uses 0.1s for its ease in, but
with only scaling in (compared to moving in) that's feeling weird to,
so settle for 0.2s as middle ground.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-10 16:11:18 +01:00
Dominik Csapak
5fe42a7f91 don't automatically connect to not running vms/cts
this patch adds a check for the guests status, and show a start button
instead of connecting to a non-started guest

this should reduce confusion when a guest is not running, and also
reduce the number of false-positive failed console tasks

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
 [ T: re-use existing power symbol, change VM/CT to Guest ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-10 16:10:27 +01:00
Thomas Lamprecht
7f0a51607e bump version to 1.3.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-21 11:33:09 +01:00
Dominik Csapak
237a7ebb40 add patches to workaround fullscreen issue in android app
- patch 16 allows one to hide the fullscreen button
- patch 17 makes the error message dismissable

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-12-21 11:32:50 +01:00
Dominik Csapak
bd98941d91 use esbuild instead of node-es6-module-transpiler
the latter cannot cope with some js syntax novnc now uses, but the former can

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-12-21 11:20:46 +01:00
Dominik Csapak
97c7a8a44a add patch for proper hiding of buttons
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-12-21 11:20:39 +01:00
Dominik Csapak
e5e5987430 upgrade novnc and patches to 1.3.0
rebase patches for 1.3.0

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
[ T: address gone-wrong rebase and missed push ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-21 11:19:47 +01:00
Thomas Lamprecht
7e7001f7b0 bump version to 1.2.0-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-17 15:28:43 +02:00
Dominik Csapak
276320c984 update patch to correctly hide the clipboard button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-06-17 15:28:23 +02:00
Fabian Grünbichler
5d958d479b bump version to 1.2.0-2
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-06-09 10:52:42 +02:00
Fabian Ebner
46b41c7fa6 avoid passing deprecated 'upgrade' parameter
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-06-08 15:19:57 +02:00
Thomas Lamprecht
4a357ae00c bump version to 1.2.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-17 11:06:24 +02:00
Thomas Lamprecht
9c7eca261c buildsys: change upload dist to bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-17 11:06:24 +02:00
Thomas Lamprecht
86b61b8527 ship minimal packages.json
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-17 10:58:10 +02:00
Thomas Lamprecht
cbc47a06d5 set default WS protocol again to "binary"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-17 10:58:10 +02:00
Thomas Lamprecht
bf74ff330e update patches for 1.2.0
sneak in some cleanups like dropping the manual loading of the
es6-module loader only to remove it again a few patches later

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-17 10:58:10 +02:00
Thomas Lamprecht
5d20764929 update noVNC to v1.2.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-17 10:58:10 +02:00
Thomas Lamprecht
f4366377a1 d/install: whitespace alignment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-17 10:58:10 +02:00
Thomas Lamprecht
eb3e349c4d d/rules use dpkg make script helper for package version
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-17 10:58:10 +02:00
Thomas Lamprecht
173f682a59 d/control: bump debhelper compat level to 12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-14 17:00:38 +02:00
Thomas Lamprecht
e7b1c1cf8e d/rules: dh hunk comes first
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-14 17:00:33 +02:00
Thomas Lamprecht
f89a291dee bump version to 1.1.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-09 16:31:22 +02:00
Thomas Lamprecht
60bc3cd8cd buildsys: refactor to align more with the rest of our makefiles
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-09 16:31:09 +02:00
Dominik Csapak
2b8dde16bc rebase patches on v1.1.0
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-09-09 16:29:50 +02:00
Dominik Csapak
9b519cf359 update submodule to v1.1.0
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-09-09 16:29:50 +02:00
Thomas Lamprecht
749d4c3568 buildsys: switch upload dist over to buster
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 19:43:20 +02:00
Thomas Lamprecht
8bb578eb4c bump version to 1.0.0-60
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 19:33:18 +02:00
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