Commit Graph

4605 Commits

Author SHA1 Message Date
Guangcong Luo
63f50f5b64 Add replay database code to version control
This required a new architecture for serving replays from inside the
client repository, because that seems like a better call than
introducing yet another PS repository.

(Experience gives me the impression that separating repositories wasn't
a good idea, and we should be working to make PS more mono-repo-like,
rather than less.)

License for replay code is tentatively AGPLv3, although feel free to ask
for a more permissive license if you have plans to use it in an
open-source project that requires it.
2019-06-12 22:39:42 -04:00
Guangcong Luo
b3a802341f Add warning for old toId use in extensions 2019-06-12 22:39:25 -04:00
Jacob McLemore
8d4dc632b9 Teambuilder: Fix tiers in Doubles (#1296) 2019-06-13 08:16:56 +09:00
Kirk Scheibelhut
388c19ed43 Correctly hide tournaments after #1294
Fixes #1298
2019-06-12 09:19:49 -07:00
HoeenHero
4ee001a25e Fix crash with tournament preferences (#1297) 2019-06-12 22:28:21 +09:00
Kirk Scheibelhut
a325565c17 Include user's group in battle join message (#1295) 2019-06-12 17:40:08 +09:00
Kirk Scheibelhut
5e2c565465 Allow users to ignore just the tournament notifications (#1294) 2019-06-12 08:32:18 +09:00
Marty-D
cb4db6b471 Update minisprite sheet 2019-06-11 08:59:29 -04:00
Kirk Scheibelhut
3e523bd62f Don't include the ! in away status display (#1287) 2019-06-07 23:36:50 -05:00
Guangcong Luo
d82d096d07 Fix parseNameParts 2019-06-07 21:51:51 -05:00
Guangcong Luo
8e9bc3fe1e Support groups in parseNameParts
Fixes #1287
2019-06-07 18:38:50 -05:00
Guangcong Luo
9114cb9894 Make minor tweaks to teambuilder
Most of these update the pokemon/item/etc lists to be slightly more
modern, in preparation for their use in the Preact client.

(Also update TypeScript)
2019-06-07 18:36:36 -05:00
asgdf
a9a6865bdc Fix groundedness check (#1293) 2019-06-07 12:59:10 -05:00
Kirk Scheibelhut
25087edf29 Don't override happiness for sets on import when happiness is specified 2019-06-06 20:40:57 -07:00
Kirk Scheibelhut
e235e940d4 Display 'Offline' -> '(Offline') to match /status display 2019-05-29 17:51:54 -07:00
Kirk Scheibelhut
bc4ec5d2cc Remove Config.customcolors 'color' options (#1286) 2019-05-28 15:14:11 -05:00
Konrad Borowski
3bcea69537 Remove unnecessary \B from highlight regexp 2019-05-28 09:09:31 +02:00
Marty-D
bf9c163c52
Tooltips: Fix item display when swapped using Switcheroo 2019-05-27 11:00:17 -04:00
Marty-D
bd228b1b80
Update <<suggestions>> link 2019-05-26 13:54:56 -04:00
jetou
922f82f566 Sort rooms in preact client (#1284) 2019-05-18 09:32:51 +01:00
Guangcong Luo
58cd690b7b Add keyboard shortcuts
Closes #1255
2019-05-16 12:52:24 +04:00
asgdf
5bd7017a2c Tooltips: Implement Power Trick (#1283) 2019-05-16 17:56:54 +10:00
Guangcong Luo
0757f3c1fa Update for new Dex API 2019-05-16 01:59:18 +04:00
Guangcong Luo
bb6fe7ec3e Improve teambuilder stub
This should give an idea of the direction I want to take the
teambuilder in: a text editor, but with special features.

This neatly sidesteps a lot of UI questions, especially all the export
and input buttons, because the regular editing mode can be used to
import and export without anything fancy.

This also makes way for a better way to implement team/set comments:
comments are just invalid Pokémon in a team.
2019-05-16 01:27:19 +04:00
Guangcong Luo
9d3122cf92 Distinguish "connecting" and "disconnected" states
Individual PS rooms actually consider themselves connected while
connecting, so maybe we should do that instead? Until then, this is
the approach we're going with.
2019-05-16 01:27:19 +04:00
Kirk Scheibelhut
57dfaad5e9 Make <<replay>> link to the replay.pokemonshowdown.com (#1282) 2019-05-15 03:59:28 +10:00
Kirk Scheibelhut
575bad1cf9 toId -> toID
Zarel/Pokemon-Showdown#5479
2019-05-14 09:54:18 -07:00
AlfaStorm
04598c2d87 Support Digimon Showdown cries (#1273) 2019-05-13 13:57:27 +09:30
Guangcong Luo
ef530006d1 Correctly calculate Gen 1 Special stat boosts
Fixes #1277

Not having an example replay, I'm not sure if this displays properly,
but it at least fixes the calculation aspect.
2019-05-12 22:49:24 +09:30
Kirk Scheibelhut
928f21b0bc (AFK) Escape user status (#1279) 2019-05-12 13:36:49 +09:30
Kirk Scheibelhut
a208645936 Add support for a /nonotify message type (#1280) 2019-05-12 13:33:34 +09:30
asgdf
ae52ee2414 Refactor ability display in tooltips (#1268) 2019-05-09 12:49:32 +09:30
asgdf
407e0b3863 Fix typing for move buttons in older gens (#1275) 2019-05-09 12:18:34 +09:30
Guangcong Luo
6e0ab4f11b Support not passing node.children in tournaments
This is a minor optimization to tournament bandwidth usage, by
supporting not sending `"children":[],` in leaf nodes.
2019-05-08 20:14:09 +09:30
Kirk Scheibelhut
883cd91fc8 Handle AFK '@-in-names' protocol (take 2) (#1270) 2019-05-05 22:43:54 +09:30
The Immortal
2b879e4561
Teambuilder: Add support for Trademarked OM 2019-05-01 18:44:44 +04:00
JetOU
1948e07da6 Fix guests not showing in options (#1269) 2019-04-23 02:55:03 +09:30
Guangcong Luo
5348d1312e Revert "Handle AFK '@-in-names' protocol (#1265)"
There were several major crashes arising from it.

This reverts commit ba1e6d31bf.
2019-04-22 09:38:06 +09:30
Kirk Scheibelhut
ba1e6d31bf Handle AFK '@-in-names' protocol (#1265) 2019-04-22 06:41:46 +09:30
Guangcong Luo
61ff5ae093 Turn off autocomplete in teambuilder
The teambuilder already has a built-in autocomplete function which
competes with it, and most users seem to prefer the built-in one.
2019-04-21 20:50:52 +09:30
asgdf
91e84d49da Teambuilder: Fix changed hidden abilities in older gens (#1266) 2019-04-20 15:08:51 +09:30
Konrad Borowski
4d2f86be7d Allow aria-label and aria-hidden HTML attributes 2019-04-16 22:08:58 +02:00
Kirk Scheibelhut
87a5510000 Add a persistent /blockchallenges & /blockpms toggle (#1263) 2019-04-12 00:53:38 +09:30
Guangcong Luo
62c01a0216 Fix support for new |updateuser| 2019-04-09 00:54:20 +08:00
Guangcong Luo
7d52fd8c30 Implement TeamDropdown
Currently it's in the Main Menu where the old team dropdown was, but
the plan is for "Battle!" to eventually open a separate Search window.
2019-04-05 17:34:20 +08:00
asgdf
2354abb853 Tooltips: Fix Plus/Minus/Victory Star (#1258) 2019-04-03 15:11:01 +08:00
arandompieceofcheese
2361a00769 Fix Toxic damage tooltip (#1256) 2019-04-03 11:54:33 +08:00
Dan Huang
2e2852f35c Add server build step to client build (#1262) 2019-04-03 11:40:45 +08:00
asgdf
6ca21b0a88 Fix battle playback state after using /afd (#1261) 2019-04-03 11:40:24 +08:00
Guangcong Luo
e659be101a April Fool's 2019 2019-04-02 15:20:14 -04:00