Commit Graph

16226 Commits

Author SHA1 Message Date
Guangcong Luo
bd50666e4d Fix /hotpatch chat
Old chat plugin processes weren't getting correctly ended.
2019-02-09 21:52:57 -06:00
Guangcong Luo
b7c252fbd6 Automatically end BattleStreams at end of battle
PS prefers to keep battle streams open (for `/evalbattle`) until
manually ended, but this is confusing some other users. We now
automatically end streams unless the `keepAlive` option is set.

Fixes #5157
2019-02-09 21:16:45 -06:00
Guangcong Luo
330892ef72 Remove 7 second limit for multi-laddering 2019-02-09 20:34:28 -06:00
Guangcong Luo
7cac561c27 Fix hotpatching battles/formats
Hotpatching battles only is no longer possible - it takes the same
amount of resources as hotpatching formats but is way more error-prone.
2019-02-09 11:38:02 -06:00
Guangcong Luo
f8cc6c2881 Clarify message for multi-laddering 2019-02-09 11:38:02 -06:00
SuddenlyQ
0796613a72 Add in-battle mod detection to /weak and /coverage (#5144) 2019-02-09 12:25:45 -05:00
Guangcong Luo
248e7ed767 Fix Help Tickets preview 2019-02-09 00:09:49 -06:00
Guangcong Luo
75dd2f408e Fix minor typos 2019-02-09 00:03:51 -06:00
Guangcong Luo
55f98af70f Better support IPv6 in IP checker 2019-02-08 23:52:23 -06:00
Guangcong Luo
f2edf2bd17 Fix crash in /processes 2019-02-08 23:20:23 -06:00
Guangcong Luo
f4aa48083c Improve choice error messages
This should make choice errors clearer.
2019-02-08 16:06:09 -06:00
Guangcong Luo
2816b33869 Allow free multi-laddering in first five turns
Searching for multiple games in the first five turns is unlikely to be
timerstalling, so we allow it here.
2019-02-08 16:06:08 -06:00
Xavier RENE-CORAIL
b2e980bc05 Add LGTM alert count badge (#4843) 2019-02-08 14:17:32 -06:00
Guangcong Luo
28ba71221c
README: Add notes on upgrading Node version
This should help Linux users.
2019-02-07 19:16:38 -06:00
Kris Johnson
39ee0477c1 Movesearch: Account for custom recoil (#5151) 2019-02-07 16:50:47 -06:00
Marty-D
dbcf71db6a
Formats: Fix thread links 2019-02-07 15:46:31 -05:00
Kris Johnson
3afbc3797b STABmons: Fix Thundurus ban (#5150)
Only the base forme was supposed to be banned.
2019-02-07 15:45:30 -05:00
HoeenHero
222b4e7454 Fix ticket activation when the creator is staff 2019-02-07 15:43:01 -05:00
HoeenHero
6c3b8b5de5 Help Tickets: Require users to explain their issue before getting help (#5148) 2019-02-07 13:07:18 -06:00
Spandan Punwatkar
a041239224 Add Recoil as Move Search Parameter (#5149) 2019-02-07 12:10:11 -06:00
Konrad Borowski
f85d523630 Suppress LGTM's URL sanitization warning (#5147)
This warning is strictly speaking correct, the URL isn't verified
properly. However, in this case, this isn't a practical issue, as
it's possible to use /forcebattleban command anyways.
2019-02-07 12:06:47 -06:00
Guangcong Luo
4fa94f00e8
Increase required version number in README 2019-02-07 12:00:16 -06:00
Konrad Borowski
0a7c37990a Refactor Emoji regex to use \p syntax (#5146)
(Increases minimum Node version requirement)
2019-02-07 11:59:16 -06:00
whales
7e8d588f7d Mafia: Support hiding discards, starting from open signups (#5142) 2019-02-06 19:15:09 -05:00
Guangcong Luo
8eba261f0b Fix crash in /data 2019-02-06 16:24:48 -06:00
Guangcong Luo
21ba77befa Fix hotpatch uncaching
Chat.uncache functions now consistently take a path relative to repo
root, just like FS.

Next step will probably be to have FS handle all text-based databases.
2019-02-06 15:59:28 -06:00
Kris Johnson
1801271f6b Battle Factory: Update RU and LC (#5143) 2019-02-06 15:04:55 -05:00
HoeenHero
870d308ee6 Fix modlog search location 2019-02-06 11:59:04 -05:00
Bär Halberkamp
89838d657f Fix chat plugin file I/O after server/ refactor 2019-02-06 17:54:30 +01:00
Guangcong Luo
0349fd2ed0 Use declare let instead of let in globals.ts 2019-02-06 10:49:12 -06:00
Guangcong Luo
8ff241906d Check capitalization in Factory sets
This might be debatably important, but if it's worth pointing it out
in reviews, we might as well automate it.
2019-02-06 10:40:10 -06:00
The Immortal
5b9e385e00
LC: Ban Baton Pass 2019-02-06 20:29:37 +04:00
HoeenHero
7f68ab7352 Battlesearch improve UI 2019-02-06 11:16:04 -05:00
Marty-D
0cc5649187
Help tickets: Remove timerstalling 2019-02-06 11:07:13 -05:00
Marty-D
c5efdf6cbe RU: Ban Stakataka 2019-02-06 08:49:27 -05:00
The Immortal
e422a60605
STABmons: Ban Thundurus 2019-02-06 16:32:09 +04:00
MacChaeger
205a753544 Pokebilities: fix special abilities as well as Gastro Acid (#5140) 2019-02-06 16:30:14 +04:00
DubbleClick
0a864e84d8 Fix some LGTM alerts (#5139) 2019-02-05 20:34:32 -06:00
Guangcong Luo
70b3e9a525 Rename channel -> room, subchannel -> channel
"channel" is just a fancy way of saying "room, but in sockets".
Renaming them like this should make it clearer exactly what's going
on in sockets.
2019-02-05 16:55:37 -06:00
The Immortal
6c9134ce4d
Add BH suspect test 2019-02-06 01:01:06 +04:00
HoeenHero
e05e41fd9b Fix the rest of the hotpatches 2019-02-05 12:21:03 -05:00
HoeenHero
879a4462a2 Fix Hotpatch 2019-02-05 11:48:06 -05:00
Jeremy Piemonte
bbaae8aa35 Datacenters: Add a range (#5141) 2019-02-05 08:49:07 +01:00
Guangcong Luo
ffdcff3abc TypeScript globals
A few globals: Monitor, LoginServer, etc weren't being correctly
TypeScripted. This should change that.
2019-02-04 18:04:13 -06:00
Marty-D
8ad7bacb6e
Fix Illusion when dragged out 2019-02-04 17:05:26 -05:00
HoeenHero
3c2666ec7c Revert url for chatrooms.json updates 2019-02-04 13:19:36 -05:00
HoeenHero
68131906ca Fix StaticServer and loading rooms 2019-02-04 11:17:44 -05:00
Guangcong Luo
b15c9a60f9 Fix formatText support for & > etc in URLs 2019-02-04 09:17:48 -06:00
Guangcong Luo
f3e45fbb72 Move server code to server/
Also move mods/ to data/mods/

This makes PS more monorepo-like. The intent is to further separate
the sim and the server code, but without fully committing to splitting
the repository itself.

We now support `./pokemon-showdown start` in addition to
`./pokemon-showdown`. I'm not clear which I want to be the default
yet.
2019-02-03 16:07:06 -06:00
asgdf
6ed758381f Update command documentation (#5128) 2019-02-03 15:56:36 -06:00