Commit Graph

326 Commits

Author SHA1 Message Date
Bill Meltsner
3a6b52db44 sync client moves.js 2013-03-30 12:51:53 -07:00
Guangcong Luo
06e62eea9d Merge pull request #16 from Joimer/patch-2
Update data files
2013-03-30 10:16:15 -07:00
Joim
f7cbbb64b0 Update data in Pokedex
Update data in Pokedex to reflect latest server changes.
2013-03-30 12:50:27 +01:00
Joim
d196868bc1 Update data in moves
Update data in moves to reflect latest server changes.
2013-03-30 12:47:28 +01:00
Joim
711f546766 Update data in learnsets
Update data in learnsets to reflect latest server changes, several event Pokemon added.
2013-03-30 12:46:16 +01:00
Joim
4107a290c1 Update data in items.js
Update data in items.js to reflect latest server changes.
2013-03-30 12:43:07 +01:00
Joim
74a246f0eb Update data files, changes in abilities
Updating data files in clients to reflect latest server changes.
2013-03-30 12:42:14 +01:00
Joim
b257f298ad Update data files
Update formats-data.js as it's missing latest added events and Poke Balls.
2013-03-30 12:38:05 +01:00
Cathy J. Fitzpatrick
2d9ffac01f Add regexp matching of origin to CORS support 2013-03-30 01:50:18 -07:00
Cathy J. Fitzpatrick
6e83774cc1 Fix issue when the server sends fnt status with > 0 HP 2013-03-29 20:18:07 -06:00
Cathy J. Fitzpatrick
b2b286c6a9 Add option to skip the IP check in action.php
This fixes requests by servers behind certain kinds of proxies.
2013-03-29 17:49:46 -07:00
Cathy J. Fitzpatrick
6d77efaf7f Better support for old replays with nearest-100th health
These old replays will now display the actual percentages in the log,
rather than the nearest 1/48th percentage.
2013-03-29 17:28:32 -06:00
Cathy J. Fitzpatrick
c0e251d1aa More robust implementation of healthParse
This allows the client to display damage with whatever precision the
server sends, rather than always forced to 48ths.
2013-03-29 17:17:43 -06:00
Cathy J. Fitzpatrick
d93004b2e2 Fix change that broke resources in testclient.html 2013-03-29 17:10:46 -06:00
Cathy J. Fitzpatrick
107c7efe28 Fix change that broke testclient.html 2013-03-29 17:05:35 -06:00
Guangcong Luo
3e5d3857e4 Aesthetically pleasing switch menu HP bar colors 2013-03-29 13:52:31 -07:00
Guangcong Luo
56c439e5cf Use protocol-relative URLs for resources 2013-03-29 10:29:29 -07:00
Guangcong Luo
1e1089fa8d Test page for HP bar colors
This adds style/hpbartest.html, a test page for HP bar colors.
2013-03-29 10:20:50 -07:00
Guangcong Luo
b70329ae52 Fix HP bar animation
Previously, the HP bar would change color while animating, which
actually looks pretty cool but unfortunately was sort of buggy, and
also has a noticeable performance impact because jQuery animation
isn't exactly fast.

This changes the HP bar to change color after animating instead,
which still looks good but is a lot simpler.
2013-03-29 10:17:14 -07:00
Guangcong Luo
37a88bf162 Aesthetically pleasing HP bar colors 2013-03-29 09:44:55 -07:00
Cathy J. Fitzpatrick
be2a3b7166 Bounds checking in HP parse 2013-03-29 04:36:02 -06:00
Cathy J. Fitzpatrick
92867f22b9 Implement HP bar colours 2013-03-29 02:53:52 -06:00
Cathy J. Fitzpatrick
54b08f5beb Fix bug in new-style damage reporting 2013-03-28 23:44:46 -06:00
Cathy J. Fitzpatrick
64e3c15029 Use separate Analytics property for alt server traffic 2013-03-28 17:50:50 -06:00
Cathy J. Fitzpatrick
13b17797b0 Add support for forcing green HP bar 2013-03-28 16:28:46 -06:00
Cathy J. Fitzpatrick
46efca91b4 Refactor HP reporting
These are the corresponding client changes for the server changes at
Zarel/Pokemon-Showdown@a0882444a5
2013-03-28 16:03:16 -06:00
Cathy J. Fitzpatrick
88e60d5cc0 Fix non-whitelisted links 2013-03-25 23:11:37 -06:00
Cathy J. Fitzpatrick
e32e6d2c03 Further fix to external link tracking 2013-03-25 20:57:17 -06:00
Cathy J. Fitzpatrick
ed043162ca Fix Analytics external link tracking 2013-03-25 20:54:15 -06:00
Cathy J. Fitzpatrick
41f2fbf008 More robust interstice implementation 2013-03-25 20:48:49 -06:00
Cathy J. Fitzpatrick
6f1eeadc7b Refactor and document messageSanitize 2013-03-25 19:33:49 -06:00
Guangcong Luo
8c873deb0a Update client items.js 2013-03-25 13:39:53 -07:00
Cathy J. Fitzpatrick
83dcdb638b Add support for viewing multiple IPs for a single user 2013-03-24 00:57:19 -06:00
Marty-D
65d999c10c Jelandee gets a new colour. 2013-03-23 23:22:41 -04:00
Cathy J. Fitzpatrick
ca3f3cd9d0 Fix teams sometimes not displaying properly on *.psim.us 2013-03-24 03:33:31 +03:00
Marty-D
4bc7ad517c Queen of Randoms gets a new colour. 2013-03-23 17:41:37 -04:00
Cathy J. Fitzpatrick
9fffde2755 Load trainer sprites from play.pokemonshowdown.com 2013-03-23 02:22:04 -06:00
Cathy J. Fitzpatrick
e8ce936454 Fix crossdomain handling for ancient server versions 2013-03-22 23:34:15 -06:00
Guangcong Luo
a412fe8dc8 Our new short URL is psim.us
(The old link parser was designed for psim.tk)
2013-03-23 05:12:35 +03:00
Cathy J. Fitzpatrick
6939054eb2 Fix logic error in IP identification 2013-03-22 18:52:07 -06:00
Cathy J. Fitzpatrick
ddf9ed4cea Implement opt-in identification of servers by IP 2013-03-22 18:45:21 -06:00
Cathy J. Fitzpatrick
d2ce3a6f7a Fallback for browsers that don't support window.postMessage
For example, the stock Android browser doesn't support
`window.postMessage`, but is otherwise able to run Pokemon Showdown.
2013-03-22 23:05:52 +03:00
Guangcong Luo
33dffbed89 Only disallow hotlinking for main server 2013-03-22 22:52:11 +03:00
Cathy J. Fitzpatrick
51a6ab102f Reinstate accidentally removed line from .htaccess 2013-03-22 04:47:44 -07:00
Cathy J. Fitzpatrick
f5eef09ec7 Fix typo in crossdomain.php 2013-03-22 05:13:11 -06:00
Cathy J. Fitzpatrick
d672ae57b5 Correctly synchronise sid and username across domains 2013-03-22 05:11:11 -06:00
Cathy J. Fitzpatrick
03dd6a2586 Fix bug involving empty sid data 2013-03-22 04:44:59 -06:00
Cathy J. Fitzpatrick
d99ede9def Always load resources from play.pokemonshowdown.com
With the advent of the *.psim.us URI scheme, one problem was that
images and other resources were not cached across different servers
because each server had a different URI for the same resource. This
commit resolves the problem by loading all resources from
play.pokemonshowdown.com.
2013-03-22 04:07:30 -06:00
Cathy J. Fitzpatrick
2ff0176b0e Add link to main website at top of client UI 2013-03-22 03:45:00 -06:00
Cathy J. Fitzpatrick
11739c77a7 More robust removal of default port 2013-03-22 12:19:35 +03:00