Commit Graph

2471 Commits

Author SHA1 Message Date
Marty-D
b7c8d90fdc Fix typo in Stored Power 2015-09-27 16:47:39 -04:00
Guangcong Luo
857f6165cb Merge pull request #490 from urkerab/bp-preview-punishment-storedpower
Fix base power preview for Punishment and Stored Power
2015-09-27 15:24:52 -05:00
urkerab
33daaa827b Fix base power preview for Punishment and Stored Power 2015-09-27 21:13:55 +01:00
Guangcong Luo
066a46848d Merge pull request #489 from xfix/tooltip-hitboxes
Update Pokemon tooltip hitboxes for a player
2015-09-26 15:14:14 -05:00
Konrad Borowski
f6246c59a3 Update Pokemon tooltip hitboxes for a player 2015-09-26 22:11:48 +02:00
Guangcong Luo
c4988ca13c Fix autojoin for groupchats 2015-09-26 01:52:25 -04:00
Guangcong Luo
76bbf1d469 Work around CloudFlare cache issue
A cache issue prevented Font Awesome from working correctly on third
party servers. CloudFlare's 'purge cache' button didn't work, so this
is kind of a last resort.
2015-09-26 01:52:12 -04:00
Guangcong Luo
ae19665d3e Merge pull request #482 from urkerab/spectator-switch-sides
Allow spectators to switch sides
2015-09-26 00:45:04 -05:00
Guangcong Luo
0575d8696a Merge pull request #476 from urkerab/instant-replay-tooltips
Make tooltips work in instant replays
2015-09-25 22:31:57 -05:00
urkerab
660d4e1619 Allow spectators to switch sides 2015-09-26 00:45:09 +01:00
urkerab
14a76f70cf Only show item and ability when really known 2015-09-25 13:49:06 +01:00
Guangcong Luo
294efc0f4b Stop using the outdated news iframe in testclient 2015-09-25 02:47:06 -05:00
Guangcong Luo
bdcbded0bb Update Font Awesome to 4.4.0
Font Awesome 3 -> 4 was a backwards-incompatible change, so this
update is pretty invasive. I tested everything we use it for and it
still works, though. Including supporting both Font Awesome versions
in battle.js.
2015-09-25 02:46:34 -05:00
Guangcong Luo
c33c902d9f Merge pull request #487 from bumbadadabum/master
Little fixup to the uhtml code
2015-09-24 21:35:23 -05:00
Bär Halberkamp
8580122cc2 Little fixup to the uhtml code 2015-09-25 04:26:14 +02:00
Guangcong Luo
dae47d092a Support roomlinks starting with psim.us 2015-09-24 20:39:46 -04:00
Guangcong Luo
e73522ac78 Merge pull request #486 from bumbadadabum/master
Add |uhtml| features for use in the poll command
2015-09-24 17:19:11 -05:00
Bär Halberkamp
e912b73ac7 Fix the HTML sanitizer in testclient.html 2015-09-25 00:18:24 +02:00
Bär Halberkamp
2e10fb4c9b Add |uhtml| features for use in the poll command 2015-09-25 00:18:24 +02:00
Guangcong Luo
bb6b73b2dc Merge pull request #483 from urkerab/userlist-button-firefox
Firefox has magic button overflow
2015-09-24 14:56:42 -05:00
Ivo Julca
c642efee9c Fix possible crash on battle effects load 2015-09-24 04:39:36 -05:00
Guangcong Luo
b38b06f6ab Merge pull request #479 from urkerab/pm-chatbox-history
Support chat history in PM chatboxes
2015-09-24 03:53:32 -05:00
urkerab
42642f39b4 Firefox has magic button overflow 2015-09-24 09:52:34 +01:00
urkerab
6e861e535e Support chat history in PM chatboxes 2015-09-24 09:46:15 +01:00
Guangcong Luo
b77e4072f7 Merge pull request #484 from Irraquated/patch-3
Focus PS! when notification is clicked
2015-09-23 22:01:32 -05:00
Irraquated
945d44ca5c Focus PS! when notification is clicked 2015-09-24 12:50:46 +10:00
Marty-D
dd760f1480 Fix Electro Ball and Gyro Ball's base power display 2015-09-23 22:40:43 -04:00
Marty-D
97ab98ab5f Make sure the target exists when checking base power 2015-09-23 21:52:33 -04:00
Marty-D
1b557c82bb Fix base power display for moves with a nonzero power 2015-09-23 20:59:57 -04:00
Guangcong Luo
447d11bd8a Improve visual appearance of PM header
Specifically, provide visual feedback that clicking it expands
and collapses PMs.
2015-09-23 20:23:01 -04:00
Guangcong Luo
c85ca09775 Merge pull request #436 from xfix/analysis-format-link
Allow linking to old gen analyses in teambuilder.
2015-09-23 19:10:38 -05:00
Guangcong Luo
e232b988d7 Turn PM windows orange on new message until focused
Before, only minimized PM windows turn orange when receiving a new
message. Now, all unfocused PM windows do until focused.
2015-09-23 01:29:03 -04:00
Guangcong Luo
0c1f22587e Merge pull request #481 from Joimer/update-credits
Update credits
2015-09-22 02:01:38 -05:00
Joimer
6350f33eb9 Update credits 2015-09-22 00:35:07 +02:00
Guangcong Luo
fafa4468cc Merge pull request #480 from Joimer/variable-moves
Improve variable moves tooltip
2015-09-21 15:39:24 -05:00
Juanma Serrano
ee9d2f697a Improve variable moves tooltip
Improve the style for Nature Power called move.
Crashguard in doubles for weight moves check.
This crash happens when a battle is refreshed and one mon is just fainted.
2015-09-21 17:03:12 +02:00
Ivo Julca
61bbb769df Remove COIL for PU 2015-09-20 16:08:59 -05:00
Guangcong Luo
d8008c4c77 Merge pull request #478 from urkerab/instant-replay-move-track
Instant replay needs to reset move tracking
2015-09-20 12:20:39 -05:00
urkerab
acb3dd9c66 Instant replay needs to reset move tracking 2015-09-20 11:51:35 +01:00
Guangcong Luo
0b3b09e987 Support new ladder protocol
We have a new protocol for local (sim server side) ladders.

This involves sending |,LL| in |formatslist| to opt into local ladder
support.

When local ladder is opted-in, /rank etc will be passed to the sim
server, and the ladder tab does `/cmd laddertop FORMATID` expecting
[formatid, toplistHTML] in return.

Everything else works the same as before. This change marks
version 0.10.2.
2015-09-19 16:01:10 -04:00
Guangcong Luo
30bba3f9fc Move Config defaults back to top of config.js 2015-09-19 16:01:10 -04:00
The Immortal
e979fc6666 Fix max speed in opponent tooltip 2015-09-19 23:45:10 +04:00
The Immortal
511cae6cf2 Merge pull request #475 from sobolews/teambuilder-validate
Add a validate button to the teambuilder
2015-09-19 21:12:28 +04:00
Carl Sobolewski
6855770aa6 Add a validate button to the teambuilder
The validate button sends the current team and a validation request to the
server. The server will respond with a positive acknowledgement for valid teams,
or else a list of problems (the same list as when seeking a battle).
2015-09-19 01:19:13 -06:00
Guangcong Luo
7decf26cc5 Merge pull request #469 from urkerab/name-colour-preview
Preview your username colour as you type
2015-09-18 20:44:34 -05:00
urkerab
d54911cfe2 Preview your username colour as you type 2015-09-18 21:41:28 +01:00
Guangcong Luo
02b80949b6 Merge pull request #471 from Layell/patch-18
Skip past gen backgrounds with modern sprites
2015-09-18 00:40:59 -05:00
Marty-D
64f7e100a6 Teambuilder: Set default level for VGC formats 2015-09-17 23:13:15 -04:00
Layell
be571ebb01 Skip past gen backgrounds with modern sprites
Gen 4 patch before this pull: http://i.imgur.com/lKK4542.png
After: http://i.imgur.com/7mJa8om.png

The past gen backgrounds were never intended to be used with gen 5/6 animated sprites due to formatting with the popup textboxes. Plus it looks weird.

I have also removed bg.jpg as the only background that would appear for gen 5 matches and restored it to the variety of backgrounds that gen 5 matches used prior to gen 6 and custom past gen backgrounds.

Background loading and placement changes

Update battle.js

Update battle.js

Skip past gen backgrounds with modern sprites

Skip past gen backgrounds with modern sprites

Skip past gen backgrounds with modern sprites
2015-09-17 23:10:59 -04:00
Guangcong Luo
a3650647e8 Merge pull request #477 from urkerab/pm-chatbox-keys
Support additional keys in PM chatboxes
2015-09-17 15:28:15 -05:00