Bär Halberkamp
9fd88de6c1
Wifi: disallow overwriting other punishments with giveaway bans
2017-10-29 16:06:52 +01:00
Kris Johnson
1e13ec74bb
Add RU suspect test ( #4092 )
...
http://www.smogon.com/forums/threads/np-ru-stage-7-oblivion.3619225/
2017-10-29 12:00:04 +04:00
Bär Halberkamp
23b4c8ad4c
Roomfaq: display aliases for roomfaqs when ROs use /roomfaq
2017-10-29 02:33:57 +01:00
Guangcong Luo
21c9063588
Fix syntax error
2017-10-28 11:51:08 -05:00
Bär Halberkamp
2d8d9d42d0
Add a config option to disallow links for non-ac users ( #4087 )
2017-10-28 11:12:06 -05:00
Kris Johnson
703882d41d
Update /ds and /ms descriptions ( #4089 )
2017-10-28 11:11:15 -05:00
Ridaz
7acc291fe2
Add Challenge Cup 2v2 alias ( #4086 )
2017-10-26 17:38:34 -05:00
Guangcong Luo
76dfde0dd4
Add Challenge Cup 2v2
...
I intended for this to be a temporary for-fun thing, but enough people
like it that I guess it should stick around long-term.
2017-10-26 17:24:44 -04:00
Guangcong Luo
af255534e4
Change trainersprites to a const
2017-10-26 17:22:04 -04:00
Guangcong Luo
308361f054
Fix /ionext for tournaments
2017-10-26 17:21:46 -04:00
Guangcong Luo
072dfed091
Show muted symbol for semilocked PMs
...
It sometimes appears that a user has successfully evaded when they
haven't. We now use the muted symbol when a user PMs staff, so the
staff knows that the user can't speak in chatrooms or PM other users.
2017-10-26 17:19:56 -04:00
The Immortal
b56a17f863
Update Monotype
2017-10-26 08:11:46 +04:00
Kris Johnson
63c62e3899
Add Doubles OU suspect test ( #4083 )
2017-10-25 22:57:30 -04:00
Marty-D
d3c734167b
Datacenters: Add more ranges
2017-10-25 19:32:27 -04:00
Jeremy Piemonte
e32bb1448d
Datacenters: Add a range ( #4084 )
2017-10-25 10:14:09 -05:00
Guangcong Luo
9435848c16
Add .editorconfig
...
Apparently GitHub supports it? Hopefully it supports it in code review
and git blame, and not just in the editor.
2017-10-25 10:11:32 -05:00
The Immortal
bc89142864
Add UU suspect test
2017-10-24 19:27:32 +04:00
Marty-D
a3aa6afe21
Datacenters: Add a range
2017-10-23 20:50:28 -04:00
Guangcong Luo
6a6bc18d44
Work around ESLint 4.1.0 trailing spaces bug
2017-10-23 09:22:30 -05:00
Guangcong Luo
246dfa1da3
Refactor in-object-literal to array-includes ( #4079 )
...
Previously, if we wanted to test if A was either 'B' or 'C', we would use
the pattern:
A in {B:1, C:1}
I actually don't know how common this pattern is; I just started using
it because I was tired of typing `A === 'B' || A === 'C'` all the time.
I never really liked it, though; the `:1` part made it kind of
blatantly a hack.
I did some testing and `['B', 'C'].includes(A)` is overall faster.
(A switch statement is around 20x faster still, but who wants to type
that much code?)
Anyway, the new standard is
['B', 'C'].includes(A)
Something something progress!
2017-10-23 09:19:15 -05:00
Guangcong Luo
2f5b785f07
Fix gen 1-3 level-up move validation
2017-10-23 07:03:21 -05:00
Guangcong Luo
d32c2ac2f6
Fix past-gen level up move source validation
2017-10-22 20:59:08 -05:00
Guangcong Luo
cc72e63d40
Revert "Fix source of previous gen level up move ( #4072 )"
...
This reverts commit 886ef649af .
2017-10-22 19:56:12 -05:00
Guangcong Luo
bea67514dd
Fix level-up move breeding validation
2017-10-22 19:52:57 -05:00
HoeenHero
79e0db93e3
Allow ipsearch to search specific rooms ( #4075 )
2017-10-22 16:01:33 -05:00
Guangcong Luo
6dc35f3743
Fix some minor issues in room-battles
2017-10-22 11:47:37 -05:00
Guangcong Luo
7b06bd55a1
Fix parent room auth inheritance
...
Now: Inherit auth from parent rooms even if room has no auth.
2017-10-22 10:46:48 -05:00
Guangcong Luo
18ede500b6
Move battle logging out of ladder.updateRating
...
This allows roomgames that aren't battles to use the same ladder
system.
2017-10-22 07:18:17 -05:00
Guangcong Luo
f699d3ed3b
Fix bugs in battle player substitution
2017-10-22 05:47:09 -05:00
Guangcong Luo
5bc9ac6093
Remove some superfluous comments
2017-10-22 04:47:35 -05:00
Guangcong Luo
41028f8e54
TypeScript room-game.js
2017-10-22 04:47:35 -05:00
Marty-D
934fc5b40d
Fix Z-Power behaviour while Transformed into Mega/Primal
2017-10-21 15:04:44 -04:00
Guangcong Luo
961be89d40
Fix Config.forcetimer
2017-10-21 13:46:30 -05:00
QuiteQuiet
5cf4066897
Tests: Add Sitrus Berry tests ( #4073 )
2017-10-21 09:29:22 -04:00
Marty-D
97bb5af755
Fix crash in confusion damage
2017-10-21 09:28:40 -04:00
Guangcong Luo
c640a69ffc
Don't send Rated text for normal rated battles
2017-10-21 03:43:12 -05:00
Guangcong Luo
66b4fe78bf
Fix bug in createBattle
2017-10-21 03:43:12 -05:00
Marty-D
312f93c47c
Revert "Fix confusion interaction with HP-checking items ( #4045 )"
...
This reverts commit
6651c5dadb .
2017-10-20 21:05:49 -04:00
Marty-D
a15c52b41a
Gen 6 OU: Ban Arena Trap
2017-10-20 17:29:53 -04:00
Guangcong Luo
7519e2de06
Simplify tsconfig.json a bit
2017-10-20 14:43:55 -05:00
Guangcong Luo
db9ff9f9a0
Fix timer constants
2017-10-20 14:16:45 -05:00
urkerab
886ef649af
Fix source of previous gen level up move ( #4072 )
2017-10-20 08:03:45 -05:00
Quinton Lee
a0b8228592
TypeScript: Improve Sim typing ( #4069 )
...
Also improves intellisense for Visual Studio and Visual Studio Code.
2017-10-20 07:53:26 -05:00
The Immortal
792f7e0162
Random Battle updates
2017-10-20 13:29:40 +04:00
Bär Halberkamp
ad07705bf5
Wifi: remove another unnecessary HTML escape ( #4071 )
2017-10-19 16:46:59 +02:00
The Immortal
b75d339db6
Move Mega Gardevoir to BL
2017-10-19 15:18:07 +04:00
Guangcong Luo
8a17202808
Fix crashes from ladder logBattle
2017-10-19 01:28:15 -05:00
Honko
724b813a3b
Gen 3 Randbat improvements ( #4055 )
2017-10-19 00:53:25 +04:00
Kris Johnson
0035180bfc
AAA: Ban Terrakion ( #4067 )
2017-10-18 19:42:27 +04:00
Guangcong Luo
a207147a48
Support custom rated battle message
...
Currently, the bold circled "Rated" marker in battle logs is only used
for rated battles. This change also supports using them to mark tour
battles.
2017-10-18 05:41:03 -05:00