Commit Graph

27979 Commits

Author SHA1 Message Date
Sergio Garcia
03e1fb6dff
Test supported Node versions (#11314)
Some checks are pending
Node.js CI / build (20.x) (push) Waiting to run
Node.js CI / build (22.x) (push) Waiting to run
Node.js CI / build (24.x) (push) Waiting to run
* Fix typo

* Remove unnessecary file

* Test supported Node versions

---------

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
Co-authored-by: HoeenHero <HoeenCoder@users.noreply.github.com>
2025-07-31 10:12:49 -05:00
Mia
503030c0d8 Fix typo 2025-07-31 10:11:55 -05:00
Sergio Garcia
005d98993f
Use URL API (#11316)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* Fix typo

* Remove unnessecary file

* Use URL API

Clears this warning

```
(node:44968) [DEP0169] DeprecationWarning: `url.parse()`
  behavior is not standardized and prone to errors that have
  security implications. Use the WHATWG URL API instead. CVEs are
  not issued for `url.parse()` vulnerabilities.
```

---------

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
Co-authored-by: HoeenHero <HoeenCoder@users.noreply.github.com>
2025-07-31 10:04:20 -05:00
Mia
c135ecdce8 Ladder tours: Don't broadcast updates on failure 2025-07-31 09:58:08 -05:00
Mia
20e5727112 Ladder tours: Suppress JSON errors
This happens when the PHP site throws errors. Which happens too much because PHP sucks ass.
2025-07-30 23:50:40 -05:00
Karthik99999
a718a33227 Fix Ogerpon/Terapagos Tera Types in Challenge Cup 2025-07-30 22:50:09 -04:00
Aurastic
3f0c9fe991
Don't consider user active on '/cmd rooms' (#11286)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-30 04:35:18 -07:00
André Bastos Dias
43bb532f48
National Dex AAA: Ban Ceruledge (#11301)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* National Dex AAA: Ban Ceruledge

* Update formats.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-07-29 18:25:22 -06:00
André Bastos Dias
909c8c51f1
Fix Healing Wish and Lunar Dance switch in priority (#11146) 2025-07-29 17:48:23 -06:00
André Bastos Dias
f24d648c8a
Fix accuracy of Gen 1 trapping moves (#11305)
* Fix accuracy of Gen 1 trapping moves

* Fix tests

* Update data/mods/gen1/scripts.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update data/mods/gen1stadium/scripts.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update data/mods/gen3/scripts.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-07-29 17:47:49 -06:00
Kris Johnson
d757e52be0
Mix and Mega: Restrict Ceruledge 2025-07-29 17:47:02 -06:00
André Bastos Dias
aa2f2a306f
Add Celebrate Flabébé event (#11306)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-28 19:16:47 -04:00
André Bastos Dias
e27ae66ec6
Fix Burn Up thawing user when user does not have Fire type (#11304) 2025-07-28 18:56:51 -04:00
André Bastos Dias
7f58261221
ZU: Ban Porygon2 (#11300)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-27 20:04:24 -04:00
InkyDarkBird
cd0b071a3e
Full Potential: Update bans (#11297)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
* Full Potential: Update bans 4

* Fix misspelling
2025-07-25 22:53:58 -06:00
Dieter Reinert
e716ef1aba
Info: Prevent crash in makecustomchallenge when user parameter is missing (#11296)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-07-24 09:00:40 -07:00
Mia
4cd2f90abf Teams: Increase max team size to 50 sets
Some checks failed
Node.js CI / build (18.x) (push) Waiting to run
Publish to npm / test (push) Has been cancelled
Publish to npm / get-version (push) Has been cancelled
Publish to npm / npm-publish (push) Has been cancelled
2025-07-24 01:10:25 -05:00
Guangcong Luo
455546c69f Remove sucrase dependency 2025-07-23 22:13:33 -07:00
Mia
2467596832 Teams: Censor nicknames on display, not upload 2025-07-24 00:06:03 -05:00
skymin3
8691ace824
Update /help othermetas (#11182)
Approved Forum suggestion: https://www.smogon.com/forums/threads/make-the-om-help-command-more-helpful.3766005/

the /om is a bit weird, it's just a link to the forums not a link to direct information like /om all does, so I changed the wording there. !om is also changed since it's not descriptive.
2025-07-23 23:48:29 -05:00
Guangcong Luo
6e2ca2b3ff Update some dependencies 2025-07-23 21:36:32 -07:00
Guangcong Luo
7a9e535e35
Vendor node-static (#11295)
Also includes a decent amount of refactoring to bring it in line with Showdown code standards.

---------

Co-authored-by: Slayer95 <ivojulca@hotmail.com>
2025-07-23 21:19:55 -07:00
Mia
1487d52db0 Teams: Make shareable link clickable 2025-07-23 23:10:36 -05:00
André Bastos Dias
05de0574b7
Add test for Gen 3 berries (#11141)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-23 03:29:04 -07:00
André Bastos Dias
ac3c06daf0
Approximate Rebound to Magic Bounce/Coat implementation (#11290) 2025-07-23 03:13:47 -07:00
Mia
ef56c668d2 Suspects: Fall back on existing suspect URL in edits if need be
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-22 12:51:49 -05:00
Kris Johnson
d97b176082 Revert "Simplify the implementation of locked moves (#11256)"
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
This reverts commit 4d634394f5.
2025-07-22 03:38:29 -06:00
André Bastos Dias
4d634394f5
Simplify the implementation of locked moves (#11256) 2025-07-22 02:14:13 -07:00
André Bastos Dias
fd21559ba8
Refactor Gen 1 partial trapping (#11189) 2025-07-22 02:12:20 -07:00
André Bastos Dias
f74586f765
Implement Imprison disabling logic using Test Fight (#11208) 2025-07-22 02:09:45 -07:00
Mia
99af09ba7c Chat: Ensure absolute plugin files are always loaded
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Accounting for loading outside of the normal dir
2025-07-21 17:28:19 -05:00
Mia
0899c4b7b3 Chat: Annotate commands with plugin names for categorization 2025-07-21 17:15:40 -05:00
André Bastos Dias
46d77d4b06
35 Pokes: Ban Rillaboom and unban Sandaconda (#11287)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-21 11:01:36 -06:00
André Bastos Dias
48316b5864
GSC ZU: Ban Mantine (#11288) 2025-07-21 11:01:23 -06:00
Runo
33673d88bc
NatDex UU: Ban Iron Crown (#11289)
https://www.smogon.com/forums/threads/sv-national-dex-uu-stage-8-2-king-without-a-crown.3768238/
2025-07-21 11:01:10 -06:00
Kris Johnson
b019954f68
PU: Unban Duraludon for suspect 2025-07-21 10:29:24 -06:00
Mia
9ca1b0c35f Chatlog: Rewrite argument protocol for searches
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-07-19 00:28:33 -05:00
Mia
e9fd0b76dd Chatlog: Render search arguments in display 2025-07-19 00:12:40 -05:00
Mia
3823ec2471 Fix typo
WHY DID THIS NOT GET STAGED I SPECIFICALLY CLICKED STAGE
2025-07-19 00:10:07 -05:00
Mia
546dfd07ff Searchlog: Standardize handling of search parameters
Makes this easier to extend for the future, too.
2025-07-19 00:08:20 -05:00
Mia
4d314e3f5e Ladder trackers: Suppress user-facing errors on restoration
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-18 14:28:08 -05:00
Mia
67ca3b04eb Fix searchlog padding 2025-07-18 13:09:47 -05:00
Mia
ad3cedc8ad Actually guard dates via regex testing 2025-07-18 13:00:40 -05:00
Mia
0c4298d29d Fix typo 2025-07-18 12:58:48 -05:00
Mia
c4a6e8de1f Searchlog: Fix next/prev month buttons 2025-07-18 12:58:02 -05:00
Mia
4012a4b532 Searchlog: Add prev/next month buttons, fix date handling for more ambiguous dates 2025-07-18 12:53:34 -05:00
Mia
2b7e1d48b5 Searchlog: Allow searching only a username
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-17 23:26:21 -05:00
Mia
4d4c541a57 Searchlog: Adjust header to be more descriptive 2025-07-17 23:14:48 -05:00
Mia
20072695c1 Fix typo 2025-07-17 23:13:41 -05:00
Mia
fa5295db23 Searchlog: Use plainto_tsquery to sanitize syntax 2025-07-17 23:12:11 -05:00