Commit Graph

91 Commits

Author SHA1 Message Date
Shuanglei Tao
8e090612d3 html: fix String.endsWith on ie11 2018-09-09 13:11:31 +08:00
Shuanglei Tao
aac89aa617 server: custom terminal type support 2018-09-01 21:02:43 +08:00
Shuanglei Tao
60a9bf1ab6 http: write index html with buffer 2018-09-01 20:37:18 +08:00
Shuanglei Tao
ac58cde5e6 http: revert change for libwebsockets < 3, fixes #120 2018-09-01 20:05:04 +08:00
Shuanglei Tao
176f3e18a3 protocol: replace sleep with pthread cond 2018-08-20 13:33:17 +08:00
Shuanglei Tao
d1d5336af1 http: lws_snprintf -> snprintf
lws_snprintf is not available in libwebsockets 1.7.1
2018-08-18 17:24:57 +08:00
Shuanglei Tao
0f97a69446 libwebsockets 3.0 support 2018-08-18 17:07:41 +08:00
Shuanglei Tao
be91d56904 src: seprate includes from server.h 2018-08-18 09:59:19 +08:00
Shuanglei Tao
30f6688465 xterm.js: 3.6.0 2018-08-15 22:44:23 +08:00
Shuanglei Tao
0b149bbbba xterm.js: 3.4.0 2018-05-20 22:03:16 +08:00
Shuanglei Tao
aca17f165f webpack: minify html for production 2018-05-06 18:19:12 +08:00
Shuanglei Tao
2201a174fe webpack: optimize css for production 2018-05-06 18:06:33 +08:00
Shuanglei Tao
6a217d7388 html: check trailing slash on pathname for ws url
Fixes #100
2018-05-06 13:45:36 +08:00
Shuanglei Tao
9bc52a6123 webpack: disable performance hints 2018-05-03 00:12:04 +08:00
Shuanglei Tao
d4566b38e4 xterm.js: 3.3.0 2018-05-02 23:56:37 +08:00
Shuanglei Tao
2d78f5c6a5 xterm.js: 3.2.0 2018-03-24 12:26:22 +08:00
Shuanglei Tao
ff1f19d9ef protocol: ignore invalid message 2018-03-24 12:17:25 +08:00
Shuanglei Tao
40c8861cb9 xterm.js: 3.0.2 2018-01-17 19:44:50 +08:00
Shuanglei Tao
9715585fc1 Replace browserify with webpack 2018-01-17 18:11:28 +08:00
Shuanglei Tao
0b6608e2ef zmodem: rewrite the ui modal 2018-01-13 17:31:57 +08:00
Shuanglei Tao
9dd8a97e6b protocol: avoid extra copy of pty data 2018-01-13 11:30:37 +08:00
Shuanglei Tao
26f8b17891 server: use libwebsockets's built-in ping-pong 2018-01-11 22:15:49 +08:00
Shuanglei Tao
2087fc6efe Sync window title with the terminal 2018-01-10 00:45:12 +08:00
Shuanglei Tao
710aa1cd98 protocol: fix a regression that may crashes the server 2018-01-10 00:09:39 +08:00
Shuanglei Tao
f0e4b7b3b3 Decrease the brightness of colors 2018-01-08 21:50:14 +08:00
Shuanglei Tao
3a4b993ec4 Fix signal name display 2018-01-08 19:41:42 +08:00
Shuanglei Tao
702eee4e66 Fix Edge and IE11 support 2018-01-07 15:38:21 +08:00
Shuanglei Tao
517a22cadc xterm.js: 3.0.1 2018-01-06 21:35:35 +08:00
Shuanglei Tao
8ff3d31380 ZMODEM support added 🎉 2017-11-26 21:32:28 +08:00
Shuanglei Tao
47ba5daa12 protocol: use binary message 2017-11-25 22:53:44 +08:00
Shuanglei Tao
a5b8905c19 Support numeric value for --signal 2017-11-05 11:17:03 +08:00
Shuanglei Tao
a59da79d62 Remove the --signal-list option 2017-11-05 11:11:06 +08:00
Shuanglei Tao
784ac09f05 protocol: fix host origin checking
Thanks @ben365 (#75)
2017-10-24 20:31:39 +08:00
Shuanglei Tao
7a25074b4f Upgrade to xterm.js 2.9.2 2017-08-18 19:33:53 +08:00
Shuanglei Tao
3ac7a5e2ae Upgrade to xterm.js 2.8.1 2017-07-22 21:14:48 +08:00
Shuanglei Tao
4cbc7748cf Ony fire resize event when it ends 2017-06-10 08:22:06 +08:00
Shuanglei Tao
055463542f Upgrade to xterm.js 2.7.0 2017-06-10 08:20:17 +08:00
Shuanglei Tao
4e0801db8e Do not reconnect if process exited, fixes #50 2017-05-20 18:56:40 +08:00
Shuanglei Tao
153fc94855 Upgrade to xterm.js 2.6.0 2017-05-13 19:51:52 +08:00
Shuanglei Tao
b63ecd0abe Remove the duplicated "listening on ..." log
Already logged by libwebsockets
2017-04-29 10:06:56 +08:00
dohnuts
f6361caa50 Do not try to reuse for lws_serve_http_file, fixes #43
Following documentation it s important to not try to reuse when lws_serve_http_file
return 0 nor to try to reuse the socket.

This fix the issue on openbsd 6.0 ( my current test is with upgraded libwebsocket 2.0.3 instead of 2.0.2 but it shouldnt matter
2017-04-25 20:35:41 +08:00
Shuanglei Tao
3580e80783 Add support for the --max-clients option 2017-04-06 21:45:07 +08:00
Shuanglei Tao
9cc5e4a03b Upgrade to xterm.js 2.5.0 2017-04-06 21:14:25 +08:00
Shuanglei Tao
5e4d121218 cmake: add support for generating deb package for ubuntu 2017-03-26 09:15:47 +08:00
Shuanglei Tao
35c97df863 Fix client count calculation 2017-03-21 23:14:48 +08:00
Shuanglei Tao
f5333551ed Add the missing null terminator to command string 2017-03-21 23:07:13 +08:00
Shuanglei Tao
7fabd8de21 Bump to 1.3.1 2017-03-11 10:02:36 +08:00
Shuanglei Tao
08ac6dc43c Fix potential segmentation fault (SIGSEGV) error
The server->clients variable may still holds reference to user data which is already freed after websocket connection closed.
2017-03-11 02:34:37 +08:00
Shuanglei Tao
4d31e534c0 Fix an issue that can bypass basic authentication
Reported by Donato Ferrante (NCC Group).
2017-03-11 02:11:52 +08:00
dohnuts
1d7d21f898 Shims to compile under OpenBSD
STAILQ_HEAD is implemented as SIMPLEQ_HEAD
pty.h is like in apple , util.h
2017-03-09 22:18:02 +08:00