Commit Graph

83 Commits

Author SHA1 Message Date
小太
2cbc43d22d Only initialise the tournament box when a tournament packet is detected, rather than for every room 2013-12-09 16:38:50 +11:00
小太
59ccc575a9 Add a comment explaining the fallthrough in client-chat.js
And clean up a bit of trailing whitespace
2013-12-09 16:38:01 +11:00
小太
54042f637c Merge remote-tracking branch 'upstream/master' into tournaments
Conflicts:
	testclient.html
2013-10-20 20:43:13 +11:00
Quinella
555555756f Removed requestNotifications from userdetails event of /challenge 2013-10-08 23:56:02 +02:00
Quinella
d73f97d8f9 Changed the behavior of /challenge
/challenge now opens the challenge window instead of the user window (like /user does)

/challenge also accepts multiple parameters now: user, format, team
user is the name(id) of the user you want to challenge
format is the format you want. It gets changed to an id, so you can enter it in any way you want. For example: ou, ou no stealth rock, etc.
team is the name of the team you wish to use. It also gets changed to an id and stops at the first match (problem: multiple teams with the same name?)
Both the format and team parameters are optional
2013-10-08 23:34:47 +02:00
Guangcong Luo
d03bea97af Rooms can now expire
Rooms send |expire| when they expire; this means that the room no
longer exists server-side but the client might want to leave the room
open.
2013-09-29 22:52:40 -05:00
Quinella
fd4fdb5988 Fixes tabs so that it will show roomname instead of roomid on joining 2013-09-25 11:25:19 +02:00
Quinella
7b26873667 Added |tc| and the like for the correct time in replays 2013-09-22 01:04:55 +02:00
小太
dc79480f31 Merge remote-tracking branch 'upstream/master' into tournaments 2013-09-13 21:55:59 +10:00
Guangcong Luo
46de389961 Support client-side chat logging 2013-08-31 17:04:38 -05:00
小太
cf699c0494 Obliterate trailing whitespace 2013-08-18 22:48:11 +10:00
小太
64aa248ff8 Fix some cases where the tournament box didn't update properly 2013-08-18 20:57:21 +10:00
小太
a7e69c0810 Basic tournament support 2013-08-10 19:19:52 +10:00
Guangcong Luo
3327263226 Voices can now be ignored 2013-07-12 15:36:30 -05:00
Guangcong Luo
120beff911 The # rank is now Room Owner
Locked users are now represented by interrobang
2013-07-02 16:30:44 -05:00
Guangcong Luo
399964249a Fix userlist bugs when showjoins=true 2013-07-01 22:28:42 -05:00
Guangcong Luo
a6968899f9 Support custom group symbols 2013-06-24 14:06:57 -05:00
Cathy J. Fitzpatrick
c2dcaa21e1 Support |unlink| message 2013-06-07 01:24:14 -06:00
Guangcong Luo
ab806a6be4 Support |title| 2013-06-02 02:30:47 -05:00
Guangcong Luo
733579eb2a Don't italicize when opening dev console 2013-06-01 01:46:40 -05:00
Guangcong Luo
18092d3653 Implement highlight as CSS class 2013-05-31 22:01:16 -05:00
Guangcong Luo
9b163c782e Ctrl+I and Ctrl+B for bold/italics 2013-05-31 15:49:29 -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
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
Cathy J. Fitzpatrick
60042a0330 Implement chat formatting options 2013-05-29 18:50:55 -06:00
Guangcong Luo
9f55f38485 Support newer names for various message types 2013-05-25 01:04:31 -05:00
Cathy J. Fitzpatrick
d1138261b0 Fix userlist for empty rooms 2013-05-24 19:51:09 -06: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
Cathy J. Fitzpatrick
ef9b1a0b33 Update the usercount when receiving new information 2013-05-23 07:14:47 -05:00
Cathy J. Fitzpatrick
9dd5a2935c Support |usercount| message 2013-05-22 20:32:31 -05:00
Guangcong Luo
a733d3565d Fix adding blank lines to chat 2013-05-21 07:09:06 -05:00
Guangcong Luo
1afd746633 Fix crash in tab complete 2013-05-19 23:49:36 -05:00
Guangcong Luo
b27fdec7b6 Command history: Can navigate at start/end of line 2013-05-19 22:42:56 -05:00
Guangcong Luo
5edae3b1a7 Command history: Ctrl forces history navigation 2013-05-19 16:02:30 -05:00
Guangcong Luo
211ea266f3 Command history
So that command history isn't buggy, it's currently implemented
so that Up will only take you up command history from the beginning
of the textbox, and Down will only take you down command history
from the end of the textbox.

This allows Up and Down to be reliably used to navigate up and down
the textbox, as well.
2013-05-19 15:42:47 -05:00
Guangcong Luo
f8dc0e9768 Fix provisional cutoff in /ladder 2013-05-19 05:04:27 -05:00
Guangcong Luo
640eeef4e0 Make Tab behave a bit more prediably in textboxes 2013-05-19 02:40:54 -05:00
Guangcong Luo
8c8af8bf18 Fix double-notification for PMs 2013-05-19 02:01:10 -05:00
Guangcong Luo
e9b621e29d Custom popup positioning
This is used to make the userlist popup show up to the right
2013-05-16 14:52:05 -05:00
Guangcong Luo
3c9d420d0c PgUp/PgDn scrolls chat when chatbox is focused 2013-05-13 00:25:42 -07:00
Guangcong Luo
f9443c5aa1 Support /warn 2013-05-12 23:58:51 -07:00
Guangcong Luo
a59925e230 Simpler popup API: remove superfluous id 2013-05-12 23:49:26 -07:00
Guangcong Luo
2d43510f26 Refactor: rename messageSanitize to Tools.parseMessage 2013-05-11 23:09:38 -07:00
Guangcong Luo
3044059652 Don't send empty lines 2013-05-09 21:06:10 -07:00
Guangcong Luo
c01f291bc7 Battle list 2013-05-09 19:14:13 -07:00