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

7 years ago[ci skip] README: update screenshot URL
Shuanglei Tao [Thu, 16 Mar 2017 02:20:25 +0000 (10:20 +0800)]
[ci skip] README: update screenshot URL

7 years agoAdd man page
Shuanglei Tao [Mon, 13 Mar 2017 15:36:13 +0000 (23:36 +0800)]
Add man page

7 years agoBump to 1.3.1
Shuanglei Tao [Sat, 11 Mar 2017 02:02:36 +0000 (10:02 +0800)]
Bump to 1.3.1

7 years agoFix potential segmentation fault (SIGSEGV) error
Shuanglei Tao [Fri, 10 Mar 2017 18:24:38 +0000 (02:24 +0800)]
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.

7 years agoFix an issue that can bypass basic authentication
Shuanglei Tao [Fri, 10 Mar 2017 18:05:16 +0000 (02:05 +0800)]
Fix an issue that can bypass basic authentication

Reported by Donato Ferrante (NCC Group).

7 years agoShims to compile under OpenBSD
dohnuts [Fri, 3 Mar 2017 18:36:34 +0000 (13:36 -0500)]
Shims to compile under OpenBSD

STAILQ_HEAD is implemented as SIMPLEQ_HEAD
pty.h is like in apple , util.h

7 years agoUpgrade to xterm.js 2.4.0
Shuanglei Tao [Wed, 8 Mar 2017 12:04:01 +0000 (20:04 +0800)]
Upgrade to xterm.js 2.4.0

7 years agoPrint more details about errors
Shuanglei Tao [Thu, 23 Feb 2017 11:57:17 +0000 (19:57 +0800)]
Print more details about errors

7 years agoAdd padding for terminal container
Shuanglei Tao [Wed, 22 Feb 2017 15:45:40 +0000 (23:45 +0800)]
Add padding for terminal container

7 years ago[ci skip] Fix typo in README.md (#41)
Elad Keyshawn [Tue, 21 Feb 2017 23:35:35 +0000 (01:35 +0200)]
[ci skip] Fix typo in README.md (#41)

7 years agoFix font-family for windows (#40)
Shuanglei Tao [Tue, 21 Feb 2017 16:00:25 +0000 (00:00 +0800)]
Fix font-family for windows (#40)

7 years agotravis: libwebsockets 2.1.1
Shuanglei Tao [Sat, 18 Feb 2017 08:55:24 +0000 (16:55 +0800)]
travis: libwebsockets 2.1.1

7 years agoUpgrade to xterm.js 2.3.2
Shuanglei Tao [Sat, 18 Feb 2017 08:52:07 +0000 (16:52 +0800)]
Upgrade to xterm.js 2.3.2

7 years agoalpine: remove hard coded version
Shuanglei Tao [Sat, 18 Feb 2017 08:38:59 +0000 (16:38 +0800)]
alpine: remove hard coded version

7 years agoIntroduce Alpine Docker build (#38)
Damien Duportal [Sat, 18 Feb 2017 08:01:32 +0000 (09:01 +0100)]
Introduce Alpine Docker build (#38)

* Introduce Alpine Docker build

Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
* LibWebSockets: Cloning only the specified tip

7 years agoBump to 1.3.0
Shuanglei Tao [Sat, 11 Feb 2017 00:26:01 +0000 (08:26 +0800)]
Bump to 1.3.0

Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
7 years agoAdd support for the --signal-list option
Shuanglei Tao [Sat, 11 Feb 2017 00:13:18 +0000 (08:13 +0800)]
Add support for the --signal-list option

7 years agoUpgrade to xterm.js 2.3.1
Shuanglei Tao [Fri, 10 Feb 2017 15:54:37 +0000 (23:54 +0800)]
Upgrade to xterm.js 2.3.1

7 years agoFix signal string not work, revert to sys_signame
Shuanglei Tao [Wed, 8 Feb 2017 14:16:38 +0000 (22:16 +0800)]
Fix signal string not work, revert to sys_signame

7 years agoAdd support for the --browser option
Shuanglei Tao [Sun, 5 Feb 2017 09:36:19 +0000 (17:36 +0800)]
Add support for the --browser option

7 years agoAdd confirm for window closing
Shuanglei Tao [Sat, 4 Feb 2017 14:02:44 +0000 (22:02 +0800)]
Add confirm for window closing

7 years agoExecute command after authentication
Shuanglei Tao [Sat, 4 Feb 2017 12:46:16 +0000 (20:46 +0800)]
Execute command after authentication

7 years agoImprove base64 decode and utf8 handling
Shuanglei Tao [Fri, 3 Feb 2017 03:23:59 +0000 (11:23 +0800)]
Improve base64 decode and utf8 handling

7 years agoAdd support for listening on UNIX domain socket
Shuanglei Tao [Mon, 30 Jan 2017 13:46:53 +0000 (21:46 +0800)]
Add support for listening on UNIX domain socket

7 years agoShrinkin image size
Damien DUPORTAL [Thu, 26 Jan 2017 14:41:50 +0000 (15:41 +0100)]
Shrinkin image size

Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
7 years agoAdd support for the --index option
Shuanglei Tao [Thu, 19 Jan 2017 15:33:35 +0000 (23:33 +0800)]
Add support for the --index option

7 years agocmake: fix c99 mode for old versions of cmake
Shuanglei Tao [Mon, 2 Jan 2017 16:14:57 +0000 (00:14 +0800)]
cmake: fix c99 mode for old versions of cmake

7 years ago[ci skip] update README.md
Shuanglei Tao [Sun, 25 Dec 2016 16:58:13 +0000 (00:58 +0800)]
[ci skip] update README.md

7 years ago[ci skip] MSYS2: update checksums for 1.2.2
Shuanglei Tao [Sun, 25 Dec 2016 16:37:53 +0000 (00:37 +0800)]
[ci skip] MSYS2: update checksums for 1.2.2

7 years agoBump to 1.2.2
Shuanglei Tao [Sun, 25 Dec 2016 16:33:54 +0000 (00:33 +0800)]
Bump to 1.2.2