Commit Graph

2149 Commits

Author SHA1 Message Date
Mia
817fe96134 Usersearch: Use tables in the page 2021-05-25 20:02:11 -05:00
Mia
5523cc5f96 Helptickets: Fix punishment proofs 2021-05-25 18:37:14 -05:00
Mia
66261e99d2
Admin: Support /eval in PMs (#8249) 2021-05-25 16:28:09 -07:00
Mia
9df9d10c98 Autoresponder: Fix again 2021-05-25 18:12:08 -05:00
Mia
1052e3c786 Autoresponder: Fix crash 2021-05-25 17:34:52 -05:00
Mia
21cc7b05ec
Autoresponder: Migrate logs to JSONL (#8335) 2021-05-25 15:21:41 -07:00
Mia
756db075be
Usersearch: Support setting a list of most-searched names (#8283) 2021-05-25 15:21:32 -07:00
Mia
d31ceb5693 Helptickets: Show Pokemon names in ticket for inap pokemon name tickets 2021-05-25 15:16:52 -05:00
Mia
a730b6a2bc Helptickets: Add shared battle HTML to pm harassment 2021-05-25 14:43:27 -05:00
Mia
f5ab015f0e Helptickets: Ensure battle replay links aren't duplicated 2021-05-25 13:58:45 -05:00
Mia
c4a667ae1d Hosts: Support aliases for suffix types 2021-05-24 19:58:21 -05:00
Quinton Lee
96895a6187
Tournaments: Add feedback to /tour runautodq (#8322) 2021-05-24 11:19:02 -07:00
PartMan
69e71297e8
/punishments: Use toID (#8332) 2021-05-24 11:18:32 -07:00
Mia
961e5b90d0 /clearlines: Trim reasons 2021-05-24 11:34:26 -05:00
Guangcong Luo
d555f6fe0d Fix max-len for long regexes
We use eslint-disable for max-len in a lot of places where we don't
actually need it. This fixes that.
2021-05-23 20:48:31 -07:00
Guangcong Luo
d8f492d209 Fix bugs in IP and IP range support
IPTools has gotten a bit buggy since the last time I looked at it. This
fixes `IPTools.ipRegex` to actually validate IPs, and adds a new
`IPTools.isValidRange` validation function.

`/ipsearch` now also supports all three IP range formats, thanks to
being refactored to use `IPTools.checker`.

Fixes #8330
2021-05-23 20:48:31 -07:00
Guangcong Luo
49cacba6cf Support !rebroadcast to bypass broadcast cooldown
The old system where only admins can bypass the broadcast cooldown
is weird, because it's wrong in both directions: Admins could
unintentionally re-broadcast, but other users couldn't intentionally
re-broadcast.

Now no one can unintentionally re-broadcast and everyone can
intentionally re-broadcast.
2021-05-23 19:41:07 -07:00
Guangcong Luo
4a716f1456 Use aliases for !formathelp broadcast cooldown
(This makes it so if someone uses `!om sketch` it will prevent use
of `!om sketchmons` for a while.)

Suggestion thread: https://www.smogon.com/forums/threads/make-the-broadcast-cooldown-for-commands-apply-to-aliases-of-that-command.3684569/
2021-05-23 18:23:52 -07:00
Annika
44dd12686d Mastermind: Maintain scores for users who leave 2021-05-23 16:11:54 -07:00
Mia
1721152389 Helptickets: Remove inner dropdowns on battle logs 2021-05-23 11:53:26 -05:00
Marty-D
abec21011f
Add more missing Trainer avatars 2021-05-22 13:47:23 -04:00
Mia
68c0be6594 Netfilters: Remove accidental commit
I was still debugging this and i'm unsure how this snuck in, seeing as it was on another branch...
2021-05-21 19:21:10 -05:00
Mia
fdbf6c693c Helptickets: Fix formatting in battle logs 2021-05-21 17:04:15 -05:00
Mia
081574bfdb Helptickets: Properly filter battle rooms 2021-05-21 12:41:53 -05:00
Mia
feab8f0049 Helptickets: Show all chat messages in reported battles 2021-05-21 12:35:08 -05:00
Mia
2cf47420ea Helptickets: Auto-upload common battle replays on submit for PM harassment tickets 2021-05-21 12:00:56 -05:00
Mia
310e4e8987 TOTD: Document /-otd removewinner 2021-05-20 22:11:36 -05:00
Annika
6628bb9d36 Mastermind: Support category aliases 2021-05-20 13:01:23 -07:00
Mia
538ca60d14 Roomevents: Check /roomevents add permissions for viewing source
Currently, it checks /roomevents view. But, /roomevents view does not have room permissions, as it is usable by anyone. As such, this makes it so anyone who can add a roomevent can view sources.
2021-05-20 09:36:11 -05:00
Annika
5b50c31507 /blockpms: Normalize capitalization 2021-05-19 18:07:26 -07:00
Annika
f71fb356f9 /randbats: Don't show sets for future gens 2021-05-19 10:39:18 -07:00
Mia
cbb5cf8ad5 Helptickets: Remove extraenous linebreak 2021-05-19 12:32:07 -05:00
Mia
88b4db05c3 Helptickets: Add global modlog button in PM harassment 2021-05-19 12:30:21 -05:00
Mia
f036283a60 Rooms: Actually ensure bots don't count for automodchat 2021-05-19 09:21:05 -05:00
Mia
ac976e7aa1 Rooms: Use user#can for checking staff permissions in automodchat
isStaff includes bots, which makes this useless if the room has a roombot.
2021-05-19 08:20:25 -05:00
Mia
4cd8031bb4 Helptickets: Link to client, not replays, in PM harassment tickets 2021-05-18 11:29:29 -05:00
Mia
b924534cb1 Helptickets: Fix shared battles display 2021-05-18 09:53:55 -05:00
Mia
9e459daee2 Helptickets: Support a disclaimer message on submit 2021-05-17 14:44:57 -05:00
Mia
8775d52953 Helptickets: Support HTML error messages for text tickets 2021-05-17 14:44:09 -05:00
Mia
d2c4eaf67e Helptickets: Make PMHarassment a text ticket type 2021-05-17 14:37:37 -05:00
Mia
52d1042c96 Helptickets: Support async checker functions
Likely necessary for future commits, either way cleaner to break them into separate commits (organization reasons)
2021-05-17 12:19:32 -05:00
Mia
77023b02b6
Stop defaulting messages to Lobby in protocol (#8304) 2021-05-17 07:17:48 -07:00
Guangcong Luo
c695620e58
Refactor to new challenge system (#8303)
See PR for full details:

https://github.com/smogon/pokemon-showdown/pull/8303
2021-05-17 07:15:01 -07:00
Mia
e5c568274c Helptickets: Prioritize text tickets in staff display 2021-05-17 08:53:29 -05:00
Guangcong Luo
58c85ee125 Fix crash with min source gen in /learn 2021-05-17 04:30:00 -07:00
Mia
38374f8bd9 Alias /chatlog to /chatlogs 2021-05-16 19:53:33 -05:00
Mia
d93de6c2fb Minor activities: Don't shift queue twice upon end 2021-05-16 18:11:01 -05:00
Mia
1ebf254697 Remove accidental debug print
Didn't see i didn't save.
2021-05-16 12:56:27 -05:00
Mia
959cb78aab Helptickets: Only state resolution time if it was more than 1 second ago 2021-05-16 11:28:21 -05:00
Annika
411858bbe9 /randombattles: Display sets for alternate formes 2021-05-15 13:33:50 -07:00