Commit Graph

3922 Commits

Author SHA1 Message Date
Guangcong Luo
c8a99436bb Improve replay server error messages 2017-10-10 23:06:54 -04:00
Guangcong Luo
01466f463f Support HP type and ball in packedTeam format 2017-10-10 23:06:13 -04:00
Guangcong Luo
6f841a70a3 Fix crash in Google login verification 2017-10-10 23:05:42 -04:00
Guangcong Luo
ab657d2511 Include server ID in replay data
This is to help the replay server determine how much to trust the info
uploaded.
2017-10-10 23:04:51 -04:00
Guangcong Luo
71cb660136 Fix compatibility with old replays
Old replays specify Pokemon IDs in terms of `p1:` instead of
`p1a:`
2017-10-10 23:03:56 -04:00
Guangcong Luo
d57221ed14 Fix HP bar issues with low health
Closes #989
2017-10-10 23:03:43 -04:00
Kris Johnson
053b11b524 Update Monotype COIL (#1023)
* Update Monotype COIL

* Update client-ladder.js
2017-10-10 16:46:29 +04:00
Insist
e5a3178597 Credits: Add urkerab to credits (#1022) 2017-10-08 14:39:01 -05:00
urkerab
b05035c3af Dispatch fragment after processing autojoins (#1021) 2017-10-05 16:12:27 -05:00
QuiteQuiet
7b1147739b Team Preview: Don't hardcode team size for Illusion (#1020) 2017-10-04 16:19:27 -05:00
QuiteQuiet
36b409d9d9 Tooltips: Track sleep and toxic turns (#1017) 2017-10-03 19:06:42 -05:00
urkerab
918e0f8904 Don't merge normal move boosts in with the Z boost (#1019) 2017-10-03 12:36:32 -05:00
Spandan Punwatkar
4abafb57ba Teambuilder Hack for Dual Wielding (#1016) 2017-10-02 03:45:36 -05:00
Marty-D
ae8e6affd9 Fix even more bugs in 79a569c746 2017-09-29 13:36:43 -04:00
Hidden50
1ca77fdde1 Fix crash on browser console when typing "/r " (#1014)
`e.setSelectionRange` is a typo, `setSelectionRange` is a property of the textbox element.

Results in `Uncaught TypeError: e.setSelectionRange is not a function` when the user types in ``"/r "``.
2017-09-29 12:14:54 -05:00
The Immortal
1080ee0b58 Update COIL 2017-09-27 23:12:15 +04:00
MacChaeger
aa388b4e63 Tooltips: Fix Twisted Spoon (#1009) 2017-09-19 21:26:14 -04:00
Quinton Lee
bc057989d3 Google login: fix scope option
The user's email is only accessible 'when the user has granted the "profile" and "email" OAuth scopes to the application.'

https://developers.google.com/identity/sign-in/web/backend-auth
2017-09-17 18:45:22 -05:00
MacChaeger
3ca5bac007 Fix tooltips (#1007) 2017-09-16 00:52:20 -04:00
Guangcong Luo
0001483e33 Fix eslint error 2017-09-13 16:41:21 -04:00
urkerab
1daea00fd6 Quickly mute by double-clicking the sound button (#1006) 2017-09-13 16:22:15 -04:00
Guangcong Luo
644d5ccf91 Support Google login (two-factor auth) (#999)
This doesn't support setting accounts up for Google login: that still
has to be manually done via the database by setting the email field to
`username@gmail.com@`, where the second `@` denotes that it's using
Gmail login.

If the email field does end in `@`, `getassertion` will note this by
sending `;;@gmail`, to convey that the server is expecting a Google
login token rather than a password.

Upon receiving `;;@gmail`, the client will replace the password box will
with a Google login button, and then send the resulting Google login
token to the server in the `password` field. The server will validate
the "password" using the Google server libraries, and otherwise handle
the login as normal.

Note that Google login requires various features that a paranoid person
might disable; most notably 3rd-party cookies.

Fixes Zarel/Pokemon-Showdown#3394
2017-09-13 16:20:38 -04:00
Marty-D
92f81037ca Fix more bugs in 79a569c746 2017-09-13 10:07:52 -04:00
Marty-D
095d29ad43 Fix bugs in 79a569c746 2017-09-12 23:43:55 -04:00
Guangcong Luo
bcc5d310fe Prioritize 'Substitute' in a search for 'sub' 2017-09-12 22:48:34 -04:00
Guangcong Luo
09ec9ef423 Support >6 pokemon in Team Preview 2017-09-12 22:48:34 -04:00
Ridaz
7e6ab9b099 Fix Oceanic Operetta move animation 2017-09-10 09:46:00 +01:00
MacChaeger
79a569c746 Tooltips: Show BP modifiers from STAB and field effects (#998) 2017-09-09 20:52:53 -04:00
Guangcong Luo
022e1e77ea Support >6 Pokemon in Team Preview 2017-09-09 20:11:32 -04:00
The Immortal
b10190dc43 Tooltip: Show type for Revelation Dance 2017-09-09 04:05:13 +04:00
urkerab
13b11241ec Prevent base move tracking from disabling Z move animation (#1004) 2017-09-07 20:57:25 -04:00
urkerab
edf24ac6da Reveal own Ability in Gen 7 (#1003) 2017-09-06 23:22:45 -04:00
urkerab
269383fecf Fix typo in PR #992 (#1002) 2017-09-06 16:45:07 -04:00
urkerab
034995e0ab Leppa Berry only restores 10 PP (#1001) 2017-09-06 16:09:27 -04:00
Guangcong Luo
30da43cabf Fix crash in Chrome Mobile
`window.Notification` exists in Chrome Mobile but throws if you try to
use it... what is this ridiculousness??????
2017-09-06 15:45:54 -04:00
Guangcong Luo
b3506abcf3 Fix crash when something happens to fainted Pokemon 2017-09-06 15:44:11 -04:00
Guangcong Luo
4688121d15 Fix style error 2017-09-06 06:49:52 -04:00
Guangcong Luo
55883768de Track PP changes for Leppa Berry
Bit of a hack, but I can't think of a better way to do this.
2017-09-06 06:41:02 -04:00
Guangcong Luo
917e26b828 Fix NaN level bug in #995 2017-09-06 06:40:23 -04:00
panpawn
2d8abd2824 Room list: Add "PSPL Winner" section (#993) 2017-09-06 03:36:29 -04:00
QuiteQuiet
76248e559d Match shiny as their non-shiny Team Preview counterpart (#996) 2017-09-06 02:35:39 -04:00
MacChaeger
42f5ca0748 Tooltips: Add more BP and stat modifiers (#992) 2017-09-05 21:31:23 -04:00
urkerab
3d9fb89cd9 Fix typo in PR #984 (#997) 2017-09-05 08:54:57 -04:00
Konrad Borowski
8d21bef5ae Handle level changes in detailschange (#995) 2017-09-03 04:47:15 -04:00
Ridaz
49a6d8dcef Add Acid Downpour move animation
...And make the code more consistent
2017-09-02 18:44:58 +01:00
panpawn
4bcb264878 Locked symbol: Use unicode code point (#994) 2017-09-01 19:18:25 -04:00
MacChaeger
b8d183d92f Tooltips: Remove misplaced Flare Boost modifier (#991) 2017-08-30 08:46:48 -04:00
Guangcong Luo
051f16287e Sync data 2017-08-24 20:16:25 -04:00
Guangcong Luo
82e22b1d9a Support Gen 7 models in teambuilder 2017-08-24 20:15:30 -04:00
urkerab
37e25205f3 Remove outdated .zerohp flag (#985) 2017-08-24 13:44:04 -07:00