Commit Graph

275 Commits

Author SHA1 Message Date
Mia
a86bd3bbd7 Chat: Inform locked users to use / commands when broadcasting 2022-04-29 19:01:57 -05:00
Mia
c9f034784b
Helptickets: Support automatic punishments with Artemis (#8669) 2022-02-23 18:33:49 -08:00
Mia
746c0742be
Support classifying message toxicity locally (#8662) 2022-02-15 17:18:50 -08:00
Mia
cfeb1303bb
Chat: Properly typecheck Chat.runHandlers arguments (#8612) 2022-01-23 17:55:19 -08:00
Mia
14460338fc
Chat: Require registration to talk in non-persistent rooms (#8610) 2022-01-05 12:47:29 -05:00
Mia
677ed08d16 Fix crash 2022-01-04 20:48:33 -06:00
Mia
7037bdfff5 Chat: Add a hook for ladder searches 2022-01-04 16:15:03 -06:00
Mia
4ddf3e1961 Revert accidental retyping 2022-01-04 15:02:35 -06:00
Mia
2f0541c79f Chat: Fix more handler types 2022-01-04 15:00:52 -06:00
Mia
fc1063227e Chat: Update some hook types 2022-01-04 14:30:13 -06:00
Mia
b9bca1252e Chat: Allow unregistered users to PM themselves
Oversight.
2021-12-18 16:15:59 -06:00
Mia
4bf497293b Chat: Always respect bypassRoomCheck 2021-12-08 17:41:57 -06:00
Mia
27ee2cf3fd
Restore abuse-monitor (#8557) 2021-12-08 12:49:03 -06:00
Mia
1a37dc0d95 Abuse-monitor: Improve UX
This adjusts display of roomids in 'ticket' pages, as well as adds an explicit command to join / punish, to remove the hack with sending several commands. Also closes the ticket page on resolve.
2021-12-05 12:29:54 -06:00
Annika
99b60ddaf4 Fix interpolation when translations aren't loaded 2021-12-04 18:10:38 -08:00
Mia
ab62e1af43
Add a plugin to use Perspective for monitoring battles (#8541) 2021-12-03 07:52:26 -06:00
Mia
c92d334ebd Chat: Ensure database has at least one child process 2021-11-25 16:55:32 -06:00
Mia
fc1fe5f21b Chat: Remove Chat.html polyfill
Chat.html is now used for Preact.
2021-11-16 09:55:35 -06:00
Mia
f608496938
Support JSX in HTML pages (#8523)
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2021-11-12 22:06:26 -08:00
Guangcong Luo
be0cee5a33
Refactor getIdentity not to take roomids (#8528) 2021-11-12 22:05:59 -08:00
Kris Johnson
b70865eb2e
Wi-Fi: Refactor giveaways (#8514) 2021-11-04 18:05:45 -07:00
Mia
e26de3d931 Chat: Support '' as default handlers for pages 2021-11-04 09:08:52 -05:00
Kris Johnson
17c5748c5d
Add a chat-plugin for handling sample teams (#8482) 2021-10-21 20:10:36 -07:00
Mia
f2c9483496 Chat: Fix handling of default commands
This didn't handle command targets accurately - it still counted the first chunk (split by spaces) as part of the command, even though the handler defaulted to the provided default function. No one ever noticed this because no one used the 'default' name functionality.
2021-09-29 17:21:12 -05:00
Mia
217b7b9e0d Chat: Add '' as a default command override option
Nobody expects default, but everyone uses '' and gets surprised when /namespace [target] errors out with 'the command /namespace [target]' doesn't exist. This makes it so that now works.
2021-09-29 15:14:14 -05:00
Mia
e5323e758a Chat: Make privateGlobalModAction not log to Staff room twice when used in Staff 2021-09-27 19:52:29 -05:00
Mia
9abb4f7b72 Chat: Clarify 'you are locked and cannot chat' messages for proxy locked users 2021-09-27 17:23:20 -05:00
Mia
37dd21bced Chat: Allow users to pm themselves through blockpms 2021-09-22 19:22:53 -05:00
Mia
2c6c9e4125 Chat: Don't count messages blocked by hightraffic in checking slowchat 2021-09-13 12:15:43 -05:00
Mia
39d690abe6 Chat: Prevent PMs to unregistered users
Suggested - matching behavior with locks as at the moment, a registered user can PM an unregistered user and have no idea why they aren't responding.
2021-09-07 13:25:50 -05:00
Mia
3573361e71 Add autoconfirmed bypass to PM limitations 2021-09-06 19:21:51 -05:00
Mia
b5f1d54a96 Chat: Only allow registered users to send PMs
Per WAIL. Aeo said it was cool to implement now.
2021-09-06 19:09:27 -05:00
Mia
11ab3d83f8 Spotlights: Automatically refresh pages on spotlight change 2021-09-01 12:16:55 -05:00
Mia
7811795344
Handle new TypeScript version (#8449)
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2021-08-30 20:11:44 -07:00
Kris Johnson
c364ae6545
Chat: Ban \u3164 from usernames 2021-08-20 19:25:33 -06:00
Mia
8cf1035ee2
SQL: Automatically prepare statements unless told otherwise (#8439) 2021-08-18 12:51:39 -07:00
Mia
d858936d09 Chatlog: Fix all crashes, restore Chat import 2021-08-15 17:18:01 -05:00
Mia
140e023d05 Fix build 2021-08-15 16:51:15 -05:00
Mia
b0fec9f5e2 Chat: Don't setup DB until after processes are spawned 2021-08-15 16:24:25 -05:00
Mia
14d13015af Import Dex in Chat 2021-08-15 15:48:25 -05:00
Mia
c8dc1adb9c Chat: Actually spawn child processes
SQL() to be called in something instantiated directly in the file, or at the top level, or the PM will not work.
2021-08-15 15:42:58 -05:00
Annika
3c78f183d0 Chat: Require chat plugins recursively 2021-08-14 20:35:08 -07:00
Annika
3288a1469e
Chat: Support accessing the chat-plugin database (#8433) 2021-08-14 18:25:50 -07:00
Mia
8365430016 Fix build 2021-08-13 12:25:20 -05:00
Mia
23e4c8f534 Chat: Properly privatize the /help of private commands
This ensures only users who can use said private commands can view the help (and it's no longer a catch-all 'lock' perm)
2021-08-13 12:17:48 -05:00
Mia
e9f906e5f0 Chat: Allow src attribs to use single quotes again 2021-08-09 16:09:08 -05:00
Leonard Craft III
dd45c2bf4b
Chat: Disallow HTTP images (#8425) 2021-08-08 17:18:44 -07:00
Mia
83e77f9c93 Friends: Write last seen data on disconnect 2021-07-28 14:08:40 -05:00
Mia
4fdab98c27 Chat: Simplify PM blocking code 2021-07-21 21:46:11 -05:00
Mia
e2108c8657 Fix /blockpms friends 2021-07-21 21:26:50 -05:00