Commit Graph

2799 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
Marty-D
4680740f4f
Add Brumirage avatars 2022-03-02 15:34:54 -05: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
Alexander B
03b7e40595
Fix /modjoin restrictions in battles (#8674) 2022-02-23 18:06:06 -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
d5b5431cbf Fix build 2022-02-23 01:55:30 -07:00
Annika
a799fcd9ce Fix translations 2022-02-22 20:59:53 -05:00
Kris Johnson
758356a55d
Add a timeout for userprefixes (#8667) 2022-02-22 17:44:48 -08:00
Kris Johnson
30c895ad0f
Tournaments: Add /recenttours (#8672) 2022-02-22 17:43:56 -08:00
Annika
0ad8a0df80 Make shared IPs only avoid punishments on that IP 2022-02-21 16:03:15 -08:00
Mia
0c876ef163 Friends: Only spawn child process in main process
Same issue as 3b827f5307
2022-02-17 15:31:24 -06:00
Mia
3b827f5307 Artemis: Ensure processes are not spawned inside other child processes
PM.isParentProcess checks process.mainModule, so if a file with a child process is required inside of another child process, it will end up spawning more processes inside of the original child process. This is not good.
2022-02-17 14:25:37 -06:00
Mia
5afe9376eb
Artemis: Suppress some improper errors
The `downloading` message informing the user of the progress of the model install is printed to stderr for some reason. So, this should not be throwing.
2022-02-16 19:35:20 -06:00
Annika
96b365503e Artemis: Improve install script 2022-02-15 20:44:29 -05: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
8e437a6f96
Fix typo 2022-02-09 13:30:05 -06:00
Mia
440ac6f3f0
Info: Include permanent punishments on /punishments
Requested by staff.
2022-02-09 12:08:11 -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
55413847d0 Roomsettings: Display high traffic correctly in /hightraffic 2022-02-08 20:36:34 -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
Hisuian Zoroark
fe683a8510
Editbattle: Fix HP editing (#8646) 2022-02-07 16:01:02 -07: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
Leonard Craft III
9e3718b375
Update VGC/BSS to Series 12 (#8648) 2022-02-01 12:26:30 -07:00
pyuk-bot
32892af464
Fix National Dex Eviolite checks (#8650) 2022-02-01 13:51:04 -05:00