Commit Graph

3912 Commits

Author SHA1 Message Date
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
Guangcong Luo
4591bad53e Add protocol support for manual battle HTML
Closes #968
2017-08-24 13:36:06 -07:00
urkerab
3552b5b1a9 Track base move for Z moves that have one (#984) 2017-08-19 13:08:22 -07:00
Ridaz
b5f8e261be Add gear based move animations (#983) 2017-08-17 12:51:53 -07:00
MacChaeger
2e36fed6aa Tooltips: Strong Winds boost Weather Ball's power (#982) 2017-08-16 15:10:27 -07:00
asgdf
62232e7362 Tooltips: fix wrong base power being displayed for Extreme Evoboost (#980) 2017-08-07 20:37:38 -05:00
Konrad Borowski
ccf4621c7d Use different Pokemon in tests to avoid failures
I would prefer if the test would still test if a mega gets an item,
which is why Charizard-Mega-Y was picked. It's unlikely to be banned,
but is powerful enough to stay in OU.

A safer choice would be an Arceus, but there is no code yet that
automatically gives a correct item to formes (may be worth fixing).
2017-08-07 22:53:54 +02:00
asgdf
6d41edf277 Tooltips: show Water Shuriken boost for Ash-Greninja (#979) 2017-08-06 02:53:42 -05:00
urkerab
c5bd361adb Set the item when a Z move is used (#978) 2017-08-04 23:52:31 -05:00
Ridaz
60705393cb Add All-Out Pummeling move animation
And update some other moves
2017-08-03 19:11:55 +01:00
Guangcong Luo
d115956a30 Fix support for total-time tracking 2017-08-02 20:45:24 -04:00