Graf commitů

131 Commity

Autor SHA1 Zpráva Datum
kayos@tcp.direct dda92e633b
Sh3lls: add context, fix disconnects and backpressure 2022-05-07 22:44:08 -07:00
kayos@tcp.direct bac6cae764 Fix: GetUser, Redo bans 2021-09-29 07:33:22 -07:00
kayos@tcp.direct 1f4cefd972 improve doc, more lint 2021-09-28 15:26:09 -07:00
kayos@tcp.direct c236f43e92 Tidy up 2021-09-28 14:08:24 -07:00
kayos@tcp.direct 729c3aee50 nice 2021-09-26 19:38:54 -07:00
kayos@tcp.direct f51786487b re-implement banning 2021-09-26 11:20:00 -07:00
kayos@tcp.direct f64f335679 begin rebuild 2021-09-26 04:04:26 -07:00
Andrey Petrov c3dccfd3eb
chat: /back help formatting. 2021-04-24 12:14:24 -04:00
Akshay aae5bc8d2e Added /back and tests for all away commands 2021-04-24 07:54:50 -07:00
Andrey Petrov 37b101c3c1 chat: Add /mute command for op 2021-04-13 11:21:16 -04:00
Andrey Petrov 7a783d46af sshd, chat/message: Add more debug logging for close failures 2021-04-05 11:06:44 -04:00
Andrey Petrov 9329227403 chat: /away tweaks 2021-03-15 10:53:00 -04:00
Akshay 0338cb824d chat: Added support for user away status, fixes #377
made away toggle status, like irc

updated /away feature

* added away message
* added broadcast away message as emote
* updated names list to show away users on the same line, with colors

added /away -> back message

Update away time to be time since marked away

reverted changes made for /list
2021-03-15 10:30:54 -04:00
Andrey Petrov 7461ca8e39 chat/message: Use user.ID() names for mono bot theme 2020-08-03 13:57:11 -04:00
Andrey Petrov e0ab53500e
Merge branch 'master' into sponsor-prefix 2020-08-03 11:41:19 -04:00
Andrey Petrov aa78d0eb22 chat: Add /focus command
Only show messages from focused users
2020-08-03 11:32:55 -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 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
Lucas Hourahine 09c8bbdd4c sorting nicks on /names and /list 2020-07-16 13:25:14 -04:00
Andrey Petrov cb0bdc8e0e chat: Use user.ID() instead of user.Name() 2020-06-24 13:53:14 -04:00
Andrey Petrov 36843252b4 chat, main: Add /rename op command 2020-06-24 12:36:02 -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 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 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 c058f72fe4 /timestamp, /theme: Fix rendering, add tests 2019-03-22 15:27:00 -04:00
Andrey Petrov c5cc4b0594 /timestamp: time and datetime modes 2019-03-21 17:12:32 -04:00
Andrey Petrov 2089eda486 chat: Fix runtime bug with uninitialized strings builder 2019-03-18 10:08:12 -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 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
Andrey Petrov dca2cec67f chat/message: Add timestamp prefix support 2019-03-16 11:52:07 -04:00
Andrey Petrov 60701198fc /op: Fix room op being tied to the nick, add remove option
Closes #301
2019-03-15 18:18:20 -04:00