]>
prime8.dev >> repos - ttyd.git/log
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
greenkeeper[bot] [Wed, 17 Jul 2019 05:52:03 +0000 (13:52 +0800)]
Update mini-css-extract-plugin in group default to the latest version 🚀 (#201)
* chore(package): update mini-css-extract-plugin to version 0.8.0
* chore(package): update lock yarn.lock
Shuanglei Tao [Fri, 12 Jul 2019 12:57:35 +0000 (20:57 +0800)]
Bump to 1.5.1
Shuanglei Tao [Fri, 12 Jul 2019 12:53:01 +0000 (20:53 +0800)]
html: update modal style
greenkeeper[bot] [Thu, 11 Jul 2019 12:20:46 +0000 (20:20 +0800)]
Update dependencies to enable Greenkeeper 🌴 (#200)
* chore: add Greenkeeper config file
* chore(package): update dependencies
* docs(readme): add Greenkeeper badge
* chore(package): update lockfile yarn.lock
dependabot[bot] [Thu, 11 Jul 2019 11:57:12 +0000 (19:57 +0800)]
build(deps): bump lodash from 4.17.11 to 4.17.14 in /html (#199)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)
Signed-off-by: dependabot[bot] <support@github.com>
Shuanglei Tao [Thu, 11 Jul 2019 11:36:19 +0000 (19:36 +0800)]
xterm.js 3.14.5
Shuanglei Tao [Sun, 7 Jul 2019 12:58:57 +0000 (20:58 +0800)]
html: abort zmodem session on ctrl+c
Shuanglei Tao [Sun, 7 Jul 2019 12:04:06 +0000 (20:04 +0800)]
html: add empty check for copy
Shuanglei Tao [Sun, 7 Jul 2019 11:44:01 +0000 (19:44 +0800)]
html: polish zmodem code
Shuanglei Tao [Fri, 5 Jul 2019 16:17:23 +0000 (00:17 +0800)]
html: handle websocket error
Shuanglei Tao [Fri, 5 Jul 2019 15:05:09 +0000 (23:05 +0800)]
server: remove the reconnect option (enabled by default)
Shuanglei Tao [Fri, 5 Jul 2019 14:32:01 +0000 (22:32 +0800)]
html: retry websocket connection with exponential backoff
Shuanglei Tao [Thu, 4 Jul 2019 13:09:20 +0000 (21:09 +0800)]
html: reformat code
Shuanglei Tao [Wed, 3 Jul 2019 16:16:21 +0000 (00:16 +0800)]
html: move zmodem code as Component/ITerminalAddon
Shuanglei Tao [Wed, 3 Jul 2019 10:36:45 +0000 (18:36 +0800)]
xterm.js 3.14.4
Shuanglei Tao [Sun, 30 Jun 2019 04:35:25 +0000 (12:35 +0800)]
protocol: remove the O_NONBLOCK flag on pty fd
it breaks zmodem support for rz
Shuanglei Tao [Sat, 29 Jun 2019 04:26:58 +0000 (12:26 +0800)]
html: abort on zmodem consume error
Shuanglei Tao [Sun, 23 Jun 2019 12:13:50 +0000 (20:13 +0800)]
Bump to 1.5.0
Shuanglei Tao [Sun, 23 Jun 2019 12:10:09 +0000 (20:10 +0800)]
http: handle lws_send_pipe_choked state
Shuanglei Tao [Sun, 23 Jun 2019 10:50:30 +0000 (18:50 +0800)]
http: fix libwebsockets 1.7 support
Shuanglei Tao [Sun, 23 Jun 2019 10:37:33 +0000 (18:37 +0800)]
html: polish zmodem code
Shuanglei Tao [Sun, 23 Jun 2019 09:33:03 +0000 (17:33 +0800)]
html: auto reconnect on zmodem error
Shuanglei Tao [Sun, 23 Jun 2019 09:19:29 +0000 (17:19 +0800)]
html: add zmodem support back
Shuanglei Tao [Sun, 23 Jun 2019 03:05:09 +0000 (11:05 +0800)]
html: update lint rules
Shuanglei Tao [Sat, 22 Jun 2019 10:01:15 +0000 (18:01 +0800)]
http: add basic auth support back
Shuanglei Tao [Sat, 22 Jun 2019 07:22:53 +0000 (15:22 +0800)]
http: fix keepalive for lws_serve_http_file
Shuanglei Tao [Thu, 20 Jun 2019 14:14:58 +0000 (22:14 +0800)]
http: remove hack for old libwebsocket versions
Shuanglei Tao [Fri, 21 Jun 2019 23:42:39 +0000 (07:42 +0800)]
html: attach the term instance to window
Shuanglei Tao [Sun, 16 Jun 2019 01:35:53 +0000 (09:35 +0800)]
html: enable copy on select
Shuanglei Tao [Sun, 16 Jun 2019 01:03:37 +0000 (09:03 +0800)]
html: use ts string template
Shuanglei Tao [Sun, 16 Jun 2019 00:06:10 +0000 (08:06 +0800)]
html: add xterm weblinks addon
Shuanglei Tao [Sat, 15 Jun 2019 01:24:19 +0000 (09:24 +0800)]
html: restore prefix to console message
Shuanglei Tao [Sat, 15 Jun 2019 01:15:47 +0000 (09:15 +0800)]
xterm.js 3.14.2
Shuanglei Tao [Fri, 14 Jun 2019 23:43:18 +0000 (07:43 +0800)]
http: fix keepalive issue
Shuanglei Tao [Mon, 27 May 2019 03:58:26 +0000 (11:58 +0800)]
html: fix lint
Shuanglei Tao [Sun, 26 May 2019 16:00:02 +0000 (00:00 +0800)]
html: replace with preact version
Shuanglei Tao [Sun, 26 May 2019 02:31:55 +0000 (10:31 +0800)]
preact: convert to typescript
Shuanglei Tao [Fri, 3 May 2019 15:12:13 +0000 (23:12 +0800)]
preact: update dependencies
Shuanglei Tao [Sun, 29 Apr 2018 03:35:58 +0000 (11:35 +0800)]
preact: add README
Shuanglei Tao [Sun, 29 Apr 2018 03:11:11 +0000 (11:11 +0800)]
preact: intial commit
Shuanglei Tao [Fri, 24 May 2019 12:40:59 +0000 (20:40 +0800)]
html: convert numeric value to enum
Shuanglei Tao [Fri, 24 May 2019 12:31:52 +0000 (20:31 +0800)]
xterm.js 3.13.2
Shohei Kameda [Fri, 24 May 2019 11:35:41 +0000 (20:35 +0900)]
html: reload page when basic auth is failed (#187)
Shuanglei Tao [Fri, 17 May 2019 03:21:33 +0000 (11:21 +0800)]
html: add tslint to webpack
Shuanglei Tao [Fri, 17 May 2019 02:38:20 +0000 (10:38 +0800)]
html: update webpack
Shuanglei Tao [Thu, 16 May 2019 14:41:56 +0000 (22:41 +0800)]
html: hide modal on ws close
Shuanglei Tao [Thu, 16 May 2019 14:40:32 +0000 (22:40 +0800)]
html: zmodem.js 0.1.9
Shuanglei Tao [Thu, 16 May 2019 05:55:12 +0000 (13:55 +0800)]
html: drop support for ie11
Shuanglei Tao [Wed, 15 May 2019 15:52:22 +0000 (23:52 +0800)]
html: migrate to typescript
Shuanglei Tao [Wed, 15 May 2019 13:14:16 +0000 (21:14 +0800)]
html: use more es6 syntax
Shuanglei Tao [Wed, 15 May 2019 12:39:32 +0000 (20:39 +0800)]
xterm.js 3.13.0
Shuanglei Tao [Wed, 15 May 2019 12:37:14 +0000 (20:37 +0800)]
html: add ttyd prefix to console log
Shuanglei Tao [Wed, 15 May 2019 12:21:24 +0000 (20:21 +0800)]
server: allow reconnect to be 0
Shuanglei Tao [Sun, 12 May 2019 03:35:54 +0000 (11:35 +0800)]
utils: fix wait status
Shuanglei Tao [Sat, 11 May 2019 01:48:16 +0000 (09:48 +0800)]
protocol: cleanup process without hanging
Shuanglei Tao [Sun, 21 Apr 2019 02:29:18 +0000 (10:29 +0800)]
Bump to 1.4.4
Shuanglei Tao [Sun, 21 Apr 2019 02:22:37 +0000 (10:22 +0800)]
protocol: set the pty file descriptor non blocking
Shuanglei Tao [Sat, 20 Apr 2019 08:06:23 +0000 (16:06 +0800)]
html: remove bulma
Shuanglei Tao [Sat, 20 Apr 2019 23:16:34 +0000 (07:16 +0800)]
protocol: do not block main thread when destroying client