Commit Graph

2458 Commits

Author SHA1 Message Date
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
Guangcong Luo
12c9b3d570 Merge pull request #356 from Joimer/variable-moves
Make move types and base power match battle status
2015-09-17 15:23:12 -05:00
urkerab
969f77e2e7 Support additional keys in PM chatboxes 2015-09-17 14:09:21 +01:00
Juanma Serrano
72a8d6081b Make move types and base power match battle status
Enhaced the battle tooltips to show more accurate information.
Move Type and Base Power are volatile and thus information is often not accurate.
This commit enhaces battle tooltips to display move type and base power changes.
When a Plate is active, it will change the type of Judgment.
When a Drive is active, it will change the type of Techno Blast.
Other items changing type and base power will reflect their changes.
Moves that have a deterministic varying base power will show the current
base power, not taking into account switches, etc.
In doubles, moves that have different base power on different targets will
show the difference.
There are annotations for special effects like Nature Power.
Display that on the move selector to help players know and remember what
attack type they're using and what power they have.

This commit also intends to make code readable, making all lines changed
span the soft limit of 90 characters.
2015-09-17 10:48:41 +02:00
Guangcong Luo
a1cf85a0ad Merge pull request #473 from urkerab/instant-replay-withdraw
Instant replays should not withdraw
2015-09-15 04:07:16 -05:00
urkerab
d4b6af3adb Instant replays should not withdraw 2015-09-15 09:20:44 +01:00
Guangcong Luo
0309839200 Merge pull request #474 from ascriptmaster/move-fixes
Allow -transform message handler to check [from] tags for Abilities
2015-09-14 19:19:21 -05:00
Kevin Lau
8178b2be90 Allow -transform message handler to check [from] tags for Abilities 2015-09-14 17:06:33 -07:00
Guangcong Luo
1c5afbd4b2 Merge pull request #468 from sobolews/rematch-tier
Rematch button: default to the same tier as previous battle
2015-09-12 22:46:50 -05:00
Carl Sobolewski
107d654d42 Rematch button: default to the same tier as previous battle 2015-09-12 14:50:35 -06:00
Guangcong Luo
3237d00121 Merge pull request #467 from urkerab/export-select
Automatically select when exporting
2015-09-11 13:21:15 -05:00
urkerab
5ca7d22282 Automatically select when exporting 2015-09-11 12:42:19 +01:00
Guangcong Luo
59a0fde5b8 Update sorting of custom ranks
They're now on par with Player instead of Driver.
2015-09-11 00:06:18 -04:00