Commit Graph

114 Commits

Author SHA1 Message Date
Andrea Lusuardi - uovobw 82c17f8271 Add client certificate options to default configuration file 2015-09-30 19:05:45 +02:00
Iwasaki Yudai 783254c3be Merge pull request #57 from moul/patch-1
Add `gotty-client` in README.md
2015-09-20 21:48:48 -07:00
Manfred Touron 9918bdce81
Add `gotty-client` in README.md 2015-09-20 22:14:24 +02:00
Iwasaki Yudai c88cf7a52d Show RemoteAddr and HTTP status code in log 2015-09-20 13:41:24 +09:00
Iwasaki Yudai af1a80c962 Fix link to termshare in README 2015-09-17 14:33:36 +09:00
Iwasaki Yudai 3857e41dbc Add alternatives section to README 2015-09-05 15:38:18 +09:00
Iwasaki Yudai 8f9d5ba582 Release v0.0.10
* Syntax check for the configuration file
* Better handling of invalid UTF-8 bytes
2015-09-02 20:21:50 -07:00
Iwasaki Yudai 4f75000256 Send data in base64 format
Raw data sometimes include invalid UTF-8 bytes and that brings errors to
WebSocket clients. To avoid the errors, encode data into base64 before
sending it.
2015-09-02 20:16:35 -07:00
Iwasaki Yudai 83923b6f39 Check config file syntax 2015-09-01 20:42:52 -07:00
Iwasaki Yudai 62f5d4aaf3 Release v0.0.9
* Fix basic authentication and reconnection conflict
* Send ping/pong to keep connections
2015-09-01 15:13:01 +09:00
Iwasaki Yudai 05d9267f20 Show message for force exit 2015-09-01 15:11:05 +09:00
Iwasaki Yudai ff92777011 Use credential for auth_token 2015-09-01 15:11:02 +09:00
Iwasaki Yudai 0bd2f3f2c8 Add a link to how to use self-signed certificates with Safari 2015-09-01 14:57:58 +09:00
Iwasaki Yudai 00ddf781de Send ping/pong 2015-08-31 21:34:54 -07:00
Iwasaki Yudai b711de495b Release v0.0.8
* Fixed TLS/SSL default files loading error
* Fixed Sasfari basic authentication error
2015-09-01 01:26:44 +09:00
Iwasaki Yudai fc590d5bc3 Add note for self-signed cert issue of safari 2015-08-31 16:09:14 +09:00
Iwasaki Yudai 0e81c484a9 Authenticate WS connection using token
Safari doesn't support basic authentication for websocket sessions.
This commit introduces a token-based authentication only for websocket
connection.
The token is shared by all clients and that might be not secure. However,
basic authentication itself is insecure and the credential is already
shared by clients, so don't mind.
2015-08-31 15:54:34 +09:00
Iwasaki Yudai e7e607b3d7 Fix TLS crt/key file loading 2015-08-31 07:16:34 +09:00
Iwasaki Yudai 5622bf7538 Release v0.0.7
* Favicon has been added
2015-08-30 21:54:37 +09:00
Iwasaki Yudai a4a3f1a01d Add `index_file` to .gotty` 2015-08-30 17:28:47 +09:00
Iwasaki Yudai eb2f2d08bc Fix some texts 2015-08-30 17:20:49 +09:00
Iwasaki Yudai a40dde8d3a Use "GoTTY" not "gotty" 2015-08-30 16:51:08 +09:00
Iwasaki Yudai f654030be3 Fix enable_random_url default value 2015-08-30 16:50:51 +09:00
Iwasaki Yudai ee77ec1b3a Add favicon 2015-08-30 16:44:18 +09:00
Iwasaki Yudai e79e78a323 Fix typo in README 2015-08-30 07:11:08 +09:00
Iwasaki Yudai 4814a38708 Fix link to .gotty in README 2015-08-30 07:10:12 +09:00
Iwasaki Yudai f133c28cf8 Release v0.0.6
* Profile file is merged into config file
2015-08-30 07:04:48 +09:00
Iwasaki Yudai 678258ecf1 Log received hterm preferences in console 2015-08-30 06:51:05 +09:00
Iwasaki Yudai b821754e8a Add sample .gotty file 2015-08-30 06:48:45 +09:00
Iwasaki Yudai d3e48aa3ae Merge profile and config files and support custom index file 2015-08-29 13:23:00 +09:00
Iwasaki Yudai 25a5bc0b89 Fix default config file loading 2015-08-28 21:11:46 -07:00
Iwasaki Yudai 8e90497c31 Release v0.0.5
* Config file support
* Some naming changes to command line options
2015-08-28 19:28:14 +09:00
Iwasaki Yudai 02e0b6fafd Use `WriteMessage` to simplify 2015-08-28 17:49:25 +09:00
Iwasaki Yudai c71cc21721 Send SIGHUP to process after closing PTY
POSIX doesn't grantee that a blocked Read() operation will be released
after closing the file. Moreover, the pty file left intact even after
closing the file and the process keeps running in this case.
2015-08-28 17:22:42 +09:00
Iwasaki Yudai 4b67e3059d Support config file 2015-08-27 17:59:49 +09:00
Iwasaki Yudai 6e39085a53 Release v0.0.4
* New `--title-format` option to specify window titles
* Terminal profile support is added
* ARM architecture support
* New `--auto-reconnect` option to reconnect to the server
* TLS/SSL option by `-t` option
* `--once` option to shutdown the server after the first client exits
* Better UTF-8 input support
2015-08-26 23:25:55 -07:00
Iwasaki Yudai f60fd58f9b Replace "cert" to "crt" 2015-08-25 21:14:15 -07:00
Iwasaki Yudai 783e3fd925 Don't translate input
When `send-encoding` is `utf-8`, hterm translate input from the
clipboard from UTF-16 to UTF-8, even when the input is indeed UTF-8.
This translation messes up all non ASCII input.
2015-08-25 11:23:38 +09:00
Iwasaki Yudai d4475579ff Close listener after calling `StartRoutine()`
This change prevents the listener from closing itself before
establishing the websocket session with the client.
2015-08-24 12:15:24 -07:00
Iwasaki Yudai 6d1a19b1d5 Mention `--once` option in README 2015-08-24 19:50:22 +09:00
Iwasaki Yudai bfa24e29f9 Merge pull request #43 from jay2u/master
fix typo
2015-08-24 03:40:40 -07:00
Iwasaki Yudai b37f7973bd Credit braintree/manners 2015-08-24 19:39:06 +09:00
Iwasaki Yudai 470621f39e Add `--once` option that accepts only one client and exit 2015-08-24 19:35:49 +09:00
Jan-Willem Korver e61dfafabb fix typo 2015-08-24 18:34:47 +08:00
Iwasaki Yudai e613b29cc3 Shutdown server gracefully with Ctrl-C 2015-08-24 19:22:25 +09:00
Iwasaki Yudai 94a6230355 Add golang/go and jteeuwen/go-bindata to LICENSE 2015-08-24 17:17:25 +09:00
Iwasaki Yudai 7b6911d7dd Support TLS/SSL encryption 2015-08-24 16:43:03 +09:00
Iwasaki Yudai c56e41b56b Extract function for loading profile files 2015-08-24 16:13:22 +09:00
Iwasaki Yudai acacba6f03 Support auto reconnection
A new option `--auto-reconnect` which takes seconds to reconnect is
added.
2015-08-24 07:14:24 +09:00
Iwasaki Yudai 4df9ac8059 Use `url.URL` for constructing URLs 2015-08-24 05:34:56 +09:00