Commit Graph

199 Commits (89fe9cbc204bc85d62055d4a28241a6d28808efa)

Author SHA1 Message Date
Aevann 97608ea0a9 test getting rid of ![]( on devrama 2023-03-12 15:02:31 +02:00
Aevann d604a6cd99 commit leftover file from last commit 2023-03-06 21:52:31 +02:00
Aevann eb59a6a1bc reduce automute from 60 mins to 10 mins 2023-03-04 20:16:38 +02:00
Aevann 8c495c914a default ratelimit doesnt apply implicitly if theres other @limiter.limit before the function, so add it explicity before all functions 2023-02-26 10:41:04 +02:00
Aevann bc93d6c7b7 reduce chat history from 500 messages to 250 to make it load faster 2023-02-19 10:47:20 +02:00
mummified-corroding-granny 58e985525b chat: prevent usernames sticking after rename and color change (#123)
Kindly,

As per $title.

Currently, if a user changes name or color while in chat, the username will stick forever (until clearing all sessions with a process restart).

This PR fxes both of these situations. The code is getting ugly and would benefit from using dictionaries instead of lists, but I suspect there are other priorities.

Thanks,
granny

Reviewed-on: #123
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-17 13:58:02 +00:00
mummified-corroding-granny e2adf9e53d Chat: add minimalistic chat session tracking and fix shadow user spy problem (#121)
Kindly,

Not sure if this is too dramaphobic. I also went with the just enough (TM) approach

The issue this PR intends to fix:
1. user has no chat tabs open
2. user opens two chat tabs
3. user closes second chat tab
4. user disappears from sidebar and user count (because was removed from online py list)
5. user (became shadow user) can now spy on the chat without being listed

Thanks,
granny

Reviewed-on: #121
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-16 13:41:58 +00:00
Aevann 88814ee208 expand blackjack 2023-02-07 05:31:49 +02:00
Aevann 1529e70abd remove /admin/chat for being unused and redundant to /contact 2023-01-30 11:57:00 +02:00
Aevann d5c23785d0 fix chat count 2023-01-28 17:10:45 +02:00
Aevann 83b34832b8 fix chat count 2023-01-28 12:44:15 +02:00
Aevann 159773cf73 show namecolor in online listing 2023-01-27 20:15:38 +02:00
Aevann 4a795d924f show profile pictures in chat online list 2023-01-27 19:52:47 +02:00
Aevann 349fa17836 use exlamation marks instead of dots in responses to users 2023-01-27 13:57:29 +02:00
Aevann 83b22560eb dont use abort in chat 2023-01-27 09:07:58 +02:00
Aevann 9327ef6eed chat fixes 2023-01-25 03:17:39 +02:00
Aevann c1b1ccedff chat improvements 2023-01-24 07:28:56 +02:00
Aevann d9553d2636 chat anti-spam 2023-01-23 08:04:02 +02:00
Aevann 0126bb9729 cut down on chat spam 2023-01-23 04:45:34 +02:00
Aevann 921b9b1a2e re-enable autocheck for ratelimiting 2023-01-23 04:38:39 +02:00
Aevann 3ab09c0e20 fix 500 error on disconnect chat 2023-01-23 02:42:30 +02:00
Aevann 8d74d69d76 chat improvements 2023-01-22 09:19:23 +02:00
Aevann bb6d798647 fix quoting new messages 2023-01-22 08:00:50 +02:00
Aevann 83b0f1ebf5 fix chat 2023-01-22 06:48:48 +02:00
Aevann dd80ac2530 same as last commit 2023-01-22 06:46:00 +02:00
Aevann 21d2ba8bd3 debugging 2023-01-22 06:44:39 +02:00
Aevann fdd05d36be fixes to chat 2023-01-22 06:19:18 +02:00
Aevann 3fe80c4f4d same as last commit 2023-01-22 05:18:19 +02:00
Aevann 542410eb27 fixes to chat 2023-01-22 05:16:37 +02:00
Aevann 1ee213f742 another chat rework 2023-01-22 04:43:28 +02:00
Aevann 3e5599cd96 stop separating online counter by chat type 2023-01-22 02:11:01 +02:00
Aevann f64f0ddaf0 fix last commit 2023-01-21 12:54:15 +02:00
Aevann 6cc7d311a3 only emit catchup once 2023-01-21 12:50:30 +02:00
Aevann f2fdefa8cd chat overhaul 2023-01-21 12:36:21 +02:00
Aevann a40dee5bd8 improve user ratelimiting 2023-01-21 06:39:46 +02:00
Aevann a33bbc8fc2 >= 2 instead of >= 1 2023-01-20 06:35:23 +02:00
Aevann 2511054947 fix leak of admin chat 2023-01-20 06:34:32 +02:00
Aevann 70ab540717 make the online listing specific to the type of chat 2023-01-20 06:25:35 +02:00
Aevann acc71d4cae add /admin/chat and dont store profile_url in chat dict 2023-01-20 06:10:25 +02:00
Aevann 366cfd69c6 Revert "quadruple message limit in chat"
This reverts commit d219bedba6.
2023-01-20 03:15:11 +02:00
Aevann d219bedba6 quadruple message limit in chat 2023-01-20 02:50:15 +02:00
Aevann 30dd9bc5d5 restore chat for rdrama 2023-01-20 02:12:36 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann 8ee189022b seething hatred 2022-12-30 21:01:47 +02:00
Aevann c4872ecb07 Revert "attempt to fix ratelimiting user"
This reverts commit 99597fc36c.
2022-12-30 20:43:13 +02:00
Aevann 99597fc36c attempt to fix ratelimiting user 2022-12-30 20:40:58 +02:00
Aevann 9a8c986f93 attempt to fix ratelimiting user 2022-12-30 20:33:07 +02:00
Aevann bc453f8057 add missing import 2022-12-26 05:14:02 +02:00
Aevann 40305f01f2 dont lock jannies out of /chat 2022-12-26 04:49:14 +02:00
Aevann c4e4a8d853 give jannies push notifs for chat 2022-12-25 22:30:50 +02:00