Kris Johnson
7bb99e2abb
Add roomsettings for tournaments ( #7876 )
...
* Add roomsettings for tournaments
* gar ehseth et hseh
* aeth srth esg
2021-01-05 14:15:57 -08:00
Distrib
0b2e07dd3e
Add alias for /cleartext ( #7850 )
...
* Add alias for /cleartext
Pr for https://www.smogon.com/forums/threads/add-a-short-alias-for-hidetext-hidelines-and-cleartext.3673226/#post-8700023
* Update server/chat-commands/moderation.ts
Co-authored-by: Annika <annika0uwu@gmail.com>
Co-authored-by: Annika <annika0uwu@gmail.com>
2021-01-05 14:12:51 -08:00
urkerab
5cb927d439
Remove variables made redundant by PR #7663 ( #7873 )
...
The `hotpatchVersions` variable was only used by `requiresForce`.
The `patch` variable no longer provides any benefit over `target`,
so I removed it too.
2021-01-03 21:17:30 +04:00
Mia
cf9b7a3eb3
Support spoiler: for private reasons in /namelock ( #7858 )
2020-12-30 17:45:40 -08:00
Mia
f2264c93d4
Throttle how many rooms a user can join at once ( #7817 )
...
* Throttle room joining
* OK
* comment & thing
* Update server/chat-commands/moderation.ts
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
* Update server/chat-commands/moderation.ts
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
* Update server/chat-commands/moderation.ts
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2020-12-26 22:06:31 -08:00
Annika
ca9ce2f225
Refactor /updateserver ( #7836 )
...
Now, `/updateserver` updates both public and private code.
To update only one, use `/updateserver private` or `/updateserver public`.
2020-12-26 07:17:43 -08:00
SirKira(!Uzumaki)
f35be5b51c
Alias /srgc to /subroomgroupchat ( #7824 )
...
* Add a alias for /subroomgroupchat.
* Update room-settings.ts
2020-12-24 10:03:48 -08:00
Distrib
cdcda7061d
Fix padding in /battlerules ( #7825 )
2020-12-21 03:42:10 -08:00
TheMezStrikes
ff4fe37f79
Alias /suggest and /suggestion to /suggestions ( #7816 )
2020-12-21 03:36:36 -08:00
Kris Johnson
dbbb89bdc2
Fix help for /renameroom
2020-12-20 12:35:06 -07:00
Mia
075f96aca7
Fix /usersearch's listed permissions
2020-12-17 19:45:50 -06:00
Mia
9712f6ecf1
Modlog: Remove Rooms global in PM ( #7799 )
2020-12-13 12:52:52 -08:00
Guangcong Luo
013851359c
Support using avatars from username history
...
Now you can use `/avatar` for any private avatar you have access to
from your username history, without needing to change name every time.
2020-12-09 23:18:17 +00:00
Mia
b7001afdba
Chat: Add a method for iterating commands ( #7722 )
2020-12-03 19:37:59 -08:00
PartMan
1c37bc0dea
Make /cover type1/type2 work ( #7760 )
2020-12-03 03:22:03 +04:00
The Immortal
ad1fd0f873
Fix build
2020-12-02 04:40:08 +04:00
PartMan
6c8f15fe36
Support /weak Type1/Type2 ( #7756 )
2020-12-01 09:31:12 -08:00
Mia
0afd5cb54b
Punishments: Show users a warn message on login for offline warns ( #7741 )
2020-12-01 07:02:54 -08:00
Mia
95d2fdf746
Moderation: Properly disallow forcerenamed offline names ( #7726 )
2020-12-01 07:01:42 -08:00
Kris Johnson
fba68d5be6
Reformat old instances of CommandContext/Room#tr ( #7744 )
2020-12-01 06:31:55 -08:00
Guangcong Luo
2fde654c78
Refactor subroom code ( #7721 )
...
This introduces a new function, `setParent`, to handle the details
of setting up subrooms.
`roomid`, `parent`, and `subRooms` are now read-only, so they can't
be accidentally be set directly rather than through their setters
(`rename`, `setParent`, and `clearSubRooms`).
I don't think setters should be used for this, because I think it's
important to be clear that `rename` and `setParent` will change a lot
of other state and induce network activity.
2020-12-01 06:22:44 -08:00
SirKira(!Uzumaki)
fd789cb760
Improve help for !show and /show ( #7753 )
2020-12-01 06:22:13 -08:00
Annika
19c992b95b
Fix bug with /usersearch sorting
2020-11-28 18:56:17 -08:00
Annika
70016c9e49
Admin: Fix /updateserver private
2020-11-25 13:48:31 -08:00
Mia
23615e5ce0
Youtube: Make /show show videos directly in chat ( #7725 )
2020-11-24 10:14:04 -08:00
Mia
38bb9c2ee9
/usersearch: Sort users by offline/online status ( #7723 )
2020-11-24 08:55:57 -08:00
Annika
18f1806da4
Moderation: Remove unnecessary escape
...
`message` is never treated as HTML so escaping it just mangles usernames with special characters in them
2020-11-21 12:39:13 -08:00
Mia
fc3e398d89
Add a command to search usernames ( #7714 )
2020-11-20 08:26:30 -08:00
Annika
3934dec0fa
Fix error message when using /ipsearch on a range
2020-11-19 15:14:29 -08:00
Guangcong Luo
847681d9e9
Improve /updateserver, /rebuild, /hotpatch UX
...
My carefully-designed `/updateserver` UX has been ruined by the
addition of the rebuild step.
The new `/updateserver`, `/rebuild`, and `/hotpatch` commands are now
once again as carefully-designed as before, and should represent a
much improved server administration experience.
2020-11-17 10:45:40 +00:00
Mia
080ecc7469
Rooms: Merge privacy setting code into setPrivate ( #7695 )
2020-11-17 02:00:06 -08:00
HoeenHero
73581b814d
Correctly propagate errors in runPromote ( #7697 )
2020-11-17 01:59:31 -08:00
Mia
7307364451
Remove /forcehotpatch ( #7663 )
...
Hotpatches now always rebuild before patching.
2020-11-14 21:01:35 -08:00
Mia
1e4b4dc0ed
/whois: Only show semilock reasons to global staff ( #7691 )
2020-11-14 19:46:10 -08:00
TheMezStrikes
a2c1fc9cc8
Update CAP samples link ( #7689 )
2020-11-12 19:44:18 +04:00
Mia
60bda2795f
CommandContext: Move parseCommand into Chat ( #7661 )
2020-11-11 19:59:38 -08:00
Mia
79572fcac4
Settings: Properly make battle rooms public ( #7687 )
2020-11-11 18:35:31 -08:00
Mia
c6f72a9e85
/sharedbattles: Upload replays of shared battles ( #7682 )
2020-11-11 17:23:24 -08:00
Guangcong Luo
b9a0d3f494
Fix return signature of context.parse
2020-11-11 03:25:06 +00:00
Mia
a277edf154
Info: Make /rules account for other possible use-cases ( #7667 )
2020-11-10 14:18:04 -08:00
Guangcong Luo
6d5dcfe948
Fix !pline broadcast limit
2020-11-10 14:55:05 -05:00
Mia
50522e3f66
Deprecate /showmedia ( #7671 )
2020-11-09 19:24:12 -08:00
Mia
79cb8a1c35
Moderation: Properly log /hidetext's message ( #7659 )
2020-11-08 19:02:51 -08:00
Mia
9c2c4efe07
Admin: Warn the user of disabled commands on hotpatch/lockdown ( #7660 )
2020-11-08 17:25:41 -08:00
Mia
850d4a4b9b
Add a command to disable commands ( #7655 )
2020-11-08 14:39:20 -08:00
Guangcong Luo
1e39e19f00
Refactor chat to use Utils.splitFirst
2020-11-08 18:31:38 +00:00
Annika
ecd90af23b
Punishments: Make locks expire on their own ( #7598 )
2020-11-06 15:14:46 -08:00
Annika
e6a61e52aa
Fix renaming battle rooms ( #7399 )
2020-11-06 15:14:08 -08:00
Konrad Borowski
32f299584f
Remove hotpatch notifications from Upper Staff ( #7646 )
2020-11-05 22:56:39 +04:00
Guangcong Luo
fbdda144eb
Support Config.noguestsecurity ( #7625 )
...
This Config option, intended purely for development test servers,
allows users to log in without a signed token, by using
`/trn [USERNAME]`. This allows logins without a login server.
The rest of the server has been changed to make sure unregistered
users never have any powers they shouldn't have.
2020-11-05 04:55:05 -08:00