Commit Graph

221 Commits

Author SHA1 Message Date
Mia
903c0d7737 Helptickets: Remove leftover Artemis code 2022-04-29 21:49:27 -05:00
Mia
a452d3aa0d Helptickets: Remove Artemis recommendation display 2022-04-29 12:12:00 -05:00
Mia
2f0052c3ce Abuse-monitor: Explicitly mark punishments by Artemis 2022-04-22 20:53:15 -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
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
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
5a61fd790b Helptickets: Mandate rating recommendations before closing tickets 2022-02-27 15:25:38 -06:00
Mia
c855b3b62f Helptickets: Log Artemis recommendations to ticket logs 2022-02-24 14:52:19 -06:00
Mia
c9f034784b
Helptickets: Support automatic punishments with Artemis (#8669) 2022-02-23 18:33:49 -08:00
Mia
b1c75c1a1b Helptickets: Default to current ticket for /ht close 2022-02-08 20:42:55 -06:00
Mia
cfeb1303bb
Chat: Properly typecheck Chat.runHandlers arguments (#8612) 2022-01-23 17:55:19 -08:00
Mia
4a85f0fb0f Helptickets: Don't activate tickets for 1-2 char messages 2022-01-19 20:38:03 -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
Annika
686515f951 /helpticket removeresponse: Fix help 2021-12-30 17:51:33 -08:00
Mia
51ce8737f8
Helptickets: Support adding custom response buttons to text tickets (#8579)
Requested by staff.
2021-12-30 17:42:39 -08:00
Mia
f5754ac8fc
Revert previous commit
Meant to PR. Tabbed accidentally.
2021-12-20 11:03:26 -06:00
Mia
d1a5780aec
Helptickets: Support adding custom response buttons to text tickets
Requested by staff.
2021-12-20 11:01:59 -06:00
Mia
651dcb1bd2
Helptickets: Adjust namecolors to be dark-mode friendly 2021-12-02 08:03:19 -06:00
Mia
906a037dcd Helptickets: Make reported usernames colorblind-friendly 2021-11-30 20:17:42 -06:00
Mia
a19968ff04 Tickets: Move IP-Appeal data collection to run on submit 2021-11-30 15:06:26 -06:00
Mia
1ad100926e Helptickets: Fix 'punish opponent' display 2021-11-30 14:54:49 -06:00
Annika
ced5e7fc81 Fixes for private code 2021-11-26 16:16:48 -08:00
Mia
b2c15106f3 Helptickets: Ignore report targets if a user reports themselves 2021-11-16 12:56:05 -06:00
Mia
784acab74c Helptickets: Fix extra escaping in /ht logs 2021-11-16 08:40:32 -06:00
Mia
7c4a6a1917 Helptickets: Improve detection of reported opponents in battle tickets 2021-11-14 17:58:49 -06:00
Guangcong Luo
48df7f19bf Refactor re-saving replays at battle end
Previously, if saving a replay failed the first time around, it's
not re-saved at battle end. Commit 028abd6377 fixes that.

This commit just rewrites the implementation to be much less redundant.
2021-11-13 13:54:05 -05:00
Mia
028abd6377 Helptickets: Ensure reported battles have replays saved upon ending
This is relevant since future staff may want the full log, and we don't want cases where only half the replay is saved.
2021-11-12 20:31:24 -06:00
Mia
5dff5de194 Helptickets: Properly ban a ticketbanned user's previousIDs 2021-11-12 11:27:10 -06:00
Mia
bc5cf934aa Fix build 2021-11-08 14:01:57 -06:00
Mia
7521ac50e0 Helptickets: Remove language display from tickets 2021-11-08 11:54:37 -06:00
Mia
6dbb855b8a Helptickets: Adjust battle/replay regexes to check word boundaries
This fixes a bug where the regex would see 'battle-gen8monotyperandombattle-numbers-pw' and would extract 2 urls; the 'battle-gen8monotyperandombattle-numbers-pw' and the 'battle-numbers-pw' from the end. The word boundary ensures it won't match within the format.
2021-11-01 09:15:20 -05:00
Mia
172be74482 Helptickets: Display previous names for namelocked guests 2021-10-31 16:31:56 -05:00
Mia
0ed095820e Helptickets: Properly show set names in inap mon name tickets 2021-10-26 14:28:51 -05:00
Mia
bd38434a2b Punishments: Don't count custom room punishments toward PunishmentMonitor 2021-10-24 20:02:17 -05:00
Mia
88ef7fdf1f
Support marksharing ranges (#8498) 2021-10-24 12:44:46 -07:00
Mia
e32df455f5
Helptickets: Ensure battle links from tickets aren't duplicated 2021-10-22 12:01:28 -05:00
Mia
78b1e2d963
Helptickets: Fix crash 2021-10-21 08:04:49 -05:00
Mia
10bf74fe17 Helptickets: Don't wrongly close open text tickets
This was making it so people could open new tickets while the existing one had not been closed.
2021-10-20 19:02:33 -05:00
Mia
2ab03d2e30 Helptickets: Ensure at least one valid replay is sent for Battle Harassment 2021-10-20 09:41:58 -05:00
Mia
e5ad25fad4 Fix build 2021-10-18 21:56:26 -05:00
Mia
ced4f26d00 Helptickets: Add punish buttons to Inappropriate Pokemon Names tickets 2021-10-18 21:46:47 -05:00
Mia
5c7a513f47 Helptickets: Add a ticket submit handler 2021-10-09 20:50:45 -05:00
Mia
30e3475f30 Helptickets: Fix identifying opponents
Using playerTable keys should be more accurate, since the user is unlinked after the game ends.
2021-10-09 20:25:25 -05:00
Mia
8581a534d6 Helptickets: Don't refresh IP-Appeals after unlocking IPs 2021-10-06 12:50:59 -05:00
Mia
87a552a3fd Helptickets: Make ticketbans take the duration of the user's longest punishment
This is done where applicable (where the duration of a punishment is more than the default ticketban time would be). Approved / requested by Aeo.
2021-10-04 19:31:26 -05:00
Mia
83ccd6b0ee Helptickets: Strip HTML from ticket title attributes
This fucked up a bunch of HTML.
2021-10-03 19:11:37 -05:00
Mia
3643e94ff7 Helptickets: Add commands to privatize/publicize ticket logs 2021-10-02 15:03:34 -05:00
Mia
c3a829cb3c Helptickets: Make inappropriate name tickets no longer list-only
It had little benefit. Weren't enough tickets to make it work.
2021-10-01 16:33:54 -05:00