Commit Graph

3047 Commits

Author SHA1 Message Date
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
Leonard Craft III
e170e51466 Revert "Hangman: Prevent impossible guesses and fix HTML escape (#8929)"
This reverts commit abca806d00.
2022-10-16 21:30:44 -05:00
Annika
9c5d654b89
Revert "Improved typing for utils.ts, and for iterating over base stats (#8919)" (#8938)
This reverts commit c589fb5a5a.
2022-10-16 18:27:25 -07:00
GregLyons
c589fb5a5a
Improved typing for utils.ts, and for iterating over base stats (#8919) 2022-10-16 18:08:11 -07:00
Leonard Craft III
add5cba897
Friends: Fix minor bugs (#8924) 2022-10-16 18:07:32 -07:00
Leonard Craft III
abca806d00
Hangman: Prevent impossible guesses and fix HTML escape (#8929) 2022-10-16 18:04:31 -07:00
Kennedy
88a1bd5f94
Fix Custom Avatar FAQ (#8937) 2022-10-16 14:37:53 -05:00
Karthik
f7a5f604b9
Fix /ms boosts/lowers missing some moves (#8933) 2022-10-13 21:43:47 -04:00
Marty-D
7546243aa3
Avatars: Add more new stuff 2022-10-13 21:41:47 -04:00
Annika
0e1aa9fa45 Fix build 2022-10-10 19:55:11 -07:00
dot-Comfey
b006d93254
Movesearch: Search past gen learnsets (#8918) 2022-10-07 15:06:18 -05:00
Leonard Craft III
3f58aacb31
Correct Node version documentation (#8923) 2022-10-06 11:17:38 -07:00