HoeenHero
b4f95342a4
Properly handle multiline modlog messages
2019-07-13 11:09:32 -04:00
Ben Davies
a135ec214a
Correct comment about codepoints in Dashycode unit tests
2019-07-13 04:39:38 -03:00
Ben Davies
f5822d9e9f
Remove unused parameter from function in Dashycode's unit tests
2019-07-13 02:53:32 -03:00
Ben Davies
e770a565dd
Mention why we don't test codepoints above 0xFFFF with Dashycode
2019-07-13 02:45:23 -03:00
Ben Davies
1375d653f9
Unit test Dashycode
2019-07-13 02:42:57 -03:00
Guangcong Luo
2f15e1559c
Add documentation for /adddatacenters
2019-07-12 23:52:34 -05:00
Guangcong Luo
f374a13370
Support \u0000 in Dashycode
2019-07-12 23:38:31 -05:00
Marty-D
71dc2c549a
RU: Keep Mega Absol banned
...
https://www.smogon.com/forums/posts/8183248/
2019-07-12 20:29:15 -04:00
Marty-D
ab713e539a
UU: Add Mimikyu suspect notice
2019-07-12 20:27:19 -04:00
Ben Davies
ed4b97a110
Allow bots to set statuses in the global room ( #5596 )
...
This makes it easier to automatically set the status on connect. Instead
of making it so users can't set their status if they can't talk at all,
make it so they can't set it if they're locked or semilocked.
2019-07-12 16:43:55 -05:00
whales
934a6cd246
Mafia: Implement silences ( #5584 )
2019-07-12 07:40:22 -04:00
Guangcong Luo
5f6af9049f
Clarify Dashycode documentation
2019-07-12 02:04:07 -05:00
Guangcong Luo
4653cd6b15
Add documentation for Dashycode
2019-07-11 06:17:14 -05:00
Guangcong Luo
257cb76a90
Fix Dashycode non-ASCII encoding
...
Dashycode had a bug that made it incorrectly encode non-ASCII
characters. I think this was fixed at some point but never made it
to PS's copy of Dashycode? Anyway, fixed now.
2019-07-11 05:13:25 -05:00
Guangcong Luo
f8c06f9ef7
Require <style>/<script> tags to be closed
2019-07-11 04:24:14 -05:00
TheJetOU
ade29349c6
Send Elo rating in rated battles ( #5595 )
2019-07-11 02:38:49 -05:00
Kirk Scheibelhut
aea0d09cac
Correct romanization in Japanese aliases
2019-07-10 19:50:06 -07:00
Marty-D
21a0d80d6a
Gen I-II: Actually fix TOX -> PSN display
2019-07-09 21:25:16 -04:00
Marty-D
b3b553cfbd
Gen V: Prevent illegal Huntail move combination
2019-07-09 21:23:07 -04:00
Marty-D
be8c1c6836
UU: Remove suspect notice
2019-07-09 20:32:45 -04:00
TheJetOU
0663bb66d0
Refactor punishments ( #5599 )
...
- splits `keys` into `userids` and `ips`
- explicitly lists the `reason` and `expireTime` columns in functions that don't use them
2019-07-09 18:36:50 -05:00
Guangcong Luo
413bf26d0d
Correct .tier/.isNonstandard for future gens
...
Fixes #5243
2019-07-09 06:31:42 -05:00
Ben Davies
d4c479686c
Use dns.lookup over dns.resolve4 in IPTools.dnsblQuery
...
This helps prevent DNS poisoning attacks if the platform supports DNSSEC
since dns.resolve4 uses c-ares, which doesn't support DNSSEC.
2019-07-08 21:39:44 -03:00
Guangcong Luo
b1891ab6d4
Gen 1-2: Fix TOX -> PSN display
...
Because the TOX -> PSN change happened onSwitchIn, it wouldn't display
correctly on the first switch after TOX, requiring two switches to
display correctly.
This corrects the change to onBeforeSwitchIn, where it will display
correctly for the first switch.
2019-07-07 03:08:07 -05:00
urkerab
6155639fbc
Fix Pickup/Recycle of Terrain Seed while terrain is up ( #5594 )
2019-07-06 21:19:31 -05:00
Marty-D
89deb387fb
Add CAP 25 prevos
2019-07-06 20:24:56 -04:00
whales
729144606e
Prevent /groupchatuptime from being used without a room ( #5592 )
2019-07-06 14:24:33 -05:00
whales
2ad511fd24
Filter statuses properly ( #5593 )
2019-07-06 05:24:01 -05:00
Guangcong Luo
4d80d4b1a9
Use nicknamefilter for status messages
...
Namefilter is a complete mismatch for status messages, since names
have very specific requirements that don't apply to status messages.
Nicknames have no such restriction, and work basically the same as
status messages.
2019-07-06 03:49:46 -05:00
Marty-D
d2a84586a3
PU: Quickban Cinccino and Mega Abomasnow
...
https://www.smogon.com/forums/posts/8175322/
2019-07-05 19:48:53 -04:00
Marty-D
5ad64bfb33
PU: Add Guzzlord suspect notice
2019-07-05 19:41:42 -04:00
Ben Davies
dda24addcd
Add a 15 second timeout when warning individual users ( #5588 )
...
It's possible to spam /warn in groupchats, preventing users from being
able to close the warn modal. This mitigates that by limiting the rate
you can warn a user to once every 15 seconds, which is longer than the
amount of time it takes for the warn modal to allow you to close it.
2019-07-05 14:08:30 -05:00
whales
25971c4096
Clarify /away error messages ( #5587 )
2019-07-05 02:01:16 -05:00
Jeremy Piemonte
8b761ab96a
Back: Return an error message if user is back ( #5586 )
...
I did this command about 3 times thinking the server was lagging, but instead it wasn't sending a response.
2019-07-05 00:22:34 -05:00
Marty-D
a1ade87173
RU: Allow Mega Absol
...
https://www.smogon.com/forums/posts/8174724/
2019-07-04 20:05:19 -04:00
Zyresus
f7d53e03ce
Update domain blacklist ( #5572 )
2019-07-04 14:14:58 -07:00
whales
d6ded68606
Fix config modification for unit tests ( #5585 )
2019-07-03 21:38:02 -07:00
Kirk Scheibelhut
e85ebf2bcc
Include player count in |tournament|start and /tour getusers ( #5581 )
2019-07-03 15:56:07 -07:00
Kirk Scheibelhut
ff911e2230
Fix crash in datasearch related to absent template.learnset
...
If a target doesn't exist the learnset won't either - stub out with
an empty learnset instead.
2019-07-03 09:16:04 -07:00
whales
67c5dc4c5b
Check for obvious invalid statuses ( #5577 )
2019-07-02 22:05:36 -07:00
whales
c6af44d0ca
Space clearstatus modlog entry properly ( #5578 )
2019-07-02 22:02:32 -07:00
Marty-D
f18e06d077
DPP UU: Unban Sand Veil
...
https://www.smogon.com/forums/posts/8173610/
2019-07-02 20:19:06 -04:00
TheJetOU
bff15e051e
Don't show users in roomauth if they're away ( #5575 )
2019-07-02 14:37:27 -07:00
Bär Halberkamp
795dde17df
Don't allow people with banwords in their status to talk
2019-07-02 22:37:52 +02:00
Bär Halberkamp
801e4e21fc
Away users don't get hit by the idle timer
2019-07-02 22:15:05 +02:00
Bär Halberkamp
7b08090786
Idle -> (Idle) for consistency
2019-07-02 19:06:19 +02:00
whales
35a8eebce2
Various status improvements ( #5573 )
...
* Allow staff to clear statuses
* Check banwords in a better way
* Don't inline setstatus
* Handle an edge case when clearing statuses
2019-07-02 17:33:23 +02:00
HoeenHero
836fc71c00
Update /endlockdown and /crashfixed
...
Merged the commands together, and made them PM all users as well as post in all rooms just like /lockdown.
2019-07-02 11:21:50 -04:00
HoeenHero
607ecf3a2c
Enable mafia by default
...
Recommended by @Zarel, shouldn't be disrupting to any rooms that don't want it.
2019-07-02 11:21:46 -04:00
HoeenHero
06a0b93e83
Escape HTML in ticket list
2019-07-02 11:21:42 -04:00