Commit Graph

466 Commits

Author SHA1 Message Date
Andrey Petrov 80ddf1f43a
Merge pull request #338 from 42wim/f-imports
Remove import comment. Fixes #337
2020-03-08 18:46:26 -04:00
Wim d8f9bc9006 Remove import comment. Fixes #337
Fix issue with go1.13+
See https://github.com/golang/go/issues/37747
2020-03-08 23:32:06 +01:00
Andrey Petrov d8e68d57bc Makefile: Fix binary ldflags missing 2020-01-06 20:14:32 -05:00
Andrey Petrov 5af617f3b9
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.
2020-01-06 20:09:34 -05:00
Akshay Shekher 1b2a3e97a0 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
2020-01-05 10:51:10 -05:00
Juan Pablo Ossa Zapata 0a122be81e sshd/terminal: Fix import comment 2019-11-04 11:42:10 -05:00
Andrey Petrov 413cba485e
Merge pull request #317 from tyrelsouza/master
Best domain Ever.
2019-07-11 15:16:24 -04:00
Tyrel Souza 50ca8b043a
better domain 2019-07-11 14:44:21 -04:00
Andrey Petrov 3e37ebf85a sshd/terminal: Undo emoji offset bugfix
Introduced another bug: #316
2019-04-21 16:48:12 -04:00
Andrey Petrov 5949f9792f sshd: Close connection on failed handshake
Hopefully fixed #315
2019-04-17 16:57:30 -04:00
Andrey Petrov 67163a93a8 sshchat: term.Write on empty lines to fix prompt reset bug 2019-03-29 17:26:23 -04:00
Andrey Petrov 479a391d55 sshd/terminal: Use clearline and clearscreen codes for enterClear
Fixes emoji offset bug
2019-03-29 17:26:23 -04:00
Andrey Petrov c9b58a80fa sshd/terminal: Import test from upstream patch 2019-03-29 17:26:23 -04:00
Andrey Petrov 91c6e55432
Merge pull request #311 from tyrelsouza/patch-1
Update README to match current --help
2019-03-29 14:15:39 -04:00
Tyrel Souza 60c1fe4220
Update README to match current --help 2019-03-29 14:14:57 -04:00
Andrey Petrov 290ca46577
README: Are you sure you don't just want the binary release? 2019-03-25 10:18:27 -04:00
Andrey Petrov 40d17570b9
README: Badge color 2019-03-25 10:16:12 -04:00
Andrey Petrov a61b9a4a5c
README: Badges
Add downloads badge
2019-03-25 10:13:54 -04:00
Andrey Petrov 5057b891c0 chat/message: Handle nil theme (mono)
Fixes #310
2019-03-24 18:59:33 -04:00
Andrey Petrov 338ded7a4e chat/message: Fix tests 2019-03-22 16:04:59 -04:00
Andrey Petrov 87024f3ded sshd/terminal: Clear screen below on enterClear 2019-03-22 15:31:17 -04:00
Andrey Petrov c058f72fe4 /timestamp, /theme: Fix rendering, add tests 2019-03-22 15:27:00 -04:00
Andrey Petrov d72aaf6bae
Merge pull request #308 from shazow/timestamp-both
/timestamp: time and datetime modes
2019-03-21 18:21:29 -04:00
Andrey Petrov c5cc4b0594 /timestamp: time and datetime modes 2019-03-21 17:12:32 -04:00
Andrey Petrov ee8d60ec00
Merge pull request #306 from shazow/fork-terminal
Fork golang.org/x/crypto/ssh/terminal, remove echo override hack
2019-03-21 15:40:28 -04:00
Andrey Petrov 69c496424e go mod tidy 2019-03-21 15:33:18 -04:00
Andrey Petrov 6acb0bf809 sshchat, host: Switch to new terminal clearline api 2019-03-21 15:33:18 -04:00
Andrey Petrov b4ba8226c6 sshd/terminal: Switch terminal.ClearLine to termina.SetEnterClear(...) 2019-03-21 15:33:18 -04:00
Andrey Petrov 9d2230eaff sshchat: Fix tests to use new rendering format. 2019-03-21 15:33:18 -04:00
Andrey Petrov 418c991677 sshd/terminal: Use N-moves in Terminal.move when possible 2019-03-21 15:33:18 -04:00
Andrey Petrov 8b710da728 sshd/terminal: Fix mid-line enter and reflow bugs 2019-03-19 12:09:54 -04:00
Andrey Petrov 4240130978 legal: Put sshd/terminal notice in root 2019-03-18 15:36:21 -04:00
Andrey Petrov 8653f0a730 sshchat: Replace terminal echo hack with our forked terminal 2019-03-18 10:08:39 -04:00
Andrey Petrov 1ba36b785c sshd/terminal: Add Terminal.ClearLine option 2019-03-18 10:08:39 -04:00
Andrey Petrov 596d41ff29 sshd/terminal: Add original LICENSE 2019-03-18 10:08:39 -04:00
Andrey Petrov aecd8c66c3 sshd/terminal: Import fork of x/crypto/ssh 2019-03-18 10:08:39 -04:00
Andrey Petrov 2089eda486 chat: Fix runtime bug with uninitialized strings builder 2019-03-18 10:08:12 -04:00
Andrey Petrov b8fb704c8f sshchat: Fix empty messages borking rendering 2019-03-17 16:10:16 -04:00
Andrey Petrov 5ff61f0a0f /timestamp: Remove timezone by default for now 2019-03-17 16:05:38 -04:00
Andrey Petrov a90574126e /timestamp: Switch TZINFO with UTC offset 2019-03-17 16:00:48 -04:00
Andrey Petrov 078fbbe828 chat, internal/humantime: Tweak departure message 2019-03-17 15:01:41 -04:00
Andrey Petrov fa516ba085
Merge pull request #304 from shazow/autocomplete-sort
chat: Sort NamesPrefix by recently active
2019-03-17 14:42:04 -04:00
Andrey Petrov 1c44c714e6 chat: Sort NamesPrefix by recently active 2019-03-17 14:41:03 -04:00
Andrey Petrov c02b6390d2
/timestamp now prefixes each line with a timestamp
Freakin' Timestamps On Every Freakin' Line
2019-03-17 14:05:22 -04:00
Andrey Petrov 9c3db55c83 sshchat: Echo command messages with the new timestamp code. 2019-03-17 13:50:01 -04:00
Andrey Petrov 8282fad7dc chat: Add timezone support to /timestamp 2019-03-16 12:20:43 -04:00
Andrey Petrov 54ce8bb08d chat: Remove injectTimestamp after 30min stuff 2019-03-16 11:52:07 -04:00
Andrey Petrov 783c607fad chat/message: Add second resolution 2019-03-16 11:52:07 -04:00
Andrey Petrov 33d0c08ffe chat/message: Add PublicMsg.RenderSelf(...) to support old-style formatting 2019-03-16 11:52:07 -04:00
Andrey Petrov eb10bad08e sshchat, chat: Override terminal echo and do our own echo 2019-03-16 11:52:07 -04:00