Commit Graph

118 Commits

Author SHA1 Message Date
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
Iwasaki Yudai
67b54b7f20 Show command and hostname in windows title 2015-08-23 14:09:13 +09:00
Iwasaki Yudai
5ee6356242 Release v0.0.3
* Client PTYs are closed properly without EOF byte
* Added the "-r" option to generate random URL by @shoz
* Added BSD support
2015-08-22 15:41:03 +09:00
Iwasaki Yudai
94f571d629 Add BSDs to supported platforms 2015-08-22 13:18:37 +09:00
Iwasaki Yudai
b18d35f267 Show URLs on starting 2015-08-22 13:18:37 +09:00
Iwasaki Yudai
8923220528 Clean up app.Run() 2015-08-22 13:18:35 +09:00
Iwasaki Yudai
9b77c32d7c Explain architecture briefly in README
Mentioning hterm and wetty so that people don't get confused that GoTTY
has an original terminal implementation.
2015-08-22 09:52:46 +09:00
Iwasaki Yudai
beda1d7ab7 Close pty 2015-08-21 19:08:51 +09:00
Iwasaki Yudai
23ca3c8d13 Add -r (random URL) option to README 2015-08-21 19:06:19 +09:00
Iwasaki Yudai
b68e889762 Restructure handler function and move methods to clientContext 2015-08-21 19:01:09 +09:00
Iwasaki Yudai
8758dc0541 Isolate help message template 2015-08-21 19:01:09 +09:00
Iwasaki Yudai
25627da86f Restructure handler function 2015-08-21 19:01:09 +09:00
Iwasaki Yudai
7e2befa1bb Add make resource that simply generates app/resource.go
Easy to run when you don't want to build a binary.
2015-08-21 19:01:08 +09:00
Iwasaki Yudai
5eea5067db Simplify structure of command messages
The first byte of a input message shows the type of that message.
0: normal keystrokes
1: resize window command
2015-08-21 19:01:06 +09:00
Iwasaki Yudai
ce96943af2 Create App instance with struct of options 2015-08-21 18:30:44 +09:00
Iwasaki Yudai
e09d6e0486 Merge pull request #27 from shoz/randomurl
Random URL generation(Close #17)
2015-08-21 02:19:27 -07:00
Shoji Ihara
b15227c696 Random URL generation(Close #17) 2015-08-21 18:15:00 +09:00
Iwasaki Yudai
2aaa155a3e Call Wait() to prevent processes from being defunct 2015-08-21 12:36:26 +09:00
Iwasaki Yudai
b4b9435b58 Don't send EOT
It was a bug that sending EOT when closing connection.
2015-08-21 12:34:15 +09:00
Iwasaki Yudai
10d0bd8a17 Log PID of processes for clients 2015-08-21 12:33:44 +09:00
Iwasaki Yudai
fd4a9d3bf8 Mention -c option in README 2015-08-20 17:34:49 +09:00
Iwasaki Yudai
496c791a68 Release v0.0.2
* Added the `-c` option for Basic Authentication by @mattn
* Experimental 32 bit support
* Switch to Go1.5
2015-08-20 17:26:11 +09:00
Iwasaki Yudai
4b39b4a390 Add development section to explain how to build binaries 2015-08-20 17:21:05 +09:00
Iwasaki Yudai
372ac4fbc1 Gofmt generated resource file 2015-08-20 17:16:13 +09:00
Iwasaki Yudai
65207dfa35 Add 32 bit build support for Wercker 2015-08-20 16:52:32 +09:00
Iwasaki Yudai
6a43836f0b Add go fmt to check format of code 2015-08-20 16:48:35 +09:00
Iwasaki Yudai
161d29b0b9 Use go1.5 2015-08-20 16:46:12 +09:00
Iwasaki Yudai
47bdae8447 Merge pull request #26 from mattn/basic-auth
HTTP Basic Authentication support. Close #8
2015-08-19 23:44:38 -07:00
mattn
791e1e22cb HTTP Basic Authentication support. Close #8 2015-08-20 15:40:38 +09:00
Iwasaki Yudai
937c570039 Add Homebrew installation section to README 2015-08-17 23:17:40 -07:00
Iwasaki Yudai
a09b060216 Show "Connection Closed" message as overlay
Closes #7.
2015-08-17 21:45:52 -07:00
Iwasaki Yudai
69fa3456b2 Merge pull request #12 from blakejennings/master
Fix a few typos.
2015-08-17 21:12:10 -07:00
Iwasaki Yudai
0718fbe7c4 Merge pull request #9 from shingt/fix-typo
Fix typo in starting message
2015-08-17 21:10:42 -07:00
Iwasaki Yudai
37dbf00503 Merge pull request #13 from widdma/patch-1
Only send EOF in writable sessions
2015-08-17 20:53:41 -07:00
David Horsley
8e5a277bb3 Only send EOF in writable sessions
Currently EOF is sent to the pty even when read-only mode is requested. This can cause trouble in attached tmux sessions, for example. Since the EOF typically used in shells as a shortcut exit, this can result in undesired disconnects.
2015-08-18 10:47:15 +10:00