]> prime8.dev >> repos - ttyd.git/log
ttyd.git
5 years agohtml: abort on zmodem consume error
Shuanglei Tao [Sat, 29 Jun 2019 04:26:58 +0000 (12:26 +0800)]
html: abort on zmodem consume error

5 years agoBump to 1.5.0
Shuanglei Tao [Sun, 23 Jun 2019 12:13:50 +0000 (20:13 +0800)]
Bump to 1.5.0

5 years agohttp: handle lws_send_pipe_choked state
Shuanglei Tao [Sun, 23 Jun 2019 12:10:09 +0000 (20:10 +0800)]
http: handle lws_send_pipe_choked state

5 years agohttp: fix libwebsockets 1.7 support
Shuanglei Tao [Sun, 23 Jun 2019 10:50:30 +0000 (18:50 +0800)]
http: fix libwebsockets 1.7 support

5 years agohtml: polish zmodem code
Shuanglei Tao [Sun, 23 Jun 2019 10:37:33 +0000 (18:37 +0800)]
html: polish zmodem code

5 years agohtml: auto reconnect on zmodem error
Shuanglei Tao [Sun, 23 Jun 2019 09:33:03 +0000 (17:33 +0800)]
html: auto reconnect on zmodem error

5 years agohtml: add zmodem support back
Shuanglei Tao [Sun, 23 Jun 2019 09:19:29 +0000 (17:19 +0800)]
html: add zmodem support back

5 years agohtml: update lint rules
Shuanglei Tao [Sun, 23 Jun 2019 03:05:09 +0000 (11:05 +0800)]
html: update lint rules

5 years agohttp: add basic auth support back
Shuanglei Tao [Sat, 22 Jun 2019 10:01:15 +0000 (18:01 +0800)]
http: add basic auth support back

5 years agohttp: fix keepalive for lws_serve_http_file
Shuanglei Tao [Sat, 22 Jun 2019 07:22:53 +0000 (15:22 +0800)]
http: fix keepalive for lws_serve_http_file

5 years agohttp: remove hack for old libwebsocket versions
Shuanglei Tao [Thu, 20 Jun 2019 14:14:58 +0000 (22:14 +0800)]
http: remove hack for old libwebsocket versions

5 years agohtml: attach the term instance to window
Shuanglei Tao [Fri, 21 Jun 2019 23:42:39 +0000 (07:42 +0800)]
html: attach the term instance to window

5 years agohtml: enable copy on select
Shuanglei Tao [Sun, 16 Jun 2019 01:35:53 +0000 (09:35 +0800)]
html: enable copy on select

5 years agohtml: use ts string template
Shuanglei Tao [Sun, 16 Jun 2019 01:03:37 +0000 (09:03 +0800)]
html: use ts string template

5 years agohtml: add xterm weblinks addon
Shuanglei Tao [Sun, 16 Jun 2019 00:06:10 +0000 (08:06 +0800)]
html: add xterm weblinks addon

5 years agohtml: restore prefix to console message
Shuanglei Tao [Sat, 15 Jun 2019 01:24:19 +0000 (09:24 +0800)]
html: restore prefix to console message

5 years agoxterm.js 3.14.2
Shuanglei Tao [Sat, 15 Jun 2019 01:15:47 +0000 (09:15 +0800)]
xterm.js 3.14.2

5 years agohttp: fix keepalive issue
Shuanglei Tao [Fri, 14 Jun 2019 23:43:18 +0000 (07:43 +0800)]
http: fix keepalive issue

5 years agohtml: fix lint
Shuanglei Tao [Mon, 27 May 2019 03:58:26 +0000 (11:58 +0800)]
html: fix lint

5 years agohtml: replace with preact version
Shuanglei Tao [Sun, 26 May 2019 16:00:02 +0000 (00:00 +0800)]
html: replace with preact version

5 years agopreact: convert to typescript
Shuanglei Tao [Sun, 26 May 2019 02:31:55 +0000 (10:31 +0800)]
preact: convert to typescript

5 years agopreact: update dependencies
Shuanglei Tao [Fri, 3 May 2019 15:12:13 +0000 (23:12 +0800)]
preact: update dependencies

5 years agopreact: add README
Shuanglei Tao [Sun, 29 Apr 2018 03:35:58 +0000 (11:35 +0800)]
preact: add README

5 years agopreact: intial commit
Shuanglei Tao [Sun, 29 Apr 2018 03:11:11 +0000 (11:11 +0800)]
preact: intial commit

5 years agohtml: convert numeric value to enum
Shuanglei Tao [Fri, 24 May 2019 12:40:59 +0000 (20:40 +0800)]
html: convert numeric value to enum

5 years agoxterm.js 3.13.2
Shuanglei Tao [Fri, 24 May 2019 12:31:52 +0000 (20:31 +0800)]
xterm.js 3.13.2

5 years agohtml: reload page when basic auth is failed (#187)
Shohei Kameda [Fri, 24 May 2019 11:35:41 +0000 (20:35 +0900)]
html: reload page when basic auth is failed (#187)

5 years agohtml: add tslint to webpack
Shuanglei Tao [Fri, 17 May 2019 03:21:33 +0000 (11:21 +0800)]
html: add tslint to webpack

5 years agohtml: update webpack
Shuanglei Tao [Fri, 17 May 2019 02:38:20 +0000 (10:38 +0800)]
html: update webpack

5 years agohtml: hide modal on ws close
Shuanglei Tao [Thu, 16 May 2019 14:41:56 +0000 (22:41 +0800)]
html: hide modal on ws close

5 years agohtml: zmodem.js 0.1.9
Shuanglei Tao [Thu, 16 May 2019 14:40:32 +0000 (22:40 +0800)]
html: zmodem.js 0.1.9

5 years agohtml: drop support for ie11
Shuanglei Tao [Thu, 16 May 2019 05:55:12 +0000 (13:55 +0800)]
html: drop support for ie11

5 years agohtml: migrate to typescript
Shuanglei Tao [Wed, 15 May 2019 15:52:22 +0000 (23:52 +0800)]
html: migrate to typescript

5 years agohtml: use more es6 syntax
Shuanglei Tao [Wed, 15 May 2019 13:14:16 +0000 (21:14 +0800)]
html: use more es6 syntax

5 years agoxterm.js 3.13.0
Shuanglei Tao [Wed, 15 May 2019 12:39:32 +0000 (20:39 +0800)]
xterm.js 3.13.0

5 years agohtml: add ttyd prefix to console log
Shuanglei Tao [Wed, 15 May 2019 12:37:14 +0000 (20:37 +0800)]
html: add ttyd prefix to console log

5 years agoserver: allow reconnect to be 0
Shuanglei Tao [Wed, 15 May 2019 12:21:24 +0000 (20:21 +0800)]
server: allow reconnect to be 0

5 years agoutils: fix wait status
Shuanglei Tao [Sun, 12 May 2019 03:35:54 +0000 (11:35 +0800)]
utils: fix wait status

5 years agoprotocol: cleanup process without hanging
Shuanglei Tao [Sat, 11 May 2019 01:48:16 +0000 (09:48 +0800)]
protocol: cleanup process without hanging

5 years agoBump to 1.4.4
Shuanglei Tao [Sun, 21 Apr 2019 02:29:18 +0000 (10:29 +0800)]
Bump to 1.4.4

5 years agoprotocol: set the pty file descriptor non blocking
Shuanglei Tao [Sun, 21 Apr 2019 02:22:37 +0000 (10:22 +0800)]
protocol: set the pty file descriptor non blocking

5 years agohtml: remove bulma
Shuanglei Tao [Sat, 20 Apr 2019 08:06:23 +0000 (16:06 +0800)]
html: remove bulma

5 years agoprotocol: do not block main thread when destroying client
Shuanglei Tao [Sat, 20 Apr 2019 23:16:34 +0000 (07:16 +0800)]
protocol: do not block main thread when destroying client

5 years agoBump to 1.4.3
Shuanglei Tao [Sat, 20 Apr 2019 05:36:10 +0000 (13:36 +0800)]
Bump to 1.4.3

5 years agotravis: upload github release
Shuanglei Tao [Sat, 20 Apr 2019 05:07:12 +0000 (13:07 +0800)]
travis: upload github release

5 years agocross-build: update script
Shuanglei Tao [Sat, 20 Apr 2019 03:55:26 +0000 (11:55 +0800)]
cross-build: update script

5 years agotravis: add libwebsockets 3.1.0
Shuanglei Tao [Sat, 20 Apr 2019 02:11:20 +0000 (10:11 +0800)]
travis: add libwebsockets 3.1.0

5 years agoxterm.js 3.12.2
Shuanglei Tao [Wed, 17 Apr 2019 10:38:16 +0000 (18:38 +0800)]
xterm.js 3.12.2

5 years agoserver: do not block main thread when acquiring lock
Shuanglei Tao [Wed, 17 Apr 2019 10:28:10 +0000 (18:28 +0800)]
server: do not block main thread when acquiring lock

5 years agoDockerfile: add tini as entrypoint
Shuanglei Tao [Sun, 14 Apr 2019 16:51:41 +0000 (00:51 +0800)]
Dockerfile: add tini as entrypoint

5 years agoupdate README
Shuanglei Tao [Sun, 14 Apr 2019 14:36:37 +0000 (22:36 +0800)]
update README

5 years agoserver: add support for cli args via url
Shuanglei Tao [Sun, 14 Apr 2019 14:21:21 +0000 (22:21 +0800)]
server: add support for cli args via url

5 years agoserver: remove unused options
Shuanglei Tao [Sun, 14 Apr 2019 11:14:25 +0000 (19:14 +0800)]
server: remove unused options

5 years agoserver: use the default ssl_cipher_list
Shuanglei Tao [Sun, 14 Apr 2019 10:30:07 +0000 (18:30 +0800)]
server: use the default ssl_cipher_list

5 years agohtml: do not apply winptyCompat addon
Shuanglei Tao [Mon, 25 Mar 2019 04:11:36 +0000 (12:11 +0800)]
html: do not apply winptyCompat addon

5 years agoprotocol: exit thread as soon as the command terminate, fixes #112
Santosh Kumar Gupta [Thu, 23 Aug 2018 20:49:12 +0000 (02:19 +0530)]
protocol: exit thread as soon as the command terminate, fixes #112

5 years agoAdd instructions for Gentoo Linux users (#147)
Michael Pagano [Mon, 25 Mar 2019 03:29:20 +0000 (23:29 -0400)]
Add instructions for Gentoo Linux users (#147)

5 years agoUpdate Dockerfile-alpine (#166)
Peter Dave Hello [Mon, 25 Mar 2019 03:21:40 +0000 (11:21 +0800)]
Update Dockerfile-alpine (#166)

* Dockerfile-alpine: update Alpine to v3.9

ttyd in Alpine v3.6 repository is v1.3.2, in Alpine v3.9, it's v1.4.2

* Dockerfile-alpine: simplify package installation

Use `--no-cache` to avoid the need to use `--update` and remove
`/var/cache/apk/*` manually

5 years agoUpdate max_heaser_data deafult from 4K to 20K (#163)
Shohei Kameda [Tue, 19 Mar 2019 01:51:30 +0000 (10:51 +0900)]
Update max_heaser_data deafult from 4K to 20K (#163)

5 years agoxterm.js 3.12.0
Shuanglei Tao [Sat, 16 Mar 2019 13:28:24 +0000 (21:28 +0800)]
xterm.js 3.12.0

5 years agoprotocol: kill process group
Shuanglei Tao [Sat, 16 Mar 2019 13:23:18 +0000 (21:23 +0800)]
protocol: kill process group

5 years agocmake: fix compile on macOS
Shuanglei Tao [Sat, 16 Mar 2019 03:17:36 +0000 (11:17 +0800)]
cmake: fix compile on macOS

5 years agoClose the websocket after forking so that child processes don't prevent new connectio...
dmayle [Sat, 16 Mar 2019 03:08:37 +0000 (03:08 +0000)]
Close the websocket after forking so that child processes don't prevent new connections (#162)

5 years agoxterm.js 3.11.0
Shuanglei Tao [Sat, 23 Feb 2019 15:05:08 +0000 (23:05 +0800)]
xterm.js 3.11.0

5 years agohtml: update yarn.lock
Shuanglei Tao [Sat, 23 Feb 2019 15:04:09 +0000 (23:04 +0800)]
html: update yarn.lock

5 years agoprotocol: cleanup stale thread
Shuanglei Tao [Thu, 17 Jan 2019 14:37:54 +0000 (22:37 +0800)]
protocol: cleanup stale thread

5 years agoxterm.js 3.10.1
Shuanglei Tao [Sat, 12 Jan 2019 08:45:50 +0000 (16:45 +0800)]
xterm.js 3.10.1

5 years agoxterm.js: 3.10.0
Shuanglei Tao [Thu, 3 Jan 2019 23:11:59 +0000 (07:11 +0800)]
xterm.js: 3.10.0

5 years agoserver: add option to toggle IPv6 support
Shuanglei Tao [Sun, 9 Dec 2018 01:13:14 +0000 (09:13 +0800)]
server: add option to toggle IPv6 support

5 years agocmake: do not check lws_config.h
Shuanglei Tao [Thu, 29 Nov 2018 14:37:47 +0000 (22:37 +0800)]
cmake: do not check lws_config.h

5 years agoxterm.js: 3.8.0
Shuanglei Tao [Thu, 29 Nov 2018 14:37:18 +0000 (22:37 +0800)]
xterm.js: 3.8.0

6 years agoUpdate README.md
Shuanglei Tao [Sat, 13 Oct 2018 00:46:45 +0000 (08:46 +0800)]
Update README.md

6 years agoexpose term instance to window for programatic use cases (#131)
Zhenhua Ben Cao [Mon, 8 Oct 2018 07:55:36 +0000 (03:55 -0400)]
expose term instance to window for programatic use cases (#131)

* expose term to window for programatic use cases

* add a brief introduction about the exposed window.term variable

6 years agoBump to 1.4.2
Shuanglei Tao [Wed, 12 Sep 2018 04:18:04 +0000 (12:18 +0800)]
Bump to 1.4.2

6 years agoxterm.js: downgrade to 3.3.0
Shuanglei Tao [Sun, 9 Sep 2018 16:30:12 +0000 (00:30 +0800)]
xterm.js: downgrade to 3.3.0

https://github.com/tsl0922/ttyd/issues/126

6 years agoxterm.js: 3.7.0
Shuanglei Tao [Sun, 9 Sep 2018 05:42:46 +0000 (13:42 +0800)]
xterm.js: 3.7.0

6 years agoprotocol: fix pthread_cond_wait usage
Shuanglei Tao [Sun, 9 Sep 2018 05:37:49 +0000 (13:37 +0800)]
protocol: fix pthread_cond_wait usage

6 years agohtml: fix String.endsWith on ie11
Shuanglei Tao [Sun, 9 Sep 2018 05:10:32 +0000 (13:10 +0800)]
html: fix String.endsWith on ie11

6 years agocross: bump to 1.4.1
Shuanglei Tao [Tue, 4 Sep 2018 15:58:22 +0000 (23:58 +0800)]
cross: bump to 1.4.1

6 years agoBump to 1.4.1
Shuanglei Tao [Tue, 4 Sep 2018 15:51:15 +0000 (23:51 +0800)]
Bump to 1.4.1

6 years agoAdd git commit id to version string
Shuanglei Tao [Tue, 4 Sep 2018 14:44:52 +0000 (22:44 +0800)]
Add git commit id to version string

6 years agoscripts: i686 -> i386
Shuanglei Tao [Mon, 3 Sep 2018 10:54:37 +0000 (18:54 +0800)]
scripts: i686 -> i386

6 years agoscripts: update cross-build.sh
Shuanglei Tao [Sun, 2 Sep 2018 16:51:19 +0000 (00:51 +0800)]
scripts: update cross-build.sh

6 years agoRemove Dockerfile-static
Shuanglei Tao [Sun, 2 Sep 2018 16:38:07 +0000 (00:38 +0800)]
Remove Dockerfile-static

6 years agoscripts: include SHA256SUMS in cross build tarball
Shuanglei Tao [Sun, 2 Sep 2018 15:53:34 +0000 (23:53 +0800)]
scripts: include SHA256SUMS in cross build tarball

6 years agoscripts: update cross build script
Shuanglei Tao [Sun, 2 Sep 2018 15:47:25 +0000 (23:47 +0800)]
scripts: update cross build script

6 years agoAdd docker musl-cross compile script
Shuanglei Tao [Sun, 2 Sep 2018 13:14:29 +0000 (21:14 +0800)]
Add docker musl-cross compile script

6 years agoserver: custom terminal type support
Shuanglei Tao [Sat, 1 Sep 2018 13:02:43 +0000 (21:02 +0800)]
server: custom terminal type support

6 years agohttp: write index html with buffer
Shuanglei Tao [Sat, 1 Sep 2018 12:37:18 +0000 (20:37 +0800)]
http: write index html with buffer

6 years agohttp: revert change for libwebsockets < 3, fixes #120
Shuanglei Tao [Sat, 1 Sep 2018 12:02:03 +0000 (20:02 +0800)]
http: revert change for libwebsockets < 3, fixes #120

6 years agoUpdate README.md (#119)
Daniele [Tue, 21 Aug 2018 08:24:42 +0000 (10:24 +0200)]
Update README.md (#119)

6 years agoprotocol: replace sleep with pthread cond
Shuanglei Tao [Mon, 20 Aug 2018 05:33:17 +0000 (13:33 +0800)]
protocol: replace sleep with pthread cond

6 years agohttp: lws_snprintf -> snprintf
Shuanglei Tao [Sat, 18 Aug 2018 09:24:52 +0000 (17:24 +0800)]
http: lws_snprintf -> snprintf

lws_snprintf is not available in libwebsockets 1.7.1

6 years agotravis: add libwebsockets 3.0.0
Shuanglei Tao [Sat, 18 Aug 2018 09:11:52 +0000 (17:11 +0800)]
travis: add libwebsockets 3.0.0

6 years agolibwebsockets 3.0 support
Shuanglei Tao [Sat, 18 Aug 2018 09:07:41 +0000 (17:07 +0800)]
libwebsockets 3.0 support

6 years agosrc: seprate includes from server.h
Shuanglei Tao [Sat, 18 Aug 2018 01:39:34 +0000 (09:39 +0800)]
src: seprate includes from server.h

6 years agoDockerfile: add -DCMAKE_BUILD_TYPE=RELEASE
Shuanglei Tao [Sat, 18 Aug 2018 01:39:06 +0000 (09:39 +0800)]
Dockerfile: add -DCMAKE_BUILD_TYPE=RELEASE

6 years agotravis: libwebsockets 2.4.2
Shuanglei Tao [Thu, 16 Aug 2018 15:51:16 +0000 (23:51 +0800)]
travis: libwebsockets 2.4.2

6 years agomsys2: upgrade PKGBUILD files
Shuanglei Tao [Wed, 15 Aug 2018 16:29:49 +0000 (00:29 +0800)]
msys2: upgrade PKGBUILD files

6 years agoxterm.js: 3.6.0
Shuanglei Tao [Wed, 15 Aug 2018 14:44:23 +0000 (22:44 +0800)]
xterm.js: 3.6.0