Commit Graph

449 Commits

Author SHA1 Message Date
Andy Janata 7e8b8d4df3 Updated card dump. 2013-04-24 23:24:54 -07:00
Andy Janata 8d83afc18a Merge branch 'master' of github.com:ajanata/PretendYoureXyzzy 2013-04-20 12:21:50 -07:00
Andy Janata 743cdbf6c1 Add a bunch of WAI-ARIA stuff for accessibility, #37. I'm not ready to call this fixed yet. 2013-04-20 12:21:28 -07:00
Andy Janata 2847891201 Wow, I still had some 'PYZ's in there. 2013-04-19 15:56:30 -07:00
Andy Janata 83eaf8628a changelog 2013-04-13 17:31:47 -07:00
Andy Janata 1efb350c41 Make gamelist lobby cards bigger. Fix HTML entities in gamelist lobby cards. Add mouseover help to "Use idle timer" game option. Fix background on even-numbered rows when that player has won the round. 2013-04-13 17:28:42 -07:00
Andy Janata 9d47959f13 Make the client re-try the first load request once if it got a no session error, otherwise it won't know anything about card sets which causes the game list to break. This is marginally related to #35.
Had to actually return the client's serial number to them when returning errors. Whoops.
2013-04-13 17:13:11 -07:00
Andy Janata 313890f263 comment typo 2013-04-13 17:10:35 -07:00
Andy Janata 00f264a121 changelog 2013-04-13 10:56:11 -07:00
Andy Janata 715e94c099 Remove isNew() check on session when processing client actions. This should fix #35, not being able to log in if you take too long to enter a name. 2013-04-13 10:52:58 -07:00
Andy Janata b84e2ec16c Increase delay before returning new messages to clients, in an attempt to reduce bandwidth consumption. 2013-04-13 10:51:19 -07:00
Andy Janata bdf288a379 Add game option for using idle timer. Implementation when not using idle timer is it instead uses Integer.MAX_VALUE as the number of milliseconds. 2013-04-13 10:39:38 -07:00
Andy Janata 5d26113605 Checkbox to locally hide a game password. Fixes #31. 2013-04-06 14:30:12 -07:00
Andy Janata 7d46a96b65 Adjust chat flood limits. 2013-04-01 19:24:30 -07:00
Andy Janata 253268c18e Update cah_cards.sql with Third Expansion and PAX East 2013 packs. Removed unused columns from black_cards and white_cards. 2013-04-01 19:24:21 -07:00
Andy Janata a5221b6700 changelog 2013-03-30 08:10:10 -07:00
Andy Janata 30e7966222 reserve the nick "xyzzy" for future use 2013-03-30 08:10:00 -07:00
Andy Janata e8970ccddb increase game limit again 2013-03-30 08:09:40 -07:00
Andy Janata 622f50aa89 update changelog 2013-03-26 20:43:39 -07:00
Andy Janata 18606af0cd increase game limit 2013-03-26 20:43:33 -07:00
Andy Janata 660fd2d5f1 prevent wrapping in the middle of cardset names 2013-03-26 20:31:46 -07:00
Andy Janata c662bf954d admins can send chat to all connected users 2013-03-26 20:17:49 -07:00
Andy Janata a768677eaf allow html in card text 2013-03-26 18:07:09 -07:00
Andy Janata 61b567e2ec add watermark to add card page 2013-03-26 18:06:43 -07:00
Andy Janata 9273a8ad4a logging 2013-03-26 17:19:07 -07:00
Andy Janata a43e087fa2 card set descriptions 2013-03-26 17:19:01 -07:00
Andy Janata cc954aa0e4 JRE classpaths on my system changed, this should be compatible anyway 2013-03-26 17:18:06 -07:00
Andy Janata 526911bc0e Don't update the game list when it isn't visible (i.e. you're already in a game). The client will refresh it when the player leaves their game anyway. This will hopefully cut down on a lot of bandwidth usage -- that's a lot of data sent around whenever anybody joins or leaves any game, and nobody sees it. 2013-03-02 23:50:24 -08:00
Andy Janata e70874cbcf update changelog 2013-02-24 23:57:22 -08:00
Andy Janata ccca422b8c show game-related log messages in the game's log instead of the global log 2013-02-24 18:57:04 -08:00
Andy Janata 300e7e09b7 Fix up per-game chats so global chat still works. Fix graphical glitch with game chat tab. Make enter work in game chat box. Clear game chat log when joinging game. 2013-02-24 18:47:05 -08:00
Matt Mullins b1c8e52dd4 Remove the chat tab when leaving a game 2013-02-24 17:48:49 -08:00
Matt Mullins 77f54fb1b4 Send game ID to client for in-game chat 2013-02-24 17:48:49 -08:00
Matt Mullins 9cbd699109 Display Per-game chat messages in the correct tab
Errors are displayed in all chat tabs, including the global chat and
all in-game chats.
2013-02-24 17:48:49 -08:00
Matt Mullins 043f02509e Test per-game chat. Breaks global chat. 2013-02-24 17:48:48 -08:00
Andy Janata b74aed03c1 make per-game chats resize with the window like global chat. 2013-02-23 14:32:00 -08:00
Matt Mullins d110b59b9c Create a new tab for game-specific chat.
Signed-off-by: Matt Mullins <mmullins@mmlx.us>
2013-02-23 14:18:22 -08:00
Matt Mullins 3183af0a45 Add generalized arguments to chatsubmit_click
These parameters are used as a closure, so that the generated handler knows
which game it is attached to.

Signed-off-by: Matt Mullins <mmullins@mmlx.us>
2013-02-23 14:18:18 -08:00
Matt Mullins 7b74529a2b Refactor chat button click-handler to be a closure.
This will support having multiple handlers, one per game, in the future.

Signed-off-by: Matt Mullins <mmullins@mmlx.us>
2013-02-23 14:18:13 -08:00
Matt Mullins 9594b542f6 Replace id= with class= for the chat panel.
This is in preparation to support multiple tabs, which will provide a
separate chat tab per running game.

Signed-off-by: Matt Mullins <mmullins@mmlx.us>
2013-02-23 14:18:07 -08:00
Andy Janata df6be2ea00 null check to fix junit test 2013-02-03 11:02:51 -08:00
Andy Janata e436a63cf1 Change chat flood protection from 5 messages per 15 seconds to 3 messages per 10 seconds. 2013-02-03 10:58:26 -08:00
Andy Janata 869750b6c3 Refactor Game.removePlayer() to fix a deadlock. 2013-02-03 10:56:57 -08:00
Andy Janata 9b46a854a7 update card sql with Very Serious card set 2013-01-09 00:02:25 -08:00
Andy Janata 3e7e948052 updated news 2013-01-08 23:35:41 -08:00
Andy Janata 6f9c507f9d increase game limit from 60 to 75 2013-01-08 23:34:33 -08:00
Andy Janata d4adaa7692 fix a comment 2013-01-08 23:34:21 -08:00
Andy Janata c8a5898e6d Add code style settings to project. 2012-12-29 13:48:57 -08:00
Andy Janata 20cf5ed3cc Atomically check for existing user with requested nickname and add new user if there is not such an existing user. Fixes #26. 2012-12-29 12:57:31 -08:00
Andy Janata 5a52a48976 fix code formatting, formatting for the 's' for 'Awesome Points', and formatting for 'Your Hand' text 2012-12-23 09:48:00 -08:00