18 Commits

Author SHA1 Message Date
Andrey Petrov
37b101c3c1 chat: Add /mute command for op 2021-04-13 11:21:16 -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
544f208473 chat: Fix ignore test, reduce flakeyness 2020-05-01 11:41:35 -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
c0f9814ae1 chat: Disable broken TestIgnore test 2020-04-13 10:55:41 -04:00
Andrey Petrov
1c44c714e6 chat: Sort NamesPrefix by recently active 2019-03-17 14:41:03 -04:00
Andrey Petrov
cdcc4a9931 refactor: User.Config -> User.Config() and User.SetConfig(UserConfig) 2016-08-29 10:11:39 -04:00
Andrey Petrov
33d7d26a17 chat/message: Remove User.Ignore(...) and User.Unignore(...)
Also changes some messaging
2016-08-27 15:15:07 -04:00
Andrey Petrov
d950112dd9 refactor: Id -> ID 2016-08-24 13:54:20 -04:00
Andrey Petrov
972bb86621 chat/message/theme: Tweak default colorscheme
Fewer grey names, lighter grey for system messages.
2016-08-12 17:13:11 -04:00
Federico Ruggi
58e1cb60bd 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
2016-08-01 11:19:12 -04:00
Andrey Petrov
e6f7dba34e Progress: Unchan user 2016-07-24 16:17:02 -04:00
Andrey Petrov
ea2d4d0dfc chat: Fix race conditions. 2016-07-12 11:18:07 -04:00
Andrey Petrov
c2adb4d632 ssh-chat/chat/{message,user,theme,history} -> ssh-chat/chat/message 2015-01-20 16:33:52 -08:00
Andrey Petrov
0c21486992 History backfill, also tests pass. 2015-01-18 18:55:47 -08:00
Andrey Petrov
3c4e6994c2 chat.Channel->chat.Room, /ban, /whois, chat.User.Identifier
- Renamed chat.Channel -> chat.Room
- /ban works, supports IP also
- /whois works
- chat.User now accepts an Identifier interface rather than name
- Tweaked rate limiting
2015-01-16 21:53:22 -08:00