Commit Graph

959 Commits

Author SHA1 Message Date
Guangcong Luo
f44df969fc Open lobby as early as possible 2013-05-30 22:22:34 -05:00
Guangcong Luo
287a2fdad3 Less specialcasing of lobby
Lobby is now treated more closely to other rooms, which fixes
certain bugs such as lobby ignoring |deinit|

I've also added some more comments to the surrounding code.
2013-05-30 19:24:24 -05:00
Marty-D
b0e6a368bd Update data for items. 2013-05-30 19:59:58 -04:00
Guangcong Luo
fc253e3228 Stub code for handling |noinit| error codes 2013-05-30 18:56:25 -05:00
Guangcong Luo
c19c4e764a Redirect expired direct battle links to replays 2013-05-30 18:56:02 -05:00
Guangcong Luo
8ae993ac3b Join rooms optimistically
Rooms are now opened immediately upon request, instead of waiting
for the server to respond with the room's data.
2013-05-30 18:24:29 -05:00
Cathy J. Fitzpatrick
9fbe80d3e3 Better handling of HTTPS redirects 2013-05-30 18:09:09 -05:00
Guangcong Luo
ac54695284 Suppport new message types |deinit| and |noinit| 2013-05-30 17:52:05 -05:00
Guangcong Luo
7c90ac5434 Slightly more optimized regexes for redirecting 2013-05-30 15:21:46 -05:00
Guangcong Luo
bb3dfce2fa Redirect old battles to their corresponding replay 2013-05-30 15:19:30 -05:00
Guangcong Luo
570c837ebd Allow linking arbitrary rooms 2013-05-30 15:03:37 -05:00
Cathy J. Fitzpatrick
e624819e02 Don't use Function.prototype.bind 2013-05-29 22:13:33 -06:00
Guangcong Luo
9415f7faa1 Support more PM features
Specifically, /invite and /me and /announce should work in PMs now
2013-05-29 20:16:17 -05:00
Guangcong Luo
3eedcd5e59 Update username rules 2013-05-29 20:11:33 -05:00
Cathy J. Fitzpatrick
60042a0330 Implement chat formatting options 2013-05-29 18:50:55 -06:00
Cathy J. Fitzpatrick
8ea7036ea4 Show error message for invalid usernames 2013-05-28 22:38:58 -06:00
Cathy J. Fitzpatrick
0a0e5f011b Usernames must contain at least one letter 2013-05-28 23:32:20 -05:00
Cathy J. Fitzpatrick
2fec658972 Preserve URI protocol when redirecting 2013-05-28 15:57:51 -05:00
Cathy J. Fitzpatrick
a1203680c5 battledata.js should not depend on caja 2013-05-28 00:09:40 -05:00
Cathy J. Fitzpatrick
cab5488541 Show main menu when failing to join any room 2013-05-25 05:21:16 -05:00
Cathy J. Fitzpatrick
685910046d New method for invalidating custom CSS 2013-05-25 04:38:42 -05:00
Guangcong Luo
fe262c055b Merge pull request #29 from kotarou3/master
Remove more obsolete and useless entries in .htaccess
2013-05-25 00:53:11 -07:00
小太
e6a204a800 Remove more obsolete and useless entries in .htaccess 2013-05-25 18:51:25 +11:00
Cathy J. Fitzpatrick
c5aff7b3f5 Remove some obsolete stuff from .htaccess 2013-05-25 02:40:55 -05:00
Cathy J. Fitzpatrick
6efa454ec7 Don't show a horizontal scrollbar on chat logs 2013-05-25 01:59:40 -05:00
Cathy J. Fitzpatrick
1414eaa994 Support the ladder room in testclient.html 2013-05-25 00:41:27 -06:00
Cathy J. Fitzpatrick
8b95302e97 Update information on what testclient.html supports 2013-05-25 00:29:22 -06:00
Guangcong Luo
9f55f38485 Support newer names for various message types 2013-05-25 01:04:31 -05:00
Guangcong Luo
02895c2723 Select entire textbox when autofocusing 2013-05-25 01:02:18 -05:00
Cathy J. Fitzpatrick
e19f1cd23e Select previous name on the /nick dialogue 2013-05-24 23:40:25 -06:00
Cathy J. Fitzpatrick
d1138261b0 Fix userlist for empty rooms 2013-05-24 19:51:09 -06:00
Cathy J. Fitzpatrick
89c0fc463b Fix testclient.html query string support 2013-05-24 19:50:10 -06:00
Cathy J. Fitzpatrick
ddca39f096 Re-implement testclient.html to parity with old client 2013-05-24 19:10:28 -06:00
Guangcong Luo
3def981099 Remove some old files that are no longer used 2013-05-24 18:48:27 -05:00
Cathy J. Fitzpatrick
e00c95d0c5 Merge branch 'master' of github.com:Zarel/Pokemon-Showdown-Client 2013-05-24 18:44:27 -05:00
Cathy J. Fitzpatrick
3f94188285 Fix error in last commit (this.room.id rather than this.room) 2013-05-24 17:43:47 -06:00
Guangcong Luo
0f078ad97b Support some button actions for server messages 2013-05-24 18:41:24 -05:00
Cathy J. Fitzpatrick
ec494ee7f3 Multiple chatroom support: namespace userlist DOM IDs 2013-05-24 17:39:10 -06:00
Cathy J. Fitzpatrick
395730ca5c Ignore usercount message for rooms other than lobby 2013-05-24 17:30:49 -06:00
Guangcong Luo
0f7face378 Fix controls sometimes hiding themselves 2013-05-23 23:02:03 -05:00
Guangcong Luo
baded81275 Fix new protocol challenge/searching 2013-05-23 22:38:05 -05:00
Guangcong Luo
9da6054671 Teambuilder: Fix race condition with clicking formes 2013-05-23 22:16:06 -05:00
Cathy J. Fitzpatrick
25de60a91f Fix accidental global sanitizedType 2013-05-23 20:25:20 -06:00
Cathy J. Fitzpatrick
d38b390e15 Open chat links to rooms within the client 2013-05-23 20:07:13 -05:00
Guangcong Luo
fa3951d83b Support response to /query on the new protocol 2013-05-23 19:49:56 -05:00
Cathy J. Fitzpatrick
ef9b1a0b33 Update the usercount when receiving new information 2013-05-23 07:14:47 -05:00
Guangcong Luo
2120049cc0 Move trap warning below switch menu 2013-05-23 06:47:01 -05:00
Guangcong Luo
4b8db37027 Support updateuser and formats in same message 2013-05-22 23:38:13 -05:00
Guangcong Luo
613d12ca6b Fix crash when watching battles before formats loaded 2013-05-22 23:37:14 -05:00
Guangcong Luo
b2315f57f9 Implement new protocol name taken message 2013-05-22 22:03:09 -05:00