Commit Graph

9 Commits

Author SHA1 Message Date
Guangcong Luo
27ffe81ff4 Apply filterCaps/filterStretch to usernames 2016-10-21 16:04:30 -04:00
panpawn
420e28ce91 Chat: Tell locked users their lock duration (#2823)
This also adds `Punishments#checkLockExpiration` - mostly for this, but also to remove some repetitive code in the whois command as well.
2016-10-04 23:52:19 -07:00
Ben Davies
54d0ff203a Performance: replace direct references to arguments with rest parametres (#2818)
Replacing direct references to the arguments object of functions with rest
parametres prevents the function from being deoptimized while still allowing
use of arbitrary arguments. This may also fix some minor memory leaks related
to mishandling the arguments object.
2016-10-04 16:29:14 -07:00
Guangcong Luo
4db67f3cca Report crashes in Dev
Currently, only crashes that require a server restart are reported
outside of the crash emailer and stdout. This makes it so all crashes
are reported.
2016-10-03 03:18:22 -07:00
Bär Halberkamp
a1b69a7b89 Refactor lockdowns (#2808) 2016-10-02 18:52:00 -07:00
panpawn
99705c7cc1 Rename commands.js -> chat-commands.js (#2805) 2016-10-01 21:37:16 -07:00
panpawn
0efd7133f7 Chat: Fix /reply not working correctly (#2804)
In one of the recent refactors, it dropped code like this that broke /reply to not work right
2016-10-01 17:02:11 -07:00
Guangcong Luo
99347093c4 Fix bugs in Chat refactor 2016-10-01 16:16:33 -07:00
Guangcong Luo
d6f5404e7e Rename CommandParser to Chat
We had a lot of discussion in Dev and a somewhat-close poll, but in
the end "Chat" was a better name than "Messages", and also has the
advantage of being shorter (which is nice for Chat.html and
Chat.plural which should be short).
2016-09-30 18:31:15 -07:00