5
0
mirror of git://git.proxmox.com/git/pve-xtermjs.git synced 2025-03-11 20:58:41 +03:00

123 Commits

Author SHA1 Message Date
Dietmar Maurer
7c5d0fa8d0 bump version to 1.0-5 2018-05-08 11:21:02 +02:00
Dominik Csapak
5f48966ae6 change localhost to 127.0.0.1
since pvedaemon listens on 127.0.0.1 we should connect there and
not assume localhost resolves to 127.0.0.1

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-05-08 11:18:39 +02:00
Dietmar Maurer
36bb7722b9 bump version to 1.0-4 2018-05-07 15:17:10 +02:00
Dominik Csapak
3645b3f400 do not try to reconnect the host shell
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-05-07 15:09:59 +02:00
Dominik Csapak
8f2ac47270 reload on container reboot
if the container stays on the same node and the state is running,
we reload to reconnect

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-27 11:25:11 +02:00
Dominik Csapak
8c502b8191 check if event is set
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-27 11:25:11 +02:00
Dominik Csapak
1553e6ef5f focus terminal when starting
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-27 11:25:11 +02:00
Fabian Grünbichler
4f6252ebc2 fixup changelog 2018-04-24 13:30:28 +02:00
Fabian Grünbichler
5191b92525 remove empty .gitmodules 2018-04-24 13:29:41 +02:00
Dominik Csapak
5c3d3d7472 bump to 1.0-3
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-11 14:34:08 +02:00
Dominik Csapak
291e1a2462 implement reconnect logic
this improves the closed gracefully/error logic
(detects an error if we disconnect immediately after connecting)
and implements a reconnect for vms/containers

if we have a disconnect, we check /cluster/resources
(and /nodes/<node>/lxc/<id>/status/current) if we are migrated
and reconnect the console window or reload the window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-11 14:32:15 +02:00
Dominik Csapak
37445374a3 implement terminal settings for 3.x
since xtermjs 3.0, the display is not via html anymore, but a canvas
so we cannot use css overrides anymore

this enables us to let the user set a fontsize/family/etc.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-11 14:32:15 +02:00
Dominik Csapak
7f35422ab5 add xterm-3.2.0.tgz
via make download

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-11 14:32:15 +02:00
Dominik Csapak
5e8b8730fe change from submodule to tgz download and update to 3.2.0
since xtermjs does not ship the built version anymore in git
(starting with 3.0.0), we change it so that we have a download
target where we download the tarball from npm
2018-04-11 14:32:07 +02:00
Dietmar Maurer
367e562e9d bump version to 1.0-2 2017-12-11 14:39:44 +01:00
Dominik Csapak
683c08917f fix error message
status_line is a method and cannot be expanded in a string

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-11 14:38:21 +01:00
Dominik Csapak
5a0ed8fcb5 make perm an optional parameter
and only pass it to the api call if it exists,
also delete the default path, since it is non-optional (and thus
a default makes no sense)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-11 14:37:40 +01:00
Dominik Csapak
119fceb50c remove dependcy to libpve-access-control
since we do not use any functionality of the RPCEnvironment, we remove it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-11 14:35:09 +01:00
Dominik Csapak
5185507c6a bump to 1.0-1 2017-12-07 13:24:54 +01:00
Dominik Csapak
5e91985c90 check ticket via api instead of verify_vnc_ticket
since we do not want to depend on libpve-accesscontrol,
we check the ticket via the api on http://localhost:85

this means we have to pass the path and permission via the commandline
2017-12-07 13:22:36 +01:00
Dominik Csapak
d975935040 bump to 0.1-1
also update dependencies
2017-12-04 10:37:13 +01:00
Dominik Csapak
b11c02be10 give pty object to process_queue on first call
else we would overlook a resize event, sent directly after
connecting
2017-12-04 10:34:44 +01:00
Dominik Csapak
dcf3d43b8a initial commit
working version of xtermjs client and termproxy as
authentication proxy between a command/socket and a tcp socket

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-28 10:28:46 +01:00