Commit Graph

7 Commits

Author SHA1 Message Date
yumaokao 8c7ea173ad sshd/terminal: Add fullwidth check for CJK in visualLength 2020-03-21 19:57:39 +08:00
Andrey Petrov 69c496424e go mod tidy 2019-03-21 15:33:18 -04:00
Andrey Petrov d3eda56f82 build: Update go modules 2019-03-15 22:40:30 -04:00
Andrey Petrov 60f3202818 go mod tidy 2018-12-27 13:46:04 -05:00
Andrey Petrov 903d6c9420
/ban query support (#286)
For #285 

Turns out there were some bugs in Set, and I was using it incorrectly too.

The query syntax is a little awkward but couldn't find a nicer easy to parse format that worked with quoted string values.
2018-12-25 14:29:19 -05:00
Andrey Petrov 86dae2a53e main: auth: Fix ban by IP, also improve log formatting.
Closes #284
2018-12-15 18:47:35 -05:00
Andrey Petrov 9697c7d37f
Switch to go modules, update travisci for Go 1.11 (#279)
* Switch to go modules, update travisci for go 1.11

* Add go.{mod,sum}

* travisci: Merge envs, oops

Closes #271
2018-09-06 14:03:53 -05:00