Commit Graph

23714 Commits

Author SHA1 Message Date
Kris Johnson
1ddd08b5c7
Move Kommo-o to UUBL
https://www.smogon.com/forums/threads/ss-uu-suspect-process-stage-10-2-kommo-o.3693767/page-2#post-9035412
2021-11-18 18:59:27 -07:00
Mia
4c9ccd29ca Handle Typescript 4.5.2 2021-11-18 19:11:21 -06:00
Kris Johnson
ff4b7bed31
Add BDSP data and formats (#8530) 2021-11-18 18:00:10 -06:00
Kris Johnson
4fe5a877f0
BW NU: Ban Shadow Tag, Assist, and Copycat
https://www.smogon.com/forums/threads/bw-nu-shadow-tag-assist-copycat-voting.3693616/#post-9034750
2021-11-17 22:04:04 -07:00
sexy90gxebattlefactoryplayer
84fe802b50
Battle Factory: Force Prankster on Liepard set with Copycat (#8525) 2021-11-16 12:17:24 -08:00
Mia
b2c15106f3 Helptickets: Ignore report targets if a user reports themselves 2021-11-16 12:56:05 -06:00
Mia
fc1fe5f21b Chat: Remove Chat.html polyfill
Chat.html is now used for Preact.
2021-11-16 09:55:35 -06:00
Mia
784acab74c Helptickets: Fix extra escaping in /ht logs 2021-11-16 08:40:32 -06:00
Guangcong Luo
afeda0ccec Sample-teams: Suppress crashes from outdated rooms 2021-11-15 19:12:01 -05:00
Guangcong Luo
aa5a26e896 Remove no-extraneous-dependencies eslint rule
The `no-extraneous-dependencies` rule conflicts with the way we use
`node-oom-heapdump`.

It also isn't even the kind of dependency linting we need! It's
obvious when we forget to include a dependency (CI will tell us), it's
forgetting to remove a dependency that can stick around unnoticed.

Anyway, this allows us to remove the entirety of `eslint-plugin-import`.
Yay for cutting down dependencies?
2021-11-15 19:11:47 -05:00
Kris Johnson
ea70a21920
Remove Gym Challenge 2021-11-15 14:53:57 -07:00
Kris Johnson
34179c0f0a
Move Drampa to PUBL
https://www.smogon.com/forums/threads/swsh-pu-suspect-process-stage-7-voting-drampa.3693656/page-2#post-9032596
2021-11-15 13:55:32 -07:00
Mia
8020862dcb Moderation: Fix /noforcerename
Previously, since target was whitelisted, it counted the reason as part of the whitelisted name.
2021-11-15 11:53:37 -06:00
Mia
7c4a6a1917 Helptickets: Improve detection of reported opponents in battle tickets 2021-11-14 17:58:49 -06:00
Mia
19fe946945 Moderation: Support warning users with no user object
We already had support for this, it just had an unnecessary gate on 'is there a user object?'.
2021-11-13 16:37:07 -06:00
Mia
00c863c009 Tests: Add a test to ensure Sucrase always builds correctly
TS-Node can work w/o Sucrase working. This just adds a way for us to know when it's failing (easily).
2021-11-13 16:29:20 -06:00
Guangcong Luo
f1d95979e7 Slightly improve documentation 2021-11-13 14:17:47 -05: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
Guangcong Luo
2f0b1bec59 Log crashes when GitHub hook fails
(Also rewrite the loader to be less redundant.)
2021-11-13 13:45:05 -05:00
Mia
01ae28ce67 Fix Sucrase build script
We forgot to tell it to build TSX, so it's been failing to build & instead erroring out.
2021-11-13 12:33:19 -06:00
Mia
530138b9e5 GitHub: Respect PS loglevel unless set explicitly not to 2021-11-13 01:01:51 -06:00
Mia
f608496938
Support JSX in HTML pages (#8523)
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2021-11-12 22:06:26 -08:00
Guangcong Luo
be0cee5a33
Refactor getIdentity not to take roomids (#8528) 2021-11-12 22:05:59 -08:00
Mia
46bc0f312c Modlog-viewer: Remove references to 'any' 2021-11-12 23:20:47 -06: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
Annika
d4ba4d6262 Update randomized format selection
Add Blitz randbats; make No Dmax challenge only.
2021-11-12 12:56:20 -08:00
Mia
5dff5de194 Helptickets: Properly ban a ticketbanned user's previousIDs 2021-11-12 11:27:10 -06:00
Mia
8aadf432ab Usersearch: Don't make a table if no online users are found 2021-11-12 08:13:46 -06:00
Mia
48aaec0cd3 Roomfaqs: Allow people with the addfaq permission to view sources
the 'rfaq' perm is inconsistent: /addfaq perms make more sense and are what we check for the source in the page.
2021-11-11 10:51:16 -06:00
Kris Johnson
ffa50344b2
Wi-Fi: Fix index validation for /ga delete 2021-11-10 20:31:23 -07:00
Mia
96bb7bf344 Teams: Fail when unpacking invalid JSON 2021-11-10 19:04:23 -06:00
pyuk-bot
fdd775b3f1
Re-fix Frisk's interaction with Neturalizing Gas (#8526) 2021-11-10 10:30:20 -08:00
Guangcong Luo
f189cb9559
Fix DETAILS documentation in SIM-PROTOCOL
Fixes #8527
2021-11-10 08:39:28 -08:00
Mia
09be6e8439 Moderation: Add the alias weekroomban to /roomban
Requested for clarity.
2021-11-10 09:27:46 -06:00
Guangcong Luo
a2c18b9a93 Improve date validation in chatlog 2021-11-10 00:25:54 -05:00
Guangcong Luo
4efd6a2232 Fix month validation in chatlog 2021-11-09 23:59:47 -05:00
Kris Johnson
0c04a78d95
GSC 1v1: Ban Perish Song 2021-11-08 19:54:48 -07:00
Kris Johnson
e8ce5144f0
BW2 UU: Update bans 2021-11-08 19:53:34 -07:00
EvGym
5d8117302c
Refactor overriding stats used for damaging moves (#8373) 2021-11-08 13:48:26 -08:00
Mia
bc5cf934aa Fix build 2021-11-08 14:01:57 -06:00
Mia
c2023bf75b Chatlog: Make /gbc broadcastable in Staff room 2021-11-08 12:00:06 -06:00
Mia
7521ac50e0 Helptickets: Remove language display from tickets 2021-11-08 11:54:37 -06:00
Kris Johnson
d64624f79f
Sketchmons: Ban Sand Rush and unban Excadrill
https://www.smogon.com/forums/threads/sketchmons-om-of-the-month.3680298/page-9#post-9025359
2021-11-07 19:58:22 -07:00
Kris Johnson
9140510dfa SSB: Change quotes to use |c:| 2021-11-07 19:55:01 -07:00
Kris Johnson
0850db22e8
National Dex Monotype: Ban Galarian Moltres 2021-11-07 19:42:39 -07:00
Annika
f7cdeb5b20 November 2021 Random Battles updates
[Gen 8] Random Battle levels were nerfed or buffed for winrates greater than 7 or less than -7 deviations from the mean respectively.

[Gen 8] Random Doubles Battle levels were nerfed or buffed for winrates greater than 4 or less than -4 deviations from the mean respectively.
2021-11-07 18:40:58 -08:00
Mia
4540ff0627 Wifi: Fix crash in lottery drawing
Previously, the room was destroyed before adding the message that it was forcibly ended. destroying nulls the room, though, so this would always crash.
2021-11-07 20:17:44 -06:00
Mia
86743690e4 Modlog-viewer: Remove note about deprecated unspecified param handling 2021-11-07 12:06:20 -06:00
Mia
3df46681c1 Fix using /ml with no arguments 2021-11-07 12:01:46 -06:00
WeWuzNidokangz
66329a06eb
AAA Doubles: Update bans (#8522)
Requested by HeatEdgeSword:-
https://www.smogon.com/forums/threads/om-mashup-megathread-aaa-doubles-is-leaders-choice-for-november.3657159/page-27#post-9024416
2021-11-07 10:51:30 -07:00