Commit Graph

23 Commits

Author SHA1 Message Date
Cathy J. Fitzpatrick
18d15007a7 crossdomain.php changes for dev.pokemonshowdown.com stuff 2013-04-26 20:06:26 -06:00
Cathy J. Fitzpatrick
4135fa24a4 Rename some fields of the Config object 2013-04-26 19:10:53 -06:00
Cathy J. Fitzpatrick
de5661d842 Config.customcss is no longer necessary 2013-04-25 06:16:57 -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
bc7b79d9e7 Revise custom avatar feature 2013-04-24 02:43:15 -06:00
Cathy J. Fitzpatrick
c52a0e261b Upgrade to jQuery 2.0.0 2013-04-20 05:42:59 -06: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
e911c955dd Eliminate almost all PHP from index.php 2013-04-15 06:57:18 -06: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
3334f95615 Don't throw an exception if third-party cookies are disabled 2013-04-06 18:21:40 -07: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
Cathy J. Fitzpatrick
e8ce936454 Fix crossdomain handling for ancient server versions 2013-03-22 23:34:15 -06:00
Cathy J. Fitzpatrick
f5eef09ec7 Fix typo in crossdomain.php 2013-03-22 05:13:11 -06:00
Cathy J. Fitzpatrick
d672ae57b5 Correctly synchronise sid and username across domains 2013-03-22 05:11:11 -06:00
Cathy J. Fitzpatrick
15e797f0d5 Sharing of resources between psim.us and pokemonshowdown.com
This commit allows the new psim.us domain to use the cookies and
`localStorage` of play.pokemonshowdown.com. Teams and prefs are
initially loaded from the play.pokemonshowdown.com `localStorage` and
changes to teams and prefs are written back to the
play.pokemonshowdown.com `localStorage`.

This commit also implements a few other things for the new psim.us
domain (implemented by Zarel):

- URIs of the form serverid.psim.us load the server `serverid`
- the naked domain now loads the lobby
2013-03-22 00:19:23 -06:00