Commit Graph

3416 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
aa39361f54 Fix horizontal scrolling of battle chats 2013-04-17 03:11:56 -07:00
Cathy J. Fitzpatrick
f0f5a7e03b Fix a legacy rewrite rule 2013-04-16 15:44:43 -07:00
Cathy J. Fitzpatrick
ef4d1185e5 Fix indentation in index.html 2013-04-16 04:27:33 -06:00
Cathy J. Fitzpatrick
c31ca67713 index.php is now index.html 2013-04-16 01:55:14 -07:00
Cathy J. Fitzpatrick
096aafc9fa logs.psim.us is not permitted to use crossdomain.php 2013-04-15 22:48:25 -06:00
Cathy J. Fitzpatrick
cf09b02319 Remove some defunct stuff from .htaccess 2013-04-15 21:31:36 -06:00
Cathy J. Fitzpatrick
bf3f2c81fe psim.us configuration changes 2013-04-15 21:05:15 -06:00
Cathy J. Fitzpatrick
f872ebda0a Move custom name colours to config.js 2013-04-15 19:56:53 -06:00
Guangcong Luo
4840c8269c Various bugfixes to new search library 2013-04-15 18:00:32 -07:00
Guangcong Luo
41b4695ed9 Implement Tools.getType in client 2013-04-15 18:00:08 -07:00
Guangcong Luo
97857cf718 Templates always get name set correctly 2013-04-15 17:59:50 -07:00
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