Commit Graph

1562 Commits

Author SHA1 Message Date
Annika
99fffe2e4b Remove unnecessary code
Found these thanks to LGTM.com
2022-03-02 20:02:29 -08:00
Mia
88c0e16d8e Remove accidental debug print
Didn't stage this by mistake, mb.
2022-03-02 21:14:13 -06:00
Mia
e100bcab3f Abuse-monitor: Dispatch warns and mutes
Changes approved by policy US. It was however requested that locks/weeklocks were kept to just logging, so I have made those changes and commented out the code necessary, so that when we do switch to actually locking it's just uncommenting some code. As the comment at line 301 says, it will likely be a short enough trial period that it's not worth building actual infrastructure/etc for it.
2022-03-02 20:16:15 -06:00
Mia
e3b9265d1c
Helptickets: Clarify Artemis rating messages 2022-03-02 09:03:49 -06:00
Annika
6e91e22740 Improve typing and fix build 2022-02-28 19:49:08 -08:00
Kalest3
c517ab57d3
UNO: Fix the disqualification system (#8614) 2022-02-28 17:27:16 -08:00
Mia
d9a6a85d5d Auto-helptickets: Refactor pmharassment/battleharassment reasons
Discussed with Teclis. This provides just the URL for battleharassment / identity of the reporter for pmharassment as the reason, so that users can see themselves what they did. If they still have questions after that, they would end up talking to staff either way, so it doesn't hurt to do this, and provides a tradeoff of more transparency and less confusion.
2022-02-28 15:03:21 -06:00
Mia
836511b0e7 Auto-helptickets: Use |c| for log messages 2022-02-28 11:58:48 -06:00
Mia
143bfd32b2 Auto-helptickets: Ignore commands
This ignores both \!commands, and special command prefixes in messages like /log, /raw, etc.
2022-02-28 11:58:20 -06:00
Mia
5a61fd790b Helptickets: Mandate rating recommendations before closing tickets 2022-02-27 15:25:38 -06:00
Mia
4963b15b50 Auto-helptickets: Show a record of all flags 2022-02-24 15:05:46 -06:00
Mia
c855b3b62f Helptickets: Log Artemis recommendations to ticket logs 2022-02-24 14:52:19 -06:00
Mia
fc643f53f0 Auto-helptickets: Add a command to test messages 2022-02-24 14:48:24 -06:00
Mia
4cbbdf94d7
Fix typo 2022-02-24 13:46:01 -06:00
Mia
50fc2beaab
Auto-helptickets: Fix single message classification 2022-02-24 13:44:26 -06:00
Mia
1e157a01a9
Wifi: Support whitelisting users to make giveaways
Requested by Wi-Fi staff.
2022-02-24 12:30:40 -06:00
Mia
3a20d475cf
Auto-helptickets: Display links to inaccurate tickets on stats page 2022-02-24 07:48:03 -06:00
Kris Johnson
a0260b98e6 Userprefixes: Fix forcing battles to be public 2022-02-24 01:23:27 -07:00
Mia
c9f034784b
Helptickets: Support automatic punishments with Artemis (#8669) 2022-02-23 18:33:49 -08:00
Mia
481279db56
Fix conversion of Config.forcedprefixes
I had a misunderstanding here when looking at the actual value of the Config on main. The real issue is that the config isn't always converted.
2022-02-23 10:24:01 -06:00
Mia
1ae2ee8154
Fix crash in prefix manager
Config.forcedprefixes is no longer an array.
2022-02-23 10:16:44 -06:00
Kris Johnson
758356a55d
Add a timeout for userprefixes (#8667) 2022-02-22 17:44:48 -08:00
Kris Johnson
358080491a
Usersearch: Convert to TSX (#8641) 2022-02-15 17:19:17 -08:00
Mia
746c0742be
Support classifying message toxicity locally (#8662) 2022-02-15 17:18:50 -08:00
Mia
e0ca76c146
Abuse-monitor: Add month buttons to stats page 2022-02-15 08:34:43 -06:00
Mia
04d359da98 Chatlog: Make /gbc broadcastable everywhere 2022-02-13 16:24:17 -06:00
Mia
0159606e33 Modlog-viewer: Fix link in /mls 2022-02-12 15:11:47 -06:00
Mia
ef33618e03
Modlog-viewer: Add a table for punishments sorted by IP
Requested by staff.
2022-02-09 11:01:50 -06:00
Mia
b1c75c1a1b Helptickets: Default to current ticket for /ht close 2022-02-08 20:42:55 -06:00
Mia
beeff7bdff
Add an option to set a vote cap on polls
https://www.smogon.com/forums/threads/option-for-polls-to-automatically-end-after-a-certain-number-of-total-votes-has-been-reached.3697348/#post-9118013
2022-02-08 09:19:11 -06:00
Kris Johnson
49fa3edda3
Quotes: Make /viewquote broadcastable 2022-02-06 17:45:26 -07:00
Annika
640cdcab21 Fix bug in /trivia edit 2022-02-04 23:09:42 -05:00
Annika
eef1d718e5 Trivia: Don't select First as a random mode 2022-02-04 18:07:44 -08:00
Kris Johnson
f5983d20a5 Datasearch: Fix searching for fully evolved Pokemon 2022-02-01 18:28:18 -07:00
pyuk-bot
32892af464
Fix National Dex Eviolite checks (#8650) 2022-02-01 13:51:04 -05:00
Mia
bbb82ffcf3
Abuse-monitor: Sort recommendations by user (#8643) 2022-01-28 18:20:47 -08:00
Mia
1fdcedca4f Wifi: Restore accidentally removed linebreak 2022-01-24 16:24:42 -06:00
Mia
8f07ae28e1 Wifi: Restore old BDSP giveaway color
Requested.
2022-01-24 16:22:17 -06:00
Mia
951e23ebd3
Abuse-monitor: Add a UI for adding punishments 2022-01-24 15:13:36 -06:00
Mia
e5a0c2e665
Abuse-monitor: Add weeklock to available punishments 2022-01-24 10:12:36 -06:00
Mia
b413b6bc4f Abuse-monitor: Refactor staffNotified to an array 2022-01-23 20:50:13 -06:00
Mia
ca9797fd7e Abuse-monitor: Fix bug with MAXIMUM thresholds 2022-01-23 19:59:26 -06:00
Mia
5d164453ea
Abuse-monitor: Support recommending punishments (#8588) 2022-01-23 17:56:47 -08:00
Mia
cfeb1303bb
Chat: Properly typecheck Chat.runHandlers arguments (#8612) 2022-01-23 17:55:19 -08:00
Kris Johnson
f61b4a1ad4
Wi-Fi: Convert to TSX (#8620) 2022-01-23 17:51:18 -08:00
Mia
bd256ea5f9 Abuse-monitor: Fix some leftover html 2022-01-21 20:12:29 -06:00
Mia
b4e41ab8fb Abuse-monitor: Display stats without dead tickets
Gets in the way.
2022-01-21 17:17:37 -06:00
Mia
8bef5bee33 Abuse-monitor: Track dead tickets 2022-01-20 13:11:51 -06:00
Mia
4a85f0fb0f Helptickets: Don't activate tickets for 1-2 char messages 2022-01-19 20:38:03 -06:00
Mia
99657a474c
Abuse-monitor: Properly handle battle renames 2022-01-19 09:25:33 -06:00