Commit Graph

23714 Commits

Author SHA1 Message Date
Annika
77acf7831d Random Battles: Properly level (OU) mons in Gen 1 2021-05-27 10:37:20 -07:00
Annika
c1c1f8976d Random Battles: Fix Hidden Power bug in Gen 6 2021-05-27 10:18:04 -07:00
Mia
248ce8b3b3 Helptickets: Display punishment list for reporters and add more punishments 2021-05-27 08:25:13 -05:00
Karthik
094623f18b
Sky Drop: Fix message when target is fainted (#8334) 2021-05-26 14:51:52 -07:00
Annika
83df279b1d
Add a chat plugin to manage username prefixes (#8338) 2021-05-26 14:39:13 -07:00
Instruct
d50c77fb4d
SSB: Bugfixes and Cosmetic Updates (#8318) 2021-05-26 14:23:09 -07:00
Guangcong Luo
74211859c9 Update to TypeScript 4.3
Changes relevant to our codebase:

- TypeScript now knows that `typeof id === 'string'`! A bunch of casts
  on `User | ID` or `Room | RoomID` are no longer necessary!!!

- `override` will protect against certain typoes, and we'll adopt it
  (and `--noImplicitOverride`) as soon as sucrase comes in

- `declare` is now required for properties we want to narrow the type
  of without directly overwriting - a good thing to use going forward,
	but very annoying to fix all our old code for
2021-05-26 14:16:54 -07:00
Distrib
0596c9ba6e
Datasearch: Increase in the number of pokemon generated in /randpoke (#8317) 2021-05-26 12:38:20 -07:00
Distrib
91c2106888
NFE: Ban Pikachu (#8337)
https://www.smogon.com/forums/threads/ss-nfe-pikachu-voting.3684954/#post-8867850
2021-05-26 13:16:34 -06:00
Mia
2fe8cb44bb Helptickets: Support fetching replay logs 2021-05-26 13:23:57 -05:00
Annika
0bd31705ab Improve handling of legacy forced-public prefixes 2021-05-26 12:44:44 -04:00
Guangcong Luo
743153ac32 Fix defaultLevel
defaultLevel should not be set to maxLevel if this would make teams break
maxTotalLevel.

Fixes a bug where level 100 pokemon were automatically set to higher
levels in cases where it didn't make sense.
2021-05-26 12:44:44 -04:00
May Evans
2d28dc4966
Gen 1: Move Victreebel and Lapras to OU by technicality (#8336) 2021-05-25 21:38:41 -07:00
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
c7b8925d82
Repl: Make it easier to heapdump processes (#8333) 2021-05-25 16:00:00 -07: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
Kris Johnson
cf68efc179
Sketchmons: Restrict Transform
https://www.smogon.com/forums/threads/ss-sketchmons-transform-voting.3684887/#post-8866671
2021-05-25 16:06:12 -06: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
Karthik
7988f15526
Gen 3: Always break the opponent's screens with Brick Break (#8325) 2021-05-25 15:39:40 -04: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
pacmanboss256
91f86530c5
Fix Gen 3 Weather Ball and Gen 4 Trick (#8314) 2021-05-24 15:07:37 -04: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
Marty-D
83fced0b73
UU: Ban Light Clay
https://www.smogon.com/forums/posts/8865645/
2021-05-24 13:38:12 -04:00
Mia
961e5b90d0 /clearlines: Trim reasons 2021-05-24 11:34:26 -05:00
pacmanboss256
647ebd5fc6
Fix Counter redirecting Encored self-target moves (#8300) 2021-05-23 22:55:21 -07: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
Instruct
7143939f1c
Gen 6 Hackmons: Fix EV limit and comment (#8329) 2021-05-23 18:25:12 -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
Guangcong Luo
4a2d386c55 Fix VGC EV validation 2021-05-23 17:16:13 -07:00
Guangcong Luo
e511d5c646 Fix EV validation 2021-05-23 16:55:00 -07:00
Annika
a77db612c8 Random Battles updates 2021-05-23 16:11:54 -07:00
Annika
44dd12686d Mastermind: Maintain scores for users who leave 2021-05-23 16:11:54 -07:00
Annika
cb5bdd9ed8 Random Battles: Make tests use predictable seeds 2021-05-23 16:11:54 -07:00
Guangcong Luo
9c98ae5c87 Rules: Split "EV Limit" out from "Obtainable Misc"
"EV Limit = 510" is now its own rule which can be changed separately
from the rest of Obtainable Misc.

The rest of Obtainable Misc doesn't seem useful to break up, so I
haven't bothered.
2021-05-23 15:14:00 -07:00
Guangcong Luo
570d3d3d29 Fix Weezing-Galar from VC Koffing validation
This fixes an issue where a Weezing-Galar evolved from a Koffing
gotten from a Virtual Console transfer from RBY/GSC should be able
to have a non-Hidden Ability, but couldn't.

Thanks @Karthik99999 for bringing this to my attention.

Fixes #8327
2021-05-23 11:29:17 -07:00
Mia
1721152389 Helptickets: Remove inner dropdowns on battle logs 2021-05-23 11:53:26 -05:00
Kris Johnson
0bbc630bb6 Tier Shift: Mark Pokemon holding Light Clay as RUBL 2021-05-22 17:17:09 -06:00
Marty-D
53e1bbe39c
RU: Ban Light Clay
https://www.smogon.com/forums/posts/8863799/
2021-05-22 17:18:26 -04:00
Marty-D
abec21011f
Add more missing Trainer avatars 2021-05-22 13:47:23 -04:00
Leonard Craft III
899bdaae02 Tests: Unskip passing Shell Bell test 2021-05-21 20:32:55 -05:00