364 Commits

Author SHA1 Message Date
Andrey Petrov
3535fb35bb tests: Fix ineffectual assigns 2016-09-01 17:01:47 -04:00
Andrey Petrov
cdcc4a9931 refactor: User.Config -> User.Config() and User.SetConfig(UserConfig) 2016-08-29 10:11:39 -04:00
Andrey Petrov
454777448f refactor: User.SetColorIdx -> User.setColorIdx, preparing to abstract user 2016-08-29 09:58:17 -04:00
Andrey Petrov
33d7d26a17 chat/message: Remove User.Ignore(...) and User.Unignore(...)
Also changes some messaging
2016-08-27 15:15:07 -04:00
Andrey Petrov
d950112dd9 refactor: Id -> ID 2016-08-24 13:54:20 -04:00
Andrey Petrov
0fcc076c74 set: Switch to a common set implementation 2016-08-24 13:54:20 -04:00
Andrey Petrov
6e02b05f99 set: Improve coverage and cleanup. Switch sshchat package to use it. 2016-08-24 13:54:20 -04:00
Andrey Petrov
b0a90315d8 set: Generalized Set type 2016-08-24 13:54:20 -04:00
Andrey Petrov
c57a5acca7 tests: Fix flake in TestHostNameCollision 2016-08-24 13:54:08 -04:00
Greg Wedow
a67a9d115b /uptime: Format output to be more human-friendly 2016-08-21 12:20:53 -04:00
Greg Wedow
87d38405ae motd: Don't trim surrounding whitespace from the --motd file input. 2016-08-21 12:17:30 -04:00
Andrey Petrov
d2f08490f7 Makefile: Support building from source tarball
Fixes #168
v1.5
2016-08-17 13:34:12 -04:00
Andrey Petrov
a9603fba7d travisci: Enable go 1.7 2016-08-16 14:20:51 -04:00
Andrey Petrov
47607af729 /reply: Enabled again.
Fixes #202
2016-08-16 14:20:51 -04:00
Steven L
22e714a5ad README: Add FAQ link 2016-08-16 14:03:01 -04:00
Andrey Petrov
f41ff5e0a1 releases: Add freebsd 2016-08-16 10:47:47 -04:00
Andrey Petrov
981376f018 /help: Improve help for /ignore and /theme 2016-08-16 10:19:47 -04:00
S Leibrock
635a21d754 README: Update --help output 2016-08-16 09:22:44 -04:00
Andrey Petrov
398cd75c5e logging: Add [RemoteAddr] prefix to connection-related messages 2016-08-13 16:22:43 -04:00
Andrey Petrov
1b7af5e559 chat/message/theme: Cleanup and refactor, tweak solarized. 2016-08-13 13:59:37 -04:00
Andrey Petrov
972bb86621 chat/message/theme: Tweak default colorscheme
Fewer grey names, lighter grey for system messages.
v1.4
2016-08-12 17:13:11 -04:00
Andrey Petrov
c69cefc873 logging: More information about why connections get dropped
Fixes #197 for now, maybe more later.
2016-08-12 16:46:08 -04:00
Andrey Petrov
cfa86b3e2e /motd: Fixed set message and actual motd coming out of order.
Fixes #165
2016-08-12 16:35:00 -04:00
Andrey Petrov
f6e022548c chat/message: Fix highlighting and BEL, fix race condition.
Fixes #169
2016-08-11 15:35:50 -04:00
Andrey Petrov
92d821387b chat/message/theme: Apply PM colors, add new themes to /help, cleanup.
Fixes #191.
2016-08-11 15:09:59 -04:00
S Leibrock
f870c5761d chat/message/theme: Two new themes, solarized and hacker (#196) 2016-08-08 13:23:51 -04:00
S Leibrock
ef2cec2758 chat/message/theme: Fixing zero division error for one color themes (#195) 2016-08-07 15:12:19 -04:00
Micheal Winger
91c62966fa /msg: Send SystemMsg confirmation with each PM 2016-08-06 23:56:24 -04:00
Dmitri Shuralyov
66adee6f9a /whois: Hide IP if user isn't admin; display client and time joined. (#192)
Resolves #170.
2016-08-06 18:20:34 -04:00
Andrey Petrov
f6de73d420 ratelimiter: Bump up to 16kb/min from 4kb/min 2016-08-06 16:41:19 -04:00
Jeric
a4671ac262 README: added SHA256 fingerprint (#182) 2016-08-04 10:21:10 -04:00
Andrey Petrov
15e14a0872 ratelimit: Increase ratelimit to avoid failing handshakes
Regarding #171
2016-08-03 20:01:07 -04:00
Andrey Petrov
c8661e6883 motd: Allow for reading the current motd when no additional args given.
Closes #155, merges #157

Squashed commit of the following:

commit bcb0810637c99223753629a2e55169b07ee9fe51
Author: Andrey Petrov <andrey.petrov@shazow.net>
Date:   Wed Aug 3 17:58:37 2016 -0400

    motd: Refactor inner conditions

commit ac28c8cb4e8dc2a0d23abe3dcf52b69175cde51b
Author: Aaron <aaron.ounn@gmail.com>
Date:   Tue Aug 2 09:38:36 2016 +0300

    Fix small issues with the help message

commit a80ae77e1d691a4ec7125be5441d4f6eea767a75
Author: Aaron <aaron.ounn@gmail.com>
Date:   Tue Aug 2 09:30:21 2016 +0300

    Print the motd if no parameters are passed

commit 2db1b3c123661cdbd622d5ba2ff81ede8cb8a951
Author: Aaron <aaron.ounn@gmail.com>
Date:   Tue Aug 2 09:29:41 2016 +0300

    Update the motd command's description
v1.3
2016-08-03 17:58:49 -04:00
Andrey Petrov
13ea34b912 Fixed autocomplete crashing bug (#166) 2016-08-03 17:42:53 -04:00
Andrey Petrov
a978f2ce00 set: Normalize to lowercase
Should fix #159
2016-08-03 15:23:39 -04:00
A. Campbell
a55b78ccdb Limit username length to 16 chars (#167) 2016-08-03 12:59:02 -04:00
Andrey Petrov
c4604fde94 Disabled autocomplete due to #166.
Also added mutex for user replyTo pointer, since that's being set by
both the host and user.
2016-08-03 12:19:33 -04:00
Andrey Petrov
1662ecd431 Fix travisci tests
Bind to localhost rather than all hosts.
2016-08-02 16:03:19 -04:00
Federico Ruggi
58e1cb60bd commands: /ignore, /unignore
#154
* Add `/ignore`/`/unignore` commands
* Move set to common package, use set for ignores
* `chat/set.go` is now `common/set.go`
* use `*IdSet` as type for ignored list for users
* remove `IsIgnoring` and `IgnoredNames` user functions, so to use directly `IdSet` methods
* refactor code accordingly
2016-08-01 11:19:12 -04:00
Andrey Petrov
2abe368022 style: Fix gofmt and vet complaints 2016-07-31 12:18:06 -04:00
Andrey Petrov
7848b62af7 README: Mention ARM6 build, no more docker v1.2 2016-07-25 12:25:04 -04:00
Andrey Petrov
385340af8a Fix testing in travisci. 2016-07-25 12:20:10 -04:00
Andrey Petrov
f0db74c874 terminal: Disconnect sooner and more reliably 2016-07-24 22:56:38 -04:00
Andrey Petrov
50d2be3a88 Fixed message buffer timeout 2016-07-24 16:17:02 -04:00
Andrey Petrov
3ba0c59341 Unflake tests, remove lock from chat/message.User 2016-07-24 16:17:02 -04:00
Andrey Petrov
e6f7dba34e Progress: Unchan user 2016-07-24 16:17:02 -04:00
Andrey Petrov
faa8ac5acd Build rasberrypi releases 2016-07-22 18:57:23 -04:00
Andrey Petrov
8b9ebbdb6b sshd: Add keepalive every 30s
Based on work by @prologic in #147
Fixes #89
2016-07-17 20:13:48 -04:00
Andrey Petrov
3a2ab9bc26 Verbose tests 2016-07-17 18:31:28 -04:00
Andrey Petrov
5566514636 ci: Remove Dockerfile, golint, update travisci to use tip 2016-07-17 18:11:00 -04:00