517 Commits

Author SHA1 Message Date
Andrey Petrov
aa78d0eb22 chat: Add /focus command
Only show messages from focused users
2020-08-03 11:32:55 -04:00
Andrey Petrov
8cd06e33b5 set: Add Interface, ZeroValue helper 2020-08-03 11:32:16 -04:00
Andrey Petrov
a9b08a7b17 /whois: Add extra room info for admins
Will need to add room context to non-admins eventually too
2020-07-30 13:10:41 -04:00
Andrey Petrov
987a2e870a chat/message: Set LastMsg during render of self public messages, fix sorting
Also fixed chat tests
2020-07-30 12:52:32 -04:00
Andrey Petrov
86b70a1fc7 chat: go fmt 2020-07-30 12:05:38 -04:00
Andrey Petrov
fa8df8140d
Merge pull request #355 from pavelz/my_name_last_autocomplete
main: Autocomplete deprioritize own name
2020-07-30 12:03:35 -04:00
Andrey Petrov
7822904afc
chat/message: Fix RecentActiveUsers sort order 2020-07-30 12:02:07 -04:00
Pavel Zaitsev
5885f7fbdd 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
2020-07-29 18:23:34 -04:00
Pavel Zaitsev
e5374b7111 update, to fix tests. 2020-07-24 10:44:23 -04:00
Pavel Zaitsev
5ff2ea085b in autocomplete list moves your name to last item in the list of sorted current users 2020-07-24 10:16:29 -04:00
Andrey Petrov
208a6a4712
Merge pull request #353 from pavelz/show_admin_status
/whois: Show op status for ops
2020-07-20 12:27:34 -04:00
Pavel Zaitsev
b6a8763f3b 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
2020-07-16 20:57:48 -04:00
Andrey Petrov
d4a5299e1c
Merge pull request #354 from lucash-diskkun/master2
chat: Sort /names output
2020-07-16 13:29:38 -04:00
Lucas Hourahine
09c8bbdd4c sorting nicks on /names and /list 2020-07-16 13:25:14 -04:00
Pavel Zaitsev
5f201e0f20 now if both are ops it will be reflected in output of whois command 2020-07-07 23:24:25 -04:00
Andrey Petrov
3c4d90cfc1
Merge pull request #350 from shazow/shazow-patch-1
.github: Improve CI test step
2020-05-01 12:03:20 -04:00
Andrey Petrov
8f854130fa
.github: Improve CI test step 2020-05-01 11:50:16 -04:00
Andrey Petrov
fb4be4b24d
.github: Add github action for CI 2020-05-01 11:49:42 -04:00
Andrey Petrov
544f208473 chat: Fix ignore test, reduce flakeyness 2020-05-01 11:41:35 -04:00
Andrey Petrov
fda705a2dc chat: Clean up ignore comparisons 2020-05-01 11:41:19 -04:00
Abdelkader Bouadjadja
6fe0b40327 Ignored people still show up when they send private /msg 2020-04-30 05:09:21 +04:00
Abdelkader Bouadjadja
fde04365ac Fix test comment 2020-04-30 00:34:40 +04:00
Abdelkader Bouadjadja
7169ee1240 Ignored people still show up when they /me emote 2020-04-30 00:28:06 +04:00
Andrey Petrov
403bb5911b
Merge pull request #347 from shazow/fix-key-parse
main: Use new x/crypto/ssh key parsing helpers
2020-04-20 15:36:38 -04:00
Andrey Petrov
daad9ba07b main: Use x/crypto/ssh helpers for parsing passworded keys 2020-04-20 15:34:42 -04:00
Andrey Petrov
5c71e9b242 go mod: Update, mostly for x/crypto 2020-04-20 15:34:28 -04:00
Andrey Petrov
6aa7a42083
Merge pull request #343 from shazow/term-bot-nopty
sshd: Terminal.Term() fallback to Env TERM
v1.9
2020-04-17 12:28:27 -04:00
Andrey Petrov
f113a130ae sshd: Terminal.Term() fallback to Env TERM 2020-04-17 12:22:31 -04:00
Andrey Petrov
b9aa7a6a0c main: Sort flags, unhide --unsafe-passphrase for now 2020-04-16 12:56:15 -04:00
Andrey Petrov
adef8d65a2
Merge pull request #342 from shazow/unsafe-password
main: Add --unsafe-passphrase
2020-04-16 12:46:32 -04:00
Andrey Petrov
99d303e196 main: Add extraHelp 2020-04-16 12:44:20 -04:00
Andrey Petrov
6e9705faf5 main: Clarify passphrase shenanigans 2020-04-16 12:32:12 -04:00
Andrey Petrov
b1bce027ad main: Force passphrase auth even with pubkey auth 2020-04-16 11:30:13 -04:00
Andrey Petrov
3b8e644c9e
Merge pull request #341 from shazow/term-bot
TERM=bot mode
2020-04-16 11:07:06 -04:00
Andrey Petrov
77143ad1e6 main: Add --unsafe-passphrase 2020-04-15 14:19:28 -04:00
Andrey Petrov
096b548200
Create FUNDING.yml 2020-04-14 11:13:33 -04:00
Andrey Petrov
a3f41865fd main: Skip prompt, highlight, autocomplete in bot mode 2020-04-13 11:33:12 -04:00
Andrey Petrov
5055bbc859 sshd: Remove temporary "Connecting..." prompt 2020-04-13 11:32:38 -04:00
Andrey Petrov
cce7defd5e main: Add TERM=bot handling for Host 2020-04-13 11:23:11 -04:00
Andrey Petrov
2076980aea chat/message: Add UserConfig.Echo 2020-04-13 11:22:53 -04:00
Andrey Petrov
c0f9814ae1 chat: Disable broken TestIgnore test 2020-04-13 10:55:41 -04:00
Andrey Petrov
fdfdcf96b7 main, sshd: Add comments and TODOs 2020-04-12 13:04:53 -04:00
Chris Miller
fe84822f5d Get the term value 2020-04-12 12:37:55 -04:00
Chris Miller
dd2fadd6c1 Apply env vars SSHCHAT_TIMESTAMP and SSHCHAT_THEME 2020-04-12 12:37:55 -04:00
Chris Miller
c0a2f32bd4 Wait for shell 2020-04-12 12:37:55 -04:00
Andrey Petrov
5dfa194ec8
Merge pull request #309 from shazow/req-env
sshd: Add Terminal.Env()
2020-04-12 12:36:07 -04:00
Andrey Petrov
5bad08c340 sshd/terminal: gofmt 2020-04-01 20:40:56 -04:00
Andrey Petrov
2fb89142a5
Merge pull request #339 from yumaokao/cjk-fullwidth
sshd/terminal: Add fullwidth check for CJK in visualLength
2020-04-01 20:37:43 -04:00
yumaokao
8c7ea173ad sshd/terminal: Add fullwidth check for CJK in visualLength 2020-03-21 19:57:39 +08:00
Andrey Petrov
80ddf1f43a
Merge pull request #338 from 42wim/f-imports
Remove import comment. Fixes #337
2020-03-08 18:46:26 -04:00