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

7 years agoOK to build ttyd on MSYS2 (#30)
Shuanglei Tao [Sun, 25 Dec 2016 16:30:55 +0000 (00:30 +0800)]
OK to build ttyd on MSYS2 (#30)

7 years agoReplace sys_signame with strsignal and rename malloc functions
Shuanglei Tao [Sat, 24 Dec 2016 13:59:57 +0000 (21:59 +0800)]
Replace sys_signame with strsignal and rename malloc functions

7 years agoSet theme jekyll-theme-cayman
Shuanglei Tao [Thu, 22 Dec 2016 08:29:23 +0000 (16:29 +0800)]
Set theme jekyll-theme-cayman

7 years agoReformat C source files
Shuanglei Tao [Wed, 21 Dec 2016 14:50:23 +0000 (22:50 +0800)]
Reformat C source files

7 years agoUpgrade to xterm.js 2.2.3 (#29)
Shuanglei Tao [Sun, 18 Dec 2016 02:20:49 +0000 (10:20 +0800)]
Upgrade to xterm.js 2.2.3 (#29)

7 years agoMake ttyd compiles on cygwin
Shuanglei Tao [Tue, 29 Nov 2016 14:41:44 +0000 (22:41 +0800)]
Make ttyd compiles on cygwin

7 years agoBump to 1.2.1
Shuanglei Tao [Sun, 27 Nov 2016 01:39:42 +0000 (09:39 +0800)]
Bump to 1.2.1

8 years ago[ci skip] Update README.md
Shuanglei Tao [Thu, 24 Nov 2016 06:09:10 +0000 (14:09 +0800)]
[ci skip] Update README.md

8 years agoEnable client certificate verification if ssl CA is given
Shuanglei Tao [Wed, 23 Nov 2016 15:19:32 +0000 (23:19 +0800)]
Enable client certificate verification if ssl CA is given

8 years ago[ci skip] openwrt: add build instruction with SDK
Shuanglei Tao [Mon, 14 Nov 2016 15:47:54 +0000 (23:47 +0800)]
[ci skip] openwrt: add build instruction with SDK

8 years ago[ci skip] Update README.md
Shuanglei Tao [Mon, 14 Nov 2016 14:40:36 +0000 (22:40 +0800)]
[ci skip] Update README.md

8 years agoBump to 1.2.0
Shuanglei Tao [Sun, 13 Nov 2016 09:58:16 +0000 (17:58 +0800)]
Bump to 1.2.0

8 years agoShow websocket connection error with overlay
Shuanglei Tao [Thu, 10 Nov 2016 12:46:30 +0000 (20:46 +0800)]
Show websocket connection error with overlay

8 years agoMove to xterm.js for CJK and IME support (#22)
Shuanglei Tao [Wed, 9 Nov 2016 12:02:04 +0000 (20:02 +0800)]
Move to xterm.js for CJK and IME support (#22)

8 years agoAdd support for the --client-option option
Shuanglei Tao [Sat, 29 Oct 2016 13:56:45 +0000 (21:56 +0800)]
Add support for the --client-option option

8 years agobase64_encode: do not use openssl anymore
Shuanglei Tao [Fri, 28 Oct 2016 05:44:17 +0000 (13:44 +0800)]
base64_encode: do not use openssl anymore

8 years agoFix pty.h compile error on FreeBSD (FreeBSD uses libutil.h instead of util.h or pty.h)
Neel Chauhan [Fri, 14 Oct 2016 00:21:56 +0000 (20:21 -0400)]
Fix pty.h compile error on FreeBSD (FreeBSD uses libutil.h instead of util.h or pty.h)

8 years agotravis: add libwebsockets 2.1.0
Shuanglei Tao [Sat, 15 Oct 2016 02:15:55 +0000 (10:15 +0800)]
travis: add libwebsockets 2.1.0

8 years agocmake: search libwebsockets headers from LIBWEBSOCKETS_INCLUDE_DIRS
Shuanglei Tao [Sat, 15 Oct 2016 01:43:13 +0000 (09:43 +0800)]
cmake: search libwebsockets headers from LIBWEBSOCKETS_INCLUDE_DIRS

8 years ago[ci skip] homebrew: do not need to tap anymore 🎉
Shuanglei Tao [Thu, 13 Oct 2016 13:38:51 +0000 (21:38 +0800)]
[ci skip] homebrew: do not need to tap anymore ðŸŽ‰

8 years agoBump to 1.1.0
Shuanglei Tao [Wed, 12 Oct 2016 23:24:39 +0000 (07:24 +0800)]
Bump to 1.1.0

8 years agoOptimize client js
Shuanglei Tao [Mon, 10 Oct 2016 16:34:46 +0000 (00:34 +0800)]
Optimize client js

8 years agoAdd support for the --check-origin option
Shuanglei Tao [Mon, 10 Oct 2016 15:33:00 +0000 (23:33 +0800)]
Add support for the --check-origin option

requires libwebsockets 1.7.0+ since lws_parse_uri is available from 1.7.0

8 years agoAdd support for the --readonly option
Shuanglei Tao [Mon, 10 Oct 2016 14:08:17 +0000 (22:08 +0800)]
Add support for the --readonly option

8 years agoAdd support for the --once option
Shuanglei Tao [Mon, 10 Oct 2016 13:39:43 +0000 (21:39 +0800)]
Add support for the --once option

8 years agoUse custom Server header in http response
Shuanglei Tao [Thu, 6 Oct 2016 07:01:41 +0000 (15:01 +0800)]
Use custom Server header in http response

8 years ago[ci skip] update README.md and use libopenssl for openwrt
Shuanglei Tao [Sat, 1 Oct 2016 13:41:26 +0000 (21:41 +0800)]
[ci skip] update README.md and use libopenssl for openwrt

8 years agolibwebsockets: hande fragmented messages, fixes #9
Shuanglei Tao [Sat, 1 Oct 2016 12:32:40 +0000 (20:32 +0800)]
libwebsockets: hande fragmented messages, fixes #9

8 years ago[ci skip] openwrt: bump to 1.0.0
Shuanglei Tao [Tue, 27 Sep 2016 16:46:21 +0000 (00:46 +0800)]
[ci skip] openwrt: bump to 1.0.0

8 years agocmake: enhance dependency check
Shuanglei Tao [Tue, 27 Sep 2016 15:28:05 +0000 (23:28 +0800)]
cmake: enhance dependency check

8 years ago[ci skip] Update README.md
Shuanglei Tao [Sun, 25 Sep 2016 01:12:52 +0000 (09:12 +0800)]
[ci skip] Update README.md

8 years agoBump to 1.0.0
Shuanglei Tao [Sat, 24 Sep 2016 17:56:57 +0000 (01:56 +0800)]
Bump to 1.0.0

8 years agoImplemented authentication for websocket connection
Shuanglei Tao [Sat, 24 Sep 2016 16:56:53 +0000 (00:56 +0800)]
Implemented authentication for websocket connection

8 years agotravis: test both 1.7.x and 2.0.x version of libwebsockets
Shuanglei Tao [Tue, 20 Sep 2016 12:38:12 +0000 (20:38 +0800)]
travis: test both 1.7.x and 2.0.x version of libwebsockets

8 years agoForce exit program for the second ^C
Shuanglei Tao [Tue, 20 Sep 2016 12:08:03 +0000 (20:08 +0800)]
Force exit program for the second ^C

8 years agoMove source files to src
Shuanglei Tao [Mon, 19 Sep 2016 14:20:40 +0000 (22:20 +0800)]
Move source files to src

8 years ago[ci skip] Add openwrt Makefile
Shuanglei Tao [Sat, 17 Sep 2016 12:23:09 +0000 (20:23 +0800)]
[ci skip] Add openwrt Makefile

8 years ago[ci skip] Add Dockerfile
Shuanglei Tao [Sat, 17 Sep 2016 03:59:32 +0000 (11:59 +0800)]
[ci skip] Add Dockerfile

8 years agoRe organize and format code
Shuanglei Tao [Sat, 17 Sep 2016 03:58:40 +0000 (11:58 +0800)]
Re organize and format code

8 years ago[ci skip] Update README.md
Shuanglei Tao [Fri, 16 Sep 2016 08:33:15 +0000 (16:33 +0800)]
[ci skip] Update README.md