Andy Janata
1f06fb0fac
Merge pull request #107 from clutterskull/master
...
Adds a simple regex based filter to the game list.
2014-05-03 19:40:20 -07:00
John Hutchison
1ebd5cf831
Filtering on keyup, error catching, empty filters
...
Binds filtering to keyup instead of keydown.
Catches invalid regular expression errors (filter is not set unless
valid).
Fixes empty filter not setting properly.
2014-05-03 18:03:39 -07:00
John Hutchison
92cd5dcd32
Adds a simple regex based filter to the game list.
...
Adds cah.GameList methods for creating and applying the filter, as well
as a filter text input element next to the create game button. Filtering
is bound to the input keydown.
2014-04-29 20:59:41 -07:00
uecasm
417c97f1b3
Refactor game options into subobject.
2014-04-08 23:20:40 +12:00
Andy Janata
be7768e03b
Refactor preferences code out to its own file. Add game list filters, allowing users to ban and require card sets for a game to be in their game list.
2014-01-26 23:22:37 -08:00
uecasm
6e32e81bee
Merge branch 'upstream' into spectator
...
NOTE: I have not yet considered how to support spectators with the new hash URLs; it's likely something will go funny with the current implementation.
2013-11-21 23:01:00 +13:00
Andy Janata
844ce99cdb
Update the URL bar with a deeplink to the current game, and process these deeplinks when the app loads. Fixes #30 .
2013-11-11 03:22:54 +00:00
Gavin Lambert
4ac0de4ff6
Add spectator feature
2013-06-11 00:14:32 +12:00
Andy Janata
014258fcf2
don't refresh game list if the browser tab/window isn't active, and refresh immediately when it becomes active if an update was missed
2013-04-28 10:11:28 -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
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
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
c6c6feb49f
Display non-passworded games before passworded games. Fixes #20 .
2012-10-11 20:05:06 -07:00
Andy Janata
7cf9413861
- add card set support to the game itself
...
- add watermark field to cards to indicate what to display over the logo
- display said watermark
2012-07-07 15:01:33 -07:00
Andy Janata
315549d87f
game passwords, and display more game information in the lobby list
2012-03-18 21:20:48 -07:00
Andy Janata
88b68c87b6
comment ALL the files!
2012-02-06 14:00:24 -08:00
Andy Janata
4d5fddd293
add 2-clause bsd-style license to source files
2012-02-02 14:47:23 -08:00
Andy Janata
e373d72c85
remove logic that disabled the Join game button if it wasn't a lobby, since you can always join now
2012-01-30 16:35:25 -08:00
Andy Janata
8e3c1372dc
- fix formatting in css file
...
- add some templates for game lobbies
- client properly joins a game and shows the lobby!
- reconnect to in-progress game when refreshing page
2012-01-22 23:58:36 -08:00
Andy Janata
922207736a
start working on in-game view
2012-01-21 17:34:18 -08:00
Andy Janata
577586139e
- escape html in chat on client and server
...
- rework how the gamelist was shown
2012-01-20 14:55:08 -08:00
Andy Janata
890964b85d
card classes
2012-01-19 21:19:55 -08:00
Andy Janata
4a3a9d95bd
add templates for cards. change how game list lobbies are cleaned up
2012-01-19 18:19:05 -08:00
Andy Janata
5bda9fd452
client can join games. doesn't load the game yet, which is the same thing that happens with creating a game. the same thing should happen for both cases.
...
reworked some tests to be able to hide a method from GameManager. part of this goal was to reduce unnecessary game refresh broadcasts if a client tried to create multiple games.
2012-01-18 16:42:18 -08:00
Andy Janata
979a9c4123
- create games
...
- list games
- automatically refreshes list when game is created or destroyed
- destroy games after removing all players (including at logout)
2012-01-17 21:58:09 -08:00
Andy Janata
40de91b5ac
some work on the game list
2012-01-17 20:37:09 -08:00
Andy Janata
79f2f59716
- add game list ajax call
...
- skeleton for game lobby list
- fix ajax handlers to use the constants instead of literals for the ops
2012-01-17 17:48:21 -08:00