Commit Graph

184 Commits

Author SHA1 Message Date
Mia
a56e6d9035 Info: Filter /code before broadcasting 2022-05-02 14:49:11 -05:00
Mia
ec608a9fef Info: Allow /show in helptickets 2022-04-04 15:05:30 -05:00
Karthik
5c170c9d11
Fix bugs with /analysis (#8705) 2022-03-26 20:40:31 -05:00
Alexander B
d35f218b52
/smogintro: Update links (#8698) 2022-03-22 17:27:48 -07:00
Kris Johnson
d5b5431cbf Fix build 2022-02-23 01:55:30 -07:00
Annika
a799fcd9ce Fix translations 2022-02-22 20:59:53 -05:00
Mia
8e437a6f96
Fix typo 2022-02-09 13:30:05 -06:00
Mia
440ac6f3f0
Info: Include permanent punishments on /punishments
Requested by staff.
2022-02-09 12:08:11 -06:00
Leonard Craft III
9e3718b375
Update VGC/BSS to Series 12 (#8648) 2022-02-01 12:26:30 -07:00
Mia
c277791ece Info: Trim comments on /show
checkChat appears to trim comments, so atm any comment with spaces around it is treated like it's filtered.
2022-01-26 16:16:41 -06:00
Mia
4acf6f6d4a
Info: Filter comments in /show 2022-01-26 10:47:25 -06:00
Kris Johnson
de9c894990
Update /calc 2021-12-15 17:45:18 -07:00
Guangcong Luo
8642abcd12
Avatar manager (#8563) 2021-12-14 10:21:02 -08:00
Guangcong Luo
48df7f19bf Refactor re-saving replays at battle end
Previously, if saving a replay failed the first time around, it's
not re-saved at battle end. Commit 028abd6377 fixes that.

This commit just rewrites the implementation to be much less redundant.
2021-11-13 13:54:05 -05: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
88ef7fdf1f
Support marksharing ranges (#8498) 2021-10-24 12:44:46 -07:00
Mia
05072216a2 /ipsearchall: Check full user.ips array 2021-10-19 11:11:26 -05:00
Mia
a0227dfaeb /whois: Privatize more punishments to global staff
Roomstaff have no use for these. (Wob said this was OK).
2021-10-04 08:21:58 -05:00
FeluciaPS
a032accccf
Add html pages to multiline commands (#8483) 2021-09-30 16:44:39 -05:00
Mia
a7d27dde3a Add help for all commands in server/chat-commands/ 2021-09-23 12:11:55 -05:00
Mia
6cdfb14812 Fix build 2021-09-23 09:36:08 -05:00
Mia
8379e3923a Validate data:image inputs for media commands
This gives explicit messages to ensure people don't try to /show it.
2021-09-23 08:31:11 -05:00
Kris Johnson
c2f5ccc106 Update /battlerules 2021-09-14 23:24:46 -06:00
PartMan
25173a4027
/details: Don't show G-Max moves in old gens (#8463) 2021-09-08 00:37:18 -06:00
AeonicX7
2e7fd45cd8
/groups: Document Section Leaders (#8448) 2021-09-02 13:59:52 -07:00
pacmanboss256
23b35498f6
Rename the "mystery" and "authentic" move flags (#8445)
* mystery -> allyanim
* authentic -> bypasssub
2021-08-30 23:07:50 -07:00
Mia
7811795344
Handle new TypeScript version (#8449)
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2021-08-30 20:11:44 -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
Annika
3403cc0d93 /whois: Fix formatting for punished previous names 2021-07-02 19:49:43 -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
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
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
PartMan
69e71297e8
/punishments: Use toID (#8332) 2021-05-24 11:18:32 -07: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
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
Guangcong Luo
509d0abad4 Refactor out some Object.keys invocations
If you need values, you should be using `Object.values` or
`Object.entries` directly.
2021-05-13 23:02:04 -07:00
Mia
0b2f63b9f3 Info: Support twitch links in /show 2021-05-10 21:57:20 -05:00
Mia
5fb8071274 Info: Fix /regtime time handling 2021-05-05 12:04:25 -05:00
Annika
a150b4aa6c Fix help for /host 2021-05-05 00:18:23 -04:00
Guangcong Luo
a480a84ce4 Chat API: Add requireUser
This simplifies a lot of `splitUser` uses that immediately go on
to make sure the user actually exists.
2021-04-30 17:14:35 -07:00