Commit Graph

2264 Commits

Author SHA1 Message Date
MathyFurret
50ad403c5c Help tickets: Escape HTML in lock reason 2026-03-03 11:51:46 -06:00
Mia
8a0685b03f Ladder tours: Cap deadline length 2026-03-01 01:11:09 -06:00
iforgetwhyimhere
c55e84f7cb
Add randffats command help (#11759)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2026-02-11 17:22:56 -05:00
Lucas
e847960a1b
Add different dexes to /reevo (#11731)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Co-authored-by: Meijer,L. (Lucas) <l.meijer6@students.uu.nl>
2026-02-01 16:32:18 -07:00
André Bastos Dias
ea822f8863
Auctions: Show managers of top bidder in bid info box (#11702) 2026-01-13 11:02:16 -07:00
André Bastos Dias
684150d9d7
Implement Mega Stones as {key: value} pairs (#11684)
* Implement Mega Stones as pairs {key: value}

* Fix Mega Evolution check

* Add constructor guards to Dex getters

* Update config/formats.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2026-01-08 14:59:22 -07:00
Aurastic
35e871e1d1
Thing of the day: Add destroy handler (#11694) 2026-01-08 14:21:17 -07:00
André Bastos Dias
7a3f4dbbe2
Update Official Formats to Regulation I (#11686) 2026-01-05 20:40:27 -06:00
Kris Johnson
c671f43d50 Add a /1v1factory command 2026-01-05 16:24:32 -07:00
Aurastic
7d2de8779e
Thing of the Day: Add auto-start support (#11633)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-12-19 22:39:55 -06:00
Kris Johnson
2c58b396cb Mix and Mega: Release Z-A stones
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-12-15 19:53:21 -07:00
Mia
5a02f59339 Usersearch: Exempt guests from term matches on overview page
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-12-14 23:21:19 -06:00
Kris Johnson
27ecc9e7d1 Legends Z-A: Update legality 2025-12-12 12:48:24 -07:00
Kris Johnson
9df07a958d Z-A OU: Ban Shed Tail 2025-12-12 00:59:18 -07:00
Kris Johnson
30ff784f2c
Z-A: Add DLC Pokemon (#11613)
* Z-A: Add DLC Pokemon

* za ou learnsets

* zaou changes

* skip test 4 now

* dfadasas
2025-12-12 00:04:05 -07:00
Sergio Garcia
13aa6355af
Fix various typos (#11607) 2025-12-08 18:38:02 -06:00
Mia
874aa6f73c Fix link extraction in smogtours art credit field
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
GOD. FUCK. FUCK THIS. WOW. CANNOT BELIEVE IO SUFFERED THROUGH DEBUGGING THIS FOR HOURS _THE FIRST TIME_ AND MANAGED TO FORGET IT EVEN THOUGH THE METHOD I HAD TO FIX IT WITH IS _FOURTEEN LINES ABOVE_. FUCK.
2025-10-28 13:42:30 -05:00
Slayer95
4b8c6a4d6d
Refactor startup (#11346)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
This minimizes side effects of import/require across the codebase,
and lets the caller be responsible of initializing child processeses,
as well as other async logic, such as restoring saved battles.
2025-10-17 19:37:47 -07:00
Aurastic
b7c444cee5
make plza default (#11511) 2025-10-17 13:07:19 -06:00
Lusamine
8a75295b1b
Wi-Fi: Change Z-A GA background for readability (#11512) 2025-10-17 13:07:01 -06:00
Aurastic
558a799c81
Wi-Fi: Add support for PLZA (#11505)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-10-15 20:35:51 -06:00
Alex "Mathy
6bf169523d
Datacenters: Log to upperstaff (#11450)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-09-16 21:32:34 -05:00
Kris Johnson
336f1d58f1 Make SCL rooms super secret
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-09-11 18:00:58 -06:00
ACakeWearingAHat
c3e0bbd61d
Revamp Gen 9 Free-For-All Random Battle (#11406)
* WIP free-for-all revamp

* bonus touches

* Create ffa-sets.json

* Most stuff besides items

* Fix plate distribution logic

* The Palafin thing

* Update teams.ts

* Update index.ts

* Update server/chat-plugins/randombattles/index.ts

Co-authored-by: pyuk-bot <21160928+pyuk-bot@users.noreply.github.com>

---------

Co-authored-by: MacChaeger <21160928+pyuk-bot@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-08-31 23:58:46 -06:00
Kris Johnson
8797d4628c Remove inactive ladders 2025-08-31 23:57:15 -06:00
Mia
16765c31f7 Helptickets: Add usercard for reporter 2025-08-17 13:42:19 -05:00
Mia
ffe2f3111b Helptickets: Properly log claim duration for text tickets
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-14 21:51:44 -05:00
Mia
99c0799376 Teams: Don't crash on close when database not enabled
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-12 11:05:11 -05:00
Karthik99999
f1055d9c1c Spotlights: Fix missing comma in source
I'm bad
2025-08-11 18:48:06 -04:00
Karthik99999
2ceb8375b6 Spotlights: Remove image dimensions from source 2025-08-11 18:42:34 -04:00
Lucas
7e6cea3605
Mafia: Add Search Capability (#10682)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-10 13:52:03 -04:00
Lucas
ccd9b5cae7
Update ChatBats winrates tracking (#11338)
* Update ChatBats winrates tracking

Set ChatBats to have no minimum ELO to start tracking winrates

* Update winrates.tsx

* Update winrates.tsx
2025-08-07 16:13:29 -06:00
Slayer95
018ea4abef
Support running PS in a single process again (#11331)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-07 00:29:18 -07:00
Emikatana
21495a92f1
Add new Pet Mods Leader's Choice (ChatBats) and Remove Previous Leader's Choice (#11309)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* adding ChatBats

* ChatBats abilities

* adding Format data for ChatBats

* items for ChatBats

* moves for ChatBats

* chatBats pokedex

* chatbats learnsets

* Delete data/mods/ccapm2024 directory

* ChatBats random sets

* ChatBats teams.ts

* snow -> snowscape

* fix

* updating PRNG code

* fixing outdated prng code

* fixing more outdated PRNG code

* fixing more outdated code

* (hopefully) fixing error messages

* level fixes

* fixing errors for real

* fix??

* fuck this im manually doing. forme change

* fix

* im an idiot

* fix ???

* fixing setAbility not properly overriding cantsuppress abilities

* fixing Koraidon not having proper max HP

* oop i bad

* still dumb somehow

* fix????

* fixing duplicate message

* nvm

* fixing message errors

* wording change

* updating link

* wording update part 2

* removing testing hardcodes

* +Magneton

* +magneton

* +Magneton

* +Magnet Bomb changes

* +Magneton

* +Magneton

* animation test

* adding test hardcodes

* fixing magneton getting weird sets

* fixing Order Up breaking when used by Mew + Magnet Bomb fix

* more tests

* fixing Biogenesis to properly apply mew's base types

* fixing Mew again

* fixing Biogenesis for real

* removing test hardcodes

* removing debug message I accidentally left in

* enforcing Salamence to test BSC

* im badly

* Testing done, reverting changes

* adding description for Magnet Bomb

* Add Chatbats to rwr tracking

* Fix linting issues

* fixing lint issues

* fixing lint issues

* fixing lint issues

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* suggested change from review

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

* fixing mistake

* making Thunder Kick a seperate move

* adding Zarel's suggestion

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>

* fixing lint issues

* fixing lint issues

* fixing lint issues

* now??

* i hate this

* why does it care about how many indentations are in front of comments

* add hail mary (Delibird ability)

* add delibir

* Add Delibird

* add Delibird

* add Delibird

* Add Delibird

* ok so I'm an idiot

* Update config/formats.ts

* Apply suggestions from code review

* fixing a problem

* fix

* fixing errors

* fix

* fix

* fixing most of the errors

* fix

* apparently this file is not needed?

* fixing thunderkick not working

* fixing all the errors

* fixes

* fixing errors

* fix

* fixing lint issues

* fixing

* updating teambuilder

* ok

* final fixes

* ok ok ok

* fuck this stupid bss factory shit

* i hate

* ughhh

* plsss

* deleting all the BSS factory code as it's not needed and keeps throwing errors

* finishing

* Cleaning up teams.ts

* oop

* fixing

* fixes

* fix lint

* adding Data Preview to ChatBats

* Update teams.ts

* Update data/random-battles/chatbats/teams.ts

* Update config/formats.ts

* Update data/random-battles/chatbats/teams.ts

* Update data/random-battles/chatbats/teams.ts

* Update data/random-battles/chatbats/teams.ts

* Update config/formats.ts

* Update config/formats.ts

* Apply suggestions from code review

* Apply suggestions from code review

* oops

* Update moves.ts

* Apply suggestions from code review

---------

Co-authored-by: Lucas <33839844+Lucas-Meijer@users.noreply.github.com>
Co-authored-by: ORH <emi@ORHs-MacBook-Air.local>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-08-06 01:05:03 -06:00
Mia
4a8341586a Database: Fix PG syntax error in update, remove unnecessary set method
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-08-05 16:38:28 -05:00
Mia
d32ad3dc98 Teams: Insert dates properly after migration
Numbers don't get validated right ffor dates, here. Only ISO strings and __maybe__ date objects? Definitely ISO strings, though
2025-08-04 22:03:29 -05:00
Mia
70f9725113 Seasons: Remove logging for failed ladder requests 2025-08-04 22:00:29 -05:00
Mia
18cdce9803 Fix merge errors 2025-08-04 21:55:33 -05:00
Guangcong Luo
31a4289cc6
Refactor Teams plugin to use lib/database (#11109)
* Refactor Teams.save

Fixes a bug where passwords were changed every time a team was updated.

* Refactor Teams to use lib/database

* Add unit tests

(This found a bug which has also been fixed)

* Test more things

---------

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
2025-08-04 21:51:42 -05:00
dot-Comfey
15c2716034
Update help ticket page for lost password (#11275)
* Update help ticket page for lost password

* Update server/chat-plugins/helptickets.ts

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>

---------

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
2025-08-04 21:49:09 -05:00
Mia
3b5e0b558b Ladder tracker: Allow viewing leaderboard without broadcasting 2025-08-04 15:02:03 -05:00
Mia
d51d959669 Ladder tours: Stop logging failed requests 2025-08-04 14:07:41 -05:00
Mia
bd0d0ebedb Teams: Trim arguments on save
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-08-02 00:36:26 -05:00
Mia
5fafd91d24 Teams: Report back blocked names to users 2025-08-02 00:30:57 -05:00
adrivrie
1931b23006
Random Battles: July 2025 balance patch (#11320)
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
* Random Battles: July 2025 balance patch

* lower babyrands elo floor for winrate gathering

* grammar fix
2025-08-01 09:58:55 -06:00
Mia
8cc6743a47 Teams: Do not redirect to a page when upload fails
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
2025-07-31 18:56:48 -05:00
Mia
503030c0d8 Fix typo 2025-07-31 10:11:55 -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
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