Commit Graph

58 Commits

Author SHA1 Message Date
180909
546ac8d62b Remove ioutil import 2024-02-11 17:35:53 -08:00
Søren L. Hansen
7d431a7bd6 Ensure --quiet flag is honored
The code to disable logging ran before command line flags are parsed.
Moved them around.

Fixes #45
2022-08-30 17:02:18 -07:00
Søren L. Hansen
dcb153c8a4 go fmt 2022-01-12 15:34:32 -08:00
Steve Biedermann
4109b117fe add quiet flag to disable logging 2021-11-09 17:23:04 +01:00
Devan Lai
fa09e03b99 Fix auth modes enabled by config file
Enable auth modes based on CLI options, but do not force auth modes
selected by the config file if not enabled by the CLI options
2021-05-30 02:11:07 -07:00
Søren L. Hansen
4a423fdf88 Let git compute version number 2021-04-22 08:20:43 -07:00
Soren L. Hansen
c3c670b954 Switch to urfave/cli/v2... again. 2021-04-18 07:01:31 -07:00
Søren L. Hansen
1fa987c518 Use v2 of urfave/cli 2021-04-18 05:38:22 -07:00
Søren L. Hansen
f3af8fcafd Revert "Use v2 of urfave/cli"
This reverts commit 17df897c32.

That did not work *at all*... We really need some tests for all of
this.
2021-04-12 22:24:31 -07:00
Søren L. Hansen
17df897c32 Use v2 of urfave/cli 2021-04-12 20:58:39 -07:00
Søren L. Hansen
4e017f1618 Take over GoTTY maintainership
@yudai built this amazing piece of software, but it now needs a new,
active maintainer. I'm taking a stab at it.
2021-04-10 21:46:31 -07:00
Stephan van Ellewee
f0fe6d57fd switched to go-mod, updated codegangsta/cli -> urfave/cli 2020-02-28 08:42:08 +02:00
Iwasaki Yudai
8f95182392 Show command in log 2017-08-22 12:11:11 +09:00
Iwasaki Yudai
56e9b89199 Log force closing 2017-08-20 13:38:42 +09:00
Iwasaki Yudai
91ee778665 Show commit ID on version 2017-08-17 14:04:17 +09:00
Iwasaki Yudai
a6133f34b7 Refactor 2017-08-11 15:31:11 +09:00
zlji
496ef86339 refactor: decouple gotty app with terminal backends 2017-08-09 12:38:31 +09:00
zlji
d71e2fcfa8 generate falgs based on struct options instead of defining them externally 2017-08-09 12:38:31 +09:00
Iwasaki Yudai
8c9433ff21 Add timeout option 2017-01-09 12:04:15 +09:00
Robert Bittle
8fd09cd9ec
Add an option to disable client window resizes
This goes great with tmux when you are sharing your terminal for
presentations and you don't want to give viewers the ability to resize
your terminal
2016-12-30 09:20:09 -05:00
Yifa Zhang
be07d420dd add option for max connection (#112)
add option for max connection
2016-08-13 00:29:21 -07:00
Iwasaki Yudai
888fe870dc Add configuration to modify signal sent to child process when close it 2015-10-14 07:26:47 +09:00
Iwasaki Yudai
1bcc6bd9ce Change description of --permit-arguments 2015-10-12 10:57:24 +09:00
Richard Metzler
eb200ce579 fix typo 2015-10-09 11:15:18 +02:00
Quentin Perez
a4e77b2b76 Added handling of —permit-arguments option 2015-10-05 09:50:48 +02:00
Iwasaki Yudai
7715f93517 Merge pull request #69 from uovobw:add-tls-client-certificate-authentication 2015-10-05 16:30:06 +09:00
Manfred Touron
f75cc9771a
Add 'Server' HTTP header with current GoTTY version
$ curl -I http://gotty.server/
    HTTP/1.1 200 OK
    Accept-Ranges: bytes
    Content-Length: 407
    Content-Type: text/html; charset=utf-8
    Last-Modified: Fri, 02 Oct 2015 08:04:28 GMT
    Server: GoTTY/0.0.10
    Date: Fri, 02 Oct 2015 08:04:28 GMT
2015-10-02 10:14:01 +02:00
Andrea Lusuardi - uovobw
5eb5959c93 Add tls client certificate authentication flags 2015-09-30 19:06:28 +02: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
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
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
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
f133c28cf8 Release v0.0.6
* Profile file is merged into config file
2015-08-30 07:04:48 +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
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
6d1a19b1d5 Mention --once option in README 2015-08-24 19:50:22 +09:00
Iwasaki Yudai
470621f39e Add --once option that accepts only one client and exit 2015-08-24 19:35:49 +09:00
Iwasaki Yudai
e613b29cc3 Shutdown server gracefully with Ctrl-C 2015-08-24 19:22:25 +09:00
Iwasaki Yudai
7b6911d7dd Support TLS/SSL encryption 2015-08-24 16:43:03 +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
45f65bfc29 Support profile files to customize hterm 2015-08-23 22:58:01 +09:00
Iwasaki Yudai
04d9671735 Fix GOTTY_TITLE_FORMAT 2015-08-23 21:32:32 +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