Commit Graph

3416 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
1b77ce44f6 Tools.prefs.set now saves to localStorage by default 2013-04-13 14:52:35 -06:00
Cathy J. Fitzpatrick
efe3f52d74 Fix the mute setting on *.psim.us 2013-04-13 14:52:35 -06:00
Cathy J. Fitzpatrick
f6eff89464 Fix music on *.psim.us 2013-04-13 03:34:05 -07:00
Guangcong Luo
6033c934a1 Update files for new replay viewer 2013-04-12 14:56:16 -07:00
Guangcong Luo
2341e9c1ae Add sim layout to sim.css
Apparently part of replayer.css was being used for font definitions in
the sim. That's been moved to sim.css.
2013-04-11 21:26:51 -07:00
Guangcong Luo
2cb7b6566f update soundManager 2013-04-11 21:11:44 -07:00
Guangcong Luo
e5f3c72348 Split replayer.css
replayer.css was sort of a badly defined file: it started out as
being all the CSS used by the replay viewer, except for the CSS
for battles. It then gained utilichart CSS, despite being mostly
unrelated.

Now, main layout is in main.css in the main domain, and replay
layout is in replay.css, and utilichart CSS is in utilchart.css.

replayer.css remains a legacy file for the old replay player.
Once we transition to the new replay player that uses replay.css,
I can get rid of replayer.css completely.
2013-04-11 21:07:46 -07:00
Cathy J. Fitzpatrick
3edb995b8c Use selfP rather than this 2013-04-11 18:02:53 -06:00
Cathy J. Fitzpatrick
48b737f8aa More intuitive definition of hpWidth 2013-04-11 17:59:25 -06:00
Guangcong Luo
2a1ed5b5ee Remove bug report link
We're not out of beta yet, but we're stable enough that we're
getting more erroneous bug reports than real bug reports, so
it's getting close to time to remove this link.
2013-04-11 16:54:27 -07:00
Cathy J. Fitzpatrick
8e6b5b9339 Moves are never final decisions 2013-04-10 21:35:21 -06:00
Cathy J. Fitzpatrick
ce4d149be9 Fix incorrect disabling of cancel UI in some cases 2013-04-10 21:25:33 -06:00
Cathy J. Fitzpatrick
5303d0a660 Client UI changes for correct trapping mechanics 2013-04-10 21:19:11 -06:00
Cathy J. Fitzpatrick
78f2ef986a Correct minus sign character when hovering over damage 2013-04-10 03:23:00 -06:00
Cathy J. Fitzpatrick
2a806cd6a0 Correct special case for 0 pixels of damage 2013-04-09 23:00:26 -06:00
Cathy J. Fitzpatrick
72a96cf1af Special case for 0 pixels of damage 2013-04-09 22:51:33 -06:00
Cathy J. Fitzpatrick
0e965bbd1b Reintroduce percentages beside HP bar for non-pixel health 2013-04-09 22:02:52 -06:00
Cathy J. Fitzpatrick
4554905f41 Add check in healthParse for old maxhp of 0 2013-04-09 03:51:40 -06:00
Cathy J. Fitzpatrick
dde2f2930a Revert unnecessary client changes for exact HP display 2013-04-09 03:50:25 -06:00
Cathy J. Fitzpatrick
e94eef5084 More changes for exact HP display for own pokemon 2013-04-08 19:21:09 -06:00
Guangcong Luo
1529498330 Parse exact health if it's given
(This code might need more work - I haven't comfirmed the absence
of race conditions.)
2013-04-09 05:03:06 +04:00
Cathy J. Fitzpatrick
6a2a681606 More robust detection of problematic cookie settings 2013-04-08 03:35:45 -07:00
Bill Meltsner
ac278ed747 Better support for the best music track on PS 2013-04-08 01:23:00 -07:00
Cathy J. Fitzpatrick
88dd7c68c8 Fix sign of point damage 2013-04-08 01:55:31 -06:00
Cathy J. Fitzpatrick
755a18a849 Display damage and health as ranges 2013-04-08 01:38:21 -06:00
Cathy J. Fitzpatrick
ea8c42c322 Eliminate Tools.postCrossDomainMessage 2013-04-07 19:24:06 -06:00
Marty-D
2333581773 Rename Accuracy and Evasion.
- They are officially 'accuracy' and 'evasiveness'.
2013-04-07 21:10:13 -04:00
Bill Meltsner
7ddb07aef4 Actually, all of this can just be gotten rid of 2013-04-07 17:15:41 -07:00
Bill Meltsner
c695c8b4c6 Remove legacy ability-guessing code. 2013-04-07 17:11:01 -07:00
Cathy J. Fitzpatrick
bc451f5777 crossdomain.php is now crossdomain.html 2013-04-07 03:22:41 -06:00
Cathy J. Fitzpatrick
735edfb55a Fix for third-party servers 2013-04-07 02:30:02 -06:00
Cathy J. Fitzpatrick
b09e853b3d Refactor authentication code and drop support for old scheme
This drops support for the pre-challenge-response authentication scheme
(i.e. the scheme in use before Zarel/Pokemon-Showdown@7dbd8cfec5 on
February 8, 2013), and, by doing so, simplifies quite a bit of the
authentication code.

In particular, it is no longer necessary to make any database queries in
index.php, which reduces our database use significantly and also moves us
closer to the goal of the index page being static HTML.
2013-04-07 02:26:30 -06:00
Cathy J. Fitzpatrick
1cbfbad269 Sending the sid across domains is no longer necessary 2013-04-06 23:42:48 -06:00
Cathy J. Fitzpatrick
21fb40ccbf Show helpful message if user has third-party cookies disabled 2013-04-06 19:16:23 -07:00
Cathy J. Fitzpatrick
6dfc6924cc Properly support new battle ID style 2013-04-07 06:03:01 +04:00
Cathy J. Fitzpatrick
41027e9b8d Backward-compatible battle ID parsing 2013-04-06 19:59:43 -06:00
Cathy J. Fitzpatrick
3334f95615 Don't throw an exception if third-party cookies are disabled 2013-04-06 18:21:40 -07:00
Cathy J. Fitzpatrick
0dd11a6b22 More resource prefix stuff 2013-04-06 15:51:53 -06:00
Cathy J. Fitzpatrick
09a8530215 Load font-awesome from play.pokemonshowdown.com 2013-04-06 14:22:05 -07:00
Guangcong Luo
eae514a6b5 Final fixes to bounce animation 2013-04-06 12:36:40 -07:00
Guangcong Luo
4d49bec248 New Magic Bounce animation 2013-04-06 12:31:53 -07:00
Guangcong Luo
21904ca2a0 [still] now affects all move animation 2013-04-06 12:20:58 -07:00
Guangcong Luo
6fc9f95af3 Fix double bounce animation 2013-04-06 12:16:20 -07:00
Guangcong Luo
58da4f1477 Bounced moves have no message 2013-04-06 12:09:59 -07:00
Cathy J. Fitzpatrick
174edfe4b5 Fix a couple resource path issues
- for now, font-awesome.css is loaded with a relative path
  because it doesn't work when loaded from another domain;

- fix the version query string script
2013-04-06 16:17:01 +04:00
Cathy J. Fitzpatrick
34b94a69fc Add some more resource prefixes 2013-04-06 06:04:17 -06:00
Cathy J. Fitzpatrick
9d811c697a Remove obsolete crossdomain sid sharing 2013-04-06 04:38:43 -06:00
Cathy J. Fitzpatrick
3d5f2a1a8b Make crossdomain ajax requests in crossdomain.php 2013-04-06 04:36:08 -06:00
Cathy J. Fitzpatrick
11c931efa9 Fix an issue with last commit 2013-04-06 13:54:21 +04:00
Cathy J. Fitzpatrick
ae71d29140 Wider browser support in crossdomain code 2013-04-06 03:47:39 -06:00