Commit Graph

477 Commits

Author SHA1 Message Date
Guangcong Luo
9b7e0f07ab Namespace StatNames/StatIDs 2013-04-17 22:22:39 -07:00
Cathy J. Fitzpatrick
3e263e892e Add missing OK button to nothirdparty overlay 2013-04-17 19:25:13 -06:00
Cathy J. Fitzpatrick
7d697f15b5 Improve *.psim.us error messages 2013-04-17 19:11:50 -06:00
Cathy J. Fitzpatrick
d22a87872c testclient.html is no longer necessary 2013-04-17 17:31:38 -06:00
Cathy J. Fitzpatrick
82798bdbb8 Google Analytics gets its own <script> block 2013-04-17 16:47:02 -06:00
Cathy J. Fitzpatrick
6b9d5e4cf2 Drop the action name from JSON output in action.php 2013-04-17 16:33:12 -06:00
Cathy J. Fitzpatrick
b701edc906 Send correct Content-Type header in action.php 2013-04-17 16:30:22 -06:00
Guangcong Luo
9416010926 Sync pokedex 2013-04-17 14:47:01 -07:00
Guangcong Luo
b2801a5b82 Don't crash getIcon without pokedex-mini loaded 2013-04-17 14:46:25 -07:00
Cathy J. Fitzpatrick
cc40e4153c Fix direct linking check in .htaccess 2013-04-17 13:13:29 -07:00
Cathy J. Fitzpatrick
15dabc4eec Don't truncate /data etc. in battle data 2013-04-17 10:09:07 -07:00
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