Commit Graph

4486 Commits

Author SHA1 Message Date
Guangcong Luo
817a3a9c41 Add Sentry to composer.json
Our Composer dependencies are all optional at the moment - Sentry is
only used in the live config file, and we stopped using Google's PHP API
because it was too buggy (we're calling out to Node instead).

(This also removes composer.lock; lockfiles are really unnecessary for
PS's use-case.)
2019-02-27 05:16:17 -05:00
Guangcong Luo
fdad94ba7f Support server-side autolock IPs 2019-02-27 05:16:17 -05:00
urkerab
a612743d74 Fix missing message for Queenly Majesty blocking a move (#1240) 2019-02-26 19:36:20 -06:00
Guangcong Luo
ebdd3f5871 Suppress eslint error in compatibility code 2019-02-26 19:25:21 -06:00
Guangcong Luo
e93277437d Update dependencies 2019-02-26 07:17:19 -06:00
asgdf
4ccc7cd3ce Tooltips: Fix items boosts not showing up (#1239) 2019-02-25 18:35:11 -06:00
Kris Johnson
567c7e16b8 Change Untiered to (PU) and (DUU) (#1230) 2019-02-25 01:11:06 -06:00
MacChaeger
06c394cf7c Open replay links in PS (#1234) 2019-02-23 21:12:43 -06:00
asgdf
abad76ee81 Fix Pokemon being shown as having their current abilities in older gens (#1238) 2019-02-23 15:54:29 -06:00
whales
5a866c4f67 Allow pm with no target to open a window (#1237) 2019-02-22 18:08:13 -06:00
Guangcong Luo
6417436d1d Fix detection of battle-only formes 2019-02-20 19:35:38 -06:00
Guangcong Luo
55506a8881 Fix Gen 3 status move listing in teambuilder 2019-02-20 19:27:44 -06:00
Guangcong Luo
f782ba807c Fix Z-Crystal + Judgment type 2019-02-20 16:08:41 -06:00
Guangcong Luo
4f5fdcd4cb Remember Team Preview item after switch-in 2019-02-20 16:08:41 -06:00
Guangcong Luo
4198cc3b05 Add SPL mode backgrounds 2019-02-20 16:39:34 -05:00
Guangcong Luo
59c6c3328a Fix sprites sometimes not appearing after skip 2019-02-20 16:38:48 -05:00
Guangcong Luo
d2ef03c07a Fix tooltips in downloaded replays 2019-02-20 03:09:59 -05:00
Guangcong Luo
54535213e0 Fix mobile device tooltip support
For the first time since original tooltips, we have a pressed-down
animation for move/switch buttons!

More importantly, long-presses are no longer weird, and now just
lock in the tooltip instead of also opening a context menu.

In addition, clicking on a locked tooltip dismisses it, which should
help address complaints about locked tooltips being hard to dismiss.
This makes it slightly harder to select text in locked tooltips, but
clicking and dragging on desktop still works.
2019-02-20 03:09:47 -05:00
Guangcong Luo
e5febd4b98 Fix Return/Frustration/HP BP display 2019-02-19 15:49:17 -06:00
asgdf
3e4fe5fa1d Tooltips: Fix Rivalry and Power Trip/Stored Power (#1231) 2019-02-19 15:22:17 -06:00
asgdf
f6038e7083 Tooltips: Only show 2 digits max after decimal point (#1232) 2019-02-19 15:05:03 -06:00
Guangcong Luo
a379281337 Fix ability filtering in teambuilder 2019-02-19 00:08:56 -06:00
Guangcong Luo
13a2e2394e Update tslint rules 2019-02-18 23:58:43 -06:00
Guangcong Luo
f83a686073 Fix build errors 2019-02-19 00:26:51 -05:00
Guangcong Luo
42bc923d34 Remove outdated client-battle-tooltips.js 2019-02-19 00:23:10 -05:00
Guangcong Luo
e372b6f24b Fix bugs in tooltip refactor 2019-02-19 00:17:58 -05:00
Guangcong Luo
5c983df6d3 Massively improve tooltips
- Tooltips work in replays now
- Calculation is better (correctly handles more corner cases)
- Explanations are better (better messages for Magic Room etc)
- Tooltips for sidebar pokemon
- Support "locking" tooltips with long-click / long-tap
- Can copy/paste from locked tooltips
- Increased font size
2019-02-18 22:38:13 -06:00
Guangcong Luo
a9d5937a04 Support past gens in Dex
Now, like the server, it will be possible to use
`Dex.mod('gen5').getTemplate("Butterfree")` or the equivalent.
2019-02-18 22:38:13 -06:00
Guangcong Luo
2b1400631d Properly fix Damp/Dazzling messages
Fixes #1194
2019-02-18 14:26:13 -06:00
Guangcong Luo
b0b014fdda Remove types/node dependency
Any Node stuff we use (mostly, NWjs and pseudo-UMD) is an ugly hack
that TypeScript has trouble with, anyway.
2019-02-18 13:45:52 -06:00
Guangcong Luo
1e39effb59 Update dex-data
This fixes an issue where Sheer Force and a few other abilities weren't
working in tooltips, and also a few other issues in PSDex.
2019-02-16 16:41:40 -06:00
Guangcong Luo
def2f7f296 Fix forme-changed icon support 2019-02-16 14:03:57 -06:00
Kris Johnson
c9dbb4d5ae Change (PU) to Untiered (#1226) 2019-02-15 17:28:45 -06:00
Guangcong Luo
9b7f3f8a4c Add a little contrast in fainted pokemon icons
This should be a slight change to make it slightly easier to identify
which Pokémon a fainted Pokémon is, while still making them easily
distinguishable from unrevealed Pokémon in VGC.
2019-02-11 15:13:25 -06:00
Konrad Borowski
48eb1aad76 Fix PP counting for Trick Room/Pressure interaction (#1225) 2019-02-07 11:50:32 -06:00
Alexander B
dcc653f878 Fix PP in tooltips (Trump Card, Pressure) (#1223) 2019-02-07 11:12:01 -06:00
Guangcong Luo
4bd843ee4c Fix Power Construct Zygarde support
This adds some hacked-in backwards compatibility.
2019-02-06 20:45:40 -06:00
HoeenHero
e2782d0140 Make named avatars persistent (#1224) 2019-02-04 16:17:50 -06:00
The Immortal
4103a6638c
Teambuilder: Support Hidden Type OM 2019-02-02 03:37:12 +04:00
Guangcong Luo
87b0a1760f Support new <<appeal>> and <<report>> redirects 2019-02-01 15:31:30 -05:00
Guangcong Luo
f2e13cf005 Update avatar IDs 2019-02-01 15:31:30 -05:00
Guangcong Luo
30cf438bde Support SPL mode 2019-02-01 15:31:30 -05:00
Marty-D
efe6c52d32
Fix Crasher Wake and Maylene avatar numbers 2019-02-01 08:15:03 -05:00
Guangcong Luo
990cf20b58 Support new avatars (by name instead of number) 2019-01-31 10:20:32 -06:00
Marty-D
e9bea8e29b
Update CAP analysis links 2019-01-31 11:19:33 -05:00
Guangcong Luo
e1bb9f64f9 Fix chat message timing 2019-01-25 19:21:01 -05:00
Guangcong Luo
03a62d5a55 Improve Roost messages
Roost now displays a hint message, making it clearer that it isn't just
a heal. This should cut down on the confused "bug reports" about it.
2019-01-25 19:21:01 -05:00
Guangcong Luo
d1d26d3720 Support grace time
We're adding support for a new server-side feature: Grace time. This
is time that's used instead of total time, on the first turn.
2019-01-25 03:16:07 -06:00
MacChaeger
a85debb615 Tournaments: Actually disable the Validate button when appropriate (#1221) 2019-01-24 23:39:37 -06:00
MacChaeger
ebb7838716 Teambuilder: update EV guesser (#1220)
Adds basic support for Metronome Battle as well as having Sand Stream on Rock types other than Tyranitar
2019-01-23 13:26:23 -06:00