ssh-chat
7 years agorefactor: User.Config -> User.Config() and User.SetConfig(UserConfig)
Andrey Petrov [Mon, 29 Aug 2016 14:11:39 +0000 (10:11 -0400)]
refactor: User.Config -> User.Config() and User.SetConfig(UserConfig)

7 years agorefactor: User.SetColorIdx -> User.setColorIdx, preparing to abstract user
Andrey Petrov [Mon, 29 Aug 2016 13:58:17 +0000 (09:58 -0400)]
refactor: User.SetColorIdx -> User.setColorIdx, preparing to abstract user

7 years agochat/message: Remove User.Ignore(...) and User.Unignore(...)
Andrey Petrov [Sat, 27 Aug 2016 19:15:07 +0000 (15:15 -0400)]
chat/message: Remove User.Ignore(...) and User.Unignore(...)

Also changes some messaging

7 years agorefactor: Id -> ID
Andrey Petrov [Wed, 24 Aug 2016 17:47:22 +0000 (13:47 -0400)]
refactor: Id -> ID

7 years agoset: Switch to a common set implementation
Andrey Petrov [Wed, 24 Aug 2016 17:30:19 +0000 (13:30 -0400)]
set: Switch to a common set implementation

7 years agoset: Improve coverage and cleanup. Switch sshchat package to use it.
Andrey Petrov [Mon, 15 Aug 2016 01:03:16 +0000 (21:03 -0400)]
set: Improve coverage and cleanup. Switch sshchat package to use it.

7 years agoset: Generalized Set type
Andrey Petrov [Sun, 14 Aug 2016 21:13:48 +0000 (17:13 -0400)]
set: Generalized Set type

7 years agotests: Fix flake in TestHostNameCollision
Andrey Petrov [Wed, 24 Aug 2016 17:53:59 +0000 (13:53 -0400)]
tests: Fix flake in TestHostNameCollision

7 years ago/uptime: Format output to be more human-friendly
Greg Wedow [Sun, 21 Aug 2016 16:20:53 +0000 (12:20 -0400)]
/uptime: Format output to be more human-friendly

7 years agomotd: Don't trim surrounding whitespace from the --motd file input.
Greg Wedow [Sun, 21 Aug 2016 16:17:30 +0000 (12:17 -0400)]
motd: Don't trim surrounding whitespace from the --motd file input.

7 years agoMakefile: Support building from source tarball v1.5
Andrey Petrov [Wed, 17 Aug 2016 17:34:06 +0000 (13:34 -0400)]
Makefile: Support building from source tarball

Fixes #168

7 years agotravisci: Enable go 1.7
Andrey Petrov [Tue, 16 Aug 2016 18:20:48 +0000 (14:20 -0400)]
travisci: Enable go 1.7

7 years ago/reply: Enabled again.
Andrey Petrov [Tue, 16 Aug 2016 18:20:32 +0000 (14:20 -0400)]
/reply: Enabled again.

Fixes #202

7 years agoREADME: Add FAQ link
Steven L [Tue, 16 Aug 2016 18:03:01 +0000 (14:03 -0400)]
README: Add FAQ link

7 years agoreleases: Add freebsd
Andrey Petrov [Tue, 16 Aug 2016 14:47:43 +0000 (10:47 -0400)]
releases: Add freebsd

7 years ago/help: Improve help for /ignore and /theme
Andrey Petrov [Tue, 16 Aug 2016 14:18:27 +0000 (10:18 -0400)]
/help: Improve help for /ignore and /theme

7 years agoREADME: Update --help output
S Leibrock [Tue, 16 Aug 2016 13:22:44 +0000 (09:22 -0400)]
README: Update --help output

7 years agologging: Add [RemoteAddr] prefix to connection-related messages
Andrey Petrov [Sat, 13 Aug 2016 20:22:43 +0000 (16:22 -0400)]
logging: Add [RemoteAddr] prefix to connection-related messages

7 years agochat/message/theme: Cleanup and refactor, tweak solarized.
Andrey Petrov [Sat, 13 Aug 2016 17:59:37 +0000 (13:59 -0400)]
chat/message/theme: Cleanup and refactor, tweak solarized.

7 years agochat/message/theme: Tweak default colorscheme v1.4
Andrey Petrov [Fri, 12 Aug 2016 21:13:11 +0000 (17:13 -0400)]
chat/message/theme: Tweak default colorscheme

Fewer grey names, lighter grey for system messages.

7 years agologging: More information about why connections get dropped
Andrey Petrov [Fri, 12 Aug 2016 20:46:08 +0000 (16:46 -0400)]
logging: More information about why connections get dropped

Fixes #197 for now, maybe more later.

7 years ago/motd: Fixed set message and actual motd coming out of order.
Andrey Petrov [Fri, 12 Aug 2016 20:34:42 +0000 (16:34 -0400)]
/motd: Fixed set message and actual motd coming out of order.

Fixes #165

7 years agochat/message: Fix highlighting and BEL, fix race condition.
Andrey Petrov [Thu, 11 Aug 2016 19:35:50 +0000 (15:35 -0400)]
chat/message: Fix highlighting and BEL, fix race condition.

Fixes #169

7 years agochat/message/theme: Apply PM colors, add new themes to /help, cleanup.
Andrey Petrov [Thu, 11 Aug 2016 19:09:13 +0000 (15:09 -0400)]
chat/message/theme: Apply PM colors, add new themes to /help, cleanup.

Fixes #191.

7 years agochat/message/theme: Two new themes, solarized and hacker (#196)
S Leibrock [Mon, 8 Aug 2016 17:23:51 +0000 (13:23 -0400)]
chat/message/theme: Two new themes, solarized and hacker (#196)

7 years agochat/message/theme: Fixing zero division error for one color themes (#195)
S Leibrock [Sun, 7 Aug 2016 19:12:19 +0000 (15:12 -0400)]
chat/message/theme: Fixing zero division error for one color themes (#195)

7 years ago/msg: Send SystemMsg confirmation with each PM
Micheal Winger [Sun, 7 Aug 2016 03:56:24 +0000 (23:56 -0400)]
/msg: Send SystemMsg confirmation with each PM

7 years ago/whois: Hide IP if user isn't admin; display client and time joined. (#192)
Dmitri Shuralyov [Sat, 6 Aug 2016 22:20:34 +0000 (15:20 -0700)]
/whois: Hide IP if user isn't admin; display client and time joined. (#192)

Resolves #170.

7 years agoratelimiter: Bump up to 16kb/min from 4kb/min
Andrey Petrov [Sat, 6 Aug 2016 20:40:27 +0000 (16:40 -0400)]
ratelimiter: Bump up to 16kb/min from 4kb/min

7 years agoREADME: added SHA256 fingerprint (#182)
Jeric [Thu, 4 Aug 2016 14:21:10 +0000 (22:21 +0800)]
README: added SHA256 fingerprint (#182)

7 years agoratelimit: Increase ratelimit to avoid failing handshakes
Andrey Petrov [Thu, 4 Aug 2016 00:01:07 +0000 (20:01 -0400)]
ratelimit: Increase ratelimit to avoid failing handshakes

Regarding #171

7 years agomotd: Allow for reading the current motd when no additional args given. v1.3
Andrey Petrov [Wed, 3 Aug 2016 21:58:49 +0000 (17:58 -0400)]
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

7 years agoFixed autocomplete crashing bug (#166)
Andrey Petrov [Wed, 3 Aug 2016 21:42:53 +0000 (17:42 -0400)]
Fixed autocomplete crashing bug (#166)

7 years agoset: Normalize to lowercase
Andrey Petrov [Wed, 3 Aug 2016 19:23:39 +0000 (15:23 -0400)]
set: Normalize to lowercase

Should fix #159

7 years agoLimit username length to 16 chars (#167)
A. Campbell [Wed, 3 Aug 2016 16:59:02 +0000 (12:59 -0400)]
Limit username length to 16 chars (#167)

7 years agoDisabled autocomplete due to #166.
Andrey Petrov [Wed, 3 Aug 2016 16:18:13 +0000 (12:18 -0400)]
Disabled autocomplete due to #166.

Also added mutex for user replyTo pointer, since that's being set by
both the host and user.

7 years agoFix travisci tests
Andrey Petrov [Tue, 2 Aug 2016 20:03:19 +0000 (16:03 -0400)]
Fix travisci tests

Bind to localhost rather than all hosts.

7 years agocommands: /ignore, /unignore
Federico Ruggi [Mon, 1 Aug 2016 15:19:12 +0000 (17:19 +0200)]
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

7 years agostyle: Fix gofmt and vet complaints
Andrey Petrov [Sun, 31 Jul 2016 16:18:06 +0000 (12:18 -0400)]
style: Fix gofmt and vet complaints

7 years agoREADME: Mention ARM6 build, no more docker v1.2
Andrey Petrov [Mon, 25 Jul 2016 16:25:04 +0000 (12:25 -0400)]
README: Mention ARM6 build, no more docker

7 years agoFix testing in travisci.
Andrey Petrov [Mon, 25 Jul 2016 16:20:10 +0000 (12:20 -0400)]
Fix testing in travisci.

7 years agoterminal: Disconnect sooner and more reliably
Andrey Petrov [Mon, 25 Jul 2016 02:56:38 +0000 (22:56 -0400)]
terminal: Disconnect sooner and more reliably

7 years agoFixed message buffer timeout
Andrey Petrov [Sun, 24 Jul 2016 20:16:12 +0000 (16:16 -0400)]
Fixed message buffer timeout

7 years agoUnflake tests, remove lock from chat/message.User
Andrey Petrov [Sun, 24 Jul 2016 19:34:56 +0000 (15:34 -0400)]
Unflake tests, remove lock from chat/message.User

7 years agoProgress: Unchan user
Andrey Petrov [Mon, 18 Jul 2016 22:05:29 +0000 (18:05 -0400)]
Progress: Unchan user

7 years agoBuild rasberrypi releases
Andrey Petrov [Fri, 22 Jul 2016 22:57:23 +0000 (18:57 -0400)]
Build rasberrypi releases

7 years agosshd: Add keepalive every 30s
Andrey Petrov [Mon, 18 Jul 2016 00:13:48 +0000 (20:13 -0400)]
sshd: Add keepalive every 30s

Based on work by @prologic in #147
Fixes #89

7 years agoVerbose tests
Andrey Petrov [Sun, 17 Jul 2016 22:31:28 +0000 (18:31 -0400)]
Verbose tests

7 years agoci: Remove Dockerfile, golint, update travisci to use tip
Andrey Petrov [Sun, 17 Jul 2016 22:11:00 +0000 (18:11 -0400)]
ci: Remove Dockerfile, golint, update travisci to use tip

7 years agoREADME: Release link
Andrey Petrov [Sun, 17 Jul 2016 22:07:38 +0000 (18:07 -0400)]
README: Release link

7 years agoFix release script v1.1
Andrey Petrov [Sun, 17 Jul 2016 21:58:57 +0000 (17:58 -0400)]
Fix release script

7 years agosshd.SSHListener: Use HandlerFunc instead of terminal channel feed
Andrey Petrov [Sun, 17 Jul 2016 20:49:14 +0000 (16:49 -0400)]
sshd.SSHListener: Use HandlerFunc instead of terminal channel feed

7 years agochat/message: Consistent value receivers
Andrey Petrov [Sun, 17 Jul 2016 18:51:03 +0000 (14:51 -0400)]
chat/message: Consistent value receivers

7 years agoUse pointer receiver for all of Host
Andrey Petrov [Fri, 15 Jul 2016 22:15:07 +0000 (18:15 -0400)]
Use pointer receiver for all of Host

7 years agoFixed /kick command to actually close target
Andrey Petrov [Fri, 15 Jul 2016 20:22:25 +0000 (16:22 -0400)]
Fixed /kick command to actually close target

7 years agoProgress: Trying to fix more deadlocks, failing.
Andrey Petrov [Tue, 12 Jul 2016 22:24:02 +0000 (18:24 -0400)]
Progress: Trying to fix more deadlocks, failing.

7 years agochat: Fix race conditions.
Andrey Petrov [Tue, 12 Jul 2016 15:09:57 +0000 (11:09 -0400)]
chat: Fix race conditions.

7 years agoFix more silly race conditions in tests
Andrey Petrov [Mon, 11 Jul 2016 17:02:34 +0000 (13:02 -0400)]
Fix more silly race conditions in tests

7 years agotests: Fix race condition in TestHostNameCollision
Andrey Petrov [Mon, 11 Jul 2016 16:18:57 +0000 (12:18 -0400)]
tests: Fix race condition in TestHostNameCollision

7 years agotests: Fix flakey collision test
Andrey Petrov [Mon, 11 Jul 2016 16:12:23 +0000 (12:12 -0400)]
tests: Fix flakey collision test

7 years agoBuild/release script and fix version annotation.
Andrey Petrov [Sun, 10 Jul 2016 21:57:39 +0000 (17:57 -0400)]
Build/release script and fix version annotation.

7 years agogit-freeze
Andrey Petrov [Sat, 9 Jul 2016 18:10:28 +0000 (14:10 -0400)]
git-freeze

7 years agoUpdate Makefile to new ldflags syntax
Andrey Petrov [Sat, 9 Jul 2016 17:57:32 +0000 (13:57 -0400)]
Update Makefile to new ldflags syntax

8 years agoMerge pull request #134 from epitron/master
Andrey Petrov [Sat, 13 Feb 2016 19:36:21 +0000 (11:36 -0800)]
Merge pull request #134 from epitron/master

Updated the URL for the 'gopass' dependency

8 years agoUpdated the URL for the 'gopass' dependency
Chris Gahan [Sat, 13 Feb 2016 11:19:11 +0000 (06:19 -0500)]
Updated the URL for the 'gopass' dependency

8 years agoChanged my mind. v1 v1.0
Andrey Petrov [Sat, 22 Aug 2015 19:16:01 +0000 (12:16 -0700)]
Changed my mind.

8 years agoUpdate quickstart go get instructions
Andrey Petrov [Thu, 20 Aug 2015 18:30:28 +0000 (11:30 -0700)]
Update quickstart go get instructions

8 years agoMerge pull request #131 from fjarlq/master
Andrey Petrov [Thu, 20 Aug 2015 18:20:56 +0000 (11:20 -0700)]
Merge pull request #131 from fjarlq/master

Clarify README.md; fix `go vet` nitpicks; fix `make deps` for CI tests; fix `make build`

8 years agoHave $(BINARY) depend on the `deps` target
Matt Day [Thu, 20 Aug 2015 12:04:06 +0000 (06:04 -0600)]
Have $(BINARY) depend on the `deps` target

This fixes `make build` on systems that haven't downloaded the
dependencies yet.

8 years ago`make deps` should be recursive
Matt Day [Thu, 20 Aug 2015 10:42:29 +0000 (04:42 -0600)]
`make deps` should be recursive

That way it gets the packages needed by `cmd/ssh-chat/...`

8 years agoFix `go vet` nitpicks.
Matt Day [Thu, 20 Aug 2015 10:28:52 +0000 (04:28 -0600)]
Fix `go vet` nitpicks.

Fixes #130:
* pass by reference into AllowAnonymous
* check return value of From() rather than value of From function

8 years agoSpecify recursive `go get`
Matt Day [Thu, 20 Aug 2015 10:27:40 +0000 (04:27 -0600)]
Specify recursive `go get`

Fixes #129.
Tells `go get` to fetch the packages needed by cmd/ssh-chat/...

9 years agoDon't explode when autocompleting nothing.
Andrey Petrov [Tue, 10 Feb 2015 20:04:19 +0000 (12:04 -0800)]
Don't explode when autocompleting nothing.

Fixes #126.

9 years agoMerge pull request #123 from vectorijk/patch-1
Andrey Petrov [Sun, 1 Feb 2015 02:44:38 +0000 (18:44 -0800)]
Merge pull request #123 from vectorijk/patch-1

 Add this project to GoDoc.

9 years ago Add this project to GoDoc
Kai Jiang [Sun, 1 Feb 2015 01:25:03 +0000 (17:25 -0800)]
 Add this project to GoDoc

Documentation.

9 years agoMerge pull request #122 from shazow/ratelimit-fix
Andrey Petrov [Thu, 29 Jan 2015 16:43:07 +0000 (08:43 -0800)]
Merge pull request #122 from shazow/ratelimit-fix

More forgiving connection limiter.

9 years agoMore forgiving connection limiter.
Andrey Petrov [Thu, 29 Jan 2015 05:11:59 +0000 (23:11 -0600)]
More forgiving connection limiter.

9 years agoMerge pull request #121 from shazow/sshchat-package
Andrey Petrov [Fri, 23 Jan 2015 21:03:05 +0000 (15:03 -0600)]
Merge pull request #121 from shazow/sshchat-package

Root sshchat package, main moved into cmd/ssh-chat/.

9 years agoalvin/ssh-chat warning
Andrey Petrov [Fri, 23 Jan 2015 20:28:42 +0000 (14:28 -0600)]
alvin/ssh-chat warning

9 years agoRoot sshchat package, main moved into cmd/ssh-chat/.
Andrey Petrov [Wed, 21 Jan 2015 19:47:59 +0000 (11:47 -0800)]
Root sshchat package, main moved into cmd/ssh-chat/.

9 years agoMerge pull request #119 from shazow/message-package
Andrey Petrov [Wed, 21 Jan 2015 00:54:46 +0000 (16:54 -0800)]
Merge pull request #119 from shazow/message-package

Create chat/message package

9 years agoMake Set private.
Andrey Petrov [Wed, 21 Jan 2015 00:39:07 +0000 (16:39 -0800)]
Make Set private.

9 years agossh-chat/chat/{message,user,theme,history} -> ssh-chat/chat/message
Andrey Petrov [Tue, 20 Jan 2015 23:57:01 +0000 (15:57 -0800)]
ssh-chat/chat/{message,user,theme,history} -> ssh-chat/chat/message

9 years agoDisable golint travisci failure for now.
Andrey Petrov [Wed, 21 Jan 2015 00:31:49 +0000 (16:31 -0800)]
Disable golint travisci failure for now.

9 years agoMerge branch 'refactor'
Andrey Petrov [Tue, 20 Jan 2015 22:27:24 +0000 (14:27 -0800)]
Merge branch 'refactor'

9 years ago/version, /uptime
Andrey Petrov [Tue, 20 Jan 2015 22:23:37 +0000 (14:23 -0800)]
/version, /uptime

9 years agoSanitize names on join and /nick.
Andrey Petrov [Tue, 20 Jan 2015 07:15:27 +0000 (23:15 -0800)]
Sanitize names on join and /nick.

9 years ago/ban and /op now support durations, also all other auth things in the api.
Andrey Petrov [Tue, 20 Jan 2015 03:16:37 +0000 (19:16 -0800)]
/ban and /op now support durations, also all other auth things in the api.

9 years ago--log file with timestamps
Andrey Petrov [Mon, 19 Jan 2015 06:05:49 +0000 (22:05 -0800)]
--log file with timestamps

9 years agoRename fix.
Andrey Petrov [Mon, 19 Jan 2015 04:16:08 +0000 (20:16 -0800)]
Rename fix.

9 years ago/slap
Andrey Petrov [Mon, 19 Jan 2015 04:07:21 +0000 (20:07 -0800)]
/slap

9 years ago/op with pubkey.
Andrey Petrov [Mon, 19 Jan 2015 04:03:08 +0000 (20:03 -0800)]
/op with pubkey.

9 years ago/motd
Andrey Petrov [Mon, 19 Jan 2015 03:55:01 +0000 (19:55 -0800)]
/motd

9 years agoColorize Sys/Announce messages.
Andrey Petrov [Mon, 19 Jan 2015 03:27:49 +0000 (19:27 -0800)]
Colorize Sys/Announce messages.

9 years agoMessage rate limiting, input length, and ignore empty lines.
Andrey Petrov [Mon, 19 Jan 2015 03:11:35 +0000 (19:11 -0800)]
Message rate limiting, input length, and ignore empty lines.

9 years agoHistory backfill, also tests pass.
Andrey Petrov [Mon, 19 Jan 2015 02:55:47 +0000 (18:55 -0800)]
History backfill, also tests pass.

9 years ago/reply command with autocomplete.
Andrey Petrov [Mon, 19 Jan 2015 02:11:30 +0000 (18:11 -0800)]
/reply command with autocomplete.

9 years agoAutocomplete commands.
Andrey Petrov [Mon, 19 Jan 2015 01:53:29 +0000 (17:53 -0800)]
Autocomplete commands.

9 years agoBEL
Andrey Petrov [Sat, 17 Jan 2015 23:56:29 +0000 (15:56 -0800)]
BEL

9 years agochat.Color->chat.Style, highlighting works.
Andrey Petrov [Sat, 17 Jan 2015 21:26:26 +0000 (13:26 -0800)]
chat.Color->chat.Style, highlighting works.