]>
prime8.dev >> repos - ttyd.git/log
Shuanglei Tao [Tue, 10 Mar 2020 10:48:59 +0000 (18:48 +0800)]
README: update badges
Shuanglei Tao [Tue, 10 Mar 2020 10:41:54 +0000 (18:41 +0800)]
workflow: update trigger
Shuanglei Tao [Tue, 10 Mar 2020 10:39:18 +0000 (18:39 +0800)]
workflow: bump to lws 4.0.1
Daniel Monteiro Basso [Tue, 10 Mar 2020 01:54:34 +0000 (01:54 +0000)]
Add -b, --base-path option for reverse proxies (#151) (#281)
* Add -b, --base-path option for reverse proxies (#151)
Shuanglei Tao [Tue, 10 Mar 2020 01:45:23 +0000 (09:45 +0800)]
workflow: add lws 4.0.0
Shuanglei Tao [Tue, 10 Mar 2020 01:41:35 +0000 (09:41 +0800)]
protocol: fix lws callback compatibility
Shuanglei Tao [Tue, 10 Mar 2020 01:26:34 +0000 (09:26 +0800)]
server: mute lws 4.0 extensions warning
Shuanglei Tao [Sat, 7 Mar 2020 07:09:26 +0000 (15:09 +0800)]
html: reuse xterm instance on reconnect
Shuanglei Tao [Wed, 19 Feb 2020 09:55:58 +0000 (17:55 +0800)]
html: preact 10.3.2
Aleksandar TopuzoviΔ [Tue, 18 Feb 2020 16:33:47 +0000 (16:33 +0000)]
Add 64-bit ARM (aarch64) build (#275)
Shuanglei Tao [Tue, 18 Feb 2020 15:38:01 +0000 (23:38 +0800)]
workflow: update backend
Shuanglei Tao [Mon, 17 Feb 2020 16:21:36 +0000 (00:21 +0800)]
update README
Shuanglei Tao [Mon, 17 Feb 2020 16:11:59 +0000 (00:11 +0800)]
README: move docs to wiki
Shuanglei Tao [Mon, 17 Feb 2020 05:06:07 +0000 (13:06 +0800)]
update README
Shuanglei Tao [Tue, 11 Feb 2020 14:03:42 +0000 (22:03 +0800)]
libwebsockets: 3.2.2
Shuanglei Tao [Tue, 11 Feb 2020 02:25:50 +0000 (10:25 +0800)]
update README
Shuanglei Tao [Sun, 9 Feb 2020 08:33:17 +0000 (16:33 +0800)]
Bump to 1.6.0
Shuanglei Tao [Sun, 9 Feb 2020 08:36:43 +0000 (16:36 +0800)]
README: remove duplicate apt packages
Shuanglei Tao [Sun, 9 Feb 2020 08:23:46 +0000 (16:23 +0800)]
all: cleanup third party makefiles
Shuanglei Tao [Sat, 8 Feb 2020 06:11:26 +0000 (14:11 +0800)]
cmake: cleanup unused config
Shuanglei Tao [Fri, 7 Feb 2020 06:03:29 +0000 (14:03 +0800)]
cmake: remove pkg-config usage
Shuanglei Tao [Fri, 7 Feb 2020 05:08:34 +0000 (13:08 +0800)]
html: polish code
Shuanglei Tao [Thu, 6 Feb 2020 09:36:43 +0000 (17:36 +0800)]
README: add nginx proxy conf
Shuanglei Tao [Thu, 6 Feb 2020 09:24:00 +0000 (17:24 +0800)]
html: use api to fetch auth token
Shuanglei Tao [Wed, 5 Feb 2020 09:01:55 +0000 (17:01 +0800)]
html: xterm.js 4.4.0
Shuanglei Tao [Wed, 5 Feb 2020 08:42:43 +0000 (16:42 +0800)]
html: embed gziped version
Shuanglei Tao [Sun, 2 Feb 2020 06:32:17 +0000 (14:32 +0800)]
cmake: remove xxd dependency
greenkeeper[bot] [Tue, 28 Jan 2020 04:21:30 +0000 (12:21 +0800)]
Update lint-staged in group default to the latest version π (#264)
* chore(package): update lint-staged to version 10.0.3
* chore(package): update lockfile html/yarn.lock
Shuanglei Tao [Tue, 28 Jan 2020 04:19:07 +0000 (12:19 +0800)]
Update issue templates
Rosen Penev [Sun, 26 Jan 2020 04:51:29 +0000 (20:51 -0800)]
http: add missing header (#263)
Fixes compilation without deprecated OpenSSL APIs.
Shuanglei Tao [Mon, 20 Jan 2020 15:55:39 +0000 (23:55 +0800)]
server: print listen port on start
Shuanglei Tao [Tue, 14 Jan 2020 14:26:48 +0000 (22:26 +0800)]
Update husky in group default to the latest version π (#262)
* chore(package): update husky to version 4.0.6
* chore(package): update lockfile html/yarn.lock
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Dennis Chen [Thu, 2 Jan 2020 13:30:58 +0000 (07:30 -0600)]
bugfix: off by one error (#257)
The strncpy function requires enough space for a NUL terminator.
greenkeeper[bot] [Fri, 20 Dec 2019 16:23:45 +0000 (00:23 +0800)]
Update mini-css-extract-plugin in group default to the latest version π (#255)
* chore(package): update mini-css-extract-plugin to version 0.9.0
* chore(package): update lockfile html/yarn.lock
Shuanglei Tao [Sat, 14 Dec 2019 16:07:19 +0000 (00:07 +0800)]
protocol: print signal name
Shuanglei Tao [Sat, 14 Dec 2019 14:59:56 +0000 (22:59 +0800)]
protocol: use uv_kill to kill process
Shuanglei Tao [Sat, 14 Dec 2019 14:50:53 +0000 (22:50 +0800)]
protocol: fix json parsing
Fredrik Fornwall [Fri, 13 Dec 2019 06:06:06 +0000 (07:06 +0100)]
Avoid trying to redefine sys_signame on Android (#253)
On Android <signal.h> defines sys_signame, so trying to redefine it
causes the build to fail.
Shuanglei Tao [Tue, 10 Dec 2019 16:09:54 +0000 (00:09 +0800)]
server: improve child process handling
Shuanglei Tao [Sun, 8 Dec 2019 15:21:01 +0000 (23:21 +0800)]
html: webgl renderer support
Shuanglei Tao [Sun, 8 Dec 2019 14:31:45 +0000 (22:31 +0800)]
Dockerfile: use bash
Shuanglei Tao [Sun, 8 Dec 2019 10:32:33 +0000 (18:32 +0800)]
Dockerfile: use multi-stage build
Shuanglei Tao [Sun, 8 Dec 2019 09:46:37 +0000 (17:46 +0800)]
html: update dependencies
Shuanglei Tao [Sun, 8 Dec 2019 09:16:58 +0000 (17:16 +0800)]
libuv: update README
Shuanglei Tao [Sun, 8 Dec 2019 08:48:28 +0000 (16:48 +0800)]
workflow: update release
Shuanglei Tao [Sun, 8 Dec 2019 08:21:44 +0000 (16:21 +0800)]
workflow: cross build backend
Shuanglei Tao [Sun, 8 Dec 2019 06:06:15 +0000 (14:06 +0800)]
libuv: update cross build script
Shuanglei Tao [Sat, 7 Dec 2019 10:06:04 +0000 (18:06 +0800)]
ci: remove travis config
Shuanglei Tao [Sat, 7 Dec 2019 02:34:52 +0000 (10:34 +0800)]
server: exit immediately on old lws versions
Shuanglei Tao [Thu, 5 Dec 2019 15:51:37 +0000 (23:51 +0800)]
ci: run ldconfig after install libwebsockets
Shuanglei Tao [Thu, 5 Dec 2019 15:19:34 +0000 (23:19 +0800)]
terminal: set the pty fd non blocking
Shuanglei Tao [Tue, 3 Dec 2019 16:12:38 +0000 (00:12 +0800)]
protocol: split forkpty to separate file
Shuanglei Tao [Sat, 30 Nov 2019 11:24:42 +0000 (19:24 +0800)]
protocol: cleanup pipe handle
Shuanglei Tao [Sat, 30 Nov 2019 10:35:40 +0000 (18:35 +0800)]
protocol: fix potential double free
Shuanglei Tao [Sat, 30 Nov 2019 09:46:37 +0000 (17:46 +0800)]
protocol: rename tty_client to pss_tty
Shuanglei Tao [Sat, 30 Nov 2019 09:31:13 +0000 (17:31 +0800)]
travis: install libuv1-dev
Shuanglei Tao [Sat, 30 Nov 2019 08:44:15 +0000 (16:44 +0800)]
server: improve signal handling
Shuanglei Tao [Sat, 30 Nov 2019 08:17:04 +0000 (16:17 +0800)]
server: remove sys/queue dep
Shuanglei Tao [Wed, 27 Nov 2019 14:34:23 +0000 (22:34 +0800)]
libuv: initial support
Shuanglei Tao [Sat, 30 Nov 2019 01:21:18 +0000 (09:21 +0800)]
ci: pin node version to 12.x
Shuanglei Tao [Wed, 27 Nov 2019 17:48:39 +0000 (01:48 +0800)]
html: use file-saver to save file
Shuanglei Tao [Thu, 28 Nov 2019 12:46:05 +0000 (20:46 +0800)]
server: add a tiny timeout to lws_service
Shuanglei Tao [Tue, 26 Nov 2019 13:55:42 +0000 (21:55 +0800)]
server: remove the sleep from main loop
Shuanglei Tao [Sat, 23 Nov 2019 15:19:32 +0000 (23:19 +0800)]
html: preact 10.0.5
Shuanglei Tao [Sat, 26 Oct 2019 06:45:04 +0000 (14:45 +0800)]
html: upgrade to preact 10 and xterm 4.2.0
Shuanglei Tao [Tue, 1 Oct 2019 10:55:32 +0000 (18:55 +0800)]
README: update badges
Shuanglei Tao [Tue, 1 Oct 2019 10:47:30 +0000 (18:47 +0800)]
workflow: update backend
Shuanglei Tao [Tue, 1 Oct 2019 10:19:36 +0000 (18:19 +0800)]
workflow: add lws 3.2.0
Shuanglei Tao [Sat, 28 Sep 2019 15:28:14 +0000 (23:28 +0800)]
protocol: set pty fd close-on-exec
Shuanglei Tao [Sat, 28 Sep 2019 15:11:41 +0000 (23:11 +0800)]
xterm.js 4.0.2
Shang Yuanchun [Sat, 28 Sep 2019 15:01:22 +0000 (23:01 +0800)]
Focus to terminal after rz transfer completed (#237)
* Focus to terminal after rz transfer completed
* Generate index.html after commit
d355d7b9c856171512c2db4668a223b5ebb1b3ee
Shuanglei Tao [Sun, 15 Sep 2019 11:06:47 +0000 (19:06 +0800)]
src: fix exit code check on linux
Shuanglei Tao [Sun, 15 Sep 2019 10:09:48 +0000 (18:09 +0800)]
all: remove pthread
ideal [Sat, 14 Sep 2019 10:06:18 +0000 (18:06 +0800)]
Fix for upgrade of libwebsockets 3.2.0, it removes the poll which breaks every second in the previous version.
Reference:
[1] https://github.com/warmcat/libwebsockets/issues/1685
[2] https://libwebsockets.org/git/libwebsockets/tree/READMEs/README.lws_sul.md
Shuanglei Tao [Sat, 14 Sep 2019 03:30:39 +0000 (11:30 +0800)]
src: refuse to compile with lws 3.2.0
Shuanglei Tao [Sat, 14 Sep 2019 02:34:17 +0000 (10:34 +0800)]
xterm.js 4.0.1
greenkeeper[bot] [Wed, 11 Sep 2019 14:32:07 +0000 (22:32 +0800)]
Update terser-webpack-plugin in group default to the latest version π (#224)
* chore(package): update terser-webpack-plugin to version 2.0.0
* chore: update lockfile yarn.lock
Shuanglei Tao [Wed, 11 Sep 2019 14:25:31 +0000 (22:25 +0800)]
xterm.js 3.14.0
greenkeeper[bot] [Tue, 3 Sep 2019 14:38:54 +0000 (22:38 +0800)]
Update sass-loader in group default to the latest version π (#221)
* chore(package): update sass-loader to version 8.0.0
* chore: update lockfile yarn.lock
Shuanglei Tao [Tue, 3 Sep 2019 14:29:27 +0000 (22:29 +0800)]
src: fallback to lws_get_peer_addresses on old libwebsockets
Xiang Dai [Tue, 3 Sep 2019 05:53:54 +0000 (13:53 +0800)]
Avoid slow reverse-DNS requests caused by libwebsocket (#222)
* Avoid slow reverse-DNS requests caused by libwebsocket
According to warmcat/libwebsockets#537 and following my own experience, in some circumstances lws_get_peer_addresses can take several seconds to execute a reverse DNS request on a connected peer IP. The effect is that sometimes a websocket connection takes several seconds before it is established.
This PR addresses the described issue by replacing lws_get_peer_addresses with lws_get_peer_simple that completely skips the RDNS request.
Signed-off-by: Xiang Dai <764524258@qq.com>
Shuanglei Tao [Wed, 28 Aug 2019 15:27:37 +0000 (23:27 +0800)]
github: update release workflow
Shuanglei Tao [Wed, 28 Aug 2019 15:03:41 +0000 (23:03 +0800)]
github: add release workflow
Shuanglei Tao [Wed, 28 Aug 2019 14:36:15 +0000 (22:36 +0800)]
html: yarn upgrade
dependabot[bot] [Wed, 28 Aug 2019 14:27:46 +0000 (22:27 +0800)]
build(deps): bump mixin-deep from 1.3.1 to 1.3.2 in /html (#219)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)
Signed-off-by: dependabot[bot] <support@github.com>
Shuanglei Tao [Wed, 28 Aug 2019 14:18:37 +0000 (22:18 +0800)]
xterm.js 3.15.0-vscode1
Shuanglei Tao [Sun, 25 Aug 2019 02:20:49 +0000 (10:20 +0800)]
Add github workflow
greenkeeper[bot] [Tue, 6 Aug 2019 16:05:21 +0000 (00:05 +0800)]
Update style-loader in group default to the latest version π (#212)
* chore(package): update style-loader to version 1.0.0
* chore: update lockfile yarn.lock
Shuanglei Tao [Mon, 5 Aug 2019 13:38:00 +0000 (21:38 +0800)]
Bump to 1.5.2
Adela0602 [Sun, 4 Aug 2019 13:11:30 +0000 (21:11 +0800)]
Fix potential segmentation fault (SIGSEGV) error #209 (#210)
Shuanglei Tao [Sun, 4 Aug 2019 04:39:50 +0000 (12:39 +0800)]
travis: compile html frondend
Shuanglei Tao [Sun, 4 Aug 2019 04:31:05 +0000 (12:31 +0800)]
html: preact 8.5.0
Shuanglei Tao [Sun, 4 Aug 2019 03:59:34 +0000 (11:59 +0800)]
server: fix pthread_mutex_trylock usage
Stuart Henderson [Wed, 31 Jul 2019 08:09:13 +0000 (09:09 +0100)]
use errno.h not sys/errno.h in utils.c as in other files (#207)
Use errno.h rather than sysno/errno.h in utils.c, unbreaking build on OpenBSD (the "errno" symbol is only defined in errno.h not in sys/errno.h).
protocol.c and server.c already include errno.h rather than sys/errno.h so this should be safe on other OS here also.
Stuart Henderson [Wed, 31 Jul 2019 08:09:01 +0000 (09:09 +0100)]
include pthread.h for pthread_mutex_t (#206)
Needed to unbreak build on OpenBSD.
Shohei Kameda [Thu, 25 Jul 2019 14:06:03 +0000 (23:06 +0900)]
html: added window.term.fit
Shuanglei Tao [Tue, 23 Jul 2019 12:35:27 +0000 (20:35 +0800)]
server: fix the client-option and terminal-type long option
Shuanglei Tao [Fri, 19 Jul 2019 15:00:18 +0000 (23:00 +0800)]
scripts: enable ipv6 support for lws
Shuanglei Tao [Fri, 19 Jul 2019 14:55:03 +0000 (22:55 +0800)]
server: hide ipv6 option if not suppored by lws
Shuanglei Tao [Thu, 18 Jul 2019 09:21:46 +0000 (17:21 +0800)]
README: update SSL script to generate sha256 cert