Commit Graph

3058 Commits

Author SHA1 Message Date
Mia
93a0a0f61c
Rooms: Only lockdown after restarts when battles crash (#9110) 2022-12-04 12:45:31 -05:00
Kris Johnson
2b2819eec3 Add more Sheer Force support in /dt and /ms 2022-12-03 13:23:01 -07:00
Annika
84fd45445c Promotions: Get exact user\nthis should fix the bugs around promoting alts 2022-12-01 23:31:42 -05:00
Kris Johnson
fd6714c087
Fix linter 2022-12-01 21:08:32 -07:00
Annika
0b8ec41d4f Trivia: QW bug fixes 2022-12-01 20:45:21 -05:00
Mia
5c73b3632a Admin: Add a command to disable ripgrep
Requested (and okayed) by Marty as a stopgap. Ripgrep lags usage stats all to hell.
2022-12-01 17:38:21 -06:00
Mia
a026935e33 Admin: Add a command to change namecolors
Server-side for https://github.com/smogon/pokemon-showdown-client/pull/2034
2022-12-01 08:52:13 -06:00
Mia
603f24f0ec
Info: Support accessing a log of alternate accounts (#9080)
* Info: Support accessing a log of alternate accounts

* Update server/chat-commands/info.ts

Co-authored-by: Annika <56906084+AnnikaCodes@users.noreply.github.com>

* require nonnegatives

Co-authored-by: Annika <56906084+AnnikaCodes@users.noreply.github.com>
2022-11-30 16:30:28 -08:00
Kaen
baba846ca4
Re-Evolution: Add functionality for battle-only formes (#8967)
* Re-Evolution mod now works with battle form changes

Re-evolution mod, /showevo and /reevo now check for the base species to not lose track of the pre-evolution after changing forms, /showevo now also shows the stats changes a battle form gives.

* Made previous reevo code conditional

While fixing battle form changes I forgot about regional forms of pre-evolved Pokémons like Meowth, now it only uses the new code if the current form has no unique pre-evolution.

* Fixing reevo code

Made the npm changes for the new code.

* just removed an empty line

* Update rulesets.ts

* Fixing /reevo comand

* Apply suggestions from code review

* Fixing Typo

* Update server/chat-plugins/othermetas.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2022-11-30 14:01:59 -07:00
Karthik
8a917f9ebb
Use [Gen 9] Anything Goes as default format for /vtm (#9083) 2022-11-28 22:51:57 -06:00
Mia
682e55c574 RPS: Add pause game button 2022-11-26 22:11:14 -06:00
Mia
46ac22fa71 Rooms: Pause battle timers during battle saving 2022-11-23 15:32:41 -06:00
Mia
28ebb38147 Rooms: Check modjoin in rooms list properly 2022-11-23 15:28:54 -06:00
Mia
f956be25a7 Rooms: Support unlisted rooms
With the new 'hidden rooms show in the list under a button' overhaul, US wanted a room type that was both a) not in the list and b) had inherited global auth (unlike secret rooms). This is that room type.
2022-11-23 14:52:48 -06:00
Alexander B
1d5334432e
Hangman: Prevent impossible guesses, escape HTML (#9033)
* Prevent guessing words with incorrect already revealed indexes

* Clarify hint length and use consts

* Escape HTML on words

* lint

* Hangman: Better testing for invalid guesses

* Hangman: Escape HTML characters

Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
2022-11-23 12:50:09 -08:00
Annika
68b98695e6 Trivia: Add old AE/SG/SH/Pokémon categories 2022-11-23 12:17:51 -08:00
Alexander B
33d43fcf40
Movesearch: Fix learnsets (#9043)
* Movesearch: Fix learnsets

* more futureproof
2022-11-23 09:08:29 -07:00
Mia
f1a98af3e6 Rooms: Don't show modjoined hidden rooms in the room list 2022-11-22 17:42:40 -06:00
Mia
3acf7cb841 Rooms: Send hidden rooms in /cmd rooms
Server-side for https://github.com/smogon/pokemon-showdown-client/pull/2022
2022-11-22 14:29:55 -06:00
Mia
6c715468f0 Users: Add a handler for user renaming
Loginfilter doesn't fit the usecase for this since it doesn't track renames - oldUser doesn't work since that's only if the name was already used, and consulting previousIDs doesn't work since we only add userids to that once. This is the simplest way to add support for this functionality.
2022-11-22 12:31:30 -06:00
Mia
de906f7c80 Moderation: Support new formatting for userids/ips in /modnote 2022-11-22 09:17:18 -06:00
Alexander B
62ff17461e
/details: Update move flags (#9023)
* /details: Update flags

* gen -> dex.gen
2022-11-20 21:20:30 -08:00
Alexander B
47d66cbc22
Datasearch: Fix hardcoded gen 8 (#9022) 2022-11-20 12:13:44 -07:00
Kris Johnson
8553f93751 Datasearch: Update /ds and /ms for Gen 9 2022-11-19 16:33:51 -07:00
motogp-bit
998a3a225d
Mafia: Add /mafia resetgame command and some other minor stuff. (#8981) 2022-11-18 13:31:00 -05:00
Kris Johnson
d50c8c249b
Add Gen 9 (#8997) 2022-11-17 20:46:29 -05:00
Mia
cec2475eaa Clear remaining build issues 2022-11-17 16:50:51 -06:00
Mia
37fc3ccc89 Fix TSC issues 2022-11-17 16:41:30 -06:00
Mia
7f99f51e91 Rooms: Fix crash in battle loading 2022-11-17 13:33:26 -06:00
Annika
8d086728c9
/setodds: Allow <<randombattles>> Voices to use 2022-11-15 10:34:06 -08:00
Mia
7f9398f2b3 Abuse-monitor: Add a command to ignore modlog actions in punishment calculation
Requested by US.
2022-11-14 21:00:11 -06:00
Mia
5934da5a17 Modlog: Expose entry IDs in search results
Necessary for some code I'm writing. Annika said this was fine.
2022-11-14 18:47:53 -06:00
Mia
a98e5f70be Users: Allow admins to send 25 messages at once
Requested by Kennedy.
2022-11-14 10:20:09 -06:00
Mia
f4776384df Moderation: Add /yearticketban
Requested by US
2022-11-14 09:53:22 -06:00
Mia
c4779b0cab
Moderation: Add /yearbanip
Requested by US.
2022-11-14 09:15:27 -06:00
Mia
aebc1bdf62
Helptickets: Hyperlink reporting user's name to their userpage 2022-11-14 08:51:05 -06:00
Alexander B
733534aceb
/randbats: Show doubles sets in FFA battles (#8979) 2022-11-11 13:49:39 -06:00
Hisuian Zoroark
d67531dad5
Tour Announcements: Escape HTML in tour names (#8973) 2022-11-07 11:22:21 -05:00
Leonard Craft III
4c4fa96335 Prefix-Manager: Update help 2022-11-06 13:17:30 -06:00
Annika
c1718e0a2b Don't use the nullish coalescing assignment ??=
This is not supported by Sucrase and would break Node 14 attempts to build the client: https://github.com/alangpierce/sucrase/issues/550
2022-11-05 13:57:24 -07:00
Christopher Monsanto
f476352dc2 Chat: Raise message limit 2022-10-30 20:33:23 -04:00
Mia
0e1ce780f0
Helptickets: Hyperlink punished usernames in IP-Appeals 2022-10-28 12:21:19 -05:00
Mia
b764c9fd8d
Helptickets: Display staff notes for text tickets in /ht list 2022-10-27 13:35:30 -05:00
Kris Johnson
20e0c236c3 Fix build 2022-10-26 23:05:39 -06:00
Kris Johnson
ec57cbd21e Wi-Fi: Update modlog messages, prep for Gen 9 2022-10-26 23:04:15 -06:00
Alexander B
855bee4775
Sample Teams: Fix aliases & checking whitelist (#8943) 2022-10-26 20:31:30 -04:00
Alexander B
cdc5fe0aa6
Make !calc properly broadcast as a !math alias (#8950) 2022-10-24 19:09:55 -04:00
Quinton Lee
10f09c1339
Users: Lower chat throttle for public bots (#8944) 2022-10-23 20:55:14 -07:00
Andrew Werner
9230b5af8c GlobalAuth: Remove extraneous save call
GlobalAuth#delete already calls GlobalAuth#save, so this save call is unnessecary.
Testing did not reveal and problems with removing this extra call.
This is an attempt to fix a rare issue where GlobalAuth changes do not save.
2022-10-18 20:00:13 -04:00
Sergio
637a9091a2
Scavengers: Fix typo in comment (#8939) 2022-10-18 19:39:53 -04:00