Commit Graph

1635 Commits

Author SHA1 Message Date
Mia
23ff8dee35 Abuse-monitor: Add a command to export punishments by index 2022-03-26 20:43:32 -05:00
Mia
5c71d17a65 Abuse-monitor: Specify rooms in review responses 2022-03-26 20:42:46 -05:00
Mia
3443327211 Hosts: Allow drivers to view the markshared blacklist 2022-03-25 16:10:33 -05:00
Mia
8f504073db Abuse-monitor: Allow use of /am admin commands on an alt
Convenience.
2022-03-23 20:58:49 -05:00
ayiadvance
5105cc46a3
Mafia: Fix transitions between deathstates (#8700) 2022-03-22 17:29:14 -07:00
Charlie Kobayashi
70b7fa7baa
Scavengers: Spam Filter twist (#8691) 2022-03-21 21:09:48 -07:00
Mia
3bfe1d7935 Chat-monitor: Stop requiring filter names in /filter test 2022-03-17 16:54:53 -05:00
Mia
f8dd5cf0d2
Abuse-monitor: Add a command for staff to view logs 2022-03-17 09:38:12 -05:00
Mia
f8f5477544 Abuse-monitor: Fix bug in /am test 2022-03-16 21:19:05 -05:00
Mia
ff6854612a
Abuse-monitor: Exclude modlog-based actions from /am test
This was a mistake.
2022-03-16 13:32:09 -05:00
Mia
d780ab74c3
Abuse-monitor: Display matched punishments in /am test 2022-03-16 13:22:16 -05:00
Mia
d08d62f593
Abuse-monitor: Fix namecolor display on tickets 2022-03-14 08:59:40 -05:00
Mia
7aa95b2133
Abuse-monitor: Fix bugs in review system 2022-03-14 08:25:37 -05:00
Alexander B
0475b38ae8
RoomGame: Refactor to use generic typing (#8678) 2022-03-13 18:01:54 -07:00
Mia
379a0c3140
Abuse-monitor: Add a staff feedback system (#8683) 2022-03-13 18:01:20 -07:00
Alexander B
3a15cf814e
Spotlights: Fix "Refresh" button opening another tab (#8684) 2022-03-10 15:59:39 -08:00
Mia
5d1eacfe0f Abuse-monitor: Support replacing terms in preprocessing 2022-03-09 21:48:42 -06:00
Mia
c481681de6 Abuse-monitor: Always log for punishments on trusted users 2022-03-06 18:01:06 -06:00
Annika
262e8bf812 Username prefixes: Fix crash 2022-03-06 13:06:19 -08:00
Mia
f8b27461d7 Abuse-monitor: Log stats for automatically closed flags 2022-03-06 14:00:30 -06:00
Mia
fad11ba953 Abuse-monitor: Support checking for several types in punishments 2022-03-06 13:23:11 -06:00
Mia
b27d5cf2ba Abuse-monitor: Add a command to export punishment settings
This makes it easier to save state before making a bunch of changes.
2022-03-04 22:47:08 -06:00
Mia
baf892f540 Abuse-monitor: Support upgrading by modlog history 2022-03-04 22:46:59 -06:00
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
Mia
653d3ba00d
Chatlog: Fix older results buttons 2022-01-19 08:46:42 -06:00
Mia
87262e5961 Quotes: Add a command to view quotes by index
Per https://www.smogon.com/forums/threads/quote-suggestions.3696375/.
2022-01-17 15:58:34 -06:00
Mia
ce5af83714 Abuse-monitor: Always prioritize flagged user in users list 2022-01-17 11:33:55 -06:00
Mia
9cf0eb32f3 Wifi: Handle sprites for mons with formes accurately 2022-01-16 15:06:49 -06:00
Mia
c4aa6a7750 Abuse-monitor: Support backing up settings 2022-01-15 16:45:03 -06:00
Annika
5be146e5f6 /trivia edit: Fix HTML escaping 2022-01-15 14:21:09 -08:00
Annika
0ddf811763 Trivia: Remove debug print 2022-01-14 20:35:31 -08:00
Annika
17806788bf Trivia: Add editing command 2022-01-14 20:32:45 -08:00
Mia
9da2cb7af4
Abuse-monitor: Use exact names in ticket display
Requested.
2022-01-13 11:00:28 -06:00
Mia
536f1148d5
Abuse-monitor: Add a command to help auditing misflags 2022-01-13 10:28:58 -06:00
Mia
ce20ad8255
Abuse-monitor: Overhaul settings interface 2022-01-11 14:17:55 -06:00
Kris Johnson
070d1a6ddb
BW PU/ZU: Add proper tiering (#8621) 2022-01-11 10:43:02 -05:00
Annika
d189206088 Trivia: Update help to reflect new ladder length 2022-01-10 11:46:26 -08:00
Hisuian Zoroark
fa89d9da9a
Spotlights: Don't give an image parameter in source if no image was used (#8615) 2022-01-09 14:46:25 -08:00
Mia
c7ddd49e0e
Revert "Wi-Fi: Convert to TSX (#8581)" (#8618)
This reverts commit 2af0ae99c6.
2022-01-08 13:41:43 -05:00
Mia
797f8be2f7 Abuse-monitor: Default threshold increment to null 2022-01-08 10:37:18 -06:00
Kris Johnson
2af0ae99c6
Wi-Fi: Convert to TSX (#8581) 2022-01-06 19:58:33 -08:00
Mia
60291ebecc
Abuse-monitor: Make the threshold increment optional 2022-01-06 09:56:52 -06:00
Mia
4ecef7c840
Abuse-monitor: Support scaling thresholds per-room (#8606) 2022-01-05 19:10:15 -08:00
Annika
cb1104afc5 Trivia: Update help 2022-01-05 16:53:11 -08:00
Annika
a412bd8d88 Trivia: Display /trivia rank as a table 2022-01-05 16:51:09 -08:00
Annika
ad77c5d9ef Trivia: Rename leaderboard commands 2022-01-05 15:45:18 -08:00
Mia
677ed08d16 Fix crash 2022-01-04 20:48:33 -06:00
Mia
451afe26e0 Fix checks
Also fixes this functionality as a whole.
2022-01-04 20:41:29 -06:00
Mia
a5de947b8a Helptickets: Support viewing responses for a specific ticket type
Requested since the clutter on the unfiltered command gets to be a lot.
2022-01-04 16:27:44 -06:00
Mia
50d3e4a59e Abuse-monitor: Fix setting scores to maximum 2022-01-02 19:13:59 -06:00
Mia
ae34349ece Abuse-monitor: Give a more detailed stat breakdown 2022-01-02 18:50:22 -06:00