Mia
530138b9e5
GitHub: Respect PS loglevel unless set explicitly not to
2021-11-13 01:01:51 -06:00
Mia
f608496938
Support JSX in HTML pages ( #8523 )
...
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2021-11-12 22:06:26 -08:00
Guangcong Luo
be0cee5a33
Refactor getIdentity not to take roomids ( #8528 )
2021-11-12 22:05:59 -08:00
Mia
46bc0f312c
Modlog-viewer: Remove references to 'any'
2021-11-12 23:20:47 -06:00
Mia
028abd6377
Helptickets: Ensure reported battles have replays saved upon ending
...
This is relevant since future staff may want the full log, and we don't want cases where only half the replay is saved.
2021-11-12 20:31:24 -06:00
Mia
5dff5de194
Helptickets: Properly ban a ticketbanned user's previousIDs
2021-11-12 11:27:10 -06:00
Mia
8aadf432ab
Usersearch: Don't make a table if no online users are found
2021-11-12 08:13:46 -06:00
Mia
48aaec0cd3
Roomfaqs: Allow people with the addfaq permission to view sources
...
the 'rfaq' perm is inconsistent: /addfaq perms make more sense and are what we check for the source in the page.
2021-11-11 10:51:16 -06:00
Kris Johnson
ffa50344b2
Wi-Fi: Fix index validation for /ga delete
2021-11-10 20:31:23 -07:00
Mia
09be6e8439
Moderation: Add the alias weekroomban to /roomban
...
Requested for clarity.
2021-11-10 09:27:46 -06:00
Guangcong Luo
a2c18b9a93
Improve date validation in chatlog
2021-11-10 00:25:54 -05:00
Guangcong Luo
4efd6a2232
Fix month validation in chatlog
2021-11-09 23:59:47 -05:00
Mia
bc5cf934aa
Fix build
2021-11-08 14:01:57 -06:00
Mia
c2023bf75b
Chatlog: Make /gbc broadcastable in Staff room
2021-11-08 12:00:06 -06:00
Mia
7521ac50e0
Helptickets: Remove language display from tickets
2021-11-08 11:54:37 -06:00
Mia
4540ff0627
Wifi: Fix crash in lottery drawing
...
Previously, the room was destroyed before adding the message that it was forcibly ended. destroying nulls the room, though, so this would always crash.
2021-11-07 20:17:44 -06:00
Mia
86743690e4
Modlog-viewer: Remove note about deprecated unspecified param handling
2021-11-07 12:06:20 -06:00
Mia
3df46681c1
Fix using /ml with no arguments
2021-11-07 12:01:46 -06:00
Mia
c5726289c1
Fix HTML
2021-11-06 23:37:47 -05:00
Mia
a1c6efb59f
/gbc: implement suggestions
2021-11-06 23:36:15 -05:00
Mia
923f1f1d2b
/gbc: Default to current room if none given
2021-11-06 23:17:28 -05:00
Mia
49f6a6592b
Add a command for getting chat messages out of a battle
2021-11-06 23:11:49 -05:00
Mia
76d0238a38
Modlog: Deprecate ModlogSearch#anyField
2021-11-06 22:52:23 -05:00
Kris Johnson
efdaa93f6b
Wi-Fi: Fix various bugs
2021-11-05 15:40:44 -06:00
Mia
182ed60221
CRQ: Default to undefined on some userdetails data to save bandwidth
...
Per https://github.com/smogon/pokemon-showdown/pull/8512/files#r743947584
2021-11-05 16:38:10 -05:00
Mia
c3bffaae56
Wifi: Stop command parsing if LotteryGiveaway.splitTarget fails
...
Previously, just returning context.parse([help cmd]) didn't actually stop the running, so it caused crashes since the results were undefined.
2021-11-05 14:19:17 -05:00
Kris Johnson
931801bf9b
Wi-Fi: Fix typo
2021-11-05 09:02:51 -06:00
Guangcong Luo
54aef4e564
Wi-Fi: Fix some bugs
2021-11-05 00:53:25 -04:00
Kris Johnson
350c3ff0a6
Wi-Fi: Give users a way to submit giveaways
2021-11-04 21:30:10 -06:00
Kris Johnson
28ec736dee
Wi-Fi: Properly fix permissions
2021-11-04 21:22:57 -06:00
Kris Johnson
68db092bf5
Wi-Fi: Fix bug with submitting giveaways
2021-11-04 21:18:55 -06:00
Annika
4c900512e1
Wi-Fi: Fix bug
2021-11-04 23:05:16 -04:00
Kris Johnson
b70865eb2e
Wi-Fi: Refactor giveaways ( #8514 )
2021-11-04 18:05:45 -07:00
Mia
ea9993fcec
Update max reason length for moderation commands
2021-11-04 11:48:45 -05:00
Mia
e26de3d931
Chat: Support '' as default handlers for pages
2021-11-04 09:08:52 -05:00
Mia
706ed51cb9
Punishments: Fix checkName only acting on the first punishment the user has
...
This created some bugs where a gbanned user wasn't disconnected if they switched IPs, since this previously only checked the first punishment. If they had a lock, or something similar, it would only run that, and not the gban. This runs everything, fixing that.
2021-11-03 20:18:14 -05:00
Mia
12db1bd96d
/linecount: Fix default search values
2021-11-03 10:27:59 -05:00
Mia
d44aff7eea
Fix other crash
2021-11-03 08:28:10 -05:00
Mia
f8f5af2c31
Fix crash
2021-11-03 08:23:47 -05:00
Mia
cf7b3177c9
Sample teams: Fix removing teams
...
Previously, it treated a string as an ID, even though it was a name instead, and compared it against IDs. This confused a lot of people.
2021-11-03 08:06:20 -05:00
Mia
32fd8a788a
/linecount: Support new search syntax
...
This brings it to the same syntax as modlog, which means you can make more varied searches while also getting defaults on values. Before, if you wanted to search a user, you had to enter everything. Now, you can just /linecount user=mia, for example.
2021-11-02 14:42:38 -05:00
singiamtel
a7cdf95c5a
CRQ: Don't send your own friend status in userdetails
2021-11-02 12:05:20 -05:00
Kris Johnson
5b9bbde2d7
Sample Teams: Change /help sampleteams
2021-11-01 15:40:23 -06:00
Mia
6dbb855b8a
Helptickets: Adjust battle/replay regexes to check word boundaries
...
This fixes a bug where the regex would see 'battle-gen8monotyperandombattle-numbers-pw' and would extract 2 urls; the 'battle-gen8monotyperandombattle-numbers-pw' and the 'battle-numbers-pw' from the end. The word boundary ensures it won't match within the format.
2021-11-01 09:15:20 -05:00
Mia
172be74482
Helptickets: Display previous names for namelocked guests
2021-10-31 16:31:56 -05:00
Mia
02cd7f7319
Sample teams: Fix crash
...
Caused by the whitelist for that formatid being undefined. Since there's no whitelist, I felt it made the most sense to have it say you needed admin.
2021-10-28 08:39:31 -05:00
Mia
6b3b4df6fa
Fix build
2021-10-27 09:23:38 -05:00
Mia
78291269bb
Punishments: Fix markshared IP storage
2021-10-27 08:02:49 -05:00
Mia
0ed095820e
Helptickets: Properly show set names in inap mon name tickets
2021-10-26 14:28:51 -05:00
Mia
9e7a6f7c8e
Searchlog: Standardize argument delimiters
2021-10-26 14:03:59 -05:00