]> de.git.xonotic.org Git - xonotic/xonstat.git/log
xonotic/xonstat.git
11 years agoFix the player JSON view with a _asdict() method to RecentGame-s.
Ant Zucaro [Fri, 21 Dec 2012 22:38:53 +0000 (17:38 -0500)]
Fix the player JSON view with a _asdict() method to RecentGame-s.

11 years agoAdd a new summary statistics byline below the main logo.
Ant Zucaro [Sun, 16 Dec 2012 00:14:59 +0000 (19:14 -0500)]
Add a new summary statistics byline below the main logo.

Summary statistics shown and refreshed hourly via cache
invalidation (Beaker):

- total games
- total dm, duel, and ctf games
- total players
- total servers

If for some reason the summary statistics can't be retrieved, the
old one is shown instead.

11 years agoAdd object relational mappings for the summary stats table.
Ant Zucaro [Sat, 15 Dec 2012 15:21:18 +0000 (10:21 -0500)]
Add object relational mappings for the summary stats table.

11 years agoIntegrate the new helpers everywhere.
Ant Zucaro [Fri, 14 Dec 2012 02:56:40 +0000 (21:56 -0500)]
Integrate the new helpers everywhere.

11 years agoUse start_dt instead of create_dt.
Ant Zucaro [Fri, 14 Dec 2012 02:55:23 +0000 (21:55 -0500)]
Use start_dt instead of create_dt.

11 years agoAdd a JSON Elo view to support autobalance.
Ant Zucaro [Tue, 11 Dec 2012 22:28:02 +0000 (17:28 -0500)]
Add a JSON Elo view to support autobalance.

The view at /elo/<hashkey> will send just Elo info about a player.
This is to facilitate a possible autobalance feature where the
Xonotic server will request Elo values for all of the
players entering the game, then use it (among other things) to
figure out who needs to be switched to make the teams right.

11 years agoAdd a hashkey view similar to the player_info JSON one.
Ant Zucaro [Tue, 4 Dec 2012 02:55:22 +0000 (21:55 -0500)]
Add a hashkey view similar to the player_info JSON one.

This view is driven by hashkey (not player_id) so the Xonotic
server can query for info using something it knows. The response
value is a JSON object containing the things in the player info
page minus the recent weapons and recent games stuff.

The URL pattern is /hashkey/<hashkey value>.

All this is pretty alpha and is subject to change once we truly
determine our needs  Think of this as a proof of concept for
communicating between the game server and the webapp.

11 years agoExplicitly set an update_dt when elos are processed.
Ant Zucaro [Sun, 2 Dec 2012 13:09:18 +0000 (08:09 -0500)]
Explicitly set an update_dt when elos are processed.

11 years agoIf there are no recent games, do not show the section.
Ant Zucaro [Fri, 30 Nov 2012 00:45:04 +0000 (19:45 -0500)]
If there are no recent games, do not show the section.

11 years agoMake recent games more bullet-resistant :)
Ant Zucaro [Sun, 25 Nov 2012 15:37:01 +0000 (10:37 -0500)]
Make recent games more bullet-resistant :)

11 years agoDon't pre-fill the "recent games" section with hyphens.
Ant Zucaro [Sun, 25 Nov 2012 15:30:05 +0000 (10:30 -0500)]
Don't pre-fill the "recent games" section with hyphens.

Just show what is there to show rather than fill up the empty space
with...more empty space!

11 years agoRecent -> Most Recent for maps too.
Ant Zucaro [Sun, 25 Nov 2012 15:17:22 +0000 (10:17 -0500)]
Recent -> Most Recent for maps too.

11 years agoSmall copy change for the server info page.
Ant Zucaro [Sun, 25 Nov 2012 15:15:48 +0000 (10:15 -0500)]
Small copy change for the server info page.

"Recent" isn't exactly recent for some servers. I'll label it
"Most Recent" instead. That makes more sense when servers have
not had any games in a long time.

11 years agoSprite-ify the map and server info pages too.
Ant Zucaro [Sun, 25 Nov 2012 15:13:13 +0000 (10:13 -0500)]
Sprite-ify the map and server info pages too.

11 years agoSprite-ify a few templates.
Ant Zucaro [Sun, 25 Nov 2012 01:26:37 +0000 (20:26 -0500)]
Sprite-ify a few templates.

11 years agoAdd css sprites for weapons and game types.
Ant Zucaro [Sun, 25 Nov 2012 01:25:41 +0000 (20:25 -0500)]
Add css sprites for weapons and game types.

11 years agoUse the new helpers for the server_info page as well.
Ant Zucaro [Mon, 19 Nov 2012 02:48:31 +0000 (21:48 -0500)]
Use the new helpers for the server_info page as well.

Another performance boost on my machine! The page loads in
half the time that it did before. Aw yeah.

11 years agoUse the new helpers on the map info page.
Ant Zucaro [Mon, 19 Nov 2012 02:29:54 +0000 (21:29 -0500)]
Use the new helpers on the map info page.

Big performance boost! Was 1.5s (on my machine) and now <1s.

11 years agoLooks better this way, and performs the same.
Ant Zucaro [Mon, 19 Nov 2012 02:08:00 +0000 (21:08 -0500)]
Looks better this way, and performs the same.

11 years agoMake the "recent games" section more modular.
Ant Zucaro [Mon, 19 Nov 2012 00:27:14 +0000 (19:27 -0500)]
Make the "recent games" section more modular.

The main page was constructing all of the recent games queries
manually before. Now I've moved the query and the associated
class (which would have been a namedtuple if not for the various
transformations needed) into a new "helpers" view. This view is
intended to house query functions and the corresponding classes
for them, so no more grabbing from a query, then looping around
and creating namedtuples to get stuff like nick_html_colors. Now
one can just pass the row returned by the query to a class, which
will "know" how to construct stuff like that. Win!

11 years agoAdd the game's duration to the game info page, if it exists.
Ant Zucaro [Thu, 15 Nov 2012 01:49:30 +0000 (20:49 -0500)]
Add the game's duration to the game info page, if it exists.

11 years agoProvide an option to show elo deltas on the game info page.
Ant Zucaro [Wed, 14 Nov 2012 04:02:56 +0000 (23:02 -0500)]
Provide an option to show elo deltas on the game info page.

I was tired of looking at the actual elo deltas by bouncing
between the player_info and game_info pages for several
players just to see their collective elo delta values. This
provides a query parameter "show_elo" to the game info page
to show the extra elo delta column.

As a bonus, the up/down/neutral arrows on the player_info
page will take you to a scoreboard page where those values
are shown.

11 years agoProper fix for big alivetimes.
Ant Zucaro [Tue, 13 Nov 2012 00:59:37 +0000 (19:59 -0500)]
Proper fix for big alivetimes.

Moral of the story: I should not code late at night.

11 years agoHandle Elos properly when players have big alivetimes.
Ant Zucaro [Fri, 9 Nov 2012 04:42:29 +0000 (23:42 -0500)]
Handle Elos properly when players have big alivetimes.

Due to a bug, the alivetimes for players also include time
spent in warmup. Since elo uses score per second, the
skewed alivetime made players who actually lost look like
they won under certain circumstances (like when their
opponent spent a very long time in warmup).

This change puts a ceiling on the alivetime used by Elo
by limiting the alivetime to be at most the game's
duration.

11 years agoParse and store the game's duration.
Ant Zucaro [Fri, 9 Nov 2012 04:18:55 +0000 (23:18 -0500)]
Parse and store the game's duration.

The duration has been sent for a while as the 'D' line, but
it hasn't really been needed until now; it was just a nice thing
to have. Now Elo calculations are messing up because the warmup
time is being summed into player alivetimes. This duration field
can assist in creating a workaround. Having it, Elo calculations
can know the true maximum game time, so anything higher can be
brought down to the "floor" of the real duration of the match.

11 years agoFixed double negative, maybe the most helpful ever.
Malcolm Gill [Mon, 15 Oct 2012 12:27:34 +0000 (23:27 +1100)]
Fixed double negative, maybe the most helpful ever.

11 years agoLink to the game for each cap record.
Ant Zucaro [Sun, 4 Nov 2012 13:26:16 +0000 (08:26 -0500)]
Link to the game for each cap record.

11 years agoAdd overall best flag capture times to the map info page.
Ant Zucaro [Sun, 4 Nov 2012 13:17:22 +0000 (08:17 -0500)]
Add overall best flag capture times to the map info page.

Only the top ten fastest capture times are shown. Players in this
list must be tracked. No bots are tracked, obviously :D.

11 years agoShow the best flag capture times on the game info page.
Ant Zucaro [Fri, 2 Nov 2012 01:59:21 +0000 (21:59 -0400)]
Show the best flag capture times on the game info page.

The best flag capture time for each player is shown in the game
info page now. This only happens for CTF. The format shown is
seconds.milliseconds, with up to two decimal places shown.

11 years agoAdd ping to the scoreboard.
Ant Zucaro [Fri, 2 Nov 2012 01:24:36 +0000 (21:24 -0400)]
Add ping to the scoreboard.

Ping is being sent now in the POST requests. Show it if it
exists in the player_game_stat row.

11 years agoUncomment elo processing code.
Ant Zucaro [Mon, 29 Oct 2012 20:56:48 +0000 (16:56 -0400)]
Uncomment elo processing code.

11 years agoAssault icons.
Ant Zucaro [Mon, 29 Oct 2012 16:14:33 +0000 (12:14 -0400)]
Assault icons.

11 years agoAdd storage of captimes and fastest caps.
Ant Zucaro [Mon, 29 Oct 2012 15:49:03 +0000 (11:49 -0400)]
Add storage of captimes and fastest caps.

Fastest caps are recorded on a per-player basis in the game_stats
table, and the player's overall fastest cap on a given map is
stored in a new table, player_map_captimes.

One weird thing is if the constraint on game_id in the captimes
table is enabled, sqla throws an integrity error. For this reason
the constraint is disabled (commented out in xonstatdb) even though
it should be there. More investigation is needed.

11 years agoAdd a setting to turn off req verification easily.
Ant Zucaro [Mon, 29 Oct 2012 15:48:10 +0000 (11:48 -0400)]
Add a setting to turn off req verification easily.

11 years agoHandle nonexistent elo deltas gracefully.
Ant Zucaro [Sun, 7 Oct 2012 12:28:46 +0000 (08:28 -0400)]
Handle nonexistent elo deltas gracefully.

11 years agoMake the "recent games" table expand with the "more" link.
Ant Zucaro [Sun, 7 Oct 2012 02:37:09 +0000 (22:37 -0400)]
Make the "recent games" table expand with the "more" link.

Previously a big list of scoreboards would be shown if a person
clicked on the "more" link below the "recent games" table on the
player info page. Now a table that is exactly the same is shown,
but with pagination. This is in essence an attempt to keep the
same elements in the view; when a person clicks on a "more" link,
they expect to see more of the same items they were looking at.

The end benefit for players is that they can quickly page through
all of their games and see summary results as well as their elo
changes from one simple view.

11 years agoAdd elo deltas to the player info page.
Ant Zucaro [Sat, 6 Oct 2012 15:00:30 +0000 (11:00 -0400)]
Add elo deltas to the player info page.

The elo deltas will just show an up, down, or neutral icon for how
their elo has changed during the games in the "recent games" table
at the bottom of the page. Hovering over these icons will show the
actual delta value in the event it went up or down (rather than
stayed the same).

11 years agoAdd "ft" icon for freezetag.
Ant Zucaro [Sat, 29 Sep 2012 13:42:14 +0000 (09:42 -0400)]
Add "ft" icon for freezetag.

11 years agoCheck nick uniqueness before storing.
Ant Zucaro [Sat, 29 Sep 2012 13:34:25 +0000 (09:34 -0400)]
Check nick uniqueness before storing.

11 years agoUse the gametype icons in the tabs!
Ant Zucaro [Sat, 29 Sep 2012 13:32:24 +0000 (09:32 -0400)]
Use the gametype icons in the tabs!

11 years agoAdd comment to the get_ranks function.
Ant Zucaro [Sun, 23 Dec 2012 13:49:34 +0000 (08:49 -0500)]
Add comment to the get_ranks function.

11 years agoRefactor the "top <blah>" tables on the front page, cache them.
Ant Zucaro [Sat, 22 Dec 2012 21:57:46 +0000 (16:57 -0500)]
Refactor the "top <blah>" tables on the front page, cache them.

The main_index view was getting a little long, so I factored out
the "top <blah>" data queries into separate functions. I cached
those functions under an hourly term while I was at it.

11 years agoSimplify the rank table calculations. Woohoo, negative LOC!
Ant Zucaro [Sat, 22 Dec 2012 20:59:17 +0000 (15:59 -0500)]
Simplify the rank table calculations. Woohoo, negative LOC!

Before the main view was running three separate, similar queries
to grab the rank data for the three game types shown on the page.
This was factored out into a separate function that can be called
and cached (currently hourly_term). Also if no ranks are available,
don't show tables filled with '-' characters, but rather an
informative message instead.

11 years agoFix the player JSON view with a _asdict() method to RecentGame-s.
Ant Zucaro [Fri, 21 Dec 2012 22:38:53 +0000 (17:38 -0500)]
Fix the player JSON view with a _asdict() method to RecentGame-s.

11 years agoAdd a new summary statistics byline below the main logo.
Ant Zucaro [Sun, 16 Dec 2012 00:14:59 +0000 (19:14 -0500)]
Add a new summary statistics byline below the main logo.

Summary statistics shown and refreshed hourly via cache
invalidation (Beaker):

- total games
- total dm, duel, and ctf games
- total players
- total servers

If for some reason the summary statistics can't be retrieved, the
old one is shown instead.

11 years agoAdd object relational mappings for the summary stats table.
Ant Zucaro [Sat, 15 Dec 2012 15:21:18 +0000 (10:21 -0500)]
Add object relational mappings for the summary stats table.

11 years agoIntegrate the new helpers everywhere.
Ant Zucaro [Fri, 14 Dec 2012 02:56:40 +0000 (21:56 -0500)]
Integrate the new helpers everywhere.

11 years agoUse start_dt instead of create_dt.
Ant Zucaro [Fri, 14 Dec 2012 02:55:23 +0000 (21:55 -0500)]
Use start_dt instead of create_dt.

11 years agoAdd a JSON Elo view to support autobalance.
Ant Zucaro [Tue, 11 Dec 2012 22:28:02 +0000 (17:28 -0500)]
Add a JSON Elo view to support autobalance.

The view at /elo/<hashkey> will send just Elo info about a player.
This is to facilitate a possible autobalance feature where the
Xonotic server will request Elo values for all of the
players entering the game, then use it (among other things) to
figure out who needs to be switched to make the teams right.

11 years agoAdd a hashkey view similar to the player_info JSON one.
Ant Zucaro [Tue, 4 Dec 2012 02:55:22 +0000 (21:55 -0500)]
Add a hashkey view similar to the player_info JSON one.

This view is driven by hashkey (not player_id) so the Xonotic
server can query for info using something it knows. The response
value is a JSON object containing the things in the player info
page minus the recent weapons and recent games stuff.

The URL pattern is /hashkey/<hashkey value>.

All this is pretty alpha and is subject to change once we truly
determine our needs  Think of this as a proof of concept for
communicating between the game server and the webapp.

11 years agoExplicitly set an update_dt when elos are processed.
Ant Zucaro [Sun, 2 Dec 2012 13:09:18 +0000 (08:09 -0500)]
Explicitly set an update_dt when elos are processed.

11 years agoIf there are no recent games, do not show the section.
Ant Zucaro [Fri, 30 Nov 2012 00:45:04 +0000 (19:45 -0500)]
If there are no recent games, do not show the section.

11 years agoMake recent games more bullet-resistant :)
Ant Zucaro [Sun, 25 Nov 2012 15:37:01 +0000 (10:37 -0500)]
Make recent games more bullet-resistant :)

11 years agoDon't pre-fill the "recent games" section with hyphens.
Ant Zucaro [Sun, 25 Nov 2012 15:30:05 +0000 (10:30 -0500)]
Don't pre-fill the "recent games" section with hyphens.

Just show what is there to show rather than fill up the empty space
with...more empty space!

11 years agoRecent -> Most Recent for maps too.
Ant Zucaro [Sun, 25 Nov 2012 15:17:22 +0000 (10:17 -0500)]
Recent -> Most Recent for maps too.

11 years agoSmall copy change for the server info page.
Ant Zucaro [Sun, 25 Nov 2012 15:15:48 +0000 (10:15 -0500)]
Small copy change for the server info page.

"Recent" isn't exactly recent for some servers. I'll label it
"Most Recent" instead. That makes more sense when servers have
not had any games in a long time.

11 years agoSprite-ify the map and server info pages too.
Ant Zucaro [Sun, 25 Nov 2012 15:13:13 +0000 (10:13 -0500)]
Sprite-ify the map and server info pages too.

11 years agoSprite-ify a few templates.
Ant Zucaro [Sun, 25 Nov 2012 01:26:37 +0000 (20:26 -0500)]
Sprite-ify a few templates.

11 years agoAdd css sprites for weapons and game types.
Ant Zucaro [Sun, 25 Nov 2012 01:25:41 +0000 (20:25 -0500)]
Add css sprites for weapons and game types.

11 years agoUse the new helpers for the server_info page as well.
Ant Zucaro [Mon, 19 Nov 2012 02:48:31 +0000 (21:48 -0500)]
Use the new helpers for the server_info page as well.

Another performance boost on my machine! The page loads in
half the time that it did before. Aw yeah.

11 years agoUse the new helpers on the map info page.
Ant Zucaro [Mon, 19 Nov 2012 02:29:54 +0000 (21:29 -0500)]
Use the new helpers on the map info page.

Big performance boost! Was 1.5s (on my machine) and now <1s.

11 years agoLooks better this way, and performs the same.
Ant Zucaro [Mon, 19 Nov 2012 02:08:00 +0000 (21:08 -0500)]
Looks better this way, and performs the same.

11 years agoMake the "recent games" section more modular.
Ant Zucaro [Mon, 19 Nov 2012 00:27:14 +0000 (19:27 -0500)]
Make the "recent games" section more modular.

The main page was constructing all of the recent games queries
manually before. Now I've moved the query and the associated
class (which would have been a namedtuple if not for the various
transformations needed) into a new "helpers" view. This view is
intended to house query functions and the corresponding classes
for them, so no more grabbing from a query, then looping around
and creating namedtuples to get stuff like nick_html_colors. Now
one can just pass the row returned by the query to a class, which
will "know" how to construct stuff like that. Win!

11 years agoAdd the game's duration to the game info page, if it exists.
Ant Zucaro [Thu, 15 Nov 2012 01:49:30 +0000 (20:49 -0500)]
Add the game's duration to the game info page, if it exists.

11 years agoProvide an option to show elo deltas on the game info page.
Ant Zucaro [Wed, 14 Nov 2012 04:02:56 +0000 (23:02 -0500)]
Provide an option to show elo deltas on the game info page.

I was tired of looking at the actual elo deltas by bouncing
between the player_info and game_info pages for several
players just to see their collective elo delta values. This
provides a query parameter "show_elo" to the game info page
to show the extra elo delta column.

As a bonus, the up/down/neutral arrows on the player_info
page will take you to a scoreboard page where those values
are shown.

11 years agoProper fix for big alivetimes.
Ant Zucaro [Tue, 13 Nov 2012 00:59:37 +0000 (19:59 -0500)]
Proper fix for big alivetimes.

Moral of the story: I should not code late at night.

11 years agoHandle Elos properly when players have big alivetimes.
Ant Zucaro [Fri, 9 Nov 2012 04:42:29 +0000 (23:42 -0500)]
Handle Elos properly when players have big alivetimes.

Due to a bug, the alivetimes for players also include time
spent in warmup. Since elo uses score per second, the
skewed alivetime made players who actually lost look like
they won under certain circumstances (like when their
opponent spent a very long time in warmup).

This change puts a ceiling on the alivetime used by Elo
by limiting the alivetime to be at most the game's
duration.

11 years agoParse and store the game's duration.
Ant Zucaro [Fri, 9 Nov 2012 04:18:55 +0000 (23:18 -0500)]
Parse and store the game's duration.

The duration has been sent for a while as the 'D' line, but
it hasn't really been needed until now; it was just a nice thing
to have. Now Elo calculations are messing up because the warmup
time is being summed into player alivetimes. This duration field
can assist in creating a workaround. Having it, Elo calculations
can know the true maximum game time, so anything higher can be
brought down to the "floor" of the real duration of the match.

11 years agoMerge pull request #15 from baneofblabs/master
antzucaro [Sun, 4 Nov 2012 13:27:10 +0000 (05:27 -0800)]
Merge pull request #15 from baneofblabs/master

Prevent double negative in Elo delta message. Thanks harry_ftw!

11 years agoLink to the game for each cap record.
Ant Zucaro [Sun, 4 Nov 2012 13:26:16 +0000 (08:26 -0500)]
Link to the game for each cap record.

11 years agoAdd overall best flag capture times to the map info page.
Ant Zucaro [Sun, 4 Nov 2012 13:17:22 +0000 (08:17 -0500)]
Add overall best flag capture times to the map info page.

Only the top ten fastest capture times are shown. Players in this
list must be tracked. No bots are tracked, obviously :D.

11 years agoShow the best flag capture times on the game info page.
Ant Zucaro [Fri, 2 Nov 2012 01:59:21 +0000 (21:59 -0400)]
Show the best flag capture times on the game info page.

The best flag capture time for each player is shown in the game
info page now. This only happens for CTF. The format shown is
seconds.milliseconds, with up to two decimal places shown.

11 years agoAdd ping to the scoreboard.
Ant Zucaro [Fri, 2 Nov 2012 01:24:36 +0000 (21:24 -0400)]
Add ping to the scoreboard.

Ping is being sent now in the POST requests. Show it if it
exists in the player_game_stat row.

11 years agoUncomment elo processing code.
Ant Zucaro [Mon, 29 Oct 2012 20:56:48 +0000 (16:56 -0400)]
Uncomment elo processing code.

11 years agoAssault icons.
Ant Zucaro [Mon, 29 Oct 2012 16:14:33 +0000 (12:14 -0400)]
Assault icons.

11 years agoAdd storage of captimes and fastest caps.
Ant Zucaro [Mon, 29 Oct 2012 15:49:03 +0000 (11:49 -0400)]
Add storage of captimes and fastest caps.

Fastest caps are recorded on a per-player basis in the game_stats
table, and the player's overall fastest cap on a given map is
stored in a new table, player_map_captimes.

One weird thing is if the constraint on game_id in the captimes
table is enabled, sqla throws an integrity error. For this reason
the constraint is disabled (commented out in xonstatdb) even though
it should be there. More investigation is needed.

11 years agoAdd a setting to turn off req verification easily.
Ant Zucaro [Mon, 29 Oct 2012 15:48:10 +0000 (11:48 -0400)]
Add a setting to turn off req verification easily.

11 years agoFixed double negative, maybe the most helpful ever.
Malcolm Gill [Mon, 15 Oct 2012 12:27:34 +0000 (23:27 +1100)]
Fixed double negative, maybe the most helpful ever.

11 years agoHandle nonexistent elo deltas gracefully.
Ant Zucaro [Sun, 7 Oct 2012 12:28:46 +0000 (08:28 -0400)]
Handle nonexistent elo deltas gracefully.

11 years agoMake the "recent games" table expand with the "more" link.
Ant Zucaro [Sun, 7 Oct 2012 02:37:09 +0000 (22:37 -0400)]
Make the "recent games" table expand with the "more" link.

Previously a big list of scoreboards would be shown if a person
clicked on the "more" link below the "recent games" table on the
player info page. Now a table that is exactly the same is shown,
but with pagination. This is in essence an attempt to keep the
same elements in the view; when a person clicks on a "more" link,
they expect to see more of the same items they were looking at.

The end benefit for players is that they can quickly page through
all of their games and see summary results as well as their elo
changes from one simple view.

11 years agoAdd elo deltas to the player info page.
Ant Zucaro [Sat, 6 Oct 2012 15:00:30 +0000 (11:00 -0400)]
Add elo deltas to the player info page.

The elo deltas will just show an up, down, or neutral icon for how
their elo has changed during the games in the "recent games" table
at the bottom of the page. Hovering over these icons will show the
actual delta value in the event it went up or down (rather than
stayed the same).

11 years agoMoved over to new Xonstat API (using functions xonstat.views.player directly);
Jan Behrens [Mon, 1 Oct 2012 19:48:47 +0000 (21:48 +0200)]
Moved over to new Xonstat API (using functions xonstat.views.player directly);
enabled UTF-8 encoded playernicks for testing (FIXME: it is known that some nicks cause problems with cairo currently)

11 years agoAdded artwork by Archer, in addition to "classic" and "minimal" skins
Jan Behrens [Sun, 30 Sep 2012 22:14:05 +0000 (00:14 +0200)]
Added artwork by Archer, in addition to "classic" and "minimal" skins

11 years agoImproved (fixed?) the spacing between differently colored character groups in the...
Jan Behrens [Sat, 29 Sep 2012 16:15:59 +0000 (18:15 +0200)]
Improved (fixed?) the spacing between differently colored character groups in the playernick

11 years agoAdd "ft" icon for freezetag.
Ant Zucaro [Sat, 29 Sep 2012 13:42:14 +0000 (09:42 -0400)]
Add "ft" icon for freezetag.

11 years agoCheck nick uniqueness before storing.
Ant Zucaro [Sat, 29 Sep 2012 13:34:25 +0000 (09:34 -0400)]
Check nick uniqueness before storing.

11 years agoUse the gametype icons in the tabs!
Ant Zucaro [Sat, 29 Sep 2012 13:32:24 +0000 (09:32 -0400)]
Use the gametype icons in the tabs!

11 years agoMerge branch 'pickupbot' into approved
Jan D. Behrens [Fri, 28 Sep 2012 20:20:17 +0000 (22:20 +0200)]
Merge branch 'pickupbot' into approved

11 years agoMerge branch 'master' into pickupbot
Jan D. Behrens [Fri, 28 Sep 2012 20:20:00 +0000 (22:20 +0200)]
Merge branch 'master' into pickupbot

Conflicts:
xonstat/views/player.py

11 years agoMake percentile a field and show it in the player_info view.
Ant Zucaro [Fri, 28 Sep 2012 02:51:26 +0000 (22:51 -0400)]
Make percentile a field and show it in the player_info view.

11 years agoMake the value a real percentile, if I am going to call it that :)
Ant Zucaro [Fri, 28 Sep 2012 02:41:12 +0000 (22:41 -0400)]
Make the value a real percentile, if I am going to call it that :)

11 years agoDetermine overall best rank by percentile, not the rank value.
Ant Zucaro [Fri, 28 Sep 2012 02:38:42 +0000 (22:38 -0400)]
Determine overall best rank by percentile, not the rank value.

11 years agoAdd total playing time.
Ant Zucaro [Fri, 28 Sep 2012 02:19:52 +0000 (22:19 -0400)]
Add total playing time.

I forgot to add the total playing time from the get_overall_stats
call. This includes it and moves win percentage over to the right
pane to space things out more evenly.

11 years agoLocalize the last seen time for all game types.
Ant Zucaro [Thu, 27 Sep 2012 02:16:40 +0000 (22:16 -0400)]
Localize the last seen time for all game types.

11 years agoDon't show ratios if they are undefined.
Ant Zucaro [Wed, 26 Sep 2012 12:52:07 +0000 (08:52 -0400)]
Don't show ratios if they are undefined.

11 years agoAdd bootstrap-tab.js.
Ant Zucaro [Wed, 26 Sep 2012 02:59:09 +0000 (22:59 -0400)]
Add bootstrap-tab.js.

11 years agoAcceptable version of the games breakdown tab.
Ant Zucaro [Wed, 26 Sep 2012 02:47:18 +0000 (22:47 -0400)]
Acceptable version of the games breakdown tab.

This version does not have localized time. More code changes are
needed to add it, and I just ran out of time. It is simple enough
to add and will come soon. This commit basically styles the tabs
and also adds a cap_ratio when you click on ctf.

11 years agoAdding a margin left centers #xonborder.
Ant Zucaro [Tue, 25 Sep 2012 02:51:05 +0000 (22:51 -0400)]
Adding a margin left centers #xonborder.

11 years agoFixed two minor issues (debug output, recent_games field)
Jan D. Behrens [Mon, 24 Sep 2012 18:49:00 +0000 (20:49 +0200)]
Fixed two minor issues (debug output, recent_games field)

11 years agoApplied feedback from Antibody, improved the *->json functionality
Jan D. Behrens [Mon, 24 Sep 2012 18:44:21 +0000 (20:44 +0200)]
Applied feedback from Antibody, improved the *->json functionality