Commit Graph

152 Commits

Author SHA1 Message Date
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
Iwasaki Yudai
ca14394ec8 Use net.JoinHostPort for better IPv6 handling 2015-08-24 05:22:47 +09:00
Iwasaki Yudai
5d2cdd2768 Show IPv6 addresses with [ and ]
So that users can open IPv6 URLs on web browsers.
2015-08-24 05:05:58 +09:00
Iwasaki Yudai
a0f6e8d051 Address darwin_amd64.tar.gz is for OS X users on README 2015-08-24 04:54:15 +09:00
Iwasaki Yudai
fabc3a49b3 Add arm to supported architecture 2015-08-24 04:53:15 +09:00
Iwasaki Yudai
ee45d8e145 Replace user.Current() with os.Getenv("HOME")
`os/user.Current()` is not available on Darwin when a binary is cross
compiled from another platform.
See also: https://github.com/golang/go/issues/6376
2015-08-24 04:48:49 +09:00
Iwasaki Yudai
56ae9ab9fc Add releases budge and license badge 2015-08-23 23:51:28 +09:00
Iwasaki Yudai
39293933c5 Show error when failed to get current user 2015-08-23 23:28:56 +09:00
Iwasaki Yudai
45f65bfc29 Support profile files to customize hterm 2015-08-23 22:58:01 +09:00
Iwasaki Yudai
afd40ea15d Add --title-format to README 2015-08-23 22:43:32 +09:00
Iwasaki Yudai
04d9671735 Fix GOTTY_TITLE_FORMAT 2015-08-23 21:32:32 +09:00
Iwasaki Yudai
ac0cb74f98 Log PermitWrite mode 2015-08-23 21:00:52 +09:00
Iwasaki Yudai
a765d6c660 Set window title by control message 2015-08-23 20:54:46 +09:00