Commit Graph

366 Commits

Author SHA1 Message Date
TheJetOU
af93684d5e Fix Chat#collapseLineBreaksHTML 2019-08-11 11:03:35 -05:00
TheJetOU
16124e556d Import Chat correctly (#5693) 2019-08-11 17:24:31 +02:00
TheJetOU
4b0be1b5b4 TypeScript RoomGame and RoomBattle (#5692) 2019-08-11 17:03:36 +02:00
TheJetOU
3d18ab84a5 TypeScript Monitor (#5691) 2019-08-11 13:36:08 +02:00
whales
10266ffe92 Typescript chat (#5620) 2019-08-10 15:30:34 -07:00
whales
a04f3dc7ad Rework enabling mafia to be more like other chatgames (#5689) 2019-08-10 16:59:54 -04:00
whales
9b43bf4448 Set prevUsers properly when merging (#5690)
* Set prevnames properly when merging

* change param order

* rename, again
2019-08-09 17:57:44 -07:00
Guangcong Luo
5bd2c87190 Properly clear timer in nextRequest 2019-08-09 13:27:01 -07:00
Jacob McLemore
91f81460cb Scavengers: Add Recycled Hunts functionality (#5666) 2019-08-09 09:33:21 +02:00
Quinton Lee
24e01843d2 Tournaments: Always enforce scouting setting (#5671)
Previously players were able to join battles as soon as they ended
2019-08-08 21:05:39 -07:00
whales
90babd72b9 Fix disabling mafia (#5686) 2019-08-08 21:04:41 -07:00
Bär Halberkamp
3a278dd2a8 First batch of commands to make translatable 2019-08-09 02:53:11 +02:00
whales
0dd9e0813f Separate add and regexadd in /banword (#5687) 2019-08-08 14:26:18 -07:00
TheJetOU
e212330126 Track turns in RoomBattle (#5685) 2019-08-08 14:22:47 -07:00
Guangcong Luo
cf96a48347 Fix first-turn timer with Config.forcetimer
Fixes #5683
2019-08-07 13:26:09 -07:00
Guangcong Luo
021eb56f4f Fix dc messages appearing after battle end 2019-08-07 13:26:08 -07:00
Guangcong Luo
cb746524c1 Fix turn limit for tying games 2019-08-07 13:26:07 -07:00
Guangcong Luo
03c642b7d6 Default to not reporting joins in modchat 2019-08-07 13:26:07 -07:00
Jeremy Piemonte
83bb9a3180 Implement blackjack game (#3726) 2019-08-06 20:23:08 +02:00
Kirk Scheibelhut
7639b59c21
Improve /hidereplay privacy (#5678)
- hide the room as well so that it doesnt show up in a user's trainer card and end up auto-linking to replays
- upload a replay after the game to ensure the hidden setting is properly written
2019-08-06 11:04:16 +02:00
maxalexandderpi
54a4baedaf Let users see who made a hangman/poll (#5680) 2019-08-05 23:59:59 -05:00
Guangcong Luo
00184f61b2 Fix modchat permission check
It was interacting badly with the new code to give drivers moderator
permissions in battles.
2019-08-05 17:23:26 -05:00
Guangcong Luo
9423ce942c Support saving replays for punishment
`forpunishment` replays are saved as "private", but with no URL-guessing
protection, so staff looking for punishment logs can still find them.
2019-08-05 17:37:19 -04:00
whales
912449e056 Fix potential crash in allowexportinputlog (#5677) 2019-08-05 15:46:29 +02:00
Kris Johnson
368cce2be6 OM: Add /crossevolve command for Cross Evolution (#5673)
* OM: Add a crossevolution command

* oops

* Add /crossevolve command for Cross Evolution
2019-08-05 12:13:14 +04:00
whales
9b222862c5 Send updateuser when changing status type (#5675) 2019-08-05 09:56:54 +02:00
whales
2336659432 Fix self idle display on merging (#5674) 2019-08-05 09:42:19 +02:00
whales
188d8b8c85 Automatically consent to extracting your own battlelog (#5672) 2019-08-04 23:06:07 -05:00
Marty-D
3ab1db925c
IPTools: Update proxy list 2019-08-04 11:42:05 -04:00
Slayer95
2989e653dd
Info: Fix target validation in /host 2019-08-03 23:26:05 -05:00
Kirk Scheibelhut
7f4dd13aec Update /punishlog tags 2019-08-03 12:52:27 +02:00
Kirk Scheibelhut
e8b3343ba4 Add MAFIAHOSTBAN to punishlog
Mafia specific, but still enough of a punishment to perhaps be
useful when viewing a user's punishment history.
2019-08-03 12:35:43 +02:00
Kirk Scheibelhut
3021826112
Have /hidereplay turn on /modjoin % once the battle is over (#5667) 2019-08-02 22:19:33 +02:00
Bär Halberkamp
d128ca8b9f Thing of the day: no longer rely on uhtmlchange making new htmlboxes 2019-08-02 00:45:10 +02:00
Bär Halberkamp
25de7934a6 Thing of the day: Tweak how pre-noms work 2019-08-01 22:48:59 +02:00
whales
2eaed9105d Update status properly on merging (#5663) 2019-08-01 13:56:43 +02:00
Kirk Scheibelhut
d02079c0b9 Don't apply getBattles skip logic if usernameFilter is set 2019-08-01 12:41:36 +02:00
TheJetOU
a12496e97b Allow filtering by userid prefix in battle search (#5662) 2019-08-01 10:20:18 +02:00
Kirk Scheibelhut
4326aeae04
Add forcedpublicprefixes for public OLT battles (#5661) 2019-08-01 09:28:48 +02:00
HoeenHero
e5b575f950 Implement Chat.stripFormatting (#5658)
Strips chat formatting from a string.
This is used for properly validating the length of room faqs
and daily spotlights.
2019-08-01 00:08:11 -05:00
Quinton Lee
c544514d67
Chat monitor: fix removing filtered shorteners 2019-07-27 13:34:40 -05:00
HoeenHero
f3d04f09cd Allow mods to create, edit, and remove room faqs
Also makes room faq topics in /roomfaq clickable.
2019-07-26 20:30:21 -04:00
HoeenHero
a67be91f27 Make uptime avaliable to regular users
This command was originally restricted because users would complain
about lag when the uptime hit about a week. I'm removing this because
it makes it alot harder to verify a server's uptime meets the
requirements when registering servers, and its been a year or so
since lag complaints related to uptime were an issue.
2019-07-26 08:11:53 -04:00
HoeenHero
eb80893c58 Inap username/status tickets shouldn't start activated
Also updated some ticket form text and added "help" to the list of phrases that will not active a ticket.
2019-07-26 08:06:54 -04:00
whales
93ab00e173 Fix kaomoji canTalk checking for real 2019-07-24 20:11:01 -05:00
whales
3499df5b38 Check canTalk properly in kaomoji (#5655) 2019-07-24 17:39:02 -05:00
HoeenHero
5659b628a3 Prevent most commands from being used with kaomoji commands 2019-07-24 11:00:29 -04:00
Ben Davies
29b06abce1 Add a few kaomoji commands (#5645)
This adds /shrug, /tableflip, and /tableunflip.
2019-07-22 20:21:35 -05:00
whales
b06d638b6e Fix username report tickets (#5642) 2019-07-22 12:58:57 +02:00
Guangcong Luo
a3ba27ba8f Improve modchat
- Modchat permission code should be simpler now
- Mods now have 'modchatall' (can set modchat up to their own rank)
- 'modchatall' (ROs) can no longer remove modchat higher than their own
  rank
- 'makeroom' (Leaders) still can remove higher modchat
2019-07-20 08:53:16 -05:00