Commit Graph

2160 Commits

Author SHA1 Message Date
Guangcong Luo
df8a236c16 Teams: Hardcode no "Cathy" alias
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-05-19 19:21:44 -07:00
Lucas
5e9d392c28
Scavengers: Add Pointless twist (#11044) 2025-05-18 08:08:56 -07:00
pyuk-bot
0ee3291761
Teams: Automatically remove empty moveslots (#11119)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-17 21:36:44 -07:00
skymin3
012b6716fb
Have invalid !rfaq fail over to !faq (#11096)
* !rfaq fail over to !faq 

Approved Suggestion: https://www.smogon.com/forums/threads/have-rfaq-fail-over-to-faq-if-a-match-is-not-found.3687458/ 

Code calls for RFAQ topics if that fails it checks the FAQ topic list. Sounds straightforward until you realize the faq broadcast fail command is archaic and for some reason the failed FAQ broadcast message still goes through on top of the actual faq error return message, along with the faq help, it's very messy I might just fix that next. This is bypassed by having the run broadcast call AFTER the topic is read as valid, so none of this nonsense can happen. I really thought this would be easy, turns out, not really (atleast for me).
2025-05-13 12:00:19 -07:00
Guangcong Luo
fe45b7d1bf Add |queryresponse|teamupdate| for /teams 2025-05-13 10:42:37 -07:00
skymin3
80c1460db8
Improve error messages shown to non-autoconfirmed (#11057)
https://www.smogon.com/forums/threads/improve-the-error-messages-shown-to-non-autoconfirmed-users-trying-to-access-certain-features.3737016/#post-10532853

A few of the non-autoconfirm error messages don't explain what autoconfirm means, which a new user likely doesn't know what autoconfirm is.
2025-05-13 09:12:52 -07:00
Guangcong Luo
a7489f0995 Fix /removedaily with two args
Fixes #11103
2025-05-12 17:45:59 -07:00
shrianshChari
f2c7891775
UNO: Notify player if drawn card cannot be played (#11069) 2025-05-08 14:28:09 -07:00
Guangcong Luo
b979451e76 Fix uploading packed teams
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Packed teams weren't supported because `splitFirst` was called with
too high a limit. This fixes that.
2025-05-07 20:20:14 -07:00
Guangcong Luo
23c387f4a0 Add privacy to |queryresponse|teamupload|
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-07 19:45:01 -07:00
Mia
9a670548fa Teams: Account for OMs in validation 2025-05-07 20:14:52 -05:00
slainey
548f6911e9
Daily Spotlight: Add Delete button in list page (#11065)
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-06 22:07:38 -07:00
Guangcong Luo
42d52e36e0 Refactor spotlights
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Fix /removedaily, adding a new "all" option to work like it's
documented to work, and fix the documentation.

Also remove support for legacy image format. A lot of functions were
async that didn't need to be.

Also remove an entirely unused sorting pass mistakenly introduced in
11ab3d83f8
(The queue was sorted, then immediately ignored to iterate it by index,
which is for the best, because showing the queue in any order other
than queue order is not useful.)
2025-05-05 07:05:59 -07:00
Guangcong Luo
a1e9066f9e Use class="details" and class="gray" 2025-05-05 04:43:05 -07:00
Karthik Bandagonda
6d7778167d
Auctions: Auto create players when using assignplayer (#11085)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-03 11:41:24 -05:00
HiZo
e7c5f126da
Teams: Sanitize OM Nicknames (#11068)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-04-27 20:51:10 -07:00
Mia
f2290ced37 Teams: Improve note on sharing teams onsite vs offsite
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-27 13:07:32 -05:00
WifiLatency
9c1457ee9b
/ds: Collapsibles New Styling (#11041)
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-04-21 05:07:44 -07:00
Kris Johnson
793fee5467 GitHub: Send HTML boxes through /raw 2025-04-20 23:40:13 -06:00
Guangcong Luo
57380ae0b5 Redesign Smogtours plugin
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-17 21:02:00 -07:00
Lucas
32f62518f7
Mafia: Allow playercap to be changed as long as the game has not started (#11033)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-16 17:28:24 -04:00
Aurastic
777ce4d38a
Increase /addhtmlfaq character limit 8192 to 10000 (#11032) 2025-04-16 13:24:08 -07:00
Kris Johnson
ed9764bc23
Convert SSB and Rands Winrate chat plugins to tsx (#11030)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-15 13:37:41 -06:00
Sergio Garcia
fc23103de1
Fix random typos (#11020)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-13 23:59:36 -07:00
Mia
0f8a31252b Teams: Link to the new website in more places
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-04-09 19:32:00 -05:00
Mia
0cd19ed250 Teams: Correct shareable link display 2025-04-09 19:29:17 -05:00
Mia
d758c21c64 Teams: Add static shortlinks to display page 2025-04-09 19:27:33 -05:00
Mia
ae542f3e0c Teams: Allow items/abilities/types as set nicknames
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
For OMs.
2025-04-09 11:48:49 -05:00
WifiLatency
c4a5ed50e4
/ds: Param to expand collapsible datasearches by default (#11023)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* Reimplement all as a param to automatically expand nonbroadcast results.

* Tests ensuring datasearches don't expand when broadcast with all
2025-04-08 23:53:40 -06:00
WifiLatency
7d989abe8e
/ds: Add comparing stats (#10984)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* Add comparing stats

* Fix duplicate comparison overwriting and error feedback

* Error on duplicates, invalid ranges, and muliple inequality operators

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-04-07 21:23:40 -06:00
WifiLatency
81b3471cae
Datasearch: Make results collapsible (#10995)
* Make ds collapsible

* Make other search commands collapsible.

* Remove all as a parameter for searches

* use readmore element with content attrs defined

* Rework to support chrome due to details linebreak quirk

* Move the toggle button down to the results line for broadcast commands
2025-04-07 21:19:47 -06:00
Kris Johnson
9ff1398c69
Use Chat.ErrorMessage instead of errorReply in more places (#11017) 2025-04-07 21:15:27 -06:00
Mia
291636a807 Suspects: Relax URL requirement
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Smogon generates the URLs now.
2025-04-05 23:22:02 -05:00
Mia
1a9d691493 Youtube: Update roomid references in groupwatch list 2025-04-02 16:21:08 -05:00
Alex "Mathy
9ba3752d50
Dexsearch: Allow sorting by Pokedex number (#11001)
* Dexsearch: Allow sorting by Pokedex number

* fix whitespace
2025-04-01 00:17:47 -06:00
Mia
dd5c134603 Fix build
I'm going to set something on fire.
2025-03-31 18:45:37 -05:00
Mia
ef5ea9f0ff Chatlog: Fix searching linecounts for deleted rooms 2025-03-31 18:34:26 -05:00
Mia
5383667f2c Chatlog: Allow searching linecounts for deleted rooms 2025-03-31 18:28:44 -05:00
Mia
3dd18fdfa5 Chatlog: Don't check filesystem for database log searches 2025-03-31 18:22:16 -05:00
Mia
d7bfa16a36 Youtube: Update roomid 2025-03-31 12:57:38 -05:00
WifiLatency
bdeb19f26a
/ds: Add rule functionality (#10973)
* /ds metagame rules with moves compability.

* mon attributes compatibility

* pokedex rule compatibility.

* clean up. support convergencelegality

* updated dexsearchhelp. better error feedback.

* Fix negations for abilities and moves.

* Scrapped convergence, cleanup.

* Updated dshelp for the mapped rule param values.

* Fixed duplicate formes and tests reciving species.

* Support /ds stacking multiple rules

* Apply suggestions from code review

* tests for /ds rule functionality

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-03-18 00:50:32 -06:00
WifiLatency
232af5c19f
/ds: Fix searching for trapping and partial trapping moves (#10962)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* Adds trap as a search param to movesearch without modifying any moves.

* minor regex optimization.

* Implement in a less hacky manner.

* clean up adding both trapping statuses to the orgroup.

* Fixed conditional mixing trapped moves with other volatilestatuses.
2025-03-11 14:39:50 -06:00
WifiLatency
4346e3d34c
Add Restricted as a /ds Parameter (#10952)
* added restricted as a param for /ds using the species tags.

* comply with max line length.
2025-03-09 12:03:15 -06:00
WifiLatency
7bf04ad1e1
Implement searching for tiers by inequality to /ds (#10949)
* Implemented tier searching using inequalities.

* Fixed the value of OU being higher than CAP.

* Fixed AND searching for tiers with inequalities.

* Update server/chat-plugins/datasearch.ts

* Update server/chat-plugins/datasearch.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-03-09 12:03:06 -06:00
WifiLatency
f1ba8179c0
Add Number Generation Aliases to /learn (#10955)
* learn command generation shorthand now matches other datasearch commands.

* Retain support for generational prefixes.
2025-03-09 12:00:02 -06:00
pyuk-bot
ae626838bf
CGT: Fix level history page (#10930)
* CGT: Fix level history viewer

* More efficiently iterate the array in reverse
2025-03-09 11:53:20 -06:00
Distrib
18ca337e13
Helptickets: Fix user profile links with spaces (#10951) 2025-03-09 11:43:53 -06:00
Guangcong Luo
99ea179aaa Minor optimizations 2025-03-06 16:53:54 -08:00
Guangcong Luo
d9557375a0
Introduce "NatDex Mod" (#10939)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
"Standard NatDex" is very weird compared to how OMs usually work.

See "TierShift Mod" and "Godly Gift Mod". NatDex now gets its own mod,
which can be mixed into any other format, instead of needing to start
with NatDex.

This would make Min Source Gen overriding annoying, so it now defaults
to the current gen in Gen 9+, if Obtainable is set and +Past isn't. So
now you don't need to manually set Min Source Gen to enforce Obtainable
in Gen 9.
2025-03-06 03:40:36 -08:00
Guangcong Luo
719bc1a87f Fix crash when leaving UNO game
Fixes #10821
2025-03-01 03:11:51 -08:00