Andrey Petrov [Wed, 11 Nov 2020 20:44:24 +0000 (15:44 -0500)]
go mod update
Andrey Petrov [Thu, 29 Oct 2020 13:48:30 +0000 (09:48 -0400)]
Merge pull request #366 from Niwla23/dockerfiles
Add Dockerfile and docker-compose.yml
Alwin Lohrie [Wed, 28 Oct 2020 15:19:16 +0000 (16:19 +0100)]
Add Dockerfile and docker-compose.yml
Andrey Petrov [Mon, 3 Aug 2020 18:13:51 +0000 (14:13 -0400)]
main: /rename should not complain when symbol is set and name is unchanged
Andrey Petrov [Mon, 3 Aug 2020 17:57:11 +0000 (13:57 -0400)]
chat/message: Use user.ID() names for mono bot theme
Andrey Petrov [Mon, 3 Aug 2020 17:26:12 +0000 (13:26 -0400)]
/motd: Add reload functionality when msg is @
Andrey Petrov [Mon, 3 Aug 2020 16:34:43 +0000 (12:34 -0400)]
motd.txt: Sync up the latest motd
Andrey Petrov [Mon, 3 Aug 2020 16:32:03 +0000 (12:32 -0400)]
Update CODE_OF_CONDUCT.md
Andrey Petrov [Mon, 3 Aug 2020 15:51:56 +0000 (11:51 -0400)]
README: Add CoC link
Andrey Petrov [Mon, 3 Aug 2020 15:48:40 +0000 (11:48 -0400)]
Update CODE_OF_CONDUCT.md
Andrey Petrov [Mon, 3 Aug 2020 15:45:22 +0000 (11:45 -0400)]
Create CODE_OF_CONDUCT.md
Andrey Petrov [Mon, 3 Aug 2020 15:43:17 +0000 (11:43 -0400)]
Merge pull request #352 from shazow/sponsor-prefix
chat, main: Add /rename op command, optional symbol prefix
Andrey Petrov [Mon, 3 Aug 2020 15:41:19 +0000 (11:41 -0400)]
Merge branch 'master' into sponsor-prefix
Andrey Petrov [Mon, 3 Aug 2020 15:40:28 +0000 (11:40 -0400)]
Merge pull request #356 from shazow/focus-cmd
/focus: Add command to only show messages from focused users
Andrey Petrov [Mon, 3 Aug 2020 15:32:55 +0000 (11:32 -0400)]
chat: Add /focus command
Only show messages from focused users
Andrey Petrov [Mon, 3 Aug 2020 15:32:16 +0000 (11:32 -0400)]
set: Add Interface, ZeroValue helper
Andrey Petrov [Thu, 30 Jul 2020 17:10:41 +0000 (13:10 -0400)]
/whois: Add extra room info for admins
Will need to add room context to non-admins eventually too
Andrey Petrov [Thu, 30 Jul 2020 16:52:32 +0000 (12:52 -0400)]
chat/message: Set LastMsg during render of self public messages, fix sorting
Also fixed chat tests
Andrey Petrov [Thu, 30 Jul 2020 16:05:38 +0000 (12:05 -0400)]
chat: go fmt
Andrey Petrov [Thu, 30 Jul 2020 16:03:35 +0000 (12:03 -0400)]
Merge pull request #355 from pavelz/my_name_last_autocomplete
main: Autocomplete deprioritize own name
Andrey Petrov [Thu, 30 Jul 2020 16:02:07 +0000 (12:02 -0400)]
chat/message: Fix RecentActiveUsers sort order
Pavel Zaitsev [Mon, 27 Jul 2020 23:11:03 +0000 (19:11 -0400)]
updated tests, moved code closer to the caller.
* addded condition for zero time on lastMsg.
* removed extra paramter in NamePrefix
* moved code from NamePrefix to completeName
* removed extra parameter in tests calling to NamePrefix
Pavel Zaitsev [Fri, 24 Jul 2020 14:44:23 +0000 (10:44 -0400)]
update, to fix tests.
Pavel Zaitsev [Fri, 24 Jul 2020 14:16:29 +0000 (10:16 -0400)]
in autocomplete list moves your name to last item in the list of sorted current users
Andrey Petrov [Mon, 20 Jul 2020 16:27:34 +0000 (12:27 -0400)]
Merge pull request #353 from pavelz/show_admin_status
/whois: Show op status for ops
Pavel Zaitsev [Wed, 15 Jul 2020 04:32:53 +0000 (00:32 -0400)]
updated in line with comments in PR
* reduce change footprint to parameter list
* moved Op flag display to last line as to not break bots
Andrey Petrov [Thu, 16 Jul 2020 17:29:38 +0000 (13:29 -0400)]
Merge pull request #354 from lucash-diskkun/master2
chat: Sort /names output
Lucas Hourahine [Thu, 16 Jul 2020 17:25:14 +0000 (13:25 -0400)]
sorting nicks on /names and /list
Pavel Zaitsev [Wed, 8 Jul 2020 03:24:25 +0000 (23:24 -0400)]
now if both are ops it will be reflected in output of whois command
Andrey Petrov [Wed, 24 Jun 2020 17:53:24 +0000 (13:53 -0400)]
main: Add symbol support
Andrey Petrov [Wed, 24 Jun 2020 17:53:14 +0000 (13:53 -0400)]
chat: Use user.ID() instead of user.Name()
Andrey Petrov [Wed, 24 Jun 2020 16:36:02 +0000 (12:36 -0400)]
chat, main: Add /rename op command
Andrey Petrov [Fri, 1 May 2020 16:03:20 +0000 (12:03 -0400)]
Merge pull request #350 from shazow/shazow-patch-1
.github: Improve CI test step
Andrey Petrov [Fri, 1 May 2020 15:50:16 +0000 (11:50 -0400)]
.github: Improve CI test step
Andrey Petrov [Fri, 1 May 2020 15:49:42 +0000 (11:49 -0400)]
.github: Add github action for CI
Andrey Petrov [Fri, 1 May 2020 15:41:35 +0000 (11:41 -0400)]
chat: Fix ignore test, reduce flakeyness
Andrey Petrov [Fri, 1 May 2020 15:41:19 +0000 (11:41 -0400)]
chat: Clean up ignore comparisons
Abdelkader Bouadjadja [Thu, 30 Apr 2020 01:09:21 +0000 (05:09 +0400)]
Ignored people still show up when they send private `/msg`
Abdelkader Bouadjadja [Wed, 29 Apr 2020 20:34:40 +0000 (00:34 +0400)]
Fix test comment
Abdelkader Bouadjadja [Wed, 29 Apr 2020 20:28:06 +0000 (00:28 +0400)]
Ignored people still show up when they `/me` emote
Andrey Petrov [Mon, 20 Apr 2020 19:36:38 +0000 (15:36 -0400)]
Merge pull request #347 from shazow/fix-key-parse
main: Use new x/crypto/ssh key parsing helpers
Andrey Petrov [Mon, 20 Apr 2020 19:34:42 +0000 (15:34 -0400)]
main: Use x/crypto/ssh helpers for parsing passworded keys
Andrey Petrov [Mon, 20 Apr 2020 19:34:28 +0000 (15:34 -0400)]
go mod: Update, mostly for x/crypto
Andrey Petrov [Fri, 17 Apr 2020 16:28:27 +0000 (12:28 -0400)]
Merge pull request #343 from shazow/term-bot-nopty
sshd: Terminal.Term() fallback to Env TERM
Andrey Petrov [Fri, 17 Apr 2020 16:22:31 +0000 (12:22 -0400)]
sshd: Terminal.Term() fallback to Env TERM
Andrey Petrov [Thu, 16 Apr 2020 16:56:15 +0000 (12:56 -0400)]
main: Sort flags, unhide --unsafe-passphrase for now
Andrey Petrov [Thu, 16 Apr 2020 16:46:32 +0000 (12:46 -0400)]
Merge pull request #342 from shazow/unsafe-password
main: Add --unsafe-passphrase
Andrey Petrov [Thu, 16 Apr 2020 16:44:20 +0000 (12:44 -0400)]
main: Add extraHelp
Andrey Petrov [Thu, 16 Apr 2020 16:32:12 +0000 (12:32 -0400)]
main: Clarify passphrase shenanigans
Andrey Petrov [Thu, 16 Apr 2020 15:30:13 +0000 (11:30 -0400)]
main: Force passphrase auth even with pubkey auth
Andrey Petrov [Thu, 16 Apr 2020 15:07:06 +0000 (11:07 -0400)]
Merge pull request #341 from shazow/term-bot
TERM=bot mode
Andrey Petrov [Wed, 15 Apr 2020 18:19:28 +0000 (14:19 -0400)]
main: Add --unsafe-passphrase
Andrey Petrov [Tue, 14 Apr 2020 15:13:33 +0000 (11:13 -0400)]
Create FUNDING.yml
Andrey Petrov [Mon, 13 Apr 2020 15:33:12 +0000 (11:33 -0400)]
main: Skip prompt, highlight, autocomplete in bot mode
Andrey Petrov [Mon, 13 Apr 2020 15:32:38 +0000 (11:32 -0400)]
sshd: Remove temporary "Connecting..." prompt
Andrey Petrov [Mon, 13 Apr 2020 15:23:11 +0000 (11:23 -0400)]
main: Add TERM=bot handling for Host
Andrey Petrov [Mon, 13 Apr 2020 15:22:53 +0000 (11:22 -0400)]
chat/message: Add UserConfig.Echo
Andrey Petrov [Mon, 13 Apr 2020 14:55:41 +0000 (10:55 -0400)]
chat: Disable broken TestIgnore test
Andrey Petrov [Sun, 12 Apr 2020 17:04:53 +0000 (13:04 -0400)]
main, sshd: Add comments and TODOs
Chris Miller [Fri, 10 Jan 2020 01:18:32 +0000 (01:18 +0000)]
Get the term value
Chris Miller [Fri, 10 Jan 2020 00:52:12 +0000 (00:52 +0000)]
Apply env vars SSHCHAT_TIMESTAMP and SSHCHAT_THEME
Chris Miller [Fri, 10 Jan 2020 00:37:51 +0000 (00:37 +0000)]
Wait for shell
Andrey Petrov [Sun, 12 Apr 2020 16:36:07 +0000 (12:36 -0400)]
Merge pull request #309 from shazow/req-env
sshd: Add Terminal.Env()
Andrey Petrov [Thu, 2 Apr 2020 00:40:56 +0000 (20:40 -0400)]
sshd/terminal: gofmt
Andrey Petrov [Thu, 2 Apr 2020 00:37:43 +0000 (20:37 -0400)]
Merge pull request #339 from yumaokao/cjk-fullwidth
sshd/terminal: Add fullwidth check for CJK in visualLength
yumaokao [Sat, 21 Mar 2020 11:57:39 +0000 (19:57 +0800)]
sshd/terminal: Add fullwidth check for CJK in visualLength
Andrey Petrov [Sun, 8 Mar 2020 22:46:26 +0000 (18:46 -0400)]
Merge pull request #338 from 42wim/f-imports
Remove import comment. Fixes #337
Wim [Sun, 8 Mar 2020 22:32:02 +0000 (23:32 +0100)]
Remove import comment. Fixes #337
Fix issue with go1.13+
See https://github.com/golang/go/issues/37747
Andrey Petrov [Fri, 10 Jan 2020 14:25:59 +0000 (09:25 -0500)]
sshd: Fix env error check
Co-Authored-By: Chris Miller <millerlogic@users.noreply.github.com>
Andrey Petrov [Tue, 7 Jan 2020 01:14:32 +0000 (20:14 -0500)]
Makefile: Fix binary ldflags missing
Andrey Petrov [Tue, 7 Jan 2020 01:09:34 +0000 (20:09 -0500)]
sshd: Apply read deadline to connection handler (#331)
This should prevent connections from stalling out and eating up file descriptors without ever joining the chat.
Akshay Shekher [Sun, 5 Jan 2020 15:51:10 +0000 (07:51 -0800)]
sshd/terminal: Add more readline-compatible navigation
- Alt-F: jump forward by a word
- Alt-B: jump backword by a word
- Ctrl-F: jump forward by a character
- Ctrl-B: jump backword by a character
Juan Pablo Ossa Zapata [Mon, 4 Nov 2019 16:42:10 +0000 (11:42 -0500)]
sshd/terminal: Fix import comment
Andrey Petrov [Thu, 11 Jul 2019 19:16:24 +0000 (15:16 -0400)]
Merge pull request #317 from tyrelsouza/master
Best domain Ever.
Tyrel Souza [Thu, 11 Jul 2019 18:44:21 +0000 (14:44 -0400)]
better domain
Andrey Petrov [Sun, 21 Apr 2019 20:48:12 +0000 (16:48 -0400)]
sshd/terminal: Undo emoji offset bugfix
Introduced another bug: #316
Andrey Petrov [Wed, 17 Apr 2019 20:57:30 +0000 (16:57 -0400)]
sshd: Close connection on failed handshake
Hopefully fixed #315
Andrey Petrov [Fri, 29 Mar 2019 21:26:18 +0000 (17:26 -0400)]
sshchat: term.Write on empty lines to fix prompt reset bug
Andrey Petrov [Fri, 29 Mar 2019 21:25:51 +0000 (17:25 -0400)]
sshd/terminal: Use clearline and clearscreen codes for enterClear
Fixes emoji offset bug
Andrey Petrov [Tue, 26 Mar 2019 20:02:45 +0000 (16:02 -0400)]
sshd/terminal: Import test from upstream patch
Andrey Petrov [Fri, 29 Mar 2019 18:15:39 +0000 (14:15 -0400)]
Merge pull request #311 from tyrelsouza/patch-1
Update README to match current --help
Tyrel Souza [Fri, 29 Mar 2019 18:14:57 +0000 (14:14 -0400)]
Update README to match current --help
Andrey Petrov [Mon, 25 Mar 2019 14:18:27 +0000 (10:18 -0400)]
README: Are you sure you don't just want the binary release?
Andrey Petrov [Mon, 25 Mar 2019 14:16:12 +0000 (10:16 -0400)]
README: Badge color
Andrey Petrov [Mon, 25 Mar 2019 14:13:54 +0000 (10:13 -0400)]
README: Badges
Add downloads badge
Andrey Petrov [Sun, 24 Mar 2019 22:59:16 +0000 (18:59 -0400)]
chat/message: Handle nil theme (mono)
Fixes #310
Andrey Petrov [Sun, 24 Mar 2019 17:41:33 +0000 (13:41 -0400)]
sshd: Add Terminal.Env()
Andrey Petrov [Fri, 22 Mar 2019 20:04:59 +0000 (16:04 -0400)]
chat/message: Fix tests
Andrey Petrov [Fri, 22 Mar 2019 19:31:17 +0000 (15:31 -0400)]
sshd/terminal: Clear screen below on enterClear
Andrey Petrov [Fri, 22 Mar 2019 19:27:00 +0000 (15:27 -0400)]
/timestamp, /theme: Fix rendering, add tests
Andrey Petrov [Thu, 21 Mar 2019 22:21:29 +0000 (18:21 -0400)]
Merge pull request #308 from shazow/timestamp-both
/timestamp: time and datetime modes
Andrey Petrov [Thu, 21 Mar 2019 21:12:32 +0000 (17:12 -0400)]
/timestamp: time and datetime modes
Andrey Petrov [Thu, 21 Mar 2019 19:40:28 +0000 (15:40 -0400)]
Merge pull request #306 from shazow/fork-terminal
Fork golang.org/x/crypto/ssh/terminal, remove echo override hack
Andrey Petrov [Tue, 19 Mar 2019 16:11:56 +0000 (12:11 -0400)]
go mod tidy
Andrey Petrov [Thu, 21 Mar 2019 19:28:59 +0000 (15:28 -0400)]
sshchat, host: Switch to new terminal clearline api
Andrey Petrov [Thu, 21 Mar 2019 19:23:55 +0000 (15:23 -0400)]
sshd/terminal: Switch terminal.ClearLine to termina.SetEnterClear(...)
Andrey Petrov [Thu, 21 Mar 2019 17:39:33 +0000 (13:39 -0400)]
sshchat: Fix tests to use new rendering format.
Andrey Petrov [Tue, 19 Mar 2019 19:05:13 +0000 (15:05 -0400)]
sshd/terminal: Use N-moves in Terminal.move when possible
Andrey Petrov [Tue, 19 Mar 2019 16:09:54 +0000 (12:09 -0400)]
sshd/terminal: Fix mid-line enter and reflow bugs
Andrey Petrov [Mon, 18 Mar 2019 19:36:21 +0000 (15:36 -0400)]
legal: Put sshd/terminal notice in root