Quinton Lee
b5130dfb57
Commands: Add feedback to /notifyuser ( #8411 )
2021-07-25 15:33:20 -07:00
Annika
982c357f88
/evalsql: Fix bug
2021-07-23 15:27:10 -07:00
Annika
bcbe100c41
Modlog: Use SQLite for searches ( #8004 )
2021-07-23 13:47:49 -07:00
Mia
bdeb9c538a
Support /blockchallenges friends
2021-07-22 21:18:52 -05:00
Mia
a0b1fa1cc5
/crq: Inform the client if the user is friended
...
Necessary for upcoming changes.
2021-07-22 14:56:27 -05:00
Mia
d5bb0945ff
Moderation: Stop forcing /globalban on untrusted users
...
This caused issues with banning offline users, and while I was fixing it I started to question why this was necessary at all.
2021-07-22 02:22:52 -05:00
Annika
19c6daf9f2
/evalsql: Make table scroll horizontally
2021-07-21 14:34:25 -07:00
Mia
879bb9dc18
/evalsql: Destroy DB after use
2021-07-21 15:06:14 -05:00
Mia
9ed2c0036f
Add a command for evaluating SQLite ( #8407 )
2021-07-21 13:05:02 -07:00
Mia
e5fbd64427
Support adding friends ( #7333 )
2021-07-16 12:56:34 -07:00
Kris Johnson
40e36c8f38
Make adjustments to Section Leaders ( #8387 )
2021-07-16 12:51:29 -07:00
PartMan
ddec31a24f
Add /notifyuser ( #8394 )
2021-07-16 12:50:45 -07:00
Annika
c134195915
Use ts-node instead of Sucrase ( #8369 )
2021-07-09 19:59:22 -07:00
TheSupervillain
1ef25735b9
Avatars: Change Duel Disk to Wonder Launcher ( #8380 )
2021-07-07 21:58:24 -07:00
Karthik
73eed0d40b
Show "Bypasses Protect" flag in /dt for ally-targeting moves ( #8384 )
2021-07-06 11:59:55 -07:00
FeluciaPS
ad406e37c6
Add htmlfaq to multi-line commands ( #8379 )
2021-07-04 15:57:47 -07:00
Guangcong Luo
a3eec79627
Update documentation for /avatarhelp
2021-07-04 17:05:01 -05:00
Annika
3403cc0d93
/whois: Fix formatting for punished previous names
2021-07-02 19:49:43 -07:00
Annika
56754afb42
Punishments: Remove getPunishType functions
...
These are poorly designed as they only return one punishments, but users can now have several.
2021-06-29 17:55:45 -07:00
Mia
7fe886302c
/botmsg: Fix filter check
2021-06-29 00:45:29 -05:00
Mia
5430bf4365
Fix build
...
Unsure why ESLint did not throw this for me.
2021-06-28 21:50:56 -05:00
Mia
d829ceeff4
Chat: Validate command recursion
2021-06-28 21:28:30 -05:00
Distrib
e9a5bc9332
/blockchallenges: Support allowing challenges from certain groups ( #8362 )
2021-06-26 17:28:03 -07:00
Mia
817986de92
Moderation: Restrict seeing punishments for non-staff trusted users
2021-06-23 16:25:42 -05:00
Mia
558c4e3a4a
Moderation: Only allow non-staff trusted users to see locks and bans on /offlinewhois
...
Approved by Aeo.
2021-06-23 16:05:51 -05:00
PartMan
0d7159b12c
/botmsg: Permit ROs too ( #8370 )
...
(Bots become ROs of subroom groupchats if they create them.)
2021-06-22 15:52:54 -07:00
Mia
fe338a84f5
Support locking usernames for a year ( #8371 )
2021-06-22 15:10:16 -07:00
Karthik
5db9d39756
Support default format for randbats commands ( #8367 )
2021-06-22 12:06:02 -07:00
Mia
b0e839e1e8
Moderation: Only log /rangeban to Staff
2021-06-15 18:16:06 -05:00
Mia
bdd08acecb
Info: Fix /regdate display for registration time
2021-06-03 13:46:14 -05:00
Annika
b712278fd0
Use global punishments instead of fake rooms ( #8350 )
2021-06-02 21:54:33 -07:00
Mia
01a7132e0e
Fix alt display in /whois
2021-06-02 14:19:16 -05:00
Mia
59377f5a47
Info: Fix /show and /requestshow interaction error ( #7904 )
2021-06-02 11:03:00 -07:00
Guangcong Luo
a338dad78a
Fix challenge notifications
...
This is a temporary fix; the real fix is a decent margin more
complicated, unfortunately...
2021-05-31 20:05:47 -04:00
Mia
c237e18672
Fix previous names display in /whois
2021-05-31 14:25:26 -05:00
Mia
6562a14385
Fix punishment reason displays in /whois
2021-05-31 13:16:31 -05:00
Mia
09e298f15b
Punishments: Support giving multiple punishments to one user ( #8265 )
2021-05-31 11:06:01 -07:00
Mia
c29a9a1eb1
Moderation: Explicitly note if punishments are done with no user object
2021-05-27 21:29:59 -05:00
Annika
fd9b922e86
/sectionleader: Get user object exactly
2021-05-27 11:21:35 -07:00
Guangcong Luo
74211859c9
Update to TypeScript 4.3
...
Changes relevant to our codebase:
- TypeScript now knows that `typeof id === 'string'`! A bunch of casts
on `User | ID` or `Room | RoomID` are no longer necessary!!!
- `override` will protect against certain typoes, and we'll adopt it
(and `--noImplicitOverride`) as soon as sucrase comes in
- `declare` is now required for properties we want to narrow the type
of without directly overwriting - a good thing to use going forward,
but very annoying to fix all our old code for
2021-05-26 14:16:54 -07:00
Mia
66261e99d2
Admin: Support /eval in PMs ( #8249 )
2021-05-25 16:28:09 -07:00
PartMan
69e71297e8
/punishments: Use toID ( #8332 )
2021-05-24 11:18:32 -07:00
Mia
961e5b90d0
/clearlines: Trim reasons
2021-05-24 11:34:26 -05:00
Guangcong Luo
d8f492d209
Fix bugs in IP and IP range support
...
IPTools has gotten a bit buggy since the last time I looked at it. This
fixes `IPTools.ipRegex` to actually validate IPs, and adds a new
`IPTools.isValidRange` validation function.
`/ipsearch` now also supports all three IP range formats, thanks to
being refactored to use `IPTools.checker`.
Fixes #8330
2021-05-23 20:48:31 -07:00
Guangcong Luo
49cacba6cf
Support !rebroadcast to bypass broadcast cooldown
...
The old system where only admins can bypass the broadcast cooldown
is weird, because it's wrong in both directions: Admins could
unintentionally re-broadcast, but other users couldn't intentionally
re-broadcast.
Now no one can unintentionally re-broadcast and everyone can
intentionally re-broadcast.
2021-05-23 19:41:07 -07:00
Guangcong Luo
4a716f1456
Use aliases for !formathelp broadcast cooldown
...
(This makes it so if someone uses `!om sketch` it will prevent use
of `!om sketchmons` for a while.)
Suggestion thread: https://www.smogon.com/forums/threads/make-the-broadcast-cooldown-for-commands-apply-to-aliases-of-that-command.3684569/
2021-05-23 18:23:52 -07:00
Marty-D
abec21011f
Add more missing Trainer avatars
2021-05-22 13:47:23 -04:00
Annika
5b50c31507
/blockpms: Normalize capitalization
2021-05-19 18:07:26 -07:00
Guangcong Luo
c695620e58
Refactor to new challenge system ( #8303 )
...
See PR for full details:
https://github.com/smogon/pokemon-showdown/pull/8303
2021-05-17 07:15:01 -07:00
pacmanboss256
4186ef5f4f
Refactor Mold Breaker effect ( #8291 )
2021-05-14 08:32:41 -04:00