Cathy J. Fitzpatrick
791a0eb360
Add an error callback to battle.js
2013-04-15 18:21:26 -06:00
Cathy J. Fitzpatrick
3021e2aca5
More thorough replay upload validation
2013-04-15 17:48:22 -06:00
Cathy J. Fitzpatrick
371a1d8c7f
Validate battle/format IDs in replay uploading
2013-04-15 17:29:11 -06:00
Cathy J. Fitzpatrick
7c8b6c3028
Fix the preferred avatar feature
2013-04-15 15:00:16 -06:00
Cathy J. Fitzpatrick
d5056c47a7
Load CSS from filesystem if curl doesn't work
2013-04-15 06:08:11 -07:00
Cathy J. Fitzpatrick
e911c955dd
Eliminate almost all PHP from index.php
2013-04-15 06:57:18 -06:00
Cathy J. Fitzpatrick
b3d148d6fe
Correct fix for replay uploading on alternative ports
2013-04-15 03:14:25 -06:00
Cathy J. Fitzpatrick
9cb8531ccf
Fix uploading replays on showdown-80.psim.us
2013-04-15 03:11:53 -06:00
Cathy J. Fitzpatrick
49f707870f
Add support for upkeep action to testclient.html
2013-04-15 02:14:19 -06:00
Cathy J. Fitzpatrick
e17aa898f5
Eliminate various global variables
2013-04-15 01:50:15 -06:00
Guangcong Luo
81a4d3756b
battledata fixes:
...
- Tools.getMove no longer has graphics.js as a dependency
- Templates get an effectType
2013-04-14 23:09:11 -07:00
Guangcong Luo
cc5313887a
New search scripts
...
These scripts will eventually replace the old utilichart.js. For
now, they're only used in the pokedex.
2013-04-14 23:08:11 -07:00
Guangcong Luo
6d0dd7162b
battledata no longer has config as a dependency
2013-04-14 20:58:28 -07:00
Cathy J. Fitzpatrick
d82b5e6b7b
Rename sanitisation and escaping functions
...
- `window.sanitize` is now `Tools.escapeHTML`
- `window.unsanitize` is now `Tools.unescapeHTML`
- `window.jsEscape` is now `Tools.escapeQuotes`
- `window.htmlSanitize' is now `Tools.sanitizeHTML`
- `battle.escape` has been eliminated and replaced by calls
to `Tools.escapeHTML`
2013-04-14 21:49:51 -06:00
Cathy J. Fitzpatrick
56345b89a2
Nicer API for Tools.prefs
2013-04-14 18:21:28 -06:00
Cathy J. Fitzpatrick
c7f8a4ea63
Fix some XSS attacks in index.php
2013-04-14 01:00:51 -06:00
Cathy J. Fitzpatrick
465cad4532
Simplify the Config object
2013-04-14 00:51:39 -06:00
Cathy J. Fitzpatrick
f7fdacc2bc
Remove me.token
2013-04-14 00:40:30 -06:00
Cathy J. Fitzpatrick
46589e7af0
Nicer definition of me
2013-04-14 00:33:33 -06:00
Cathy J. Fitzpatrick
7bbef31a34
Redirect *.psim.us/sprites to play.pokemonshowdown.com
2013-04-14 09:05:06 +04:00
Cathy J. Fitzpatrick
e2e3dd4367
Fix possible crash in viewing profiles
2013-04-13 21:38:32 -06:00
Cathy J. Fitzpatrick
39d7e1542c
Use absolute resource path in teambuilder.js
2013-04-13 21:26:38 -06:00
Cathy J. Fitzpatrick
2a23221ec8
Fix killing the username cookie when not required
2013-04-13 19:34:05 -07:00
Cathy J. Fitzpatrick
fb8016fd3b
Kill the showdown_username cookie when logging out
2013-04-13 20:21:07 -06:00
Cathy J. Fitzpatrick
279e719e73
Different implementation of me.logout
2013-04-13 20:02:25 -06:00
Cathy J. Fitzpatrick
9b26fcc218
Correct domain for showdown_username cookie
2013-04-13 19:38:59 -06:00
Cathy J. Fitzpatrick
1fba5bd20e
Fix to last commit
2013-04-13 19:36:35 -06:00
Cathy J. Fitzpatrick
e955c116c0
Replace "Change name" button by "Log out" button
2013-04-13 19:32:17 -06:00
Cathy J. Fitzpatrick
b6694b591e
Add some (strictly unnecessary) URI encoding
2013-04-13 18:45:49 -06:00
Guangcong Luo
4ae953ee7a
Fix to how large overlays scroll
2013-04-13 17:37:45 -07:00
Guangcong Luo
24bada5e6b
Wider avatars menu
2013-04-13 17:28:23 -07:00
Guangcong Luo
c60db6b0b2
Remove showjoins/showbattles from options menu
...
These are obscure options that just clutter up the options menu.
They're still available by the console commands /showjoins
and /showbattles
2013-04-13 17:12:58 -07:00
Guangcong Luo
d6f4ee20e0
Ignore spectators option
2013-04-13 17:10:41 -07:00
Guangcong Luo
a103b28897
Options changes
...
- Options menu rearranged
- Canceling avatar choosing goes back to options menu
2013-04-13 16:47:30 -07:00
Guangcong Luo
8dd9524fa8
Avatar changing in options menu
2013-04-13 16:42:58 -07:00
Guangcong Luo
7f99bf2fbd
Fix HP bars when animation is off
2013-04-13 16:42:44 -07:00
Guangcong Luo
027c8163ad
Option to disable animations
2013-04-13 15:01:05 -07:00
Guangcong Luo
2df43efbc8
Don't display scrollbar by default in overlays
2013-04-13 14:21:25 -07:00
Guangcong Luo
9c56d0079b
Options menu UI
...
A lot of preferences are no longer hidden behind console commands.
More to follow.
2013-04-13 14:12:31 -07:00
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