Ant Zucaro [Fri, 30 Aug 2013 02:21:06 +0000 (22:21 -0400)]
Initial stacked area chart for damage.
This version doesn't work. It is wanting an entry for every
weapon in every game, and I don't have that yet. I have to loop
over all the weapons present in the set thus far and then create
zero-ed out objects for the games in which certain weapons don't
exist. Sigh - I haven't decided if I want to do this in the view
or in Javascript.
Ant Zucaro [Wed, 28 Aug 2013 02:16:33 +0000 (22:16 -0400)]
Unused files - KILL THEM WITH FIRE!
No really, these files aren't used anymore. Most of them for over
a year! They shouldn't clutter up the existing filesystem. See ya,
old files! We'll meet again sometime in history.
Ant Zucaro [Sun, 11 Aug 2013 14:21:23 +0000 (10:21 -0400)]
Pull the hashkey from the request headers.
Instead of passing the hashkey in the URL itself, it will be passed
via the blind id header similar to submissions. This will help to
ensure that it is a Xonotic client or server making the request.
Ant Zucaro [Sun, 11 Aug 2013 14:08:28 +0000 (10:08 -0400)]
Move the blind_id verification function to util.
Before the only view that was using this function was the
submission view. That is no longer going to be the case, so the
function should be moved to a general purpose area. Util is the
best place for that!
Ant Zucaro [Sat, 20 Jul 2013 11:52:32 +0000 (07:52 -0400)]
A more comprehensive decision tree for team game stats.
If the game mode is CTF, order by caps. If the game mode is CA,
FT, LMS, or KA then order by rounds. Otherwise order by score. This
corresponds to the default settings for team_game_stat rows in the
submission handler.
Ant Zucaro [Sat, 15 Jun 2013 13:44:47 +0000 (09:44 -0400)]
Separate scoreboards by team.
This is in preparation for the display of team scores. The team
score will be shown to the left of the scoreboard. The tricky
thing with this implementation is keeping the columns aligned
properly. For this I've added a player-nick class (again) as a
percentage to make the two (or more) tables line up.
Ant Zucaro [Fri, 19 Apr 2013 23:34:12 +0000 (19:34 -0400)]
Replace the game_index view w/ game_finder.
The game_index view was cluttered, ugly, slow, and not used much.
This changeset makes the page similar to the "recent games" lists
throughout the app, but with a game type filter on it. This should
be a more useable alternative than showing a bunch of scoreboards.
Ant Zucaro [Fri, 19 Apr 2013 00:30:55 +0000 (20:30 -0400)]
Fix the broken things in player_game_index.
- New routes were defined (/player/:id/game_type_cd) when a query
parameter is the better fit. Game types are a filter condition
on the resource, not the resource itself, thus should not be in
the route.
- Pagination was broken. Passing search_query to route_url makes
the query parameters persist, although I pass query parameters
in an awful way that needs to be fixed.
- Multiple lines just to show the game type description when an if
statement would do the same thing.
- No need to pass the player_url to the template. You can reverse-
generate URLs to routes with route_url just fine.
- Remove the extra link back to the player_info page, as the
pattern throughout the rest of the application is to click the
nick itself.
Jan Behrens [Wed, 17 Apr 2013 07:10:53 +0000 (09:10 +0200)]
Adding gametype-filtered game_index view (and fix bug in player_game_index)
Not linked anywhere yet, but can be accessed via .../player/###/games/gametype