Commit Graph

23714 Commits

Author SHA1 Message Date
The Immortal
c250014145
Add 1v1 suspect test 2017-12-27 11:56:46 +08:00
Guangcong Luo
2b5654e307 Refactor LoginServer for Promises
(Also TypeScript it.)
2017-12-26 14:36:56 -06:00
Guangcong Luo
91d112dd98 Fix misc TypeScript bugs
The dev version of TypeScript found a variety of bugs not previously
caught for some reason; these are fixed now.
2017-12-26 14:36:13 -06:00
Guangcong Luo
27070c589f Fix TypeScripting for users.js 2017-12-26 12:40:45 -06:00
Guangcong Luo
1ab8d2ed31 Redesign Help ticket form 2017-12-26 00:26:56 -06:00
Guangcong Luo
350eb21e22 Log various maintenance actions in Staff 2017-12-26 00:25:44 -06:00
Guangcong Luo
417a2aad51 Fix spacing for Ticketban button 2017-12-26 00:25:10 -06:00
CheeseMuffin
f27f0e21dd Typescript users.js (#4279) 2017-12-26 00:24:38 -06:00
Jeremy Piemonte
f5020a3466 Allow admins to bypass message cooldown (#4280) 2017-12-25 16:45:36 -06:00
Guangcong Luo
61719eaf20 Improve /updateserver
Now uses `git stash save` for better compatibility with older versions
of Git.

No longer stops working after there were no updates.

Should now work more reliably if untracked files conflict with newer
commits.

Now logs error codes, if they exist, to the roomlog.
2017-12-25 02:05:46 -06:00
Guangcong Luo
4ad1ac0bc1 Allow admins to /updateserver
Closes #3877
2017-12-25 01:55:53 -06:00
Guangcong Luo
0053e88683 Help tickets: Refer password resets to adminrequests 2017-12-25 01:19:47 -05:00
urkerab
25fe89f45a Make Contrary Competitive/Defiant self-inflicted (#4276) 2017-12-24 23:29:59 -06:00
Jeremy Piemonte
445f17181c Users: Fix marking guest numbers as autoconfirmed (#4278)
This is a bug that was introduced in 0b64df7f3c
2017-12-24 23:27:25 -06:00
Kris Johnson
4393b36914 /mnm: Remove redundant parts of warning messages (#4220) 2017-12-24 16:45:07 -05:00
Guangcong Luo
117561c6f2 Make /updateserver auto-restore 2017-12-24 01:05:29 -06:00
CheeseMuffin
def2697f33 Finish typescripting chat.js (#4277) 2017-12-24 00:45:49 -06:00
Guangcong Luo
24da0d3bd3 Add Ticketban button 2017-12-23 23:28:00 -06:00
Guangcong Luo
f7b3456641 Refactor /updateserver 2017-12-23 23:27:52 -06:00
Guangcong Luo
0310f99f02 Refactor repl.js 2017-12-23 23:04:03 -06:00
Kris Johnson
238ac1fdd7 Refactor old gens to for...of (#4274) 2017-12-23 21:46:04 -06:00
urkerab
2873bd8366 Remove an unused parameter from eatItem and useItem (#4210) 2017-12-23 21:36:51 -06:00
Guangcong Luo
0a06bb97ef Better support multiline responses in /eval 2017-12-23 21:32:16 -06:00
Guangcong Luo
b9e9a2b7c4 Simplify Promise support in /eval 2017-12-23 21:31:42 -06:00
Guangcong Luo
04eac73daa Improve notification for proxy lock 2017-12-23 05:00:11 -05:00
Guangcong Luo
322cfaae73 Notify Staff better for Help tickets 2017-12-23 05:00:11 -05:00
Guangcong Luo
23d4d990ed Better support Promises in /eval 2017-12-23 05:00:11 -05:00
Guangcong Luo
a1ed4b7e6c Fix reportJoins in personal rooms 2017-12-23 05:00:11 -05:00
Jeremy Piemonte
445e0053da Automatically upload replays for locks in battles (#4275) 2017-12-22 19:05:26 -06:00
urkerab
9a236d5d84 Fix Throat Chop interaction with Z-Moves (#4272) 2017-12-22 10:47:00 -05:00
Kris Johnson
3ac1f17195 MnM: Ban Gengarite and Shadow Tag (#4273) 2017-12-22 13:02:39 +08:00
Jeremy Piemonte
7aba471ba6 Hidetext: Allow hiding of muted user's messages (#4271)
I've seen several cases where a roomdriver wants to hide a muted users messages but its not worthy of a roomban/lock, and so their natural reaction is to spam the chat with broadcasted commands such as !roomintro.

The correct and more elegant solution for cases like this is for them to be able to use /hidetext. Having to call in a global upper staff for these cases can get frustrating and is not always an easy task.
2017-12-21 15:45:28 -06:00
Guangcong Luo
176264d39f Improve Help ticket Staff-notification design 2017-12-21 05:54:26 -06:00
Guangcong Luo
3d85291ade Don't modlog routine Help ticket changes 2017-12-21 05:54:26 -06:00
Guangcong Luo
0b64df7f3c Improve trusted user handling
Trusted users should no longer get caught in namelocks, etc.
2017-12-21 05:54:26 -06:00
The Immortal
490cc3465e
Monotype: Ban Naganadel 2017-12-21 13:00:28 +08:00
The Immortal
1bf9bd454b
Remove Monotype suspect test 2017-12-21 12:51:40 +08:00
Guangcong Luo
957674921d Refactor namelocks
- No longer cause desyncs in room user-tracking
- Support merging for more consistent guest numbering
2017-12-20 22:28:20 -06:00
Guangcong Luo
0bbda418bf Rename tickets.js -> helptickets.js 2017-12-20 21:19:09 -06:00
Guangcong Luo
87baef3230 Use less code duplication in Help Tickets 2017-12-20 21:18:48 -06:00
HoeenHero
b1d0cb3361 Tickets: Bug fixes and improve form (#4270) 2017-12-20 21:00:21 -06:00
Guangcong Luo
d870f6b8ad Fix global modlog output 2017-12-20 20:57:36 -05:00
Guangcong Luo
1ef2599742 Improve Chat.stringify 2017-12-20 20:57:36 -05:00
Guangcong Luo
a5b49cd9c1 Help tickets: Prevent inconsistent state hotpatch crash 2017-12-20 20:57:36 -05:00
Guangcong Luo
6b031eb7cd Fix roomlogs not rolling 2017-12-20 17:48:47 -06:00
whales
cd9a39c5fe Tickets: Fix crash on escalation (#4268)
Tickets would store the user object of the staff that escalated it, which crashes when it tries to stringify it.
2017-12-20 16:17:00 -06:00
CheeseMuffin
510c6940b7 Fix generation params in /weak (#4269) 2017-12-20 16:16:08 -06:00
Guangcong Luo
c21586d87f Fix Help Tickets expire timer 2017-12-19 23:20:59 -05:00
Guangcong Luo
b8be497142 Improve /eval output 2017-12-19 21:30:47 -05:00
Guangcong Luo
735e059f3d Improve /roomauth output 2017-12-19 21:29:10 -05:00