Marty-D
91ec38ddcc
Fix DPP NU banlist
2016-10-02 22:53:55 -04:00
Bär Halberkamp
a1b69a7b89
Refactor lockdowns ( #2808 )
2016-10-02 18:52:00 -07:00
The Immortal
003da6068d
Update DPP NU links
2016-10-03 05:23:45 +04:00
The Immortal
44061fb75e
Include Chat global earlier
2016-10-02 16:51:49 -04:00
Guangcong Luo
f95276573a
Fix crash in /bugs
2016-10-02 13:35:38 -07:00
sirDonovan
fafb2c1099
Fix crashes in datasearch commands
...
Loading data on the main process was accidentally removed in
64fa2b9801
2016-10-02 15:08:03 -05:00
The Immortal
0f157be311
Better validator fix
2016-10-02 22:35:22 +04:00
Marty-D
9c714a256a
Add new event Pokemon
2016-10-02 14:28:32 -04:00
Quinton Lee
9719852a49
Fix crash in validator
2016-10-02 13:09:33 -05:00
The Immortal
819da3b86a
Remove UU suspect test
2016-10-02 19:21:52 +04:00
The Immortal
3eca3356c2
Gifts of the Gods: Ban Soul Dew
2016-10-02 19:20:57 +04:00
The Immortal
88a1961f86
Remove Other Metagame of the Month link from /om
2016-10-02 18:10:50 +04:00
Bär Halberkamp
b986aa580a
Mafia: Refactor votes
2016-10-02 15:41:36 +02:00
Bär Halberkamp
43de9b45df
Mafia: bold people in votes
2016-10-02 15:41:36 +02:00
Marty-D
c1430d7c3e
Fix information leak with Transform
2016-10-02 09:36:49 -04:00
panpawn
e5ff60f129
Allow ROs to use /topic to not see source ( #2807 )
2016-10-02 15:46:31 +04:00
panpawn
a9c77372ed
Standardize using const when declaring modules ( #2806 )
2016-10-01 21:40:05 -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
The Immortal
ed4d8de047
Fix build fail
2016-10-01 19:02:16 +04:00
Guangcong Luo
2157c2d31b
Fix crash in battles
...
escapeHTML is no longer available in battles, so we have to make our
own.
This is very hacky and will be replaced with a better solution.
2016-10-01 07:27:24 -04:00
The Immortal
e12d32d847
Add new RoA Spotlight
2016-10-01 08:17:47 +04:00
The Immortal
d163f465c6
Add new OMs of the Month
2016-10-01 08:04:10 +04: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
Guangcong Luo
56792d6e1d
Improve doc comments on CommandParser functions
2016-09-30 18:07:54 -07:00
Guangcong Luo
da1b318707
Move text processing from Tools to CommandParser
...
The following functions have been renamed:
- Tools.html to CommandParser.html
- Tools.plural to CommandParser.plural
- Tools.escapeHTML to CommandParser.escapeHTML
- Tools.toDurationString to CommandParser.toDurationString
- Tools.toTimeStamp to CommandParser.toTimestamp
(notice the lowercase 's')
This is in preparation for a rename of Tools to Dex (by removing the
non-dex-related functions) and a rename of CommandParser to either
Messages or Chat.
2016-09-30 18:04:13 -07:00
Marty-D
f5881ee572
Generalize hardcoded list in BattlePokemon#setAbility
...
Resolves #2790
2016-09-30 20:09:14 -04:00
panpawn
549b5651f9
Fix typo in this.canBroadcast ( #2801 )
2016-09-30 15:32:25 -07:00
The Immortal
741a07f324
Random Battle: Update items
2016-10-01 02:05:27 +04:00
Guangcong Luo
2bc0bf5061
Tests: Properly resolve rejected promise
2016-09-30 15:56:50 -04:00
Guangcong Luo
b2df0e7c2a
Fix /invite in invite-only rooms
2016-09-30 15:56:50 -04:00
Guangcong Luo
491de5ee3a
Refactor CommandContext#parse to spawn subcontext
...
Some commands are async, which makes subcontext data important to be
preserved.
This has the consequence of removing a line of stack, which
probably doesn't mean much.
2016-09-30 15:56:50 -04:00
Guangcong Luo
aee449fa52
Add Cathy -> Trevenant alias
...
No relation to the former PS admin; this is a UU meme.
2016-09-30 15:56:50 -04:00
Guangcong Luo
e8d7bd1c23
Fix crashes in CommandParser refactor
2016-09-30 15:56:50 -04:00
Guangcong Luo
ac388b3a59
Improve crashlogger
...
Only report the first crash to Lobby, instead of every crash. The
crash is now also reported to Staff.
2016-09-30 15:56:50 -04:00
QuiteQuiet
893cd1a0b5
Send -endability from BattlePokemon#setAbility ( #2797 )
2016-09-30 12:45:43 -07:00
Quinton Lee
827e969991
Tournaments: implement banlist feature ( #2799 )
...
Tournament creators can now specify a supplementary banlist.
Also fixes a related validator bug.
2016-09-30 00:44:21 -07:00
Guangcong Luo
ba44345e65
Fix unused commands variable in commands.js
2016-09-30 00:09:32 -07:00
Guangcong Luo
ba171058e8
Refactor CommandContext a bit
...
- Crash emails now report PM target
- Template string updates
2016-09-30 00:09:32 -07:00
Guangcong Luo
b4a511a1e6
Update /rules
...
- Fix crash in PMs
- Permission is now `editroom`
- Now tells other mods that room rules have been updated
2016-09-30 00:09:32 -07:00
panpawn
b30d471ccd
Implement /unblacklistall command ( #2800 )
...
This also introduces Punishments#roomUnblacklistAll to do the heavy lifting of this command.
2016-09-29 23:36:44 -07:00
Bär Halberkamp
83edce44fe
Improve word choice in /blacklist
2016-09-30 05:09:28 +02:00
Bär Halberkamp
810d1e5f23
Check if users are already blacklisted before blacklisting
2016-09-30 04:54:43 +02:00
Bär Halberkamp
12c2e292c4
Mafia: fix spelling mistake
2016-09-30 04:32:25 +02:00
Bär Halberkamp
0d94959437
Mafia: display an announcement when town doesn't lynch
2016-09-30 04:32:25 +02:00
panpawn
f5271bb753
Refactor confirmed status to trusted ( #2798 )
...
It should be noted that various user functions have been renamed as well to reflect this change as well.
2016-09-29 13:02:14 -07:00
Bär Halberkamp
6473efcb27
Mafia: Allow changing your vote/target
2016-09-29 21:46:39 +02:00
Bär Halberkamp
c7f53370e9
Mafia: Fix day counter
2016-09-29 21:46:39 +02:00
Guangcong Luo
64fa2b9801
Replace CommandParser.globalPattern
...
I honestly don't know exactly why it exists (its commit didn't exactly
explain it), but Slayer95 thinks it's high-priority so this solution
should probably be sufficient?
?_?
2016-09-29 12:42:58 -07:00