-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Dex API #8181
Update Dex API #8181
Conversation
Planned:
I probably want to implement as many of these as possible ASAP, so they can all be done in one server restart. |
c9622eb
to
4dc898a
Compare
@@ -192,6 +192,6 @@ Dynamax and Gigantamax are not considered formes by the games themselves. PS imp | |||
`pokedex.js` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably change this to .ts
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are other references to .js
files that have since been TypeScripted; should I just make a separate commit to fix it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, yeah.
5261b70
to
4a1d38e
Compare
This is the change that renames: - `Dex.getMove` -> `Dex.moves.get` - `Dex.getAbility` -> `Dex.abilities.get` - `Dex.getItem` -> `Dex.items.get` - `Dex.getSpecies` -> `Dex.species.get` - `Dex.getEffect` -> `Dex.conditions.get` - `Dex.getEffectByID` -> `Dex.conditions.getByID` - `Dex.getNature` -> `Dex.natures.get` - `Dex.getType` -> `Dex.types.get` - `Dex.getFormat` -> `Dex.formats.get` - `Dex.data.Formats` -> `Dex.data.Rulesets` - `Dex.formats` -> now an array `Dex.formats.all()` - `Dex.getRuleTable` -> `Dex.formats.getRuleTable` - `Dex.validateFormat` -> `Dex.formats.validate` `getByID` methods have also been added to every other table.
The old export function was written for The Cafe's `/foodfight` command, and is only moderately particularly faithful to PS's export format. This new function is ported from the client's `src/panel-teamdropdown.tsx`, our most modern implementation. (We really should not have three team libraries... This work is an attempt to one day unify them.) This involves replacing PS's `fastUnpack` with a new implementation of the regular `unpack` function. At this point, I think separating `fastUnpack` and `unpack` was premature optimization.
semver? what's that? Seriously, though, the major breaking changes are all in undocumented APIs. Notable changes include: - A new Dex API (#8181) - `lobby` is no longer special-cased (messages without a roomid now always get sent to console rather than lobby) - A new challenge API (#8303) - A new system for specifying battle rules with numbers and other options (#8267)
commit e8f874c18aa787524b1f2dfb231079d5f6745c6a Author: Leonard Craft III <leonardcraft64@gmail.com> Date: Sun Aug 8 19:21:17 2021 -0500 Modlog: Fix double spaces when no moderation found (#8424) commit dd45c2bf4b7ac75d7c1e36bdc73249c92f6c6ba9 Author: Leonard Craft III <leonardcraft64@gmail.com> Date: Sun Aug 8 19:18:44 2021 -0500 Chat: Disallow HTTP images (#8425) commit 4c9e9fe042e1c2e497370e9bf57556f5f36abb38 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sun Aug 8 14:26:00 2021 -0500 Mafia: Fix crash in /mafia kill commit 822fea77953ce814dccefadaca994487817a54c1 Author: Leonard Craft III <leonardcraft64@gmail.com> Date: Sat Aug 7 14:30:41 2021 -0500 Add Dynamax Cannon to Encore and Mimic failure lists commit 7d02028ebec4c5089b77b7012c78c9ee3c74aa1b Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sat Aug 7 15:10:28 2021 -0400 Gen IV: Correct Light Ball modifier A discovery 15 years late! commit d8d2b80fa59e1e1a364f48f1f18223d80dac49a2 Author: TheSupervillain <85589744+TheSupervillain@users.noreply.github.com> Date: Fri Aug 6 18:21:58 2021 -0400 Refactor Berserk Gene to use useItem (#8423) commit a95d0f38fe613b80d599b5bdeb050ecb6c4ae072 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Sat Aug 7 03:51:37 2021 +0530 Add Neutralizing Gas to ignoringAbility debug message (#8416) commit 9168df02774797390038cd94662a15a5c6fb1d86 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Thu Aug 5 19:36:06 2021 -0600 ADV 1v1: Ban Clefable https://www.smogon.com/forums/threads/1v1-old-gens.3646875/page-12#post-8938147 commit d3c0b61b5d3dfc1efe4901506eb2685990604ee8 Author: ayiadvance <54006944+ayiadvance@users.noreply.github.com> Date: Thu Aug 5 15:49:56 2021 -0400 Mafia: Allow transitions between death states (#8418) commit e9990080d308f33917551bd86059035997db7791 Author: Annika <annika0uwu@gmail.com> Date: Wed Aug 4 21:12:37 2021 -0700 FS: Fix build commit 9762a8fe83bd52abfae87808095cb3b33eca1924 Author: Annika <annika0uwu@gmail.com> Date: Wed Aug 4 18:54:44 2021 -0700 Modlog: Ensure the global room uses global entries commit 8229357586a81ff024c2c6fd2bccb2d26e44280c Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Aug 4 15:31:42 2021 -0500 Add some useful aliases to /yearlockname commit 953fcde2faec79cbef01201fd85bbcc6f586eff4 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Aug 4 15:01:52 2021 -0500 Friends: Ensure the spectator list only includes battles with your friend as a player commit d4cec9736f03d177fd5216abbcb9beee95600811 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Aug 3 21:36:42 2021 -0600 Alphabet Cup: Ban Zamazenta-Hero commit c3ad27289d34abfe558f4ebc16019c9315ba6df9 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Aug 3 19:18:13 2021 -0600 Fix legality in STABmons and Alphabet Cup commit ce15b9b416d548a03e28cfb63c5517ae6dc0befb Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Aug 3 17:27:04 2021 -0500 Friends: Limit connection notifications to once every 15 minutes commit 9e8b905779cbaf6c26453097e12a35f5a6b7c3e3 Author: May Evans <36418502+PlagueVonKarma@users.noreply.github.com> Date: Tue Aug 3 17:33:46 2021 +0100 Gen 1: Move Aerodactyl and Dewgong to UU (#8421) The new RBY UU Viability Rankings were produced yesterday night, and these Pokemon moved up. The 2-revision policy for OU does not apply here. Update can be found here: https://www.smogon.com/forums/threads/rby-uu-viability-rankings.3647713/post-8935573 commit 35db54d3b6741702aac7776fc609ef9369f03854 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Aug 2 15:59:28 2021 -0600 Remove Camomons ladder commit d2721ec5fc5d37c35a21429d9be7347277812c19 Author: Archit Choudhary <choudhary-archit@protonmail.com> Date: Tue Aug 3 03:12:22 2021 +0530 Typo in CONTRIBUTING.md (#8391) commit 3aa9934e65504e4169c96cce20def7f219a6546d Author: Annika <annika0uwu@gmail.com> Date: Mon Aug 2 14:20:38 2021 -0700 Random Battles updates commit 4d933a99a82ab9a85bf7ab6584c815baf4c245bc Author: Annika <annika0uwu@gmail.com> Date: Mon Aug 2 13:46:34 2021 -0700 Random Battles: Balance levels based on July stats Cake will be handling No Dmax when their LOA is over. commit 521f7c3df678a7a51e73f44b18408481c6cbec8d Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 30 20:38:29 2021 -0700 Modlog viewer: Fix `/modnotes` bug `/modnotes` should be more like `/punishlog` than `/mlid` commit 0c7103802149fff242404f740dae7e95659c2b71 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Mon Aug 2 11:25:18 2021 -0400 Descriptions: Add detail to Sandstorm shortDesc commit 426e57baaf0b008ff234424f46c4d38989b26a26 Author: pacmanboss256 <61611109+pacmanboss256@users.noreply.github.com> Date: Sun Aug 1 21:38:37 2021 -0500 OU: Ban King's Rock (#8419) * Gen 8 OU: Ban King's Rock * Update formats.ts Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com> commit 68ba5573a3e36b62b1f82db5465bd22a8b760752 Author: WeWuzNidokangz <43294696+WeWuzNidokangz@users.noreply.github.com> Date: Mon Aug 2 07:36:00 2021 +0900 STABmons Mix and Mega: Fix bans and restrictions (#8417) * [Gen 8] STABmons Mix and Mega: Fix Bans/Restrictions * Update formats.ts Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com> commit c7aae915bb316560c2a91f3dc062ee236bacf747 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Jul 31 22:52:53 2021 -0600 Update OMotM and LCotM aliases commit cf7df087e6f0ab64687be4bcbeedc4cfe00b9b5b Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Jul 31 22:46:25 2021 -0600 Add August 2021 OMotM and RoA Spotlight commit b83e5088c276bb00160c2d6837b8d31861dea773 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Sun Aug 1 08:43:37 2021 +0530 Implement new STABmons policy (#8415) * Implement new STABmons policy * Use const * Use push instead of concat * Run generation loop for all the code * Small changes * Update data/rulesets.ts Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com> * fix lint issues Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com> commit 039daff90233893de38b3ba1f0d5f8fd010f3ffb Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sat Jul 31 21:24:16 2021 -0500 Friends: Ensure Config.usesqlite is respected commit b363f8a01d054bd1d0eaca32375db9aa3e90148c Author: Leonard Craft III <leonardcraft64@gmail.com> Date: Sat Jul 31 21:21:20 2021 -0500 VGC/BSS: Update to Series 10 commit 5634c50661e192eadf05d206415d7b81e20fb130 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sat Jul 31 21:04:55 2021 -0500 Friends: Better handle missing processes commit ea63437a0c47f913611d441c6f588be051fe5448 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sat Jul 31 11:04:59 2021 -0400 Add new Torkoal event Thanks, Anubis! commit 7f15e3c3f1daa44b88b10dbf86dfc7c54488f12b Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sat Jul 31 10:00:54 2021 -0400 Add Same Double Beat Online Competition commit cd89eacffff34874b60dacde5bcd42ac5a37e7db Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sat Jul 31 09:58:51 2021 -0400 Fix Dry Skin behaviour when taking damage from allies commit 3ac44020ac37736a8586ac4139ab1edecf5747ff Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 30 20:13:34 2021 -0700 Modlog viewer: Improve help commit 237884ec16e875e9ca613ff67cd749113c599fc2 Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 30 20:10:18 2021 -0700 Modlog viewer: Add /modnotes command Requested by Ayia commit c30e53f51d76c7f77c76fc40ebcb9f9c1d25cf97 Author: ayiadvance <54006944+ayiadvance@users.noreply.github.com> Date: Fri Jul 30 21:43:07 2021 -0400 Remove the word "lynch" from Mafia code (#8412) commit 7639427cff9d010093e302dcb26f89398bf18d97 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 30 16:36:48 2021 -0500 Friends: Allow locked users to toggle login notifications commit 52aeef992ff3a62c92a3d6ea05dfb32052433378 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 29 20:43:08 2021 -0500 Helptickets: Notify staff room immediately upon editing notes commit c7bbfd25f9c62b7222be2d07419741509fbc5b29 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 29 10:22:01 2021 -0500 Friends: Fix spectate list & stop requiring settings to be on commit 83e77f9c93164b0579f5efe96d81d8da6d957420 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 28 14:08:40 2021 -0500 Friends: Write last seen data on disconnect commit de5bc2c419672876c20b2030ec4bc93d373d3b9a Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 26 13:37:02 2021 -0500 Helptickets: Restrict modlog searches commit a461c002bc771b1bbdf33d32fed12442bcd97a83 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 26 13:35:50 2021 -0500 Helptickets: Fix modlog buttons commit 6c19c06c447377888e238a555aff77536a1a81ce Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 26 11:39:18 2021 -0500 Chatlog: Fix /help searchlogs commit cfb33eb53fe7fe7105d05407bb8bfe031eb122e8 Author: Annika <annika0uwu@gmail.com> Date: Sun Jul 25 15:42:46 2021 -0700 Modlog: Allow non-globalstaff to use modlogs commit 11caaf392f94b0a89ff70da69c3da593c90d7069 Author: Annika <annika0uwu@gmail.com> Date: Sun Jul 25 15:16:44 2021 -0700 Modlog: Improve support for multiple searches commit b5130dfb575bc5612d66f8b8666a109725d58b46 Author: Quinton Lee <quivistis@gmail.com> Date: Sun Jul 25 17:33:20 2021 -0500 Commands: Add feedback to /notifyuser (#8411) commit 577ef86003a5693513f05760af174691a17071a8 Author: Annika <annika0uwu@gmail.com> Date: Sat Jul 24 21:23:31 2021 -0700 Modlog: Fix punishments-only searches commit f3856757a1a74ae61e866bb1ebc605f4de4a6383 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 23 22:29:06 2021 -0500 Users: default the display of friend login notifs to off commit 982c357f88027e877a8ae73353a9f9b2a698c8f2 Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 23 15:27:02 2021 -0700 /evalsql: Fix bug commit 73f2ce2771e2487cd847822555f22505276c0a90 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Fri Jul 23 17:36:28 2021 -0400 NFE: Ban Galarian Mr. Mime https://www.smogon.com/forums/posts/8925287/ commit 3a57576b30e96bc93f51e01880312e4508d2e425 Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 23 14:19:09 2021 -0700 Modlog: Improve logging of slow SQL queries commit bcbe100c412006ba12e12b3780214d605b212ed5 Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 23 13:47:49 2021 -0700 Modlog: Use SQLite for searches (#8004) commit 145f1c1740967927ae889b041d735d5d14d172ab Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 22 23:41:29 2021 -0500 Fix build commit bdeb9c538a217bda2f3db77ddcd03f3f869eb7e9 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 22 21:18:52 2021 -0500 Support /blockchallenges friends commit 6c166115f547dfc4274c5ecc19785a4520060af9 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 22 21:17:20 2021 -0500 Friends: Strongly type getFriends commit 4dbee1869556c06274ddd0a7a8c04f831c55a4e3 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 22 16:50:41 2021 -0500 Friends: Fix login notifications commit a0b1fa1cc5550a811e9dfc37d57ba689da654a31 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 22 14:56:27 2021 -0500 /crq: Inform the client if the user is friended Necessary for upcoming changes. commit d5bb0945ff656200b3388de677560fc1abe2248a Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 22 02:22:52 2021 -0500 Moderation: Stop forcing /globalban on untrusted users This caused issues with banning offline users, and while I was fixing it I started to question why this was necessary at all. commit c5926158d82afafba93d10dfda90a07183b4cae8 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 21:58:38 2021 -0500 Fix build commit 4fdab98c27b5dcaac2ff01926f32bdbffc9f1048 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 21:46:11 2021 -0500 Chat: Simplify PM blocking code commit e2108c8657b5b3714b6caf36dd7bbc48df6fab52 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 21:26:50 2021 -0500 Fix /blockpms friends commit 285d0848574545e33ae1610d5df9d8f0dedcdf68 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 20:25:42 2021 -0500 Friends: Update language in settings page commit 19af1945a2fa15ec2640e9da8adc948be5e9c87e Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 20:22:36 2021 -0500 Friends: Show public battles on the spectator list regardless of setting commit 19c6daf9f2bb0893d9386dbad8c11315a2e5f1d0 Author: Annika <annika0uwu@gmail.com> Date: Wed Jul 21 14:32:54 2021 -0700 /evalsql: Make table scroll horizontally commit 96e4fe3af6521d775dde71082f197fb67e9b868c Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 16:33:27 2021 -0500 Friends: Fix /help and UHTML commit 4f50a1143fd7830cbc33ab8b181dc743499ef11d Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 16:26:21 2021 -0500 Fix build commit 879bb9dc182ee443c8688d7face1f49136d2aaeb Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 15:06:14 2021 -0500 /evalsql: Destroy DB after use commit 9ed2c0036fe5e14f364f0584f35d628e7a253cc9 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 15:05:02 2021 -0500 Add a command for evaluating SQLite (#8407) commit 807f8f0deeec29ff2122bb5cca095502373b5658 Author: Annika <annika0uwu@gmail.com> Date: Wed Jul 21 12:40:39 2021 -0700 .eslintrc: Lint private code with a newer standard commit 293c65303dd59a2bf4e5e607565b3c87200e931a Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 13:59:44 2021 -0500 /searchlog: Escape HTML in search commit ddd8205aa0a0fe7a963fa8ca72fc1a4a4a18866e Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jul 21 13:28:15 2021 -0500 Chat-monitor: Upload replays for BattleMonitor mutes commit a0bdd4da88df49d153fb5874296ba74c49f6c24f Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jul 20 23:42:59 2021 -0500 Friends: Index databases commit 9e11aab86d33b26a1714d9c0ac16f10572262ff4 Author: Annika <annika0uwu@gmail.com> Date: Tue Jul 20 21:31:02 2021 -0700 SQL library: Fix bugs and add features for modlog commit 330038ca0f408089239e7c53d31f14aa093409b9 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jul 20 20:47:40 2021 -0500 SQL: Expose normal statement table to transactions commit 719f0818d04b4f796f758255a02a495617f10e5d Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jul 20 20:45:27 2021 -0500 SQL: Expose string-keyed statement table to transactions commit 044dc3e54f11128a0f48939b1194cf822f197d4c Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jul 20 20:24:37 2021 -0500 SQL library: Improve API commit 43c0c58dd81be589652c1e7be1fea7f9e766783e Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jul 20 00:28:40 2021 -0600 National Dex: Ban luck-based items commit ace114ff36c2ce1064299ba344702f44ef7366c8 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jul 20 00:03:12 2021 -0500 Fix build commit adbe7b99473bc5534b69d07146eb35f1cecc2dfe Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 19 23:56:58 2021 -0500 SQL library: Improve error handling commit 2c1b7d7828af849ca7b0fd6eed448a73fc7df341 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 19 21:02:03 2021 -0500 Add a library for running SQLite databases in threads (#7350) commit b175d8b000de3467ecaf6c52ec218459a5e43148 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 19 20:49:47 2021 -0500 Friends: Use /migrations/friends for versioning commit c20cee8b1ab0c7dc9e8b6c1de02f60fe6189cdae Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 19 17:16:14 2021 -0500 Friends: Properly update spectator lists on battle end commit 48a71e82a841db7e1d0459e47c06b1a0e6584e1f Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 19 16:16:11 2021 -0500 Helptickets: Don't allow IP-Appeals from users who have a punishment matching their userid commit f75f99f20a7636c1705eaf62f1baec83f660a50f Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 19 16:10:32 2021 -0500 Helptickets: Remove ISP-Appeals commit d1e92033f7b9d59b51daf27f7d5877a41d80cca3 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Jul 19 15:13:48 2021 -0600 National Dex Monotype: Ban luck-based items https://www.smogon.com/forums/threads/ban-on-luck-based-items.3687959/ commit ce9cde9324a69b7c4745ab113131665f6520063d Author: Marty-D <Marty-D@users.noreply.github.com> Date: Mon Jul 19 16:26:35 2021 -0400 ZU: Ban Centiskorch commit ed34cc49b11c422e9e855a6aa12adf75e49d7dde Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jul 19 02:57:08 2021 -0500 Friends: Add a page to spectate the battles of friends commit 74295cf5061a881cc668bff3804f338ee140da25 Author: Annika <annika0uwu@gmail.com> Date: Sun Jul 18 21:07:29 2021 -0700 Modlog Converter: Improve modernization This now reaches 99.9% success rate on logs from January 2018-May 2021, and 94.6% success on logs from November 2014-May 2021. (Assuming one defines "success" as "modernizing the modlog entry without just spitting out an OLD MODLOG: entry".) commit 7bd70f8266e9571357e76742167b76a09fac8eb5 Author: Annika <annika0uwu@gmail.com> Date: Sun Jul 18 18:16:41 2021 -0700 Modlog Converter: Fix issues with ts-node commit 33145f3fc8551ee859c6e3103b6c24ba9feaef32 Author: Annika <annika0uwu@gmail.com> Date: Sat Jul 17 21:21:32 2021 -0700 Modlog Converter: Default to 0 if no time is found This makes it clearer that no time was found, since PS didn't exist in 1970. commit a4c1be6496542b872d4f97abb7778c5c78f903b8 Author: Annika <annika0uwu@gmail.com> Date: Sat Jul 17 21:14:24 2021 -0700 Modlog Converter: Fix bugs The modlog converter now mostly works properly. There are some discrepancies (for example, Lobby gets 11,000 more modlog entries in SQLite than in text); I'm not sure if this is because of glitches in the previous system or a bug in my code. This script will need to be run after #8004 is merged. commit eb9fd0e8e99ec99db29965dbd187aebeca6aa1ab Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sat Jul 17 18:33:32 2021 -0500 Friends: Use getExact in displaying singular pending requests commit 8faa1945218af13f865e50da8beb6fe9fb541d63 Author: InAShellnut <ariegoud@gmail.com> Date: Sat Jul 17 14:08:53 2021 -0600 Stadium 2: Fix Destiny Bond, Perish Song, and recoil (#8398) Co-authored-by: Marty-D <Marty-D@users.noreply.github.com> Bugs documented here: https://www.smogon.com/forums/threads/pok%C3%A9mon-stadium-2-simulators-bugs-glitches-and-other-mistakes.3685286/ commit c93111e81cd7ddce541193135d0cf9a7e3590dfa Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sat Jul 17 13:40:39 2021 -0400 Gen II: Correct Unown formes Thanks, pre! commit 6a2f40b3a92351db9cd0ff8b31ff5f0540fef052 Author: Distrib <theodelhay@orange.fr> Date: Sat Jul 17 19:38:39 2021 +0200 Update format threads (#8405) commit c32d9aecfee535473268f77d3b58c1f9a9a9d08a Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Sat Jul 17 23:07:39 2021 +0530 Stadium 2: Send -unboost for stat drops (#8403) commit a36b74dbd17ece5c532041fff9210cf19194ea62 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Sat Jul 17 23:06:56 2021 +0530 Gen 3: Type boosting items should boost the attacking stat (#8402) commit 1cfead5d99afba5d74ed82b108b4493a3016b9c3 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 23:53:26 2021 -0500 Friends: Fix single notifications commit 6949344351553d372444bcf4bf20cf37bdeb99f7 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 22:50:09 2021 -0500 Friends: Fix button commit 48ef5e3758dc41daac115428f9e3acd09573fb99 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 22:48:29 2021 -0500 Friends: Fix crash in hideLogins commit 20c795f8f41ed657ee0cf62af4cc8e5b95f30a17 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 22:33:07 2021 -0500 Friends: Move caching to User#friends (#8404) commit 194a939cd60077bb6fed4594c8aa0643015cac5c Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 22:23:37 2021 -0500 Friends: Use /raw ugh. commit 34f9e33116e5903309de8ccf3307ad5950c5cee8 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 22:22:14 2021 -0500 Friends: Match behavior with online friend requests when only one request is pending commit 3316bf3ffb6930b6e173ab7c4415242332860daa Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 20:54:45 2021 -0500 Friends: Fix 'no request pending' error commit 06228119d029d1ee7b41345fac5bc23feb1e6bc3 Author: HoeenHero <HoeenCoder@users.noreply.github.com> Date: Fri Jul 16 17:56:47 2021 -0400 Auth: Don't accidentally reduce a Section Leader's permissions commit edf9d08a26619e9e5269ee4eb2d1c549bcd202cc Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 16 17:50:10 2021 -0400 Fix blockpms after friends list addition commit 8e3b05b2bfed52ac4237666b9d2a24cf817124ae Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 16:41:32 2021 -0500 Friends: Fix crash pt 2 commit 7b52c4d1d0a160cc01069db9c303dde1dff4b653 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 16:38:34 2021 -0500 Friends: Fix crash commit 3020298000c7610cfeb093e6ef73b5dbe7b1a12d Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 16:19:17 2021 -0500 Friends: Fix accepting your own requests commit 1a2c3b2e721d90d7647439950c98eef762b3b023 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 15:56:05 2021 -0500 Friends: Properly allow viewing lists while requests are blocked commit 9323fd241662022d6ba1baa5ada7339b0d2d25e9 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 15:53:24 2021 -0500 Friends: Use Users#getExact more commit 2c73519641b4658719d8667a053cfc950eb5cdd8 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 15:41:27 2021 -0500 Friends: Revert to sending PMs from & commit c9c5e7fbb3c45416289f6d307586b0b75727722c Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 15:31:37 2021 -0500 Friends: Display sent list for users blocking requests commit 241804aa6b643bf255d0371693867997f52423c8 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 15:26:40 2021 -0500 Friends: Send friend request messages from the friend instead of & commit 084af11c06ed77f224ee8f414214e8363b1883f4 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 15:16:10 2021 -0500 Friends: Properly handle blockpms commit e5fbd64427be74663dcc3710208c7a3c176dccc8 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 16 14:56:34 2021 -0500 Support adding friends (#7333) commit 40e36c8f381e1356e7788f7a82e34810379fc904 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Fri Jul 16 13:51:29 2021 -0600 Make adjustments to Section Leaders (#8387) commit ddec31a24fb9ff3cb75505b2b6487b3bf148e588 Author: PartMan <47669599+PartMan7@users.noreply.github.com> Date: Sat Jul 17 01:20:45 2021 +0530 Add /notifyuser (#8394) commit 29421ee1450d57bf8ea6fd8e4034267ccd05e78b Author: PartMan <47669599+PartMan7@users.noreply.github.com> Date: Sat Jul 17 01:20:34 2021 +0530 Scavengers: Notify users on hint addition (#8400) commit ac523230c6719ba2682aecc0cb9c35e3b4097853 Author: Leonard Craft III <leonardcraft64@gmail.com> Date: Fri Jul 16 14:49:03 2021 -0500 National Dex Monotype: Ban Urshifu https://www.smogon.com/forums/threads/national-dex-monotype-urshifu-s-voting.3687698/post-8918636 commit cee7d8290c5c6f5c916c4950aec677c56612c401 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 15 23:43:12 2021 -0500 Youtube: Update TwitchStream display HTML Requested by Felucia. commit c57691e2a64075ddb325cdf0c3a1398435569a86 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 15 17:59:11 2021 -0500 Fix build pt. 2 commit 422ca2550625847c7dd5a9595cee3db6383fc7e6 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 15 16:44:04 2021 -0500 Fix build commit cb72f8e42dc8d4c1466bbd4e7c935dbc427c817e Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 15 15:19:03 2021 -0500 Usergroups: Block autoconfirmed & locked users from bypassing /blockpms ac commit bb19c4544883e44313d004370d0da369bb6252a5 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jul 15 15:16:40 2021 -0500 Helptickets: Add extra state tracking, update messages commit 5b5c1a1646c41aa3a0f2e40944edbcda4bf8828b Author: Annika <annika0uwu@gmail.com> Date: Thu Jul 15 13:06:07 2021 -0700 Fix room privacy checks Room.settings.isPrivate can be a boolean, undefined, or a string. commit 8b911cbf12353af2154f830d9dfef60b3307a230 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Thu Jul 15 20:45:03 2021 +0530 Remove LC Uber as a valid tier in /ds help text (#8399) commit 010dbd6e59b8a9396eef1ab940447841f5a08122 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Wed Jul 14 20:32:56 2021 -0400 Fix Nintendo Cup 2000 Move Legality Closes #8397 commit 12abcd02c9adcc8a78bc608ffebec81d95afbe29 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Wed Jul 14 22:20:01 2021 +0530 Fix bugs with Sucrase build process (#8393) commit cd4d2ecdbc5275c3e205de6d142aeb998086d059 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jul 13 22:28:55 2021 -0600 National Dex: Formally move Blaziken to NDOU commit 52a93783619a13f41a395d884abe674059f07b3b Author: Annika <annika0uwu@gmail.com> Date: Tue Jul 13 16:01:03 2021 -0700 Trivia: Support combining multiple categories commit 6cc4ebe5d71fd539516d124b54d729a6a1fa49ef Author: Annika <annika0uwu@gmail.com> Date: Tue Jul 13 15:43:38 2021 -0700 Trivia: Fix crash when no questions have been added commit 00fd9ec54ae5e6ba5cc8dca170ae4b75d4ab2f52 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Mon Jul 12 18:06:34 2021 -0400 Fix Splintered Stormshards/Steel Roller interaction with substitutes commit fa325f5743fcc859344e769f811df3c36cc986c3 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Mon Jul 12 13:20:36 2021 -0400 LC: Ban Vullaby https://www.smogon.com/forums/posts/8915365/ commit 84bc3972a6e3ab26212b240a20b3026243883bbd Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sun Jul 11 22:20:37 2021 -0500 Helptickets: Add help for /ht removenote Didn't get staged in my previous commit, unfortunately. commit 77bcaf4e33b0a79fd4e52a85074896f7ccbc0693 Author: TheSupervillain <85589744+TheSupervillain@users.noreply.github.com> Date: Sun Jul 11 21:58:51 2021 -0400 Ignore 10000 speed upper limit in Custom Game (#8392) commit cdb910be4c036f39d463af8c9add1a758d5bb1e4 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sun Jul 11 18:58:16 2021 -0500 Helptickets: Support adding hover notes to tickets commit e530cee6f125ae54ac6090a0099f9dfbe85afa19 Author: Annika <annika0uwu@gmail.com> Date: Sun Jul 11 11:54:22 2021 -0700 Fix bugs with Sucrase build process commit a499393c12f360fbb2fa798be18db061290c6b0f Author: Annika <annika0uwu@gmail.com> Date: Sat Jul 10 17:19:39 2021 -0700 Fix build commit 491ce582348421a543769d64d7dc7b00b088260d Author: Annika <annika0uwu@gmail.com> Date: Sat Jul 10 14:37:16 2021 -0700 Fix dex-formats in Sucrase build commit c5f881b76f1c4c59dab7e8b88b44ab85eead5c67 Author: Annika <annika0uwu@gmail.com> Date: Sat Jul 10 16:31:57 2021 -0400 More fixes for ts-node commit dfb246d40f2e528a628035af114037382a142444 Author: PartMan <47669599+PartMan7@users.noreply.github.com> Date: Sat Jul 10 16:49:03 2021 +0530 Datasearch: Minor refactor (#8390) This fixes/changes a couple things: a) Long dexsearch queries now reject with an error instead of blindly trimming and giving stuff like ``retur could not be found in any of the search categories``. b) Maxgen now works properly (before this, the maxgen parameter only worked if it was either the first term or if there were no spaces after the preceding comma). c) Mod now allows spaces around the equals sign (`mod = SSB`) instead of matching properly and failing on the split. d) Gen0 no longer works in abilitysearch / itemsearch (not that relevant, but since current behaviour is to block Gen 1/2, seems a bit weird to allow 0). e) Gen X and Maxgen X now work in abilitysearch / itemsearch (before this, they'd give a blank 'no results found'). f) Gen X and Maxgen X now support multi-digit generations (well in advance before Gen 10 releases, but doesn't hurt to be ready). commit ba2a1093116b30d460c7c0324c48aacbc42a1796 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 9 22:01:15 2021 -0500 Support viewing stats on the activity of rooms (#8345) commit 6ed55b6d1f7c676320af7c889b1a4a9213ecb6bc Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 9 19:59:45 2021 -0700 IPTools: Add sanity checks (#8331) commit c134195915424b670cd794e45412233153461d46 Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 9 19:59:22 2021 -0700 Use ts-node instead of Sucrase (#8369) commit c27cc7ae64a7d83915bd353c84d78fc700b77a7e Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 9 17:14:45 2021 -0500 Helptickets: Properly link logs for text tickets in /ht list commit aeac844ed14925d39221766f5d955fe76bc96fd8 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 9 17:00:10 2021 -0500 Helptickets: Refresh text tickets on claim commit 6a833db4f60ea2783d72eec4b0c9a95740f655da Author: Marty-D <Marty-D@users.noreply.github.com> Date: Thu Jul 8 15:46:02 2021 -0400 Gen III-IV: Fix Choice lock timing commit 9d8c98652fde4aa5e0f5a95156e06f753008a7c1 Author: Leonard Craft III <leonardcraft64@gmail.com> Date: Thu Jul 8 14:36:31 2021 -0500 Add VGC/BSS Series 10 support (#8386) commit 1ef25735b9b0b76cda36dbe0f6e2b444514a75f6 Author: TheSupervillain <85589744+TheSupervillain@users.noreply.github.com> Date: Thu Jul 8 00:58:24 2021 -0400 Avatars: Change Duel Disk to Wonder Launcher (#8380) commit 410ef7ca707a7ec16812a5cb5d38b7a23a57237e Author: Marty-D <Marty-D@users.noreply.github.com> Date: Wed Jul 7 19:31:10 2021 -0400 Gen IV: Hide Mail on Team Preview https://www.smogon.com/forums/threads/team-preview-information-before-gen-5.3687366/ commit 598ac409e88326f63b7992aa03fa43865b7878ab Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jul 6 23:07:51 2021 -0600 Rename Let's Go! mod to 'gen7letsgo' commit eb2247a58de8c779ca989ce86765b1c2b6555b2e Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jul 6 23:04:07 2021 -0600 Change LCotM to Pure Hackmons commit 73eed0d40b819f8d0908868d348e4b186c5afcb8 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Wed Jul 7 00:29:55 2021 +0530 Show "Bypasses Protect" flag in /dt for ally-targeting moves (#8384) commit 5a92c87869afff1f91deae9162dbda993656ed73 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Jul 5 18:40:44 2021 -0600 BW OU: Ban Razor Fang too commit ce1995568a27400f34efc70b9436e529665956ea Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Jul 5 18:19:36 2021 -0600 BW OU: Ban King's Rock https://www.smogon.com/forums/threads/re-king%E2%80%99s-rock-and-other-%E2%80%9Cluck-items%E2%80%9D.3682896/page-3#post-8909005 commit a80dd9be87d6b1ae50652536db844df069828ee4 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Jul 5 13:21:27 2021 -0600 ZU: Ban Grassy Seed commit 4937547bb1748d036ad1a018dccaa9eae6eda94b Author: pacmanboss256 <61611109+pacmanboss256@users.noreply.github.com> Date: Mon Jul 5 14:21:22 2021 -0500 Fix build (#8382) commit ad406e37c6ad35ec721dd15bbed779ee4e594c88 Author: FeluciaPS <TheMezStrikes@gmail.com> Date: Mon Jul 5 00:57:47 2021 +0200 Add htmlfaq to multi-line commands (#8379) commit a3eec79627901c0a2f19b8fc5c4ab6cc837631a9 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Sun Jul 4 17:05:01 2021 -0500 Update documentation for /avatarhelp commit 3a4300e7577b5dfcf783143bb7dcab11f327eeef Author: Guangcong Luo <guangcongluo@gmail.com> Date: Mon Jun 28 19:41:00 2021 -0700 Always have a 1000-turn limit Previously, you would need to opt into Endless Battle Clause to have a 1000-turn limit. It is now enforced for all battles always. commit b9affef2a4f5d3b14e1addaf512789f65f1c9f02 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Mon Jun 28 16:29:00 2021 -0700 Fix comment for Imposter commit 26dd9b7870acaec8bfc16e401d73b69c1f0106c5 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Jul 3 13:28:27 2021 -0600 Partners in Crime: Ban Moody, add Sleep Clause Mod commit 217979d2e5976e41075201da9f0510806098aeb7 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sat Jul 3 14:24:43 2021 -0400 Gen 5 OU: Drop Infernape into OU by technicality https://www.smogon.com/forums/posts/8906068/ commit 82d21aa33c6d7203df3e7852374f3a28d8e24ae0 Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 2 13:02:33 2021 -0700 Random Battles: Fix Venusaur bug in Gen 5 commit 3403cc0d931736423737bb2d4ca28d8de6d0ead4 Author: Annika <annika0uwu@gmail.com> Date: Fri Jul 2 12:46:25 2021 -0700 /whois: Fix formatting for punished previous names commit 5b4e2fe172fb3815c5f10718946dc1cac3e7d7e2 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jul 2 20:26:10 2021 -0500 Spotlights: Check /setdaily permissions for viewing source instead of /daily https://www.smogon.com/forums/threads/let-drivers-see-sourcecode-for-dailies-when-doing-daily.3687106/#post-8905412 commit c5e16996501615470b8d39414c0412f2c04fc971 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Fri Jul 2 10:26:57 2021 -0400 Roll back to the previous smogon version, then commit ad959513c1982c9b095bdf9973d5db859aa4663a Author: Marty-D <Marty-D@users.noreply.github.com> Date: Fri Jul 2 09:51:19 2021 -0400 Actually update deps to get newest smogon for set-import commit eb9935fe6b23f40bac73f6e7e1bbfc90c461f999 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Fri Jul 2 09:22:52 2021 -0400 Update deps to get newest smogon for set-import commit 33e82d85d5edb66ccfdf5cdd861f4ef362b0fdaa Author: Annika <annika0uwu@gmail.com> Date: Thu Jul 1 16:32:55 2021 -0700 Random Battles update commit c87bf685bb141110bbc941ec179a5aaa59fe362e Author: Annika <annika0uwu@gmail.com> Date: Thu Jul 1 16:07:52 2021 -0700 Fix Punishments tests commit ca37942f5c00752fcafd2f038085fc356cf188af Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Thu Jul 1 12:39:44 2021 -0600 SSB: Fix infinite loop with Shared Power commit 911de2dc31844861a12e68ee1b2a3b24526e7d12 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Thu Jul 1 13:12:01 2021 -0400 Fix typo commit b63f3d69ffb756b21364d1711dbef7e218301a86 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Thu Jul 1 11:01:52 2021 -0600 Add July 2021 tier shifts commit 9e217d34c29fcb8018a79a9de0ab62274256ce7b Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Thu Jul 1 10:47:55 2021 -0600 Add July 2021 OMotM, LCotM, and RoA Spotlight commit 520d2931aada007a39e2d6ab20d879ffa35a4e0d Author: Marty-D <Marty-D@users.noreply.github.com> Date: Thu Jul 1 12:25:16 2021 -0400 Add Water Paradise Online Competition commit 876c86d2367ed9826dd24af0b3f85f6f2cff122c Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 29 22:47:28 2021 -0600 Change type declaration formatting for Maps/Sets commit 61b72b687c7fe15c04fdc61e6c625b5990215326 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 29 22:45:53 2021 -0600 Wifi: Modernize code of Giveaway#getSprite commit a80ce32b1f04512c3cbfe42e6ff965aa50d109f3 Author: Annika <annika0uwu@gmail.com> Date: Tue Jun 29 17:55:23 2021 -0700 Punishments: Add broader, more integrated tests commit 56754afb422764f58c4c9885de42a00f9e28308f Author: Annika <annika0uwu@gmail.com> Date: Tue Jun 29 15:41:03 2021 -0700 Punishments: Remove getPunishType functions These are poorly designed as they only return one punishments, but users can now have several. commit e71060f1e051232beb9941cc1ef7cd7a7e409d81 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 29 15:37:09 2021 -0600 Balanced Hackmons: Fix bans commit cbec7757dd4f7ff10cfbd6132ef3858da3920252 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Tue Jun 29 20:00:14 2021 +0530 Gen 5: Blue Basculin should be able to have Reckless (#8377) commit 7fe886302c319692d72d27cbfd74de8b9489fce7 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 29 00:45:09 2021 -0500 /botmsg: Fix filter check commit bfe92102c874ec9bda353825087d4de114db138a Author: TheSupervillain <85589744+TheSupervillain@users.noreply.github.com> Date: Tue Jun 29 01:42:16 2021 -0400 Gen 1: Fix Transform and Endless Battle Clause (#8372) Gen 1 Endless Battle Clause now accounts for: - frozen pokemon - Struggle against Ghosts - Ditto transforming into Ditto Gen 1 Stadium now correctly simulates Transform failing in Transform-vs-Transform situations. commit 5430bf43653720c2f0c0be8514f171eed6b4ee83 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jun 28 21:50:56 2021 -0500 Fix build Unsure why ESLint did not throw this for me. commit d829ceeff4895dee364072c29be7a5e06f377183 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jun 28 21:28:06 2021 -0500 Chat: Validate command recursion commit 62eaf3f5faa848c80d4037b6ebfe08113383d0f9 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Jun 28 17:08:16 2021 -0600 Room FAQs: Update help commit 5e155af0356615c2e82be53c484726593563c5f7 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Jun 28 16:39:58 2021 -0600 Balanced Hackmons: Ban Rusted Sword commit 716568b1bc98a51faa501d699cfb8096640e549d Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Jun 28 16:37:47 2021 -0600 Camomons: Ban Hydreigon, Latias, Latios, and Slowking-Galar commit dd4ec4ca313471af23d5d9e04fc7b56b6fc52374 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Jun 28 16:36:06 2021 -0600 Monotype: Ban luck-based items commit 95fb91d4655deac95d660012cb77c22ab965e1b9 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sun Jun 27 20:23:30 2021 -0400 PU: Ban Alolan Exeggutor https://www.smogon.com/forums/posts/8898382/ commit 965eaff862fcf14543721d795e8d1a2ec2462828 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sun Jun 27 18:22:35 2021 -0400 Gen 7 UU: Ban Quagsire https://www.smogon.com/forums/posts/8900000/ commit e9a5bc93324c3a3193e9231aa964d8474ed5e2ef Author: Distrib <theodelhay@orange.fr> Date: Sun Jun 27 02:28:03 2021 +0200 /blockchallenges: Support allowing challenges from certain groups (#8362) commit 92c932d35af1f681a13429405db9a8550744f277 Author: ACakeWearingAHat <45981036+ACakeWearingAHat@users.noreply.github.com> Date: Fri Jun 25 19:04:41 2021 -0500 Random Battles updates (#8374) commit 4d494ea5e1c90069387c4948dc5dc75a9fda90e7 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Fri Jun 25 17:56:40 2021 -0600 STABmons: Ban Glacial Lance, Unban Mamoswine commit 979c75c1cbdb5c14d376c01fa58a6774904c0cf8 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Fri Jun 25 17:55:21 2021 -0600 National Dex: Unban Blaziken for suspect test commit 44ef659eb5c3a758c2b46e3ae3e6dbc058fecfd3 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jun 24 20:46:08 2021 -0500 Helptickets: Better handle RG errors Seriously, fuck ripgrepe error reporting. commit d1b397bc7cf87876f9c47f7adb3636dc28322fb4 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jun 24 20:39:11 2021 -0500 Helptickets: Fix crash commit 1176e393f05a4cb351666d8074e801b56b9edce7 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jun 24 16:39:42 2021 -0500 Helptickets: Log text tickets (#8352) commit 59c404c8c43da3b25b5b8fe1327179d360e66ca1 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jun 24 14:00:44 2021 -0500 Chat-monitor: Wrap autolocked messages in code formatting commit 43713804b9f8f9f398fc501d27e4b1d490a4b8e1 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Thu Jun 24 12:05:11 2021 -0400 Gen II-IV: Fix Destiny Bond handling during Pursuit Thanks, xzern and SuperEpicAmpharos! Also noticed the Pursuit switch accuracy check wasn't overridden in Gen 2 yet so I threw that in too. commit 3eeccb002ecc608fb66c25b6abb3ef87f667f8b6 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jun 23 21:52:19 2021 -0500 Punishments: Make /unlock lift /yearlockname commit 817986de9221347cb9f6d07e3cced0f7a008f456 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jun 23 16:25:42 2021 -0500 Moderation: Restrict seeing punishments for non-staff trusted users commit 558c4e3a4a20ed05ee3a4d7c74de63d186b2566c Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jun 23 16:05:51 2021 -0500 Moderation: Only allow non-staff trusted users to see locks and bans on /offlinewhois Approved by Aeo. commit a5929b30763eb5d1464ab297cc8c37a10be8d49e Author: Marty-D <Marty-D@users.noreply.github.com> Date: Wed Jun 23 11:32:43 2021 -0400 Gen III: Make Follow Me a slot condition Thanks, xzern! commit 7cad87035f1796d9dfda983854ed5fdd634739e6 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 22 23:20:57 2021 -0500 Roomfaqs: Actually fix crash commit 342ce89a38292149e1ab9893beb57f18b884d7a9 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 22 23:19:57 2021 -0500 Roomfaqs: Fix crash commit cb0bb92ad37c2b7a48b2207786ddcd54a967e3dc Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 22 23:13:25 2021 -0500 Helptickets: Determine opponents from replays for battle harassment tickets commit e02b358da5c1e245259415f5f342c97b5e2483b9 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 22 20:26:31 2021 -0500 Room FAQs: Support HTML (#8343) commit 0d7159b12cc2f0aea2afe6ee25b53892c7c9603e Author: PartMan <47669599+PartMan7@users.noreply.github.com> Date: Wed Jun 23 04:22:54 2021 +0530 /botmsg: Permit ROs too (#8370) (Bots become ROs of subroom groupchats if they create them.) commit fe338a84f5679b0911594dbd3ce7244e4276ebcb Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 22 17:10:16 2021 -0500 Support locking usernames for a year (#8371) commit 5db9d3975658175b78baf61d6891f7d5a617b990 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Wed Jun 23 00:36:02 2021 +0530 Support default format for randbats commands (#8367) commit 31b7ac552f31bb613d2f4bcb3708c37bb120e1eb Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 22 00:26:18 2021 -0600 Bonus Type: Ban Kartana commit eedf54a01b2d3243d648a9670e5234101e4d9dae Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jun 21 23:03:19 2021 -0500 Helptickets: Hide punishment options on ticket close commit 90bab42cc1627b4ce631992d84eb834b3b5dc177 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sun Jun 20 23:52:09 2021 -0600 CODEOWNERS: Add Kris to SSB and remove Instruct commit c11d3d3ae91c7b378d9e3b2930aacd97283f9b8b Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sun Jun 20 23:50:21 2021 -0600 AAA: Ban Archeops commit 45a2f8e12508486e06566d08108c57a9e38ffc11 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jun 17 11:39:26 2021 -0500 Helptickets: Add autocompletes to the 'respond to reporter' tab commit b0e839e1e8c68d59f6a80e074b113f34a0590332 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 15 18:15:44 2021 -0500 Moderation: Only log /rangeban to Staff commit 5c5b82931d349f42d83025ab917afa29b9106960 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Tue Jun 15 12:46:15 2021 -0700 Don't break invites when renaming rooms Fixes #8361 commit 18446f02cc4783e6dfaba3f012db43ec95acb578 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Mon Jun 14 17:18:45 2021 -0400 Gen IV: Fix multi-hit behaviour while asleep commit ce7bb61dd47c8ab7908908390fd752d165c0a50d Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jun 14 12:20:33 2021 -0500 Helptickets: Update some grammar and behavior commit 9c7781480f615ad0055a6810a329a1a8f6af9e1b Author: Distrib <theodelhay@orange.fr> Date: Mon Jun 14 19:11:07 2021 +0200 Ubers: Ban Zacian (#8366) https://www.smogon.com/forums/posts/8887642/ commit 197fe7b6b8c8e3527dddd041b215b80d1bbfd85e Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sun Jun 13 13:10:52 2021 -0500 Spotlights: Add a refresh button to the dailies page https://www.smogon.com/forums/threads/add-a-refresh-button-to-the-daily-spotlights-page.3686101/#post-8886206 commit e6ebcebc8247e0f88c0f7f29a6ba49ca819a6e9f Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sun Jun 13 12:13:53 2021 -0500 Helptickets: Update IP-Appeals to text and add new Appeal responses commit 20c1d9c87a77196ba09a6ca38d7e5e23727960e5 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Jun 12 23:00:34 2021 -0600 Bonus Type: Ban Urshifu-S commit 029d9328e9441d38b5cfba1bb131306d58d6ed8d Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Jun 12 22:59:18 2021 -0600 Chimera 1v1: Ban Perish Body commit be788410ec8fc71846e041e018a8e9950c62e598 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Jun 12 22:57:22 2021 -0600 National Dex UU: Ban Mega Sableye commit 9376765c696012617f2a8dcccd483460a83150eb Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Jun 12 22:56:42 2021 -0600 1v1: Ban Genesect and Jirachi commit a1ec8acea40756265c4e981e4ebac75644b04b13 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Jun 12 22:52:49 2021 -0600 CAP: Nerf Chromera and Buff Voodoom commit 9e19fea38387da2731df0c6bd9910937fd13b755 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Sat Jun 12 21:02:36 2021 -0400 Gen 5: Reveal Mail in Team Preview (#8363) commit d03ba1c25eb4b2706d94b36a25ce1151f01879c2 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri Jun 11 02:03:31 2021 -0500 Punishments: Better handle custom punishments commit 8f87b6b84bb53e10acc2ff194a8fbc654260228c Author: Guangcong Luo <guangcongluo@gmail.com> Date: Thu Jun 10 15:01:24 2021 -0700 Move packed team docs out of PROTOCOL.md Packed team docs are now standardiszed in sim/TEAMS.md (Also a bunch of smaller documentation improvements.) commit 907128918f0db02e466407a1b9c5dda9c1f5b59f Author: Guangcong Luo <guangcongluo@gmail.com> Date: Thu Jun 10 09:23:05 2021 -0700 Release 0.11.7 I've spent the past few weeks working on build systems for other projects, and this has paid off in having a better understanding of things here. The NPM package should now be much easier to use now. Major changes: - TypeScript definitions (f47e38c5ad58bbe) - Support for importing teams (ddb6010bb9296) - A CLI for exporting teams (ddb6010bb9296) - `lib/` available as an unstable API in the NPM package (147b7e01c9c53beb) - Lots of documentation updates (a813a55679984) commit ea8e9df4e654b51e9c998646c5aa9125bd1b9fe6 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Thu Jun 10 09:14:12 2021 -0700 Further improve documentation commit ddb6010bb92963fb50771aaf5a052fff29a82135 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Wed Jun 9 22:01:31 2021 -0700 Support importing teams We now have a `Teams.import` function. This supports importing teams in any format, allowing it to be the backbone of a new series of commandline functions, which support teams in any format. commit 5d3b758564de725d2b6c39d4ee37645f9d722420 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Wed Jun 9 19:19:43 2021 -0700 Fix documentation commit a813a556799845f4bed77a6dc27b162c50439c23 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Wed Jun 9 17:39:56 2021 -0500 Document changes and Dex With Dex now having basic documentation, all our API documentation is now inter-linked. commit f47e38c5ad58bbedc29a510f9f94a3d2a133b29e Author: Guangcong Luo <guangcongluo@gmail.com> Date: Wed Jun 9 16:26:46 2021 -0500 Support building TS declarations `./build decl` now builds TS declarations for everything exported by `sim/`. Unfortunately, the built TS declarations still refer to global types, so some things still have `any` type, but it's much better than nothing. commit 147b7e01c9c53beb357b0caa52d68317c033f3c5 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Wed Jun 9 16:16:05 2021 -0500 Export lib/ from sim/ This is a dumb hack, but it allows everyone to use PS's lib files with `require('pokemon-showdown')`. This is EXTREMELY unsupported and I make ZERO guarantees about API stability. commit 264831e36af7db6b1136541a5784a94eab8f538a Author: Annika <annika0uwu@gmail.com> Date: Tue Jun 8 18:17:16 2021 -0700 /randombattles: Display sets for the battle format commit c3d4f80b6e620d56cfcd6d7fc1b15a7c3a6270da Author: Annika <annika0uwu@gmail.com> Date: Tue Jun 8 14:14:58 2021 -0700 Punishments: Remove unnecessary check commit 9d87d9bac2a07c4004270e8d90592aec4b234141 Author: Annika <annika0uwu@gmail.com> Date: Tue Jun 8 14:08:36 2021 -0700 Fix Punishments#ipSearch commit be2210f88125473c8ed2fdc2651f66b9ade62b7e Author: Adam Tran <aviettran@gmail.com> Date: Tue Jun 8 11:48:10 2021 -0400 Fix Future Sight Life Orb interactions (#8357) commit fef046934481890f7237ed836c36b94c23b55639 Author: May Evans <36418502+PlagueVonKarma@users.noreply.github.com> Date: Tue Jun 8 16:47:17 2021 +0100 Nintendo Cup 2000: Use Stadium 2 mod (#8360) NC2000 was played using Stadium 2. Src: http://pokemon.s20.xrea.com/2nd/rule.html#nintendo "対戦環境は「ポケモンスタジアム金銀」。" This roughly translates to "the battle environment is stadium gold and silver". There is also an official source here stating that RGBY can be used, which is only possible via Stadium 2 https://www.nintendo.co.jp/n01/n64/software/nus_p_np3j/league/ commit 46a858f2be46f8e9ee4dacfee87f8f983ca84509 Author: PartMan <47669599+PartMan7@users.noreply.github.com> Date: Tue Jun 8 21:15:16 2021 +0530 Movesearch: Add defrost and reflectable aliases (#8359) Added Magic Coat/Magic Bounce since those are intuitive terms to use while searching commit 32de43c7ce0da3c16e23ec206ebaa5bd8c87c0df Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 8 00:10:14 2021 -0600 SSB: Remove quadrophenic commit 6f6b564f7f0ea664b0102012c0aa92bd8bbddd3d Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jun 7 22:06:37 2021 -0500 Hangman: Don't allow filtered words in guesses commit 6363a1854c5ddb281f2ea5657e4d16ac6c816458 Author: Annika <annika0uwu@gmail.com> Date: Mon Jun 7 18:45:13 2021 -0700 Random Battles: Don't allow unreleased HAs commit 6dac7566d844f928b0ea64c03cf829e7009b1853 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Jun 7 12:31:57 2021 -0500 Punishments: Check interactions on room punishments commit b830ceb818e97756489a1c5bb3a2011de49e1224 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Mon Jun 7 12:26:50 2021 -0400 Gen II, III: Implement Quick Claw properly commit 414512dcc782f911e0993a27ac55c10d5ed76a17 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sun Jun 6 22:41:03 2021 -0600 Chimera 1v1: Ban Trick and Switcheroo commit 7ee02201abca57e7be2cf96eb091cafe95da6fbe Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sun Jun 6 22:27:59 2021 -0400 Gen 5 RU: Ban Shadow Tag and sleep moves https://www.smogon.com/forums/posts/8879857/ commit fad49102e075d099867da8083c6f294dd88fe338 Author: Distrib <theodelhay@orange.fr> Date: Mon Jun 7 03:40:18 2021 +0200 Helptickets: Change password reset link (#8358) commit 0d96865c693845089aa50d8e1abafee3e9a2257b Author: WeWuzNidokangz <43294696+WeWuzNidokangz@users.noreply.github.com> Date: Mon Jun 7 00:31:19 2021 +0900 Fix crashes in Chimera 1v1 rule interactions (#8356) commit da8f77ee4faea3dbf355df22db1b71262aa48fe3 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Sun Jun 6 10:28:11 2021 -0500 Document Sim.Teams for NPM package commit 2bc1f032c1282db86f3588206a86181276d2be04 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Sun Jun 6 09:42:08 2021 -0500 Release 0.11.6 semver? what's that? Seriously, though, the major breaking changes are all in undocumented APIs. Notable changes include: - A new Dex API (#8181) - `lobby` is no longer special-cased (messages without a roomid now always get sent to console rather than lobby) - A new challenge API (#8303) - A new system for specifying battle rules with numbers and other options (#8267) commit c55658ce068e1bf7501d59fc72c6477344bbf27b Author: Annika <annika0uwu@gmail.com> Date: Sat Jun 5 20:33:44 2021 -0700 Random Battles: Fix 3-move Pokemon commit d8988bb250742d8d62467f3a37d1aaf420ecc707 Author: Annika <annika0uwu@gmail.com> Date: Sat Jun 5 12:17:25 2021 -0700 Random Battles: Fix double-Hidden Power bug commit da8c1580ea4ba0f84d403c866699a683f7a98943 Author: Instruct <66930476+xInstruct@users.noreply.github.com> Date: Sat Jun 5 12:00:15 2021 -0400 Gen 5: Refactor to use unreleasedHidden (#8349) commit 85cfcf0f6c7b9b896249d1e8033374d593d482b3 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Fri Jun 4 20:01:46 2021 -0400 Fix build commit 139d9515fe0cc9f76b186ba6d5c886b1c15516c9 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Fri Jun 4 15:22:45 2021 -0600 Bonus Type: Ban Dragapult, Naganadel, and Spectrier https://www.smogon.com/forums/threads/bonus-type-om-of-the-month.3683173/page-3#post-8877522 commit 23057e03bd4cffd9ef6328a764e49def3824705e Author: WeWuzNidokangz <43294696+WeWuzNidokangz@users.noreply.github.com> Date: Fri Jun 4 22:46:11 2021 +0900 Make Bonus Type modify species after Camomons (#8355) commit b3b18465a428385c543aea0c22982e03e67e4c81 Author: Annika <annika0uwu@gmail.com> Date: Thu Jun 3 17:01:09 2021 -0700 Jeopardy improvements - announce ability to buzz in via chat rather than via a colored square in HTML - improve validation of integer arguments - improve grammar commit 2c427a1dda6943aab770ed1fb37648a546a0ddb5 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Thu Jun 3 16:21:01 2021 -0400 Add Fair and Square Online Competition commit bdd08acecbd028b2b2dbccf9cb28cbc2d8c55353 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jun 3 13:46:14 2021 -0500 Info: Fix /regdate display for registration time commit b32a397f7203e0f7da14bc836a1f1f727698ca50 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jun 3 13:40:14 2021 -0500 Helptickets: Update punishment UI commit f07855a2d0a3f484169bd3a205de2fa780bb001e Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu Jun 3 13:08:33 2021 -0500 Rooms: Fix automodchat commit b712278fd0a5620ea64a4f86d01d39f98d1d53c1 Author: Annika <annika0uwu@gmail.com> Date: Wed Jun 2 21:54:33 2021 -0700 Use global punishments instead of fake rooms (#8350) commit 613bf3243f6d4f8180ea03a6a72895fe9630e189 Author: Annika <annika0uwu@gmail.com> Date: Wed Jun 2 14:42:49 2021 -0700 Jeopardy: More fixes commit 81af92da521d5ca01b9d293bedf211e52fac8b82 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jun 2 16:36:57 2021 -0500 Helptickets: Make the 'punish reporter' button more distinct commit 343db5a7620f93a180277d50f936821220c70d0b Author: Annika <annika0uwu@gmail.com> Date: Wed Jun 2 13:49:38 2021 -0700 Jeopardy: Fix crash commit 01a7132e0e96e436daf926537e276ac86378f5f2 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jun 2 14:18:51 2021 -0500 Fix alt display in /whois commit 59377f5a470e3131e03bf2948f8af121ce25ce4f Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed Jun 2 13:03:00 2021 -0500 Info: Fix /show and /requestshow interaction error (#7904) commit 5d7c9322c45581eb052de3e4dce1af4e370a0ec3 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Wed Jun 2 11:19:26 2021 -0600 NFE: Ban Kadabra and Vulpix commit 94240ebf5f2229ba1c02c652f80b201f12ad538b Author: Marty-D <Marty-D@users.noreply.github.com> Date: Wed Jun 2 09:43:22 2021 -0400 Update deps to get newest smogon for set-import commit e987a01427ae6a856129613d57f36aefa152b65a Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 1 19:17:50 2021 -0500 Rooms: Partially fix bug in automodchat This should provide a temporary bandaid in that it won't spam rooms, and it will inform us of what the setting is so that we can proceed. commit da8d9f0096db5135a89804f979af81c7f151fa9f Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 1 14:03:46 2021 -0500 Chat: Don't block login if a plugin crashes during startup commit 9bca655519b2a389eadd5505146bd68c89471c53 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 1 17:54:29 2021 -0600 Chimera 1v1: Fix HP inheritance commit 8a6bb51c23b94fc4c4ed7c3b74fbaba1e77dc85b Author: Annika <annika0uwu@gmail.com> Date: Tue Jun 1 16:22:57 2021 -0700 Random Battles update commit 551c4356cdc524140d5663fbc61612b8891a0b59 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 1 13:37:03 2021 -0600 Remove Gen 7 STABmons and Gen 6 AAA ladders commit c709a3e45a248881c3a837c5c99506e6c544d107 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 1 13:08:49 2021 -0600 Add June 2021 tier changes commit c71e0901536463ff3dd94254f2af6812e19d293f Author: Annika <annika0uwu@gmail.com> Date: Tue Jun 1 11:49:50 2021 -0700 Username prefixes: Fix bug in loading commit 2aa015541c969e4a6b355857e7d8d6dd8554733d Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 1 12:16:11 2021 -0600 Fix OMotM/LCotM aliases commit dd79e154a5e257b5e9fa24d8f43a5851112fce97 Author: Distrib <theodelhay@orange.fr> Date: Tue Jun 1 18:38:07 2021 +0200 Formats: Fix typo (#8351) Fixes https://www.smogon.com/forums/threads/bug-reports-v4-read-original-post-before-posting.3663703/post-8874126 commit 94b5e5e8987124da8ed791ac70c9f394cfbdf0dc Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 1 10:17:10 2021 -0500 Fix trusting users commit ec7dfa203f5345cc4b171db5031d86eab8aba60e Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 1 09:59:57 2021 -0500 Prefix-Manager: Fix crash commit eaacf70494b06fff39cf1f416439030e27a6dd90 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 1 08:53:24 2021 -0500 Punishments: Attempt to reduce RAM use This is one of several possible causes I identified. Worst case, we can restore this later, but it isn't critical at any rate. commit 8fa02b73a4b2f609f7f461912fa1b96203c8ba35 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 1 08:33:51 2021 -0500 Users: Automatically trust users in Staff room commit 607c6453165446fff8de378f8b5cb125a24135ca Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Jun 1 08:28:36 2021 -0500 Punishments: Fix saving of several punishments commit 790993c5d2486e32212208131ebef1797336b06e Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue Jun 1 02:16:11 2021 -0600 Add June 2021 OMotM, LCotM, and RoA Spotlight commit a338dad78ab32e8d9797333ed20a4d4b33338d8e Author: Guangcong Luo <guangcongluo@gmail.com> Date: Mon May 31 20:05:11 2021 -0400 Fix challenge notifications This is a temporary fix; the real fix is a decent margin more complicated, unfortunately... commit 7ac0e341833ceeb3e1ffa2373c8e0fff0c88d442 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Mon May 31 19:35:50 2021 -0400 Prevent getReadmoreBlock from getting too big Fixes #8346 commit 3012dbfd91bae47602002617896fd7b3bdcf1257 Author: Guangcong Luo <guangcongluo@gmail.com> Date: Mon May 31 16:56:06 2021 -0700 CONTRIBUTING: Clarify D5 and D6 commit 5eb01c8abbb9b69ecba6f775985cad5c97f1d77e Author: Annika <annika0uwu@gmail.com> Date: Mon May 31 15:00:45 2021 -0700 Further improvements to the Jeopardy plugin commit c237e1867211d21ae115ef4f10258cd929c82cb8 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon May 31 14:25:26 2021 -0500 Fix previous names display in /whois commit 3d1c5b24f2f2595fd08d41d074806442df63577e Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon May 31 14:14:53 2021 -0500 Fix room close page handling commit 6562a14385aaaf7bb93e601546e68778181156d8 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon May 31 13:16:31 2021 -0500 Fix punishment reason displays in /whois commit 09e298f15b4b713d6979b764c4dc1e981876d703 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon May 31 13:06:01 2021 -0500 Punishments: Support giving multiple punishments to one user (#8265) commit dc6a7ea2e304777bf87d347301869475e0339d80 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon May 31 11:26:30 2021 -0500 Chat: Properly load handler hooks commit 62a8471d8016953cc1e79c504897c10abd518276 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon May 31 11:23:40 2021 -0500 Chat: Properly handle roomClose hooks commit 836a7a2a10c3f7ad77daea235fb750832c3e8ec9 Author: Annika <annika0uwu@gmail.com> Date: Sun May 30 20:55:16 2021 -0700 Improvements to the Jeopardy plugin Requested by Trivia staff and approved by me commit 5f4671bb79ef4db6e4e4a82133ff98220ae525fe Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sun May 30 22:48:52 2021 -0500 Fix build commit e0ca414a890367854d6d70dc7816741d28883a4c Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Sun May 30 22:18:37 2021 -0500 Helptickets: Fix proof in PM Harassment tickets commit d…
This is the change that renames:
Dex.getMove
->Dex.moves.get
Dex.getAbility
->Dex.abilities.get
Dex.getItem
->Dex.items.get
Dex.getSpecies
->Dex.species.get
Dex.getEffect
->Dex.conditions.get
Dex.getNature
->Dex.natures.get
Dex.getType
->Dex.types.get
Dex.getFormat
->Dex.formats.get
In addition, some other APIs have been updated:
getByID
methods have also been added to every other table.Dex.moves.all()
now gets an array of all movesabilities
,items
,species
,formats
,natures
,types
Dex.conditions.all()
Dex.stats
for naming/iterating statsDex.getEffectByID
->Dex.conditions.getByID
Dex.getType
->Dex.types.get
Dex.data.Formats
->Dex.data.Rulesets
Dex.formats
-> now an arrayDex.formats.all()
Dex.getRuleTable
->Dex.formats.getRuleTable
Dex.validateFormat
->Dex.formats.validate
Team functions have been split off into a new
sim/teams
package:Dex.packTeam
->Teams.pack
Dex.fastUnpackTeam
->Teams.unpack
Dex.generateTeam
->Teams.generate
Dex.stringifyTeam
->Teams.export
Teams.export
has also been rewritten to better match how it works in client.Some data formats have changed:
export Rulesets
instead ofexport Formats
inrulesets.ts
typechart.ts
This implements #8178