Commit Graph

547 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
e2b7a3a46a ipidentification is now always enabled 2013-04-26 06:55:13 -07:00
Guangcong Luo
68e574cc52 Stub new client 2013-04-26 01:23:22 -07:00
Guangcong Luo
d8e8be1087 JS libraries now in /js/lib/ 2013-04-26 01:20:56 -07:00
Cathy J. Fitzpatrick
de5661d842 Config.customcss is no longer necessary 2013-04-25 06:16:57 -06:00
Cathy J. Fitzpatrick
cd0772e6d6 Test altport before altprefix 2013-04-25 06:16:12 -06:00
Cathy J. Fitzpatrick
a9f7f3356c Remove unused sessiontoken 2013-04-25 03:29:12 -06:00
Cathy J. Fitzpatrick
feaf2fbbca Cached CSS files now get a .css extension 2013-04-24 15:44:00 -07:00
Cathy J. Fitzpatrick
439d1841b6 Correct Content-Type in customcss.php 2013-04-24 15:53:05 -06:00
Guangcong Luo
12b5f256aa Optimize CSS valiation a bit 2013-04-24 13:59:46 -07:00
Guangcong Luo
18163ad247 Support custom CSS from server static directory
You no longer need an external host: now any registered server
can have custom CSS by making a static/custom.css file.
2013-04-24 13:59:35 -07:00
Guangcong Luo
f173347ce9 More lenient CSS purifier 2013-04-24 11:56:39 -07:00
Cathy J. Fitzpatrick
1a2aea66cf Fix semi-obscure race condition in initialisation on *.psim.us 2013-04-24 07:08:39 -06:00
Cathy J. Fitzpatrick
8042343f4b Correct referrer when canonicalising URIs 2013-04-24 06:32:25 -06:00
Cathy J. Fitzpatrick
13027095d2 Preserve pathname when canonicalising URIs 2013-04-24 05:21:39 -07:00
Cathy J. Fitzpatrick
23245306ac Redirect *.psim.us URIs to the canonical URI 2013-04-24 04:50:13 -07:00
Cathy J. Fitzpatrick
7ff788502f Fixes to avatar resolution 2013-04-24 04:36:15 -06:00
Cathy J. Fitzpatrick
bc7b79d9e7 Revise custom avatar feature 2013-04-24 02:43:15 -06:00
Cathy J. Fitzpatrick
b30569269b Test altprefix before altport 2013-04-24 01:01:06 -06:00
Cathy J. Fitzpatrick
5c952bf53a Rename Config.locPrefix to Config.locprefix 2013-04-24 00:59:42 -06:00
Cathy J. Fitzpatrick
a6e92f1429 Add support for sockjs prefix /showdown 2013-04-24 00:58:10 -06:00
Guangcong Luo
b6eb7c05bf Fix word-wrap in !data 2013-04-23 18:45:58 -07:00
Guangcong Luo
d09f171943 New warning message 2013-04-23 15:22:03 -07:00
Cathy J. Fitzpatrick
e52a0339ad Safer approach to updating the stats 2013-04-22 19:53:01 -07:00
Cathy J. Fitzpatrick
bf740992fb Fix include path 2013-04-22 17:56:13 -07:00
Cathy J. Fitzpatrick
17b8917d0b Update PO userstats whenever the main server reports userstats 2013-04-22 18:35:28 -06:00
Cathy J. Fitzpatrick
99a40a3d5a Revert "Add translation support and translations extracted from the ROM. Requires every game message from battle.js to use _ to be translated."
This reverts commit 9bc8c023e6.
2013-04-21 20:33:37 -06:00
Cathy J. Fitzpatrick
688a5c314f More optimised clearing of array 2013-04-21 20:32:48 -06:00
Pokecheck
9bc8c023e6 Add translation support and translations extracted from the ROM. Requires every game message from battle.js to use _ to be translated. 2013-04-21 20:32:48 -06:00
Guangcong Luo
6ac1e560e8 Sync pokedex.js and learnsets.js with server 2013-04-21 18:05:16 -07:00
Guangcong Luo
040783fd37 Cache certain result counts in search index 2013-04-21 17:06:42 -07:00
Cathy J. Fitzpatrick
349f058c79 Update the mini rooms list when the full list is viewed 2013-04-21 04:59:00 -06:00
Cathy J. Fitzpatrick
472468ab26 Fix still more XSS 2013-04-21 03:46:04 -06:00
Cathy J. Fitzpatrick
ab28fa0507 Fix more JavaScript injection 2013-04-21 03:32:03 -06:00
Guangcong Luo
e2f40be6c4 Sync learnsets with server 2013-04-21 02:06:07 -07:00
Guangcong Luo
b7ab002fdb Chart: Don't show negative numbers for CAPs 2013-04-21 01:52:42 -07:00
Cathy J. Fitzpatrick
b4e97b2b7b Fix another XSS 2013-04-21 00:08:40 -07:00
Guangcong Luo
b4ed4055b2 Option to turn off lobby chat 2013-04-21 00:07:00 -07:00
Cathy J. Fitzpatrick
8fb9756336 Correct fix for previous XSS 2013-04-21 01:04:00 -06:00
Cathy J. Fitzpatrick
7c1364d8cc Fix another XSS 2013-04-21 01:01:23 -06:00
Cathy J. Fitzpatrick
514dd9cdf6 Fix some XSS issues 2013-04-21 00:48:49 -06:00
Guangcong Luo
544abfab40 Remove underlines from utilichart entries 2013-04-20 21:00:55 -07:00
Guangcong Luo
4627cb0238 Search prioritizes exact matches 2013-04-20 16:41:44 -07:00
Guangcong Luo
66963c0528 Support egg pokemonicon 2013-04-20 16:41:29 -07:00
Cathy J. Fitzpatrick
c52a0e261b Upgrade to jQuery 2.0.0 2013-04-20 05:42:59 -06:00
Cathy J. Fitzpatrick
4e35bab1c5 Drop deprecated ladderformatgetmmr action 2013-04-20 05:08:00 -06:00
Guangcong Luo
f5b751cf6e New search system: Support tagged search results 2013-04-19 23:18:53 -07:00
Guangcong Luo
8f5f37ff9e New search system: Flag if match is exact 2013-04-19 23:18:33 -07:00
Guangcong Luo
576ba2e2ef Synx pokedex with server 2013-04-19 23:17:29 -07:00
Cathy J. Fitzpatrick
dd21bfe52b Use htmlspecialchars rather than htmlentities 2013-04-19 20:54:13 -06:00
Cathy J. Fitzpatrick
bf4763dd1d Specify charset for ladder database 2013-04-19 19:57:27 -06:00