]> prime8.dev >> repos - ttyd.git/log
ttyd.git
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

6 years agoxterm.js: 3.4.0
Shuanglei Tao [Sun, 20 May 2018 13:55:34 +0000 (21:55 +0800)]
xterm.js: 3.4.0

6 years agowebpack: minify html for production
Shuanglei Tao [Sun, 6 May 2018 10:19:12 +0000 (18:19 +0800)]
webpack: minify html for production

6 years agowebpack: optimize css for production
Shuanglei Tao [Sun, 6 May 2018 10:06:33 +0000 (18:06 +0800)]
webpack: optimize css for production

6 years agohtml: check trailing slash on pathname for ws url
Shuanglei Tao [Sun, 6 May 2018 05:45:19 +0000 (13:45 +0800)]
html: check trailing slash on pathname for ws url

Fixes #100

6 years agowebpack: disable performance hints
Shuanglei Tao [Wed, 2 May 2018 16:12:04 +0000 (00:12 +0800)]
webpack: disable performance hints

6 years agoxterm.js: 3.3.0
Shuanglei Tao [Wed, 2 May 2018 15:56:37 +0000 (23:56 +0800)]
xterm.js: 3.3.0

6 years agohtml: add .editorconfig
Shuanglei Tao [Wed, 2 May 2018 15:49:18 +0000 (23:49 +0800)]
html: add .editorconfig

6 years agohtml: add development server
Shuanglei Tao [Wed, 2 May 2018 15:27:50 +0000 (23:27 +0800)]
html: add development server

6 years agoxterm.js: 3.2.0
Shuanglei Tao [Sat, 24 Mar 2018 04:26:22 +0000 (12:26 +0800)]
xterm.js: 3.2.0

6 years agoprotocol: ignore invalid message
Shuanglei Tao [Sat, 24 Mar 2018 04:17:25 +0000 (12:17 +0800)]
protocol: ignore invalid message

6 years agoREADME: fix typo
Shuanglei Tao [Sat, 24 Mar 2018 04:07:10 +0000 (12:07 +0800)]
README: fix typo

6 years agoMention that CMake 3.x is required in README (#93)
Kevin Ernst [Fri, 2 Mar 2018 00:43:15 +0000 (19:43 -0500)]
Mention that CMake 3.x is required in README (#93)

Closes #92

6 years agodebian: bump to 1.4.0
Shuanglei Tao [Thu, 18 Jan 2018 12:34:25 +0000 (20:34 +0800)]
debian: bump to 1.4.0

6 years agoBump to 1.4.0
Shuanglei Tao [Wed, 17 Jan 2018 16:10:11 +0000 (00:10 +0800)]
Bump to 1.4.0

6 years agoxterm.js: 3.0.2
Shuanglei Tao [Wed, 17 Jan 2018 11:44:50 +0000 (19:44 +0800)]
xterm.js: 3.0.2

6 years agoReplace browserify with webpack
Shuanglei Tao [Tue, 16 Jan 2018 16:10:44 +0000 (00:10 +0800)]
Replace browserify with webpack

6 years agoREADME: clarify ZMODEM support
Shuanglei Tao [Sat, 13 Jan 2018 09:48:49 +0000 (17:48 +0800)]
README: clarify ZMODEM support

6 years agozmodem: rewrite the ui modal
Shuanglei Tao [Sat, 13 Jan 2018 09:29:50 +0000 (17:29 +0800)]
zmodem: rewrite the ui modal

6 years agoprotocol: avoid extra copy of pty data
Shuanglei Tao [Sat, 13 Jan 2018 03:28:52 +0000 (11:28 +0800)]
protocol: avoid extra copy of pty data

6 years agoserver: use libwebsockets's built-in ping-pong
Shuanglei Tao [Thu, 11 Jan 2018 14:15:49 +0000 (22:15 +0800)]
server: use libwebsockets's built-in ping-pong

6 years agoSync window title with the terminal
Shuanglei Tao [Tue, 9 Jan 2018 16:45:12 +0000 (00:45 +0800)]
Sync window title with the terminal

6 years agoprotocol: fix a regression that may crashes the server
Shuanglei Tao [Tue, 9 Jan 2018 16:09:30 +0000 (00:09 +0800)]
protocol: fix a regression that may crashes the server

6 years agoDecrease the brightness of colors
Shuanglei Tao [Mon, 8 Jan 2018 13:50:14 +0000 (21:50 +0800)]
Decrease the brightness of colors

6 years agoFix signal name display
Shuanglei Tao [Mon, 8 Jan 2018 11:37:32 +0000 (19:37 +0800)]
Fix signal name display

6 years agoREADME: clarify browser support
Shuanglei Tao [Sun, 7 Jan 2018 08:03:36 +0000 (16:03 +0800)]
README: clarify browser support

6 years agoFix Edge and IE11 support
Shuanglei Tao [Sun, 7 Jan 2018 06:28:16 +0000 (14:28 +0800)]
Fix Edge and IE11 support

6 years agoxterm.js: 3.0.1
Shuanglei Tao [Sat, 6 Jan 2018 13:35:35 +0000 (21:35 +0800)]
xterm.js: 3.0.1

6 years agoZMODEM support added 🎉
Shuanglei Tao [Thu, 23 Nov 2017 14:43:10 +0000 (22:43 +0800)]
ZMODEM support added ðŸŽ‰

7 years agoprotocol: use binary message
Shuanglei Tao [Thu, 23 Nov 2017 14:01:22 +0000 (22:01 +0800)]
protocol: use binary message

7 years agotravis: remove osx build
Shuanglei Tao [Tue, 7 Nov 2017 15:35:25 +0000 (23:35 +0800)]
travis: remove osx build

7 years agoopenwrt: add a simple luci app for ttyd
Shuanglei Tao [Tue, 7 Nov 2017 14:20:50 +0000 (22:20 +0800)]
openwrt: add a simple luci app for ttyd

7 years agoSupport numeric value for --signal
Shuanglei Tao [Sun, 5 Nov 2017 03:17:03 +0000 (11:17 +0800)]
Support numeric value for --signal

7 years agoRemove the --signal-list option
Shuanglei Tao [Sun, 5 Nov 2017 01:46:17 +0000 (09:46 +0800)]
Remove the --signal-list option

7 years agoprotocol: fix host origin checking
Shuanglei Tao [Tue, 24 Oct 2017 12:24:51 +0000 (20:24 +0800)]
protocol: fix host origin checking

Thanks @ben365 (#75)

7 years agoUpgrade to xterm.js 2.9.2
Shuanglei Tao [Fri, 18 Aug 2017 11:33:46 +0000 (19:33 +0800)]
Upgrade to xterm.js 2.9.2

7 years agoBump debian pkg version (#63)
Boyuan Yang [Mon, 24 Jul 2017 08:14:24 +0000 (16:14 +0800)]
Bump debian pkg version (#63)

7 years agoUpgrade to xterm.js 2.8.1
Shuanglei Tao [Sat, 22 Jul 2017 13:14:48 +0000 (21:14 +0800)]
Upgrade to xterm.js 2.8.1

7 years agoBump to 1.3.3
Shuanglei Tao [Sun, 18 Jun 2017 14:16:32 +0000 (22:16 +0800)]
Bump to 1.3.3

7 years agoalpine: switch to stable version (3.6)
Shuanglei Tao [Sun, 18 Jun 2017 14:09:04 +0000 (22:09 +0800)]
alpine: switch to stable version (3.6)

7 years agoAdd Dockerfile to build a statically linked ttyd with musl libc
Shuanglei Tao [Sun, 18 Jun 2017 14:05:12 +0000 (22:05 +0800)]
Add Dockerfile to build a statically linked ttyd with musl libc

7 years agoOny fire resize event when it ends
Shuanglei Tao [Sat, 10 Jun 2017 00:22:06 +0000 (08:22 +0800)]
Ony fire resize event when it ends

7 years agoUpgrade to xterm.js 2.7.0
Shuanglei Tao [Sat, 10 Jun 2017 00:20:17 +0000 (08:20 +0800)]
Upgrade to xterm.js 2.7.0

7 years agoDo not reconnect if process exited, fixes #50
Shuanglei Tao [Sat, 20 May 2017 10:55:48 +0000 (18:55 +0800)]
Do not reconnect if process exited, fixes #50

7 years ago[ci skip] Update man page
Shuanglei Tao [Mon, 15 May 2017 15:04:35 +0000 (23:04 +0800)]
[ci skip] Update man page

7 years ago[ci skip] README: generate SSL certificate with SAN field (#57)
Shuanglei Tao [Mon, 15 May 2017 14:51:32 +0000 (22:51 +0800)]
[ci skip] README: generate SSL certificate with SAN field (#57)

7 years agoUpgrade to xterm.js 2.6.0
Shuanglei Tao [Sat, 13 May 2017 11:51:52 +0000 (19:51 +0800)]
Upgrade to xterm.js 2.6.0

7 years agoRemove the duplicated "listening on ..." log
Shuanglei Tao [Sat, 29 Apr 2017 02:05:25 +0000 (10:05 +0800)]
Remove the duplicated "listening on ..." log

Already logged by libwebsockets

7 years agoDo not try to reuse for lws_serve_http_file, fixes #43
dohnuts [Mon, 24 Apr 2017 21:28:54 +0000 (17:28 -0400)]
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

7 years agoUpdate debian/ packaging dir for v1.3.2. (#56)
Boyuan Yang [Fri, 21 Apr 2017 11:56:59 +0000 (06:56 -0500)]
Update debian/ packaging dir for v1.3.2. (#56)

7 years agoBump to 1.3.2
Shuanglei Tao [Fri, 14 Apr 2017 14:49:56 +0000 (22:49 +0800)]
Bump to 1.3.2

7 years agoopenwrt: remove the default insecure init script
Shuanglei Tao [Thu, 6 Apr 2017 14:44:24 +0000 (22:44 +0800)]
openwrt: remove the default insecure init script

7 years agoAdd support for the --max-clients option
Shuanglei Tao [Thu, 6 Apr 2017 13:24:19 +0000 (21:24 +0800)]
Add support for the --max-clients option

7 years agoUpgrade to xterm.js 2.5.0
Shuanglei Tao [Thu, 6 Apr 2017 13:14:25 +0000 (21:14 +0800)]
Upgrade to xterm.js 2.5.0

7 years ago[ci skip] README: update ppa packages
Shuanglei Tao [Tue, 4 Apr 2017 07:47:49 +0000 (15:47 +0800)]
[ci skip] README: update ppa packages

7 years agotravis: update scripts
Shuanglei Tao [Tue, 4 Apr 2017 02:14:43 +0000 (10:14 +0800)]
travis: update scripts

7 years agotravis: add libwebsockets 2.2.1
Shuanglei Tao [Fri, 31 Mar 2017 13:19:40 +0000 (21:19 +0800)]
travis: add libwebsockets 2.2.1

7 years ago[ci skip] README: add ppa installation doc
Shuanglei Tao [Fri, 31 Mar 2017 12:52:32 +0000 (20:52 +0800)]
[ci skip] README: add ppa installation doc

7 years agoAdd debian/ dir for deb packaging (#48)
Boyuan Yang [Fri, 31 Mar 2017 07:28:14 +0000 (15:28 +0800)]
Add debian/ dir for deb packaging (#48)

* debian: add debian dir for debian packaging.

These instructions can be used to build semi-official
debian packages.

* d/control: fix typo

* debian: set debhelper compat to v9; add vim-common as xxd alternative

7 years agoSimplify docker alpine image building
Shuanglei Tao [Fri, 24 Mar 2017 14:20:22 +0000 (22:20 +0800)]
Simplify docker alpine image building

7 years agocmake: add support for generating deb package for ubuntu
Shuanglei Tao [Sat, 25 Mar 2017 16:02:27 +0000 (00:02 +0800)]
cmake: add support for generating deb package for ubuntu

7 years agoFix client count calculation
Shuanglei Tao [Tue, 21 Mar 2017 15:10:22 +0000 (23:10 +0800)]
Fix client count calculation

7 years agoAdd the missing null terminator to command string
Shuanglei Tao [Tue, 21 Mar 2017 15:06:57 +0000 (23:06 +0800)]
Add the missing null terminator to command string