]>
git.rm.cloudns.org Git - xonotic/xonstat.git/log
Ant Zucaro [Thu, 8 Dec 2011 20:56:55 +0000 (15:56 -0500)]
Add a "leaderboard"-like view to the map info page.
Ant Zucaro [Thu, 8 Dec 2011 17:42:23 +0000 (12:42 -0500)]
Better navigation links.
Ant Zucaro [Thu, 8 Dec 2011 02:03:37 +0000 (21:03 -0500)]
Add navlinks to the other index pages.
Ant Zucaro [Thu, 8 Dec 2011 01:50:00 +0000 (20:50 -0500)]
Make a generic navlinks def in mako.
Ant Zucaro [Wed, 7 Dec 2011 17:52:32 +0000 (12:52 -0500)]
Add pagination and fuzzy date to the player_index.
Pagination should be <first page> <previous page> <curr+1>-<curr+4>
<next page> <last page> (page <curr> of <last_page>). The pretty date is
using the same one from util.py, so we get something like "a few days
ago".
Ant Zucaro [Wed, 7 Dec 2011 12:04:33 +0000 (07:04 -0500)]
Return proper HTTP codes.
The Pyramid documentation isn't very clear when it comes to HTTP
exceptions. They mention that one can either be raised or returned, but
in practice I'm only seeing error code 500 when I raise them. By adding
a textual description to the exception and returning them in the
exception handler (rather than just raise them again), the code seems to
work fine again.
Ant Zucaro [Tue, 6 Dec 2011 17:55:45 +0000 (12:55 -0500)]
Revert the match_id fix of the previous commit.
Ant Zucaro [Tue, 6 Dec 2011 17:30:06 +0000 (12:30 -0500)]
Hotfix for malformed match_ids: remove leading '0.'.
Match ids are coming in as 0.1234.5678, which doesn't resolve to a
number. This commit identifies such malformed numbers and removes their
leading '0.'s. This is an ugly fix, but hopefully someone can address
the source of that number for the permanent fix.
Ant Zucaro [Mon, 5 Dec 2011 17:10:18 +0000 (12:10 -0500)]
Save the match_id as game_meta, and use it to keep games unique.
POST requests have a "match ID" parameter being sent as an "I" record
within the header. This should be stored in the games table accordingly.
Furthermore, a unique constraint should be placed on the games table
such that all combinations of server_id and match_id are unique in that
table. This prevents duplicate games from being entered by either manual
means or via xonstat-queue.
This change stores the 'I' record in the games table upon submission and
will raise an HTTP 200 exception class if a duplicate entry is found. It
is set to 200 because this is an OK submission, but a duplicate and thus
should not be resubmitted.
Ant Zucaro [Thu, 1 Dec 2011 16:55:28 +0000 (11:55 -0500)]
Store IP address and revision information on servers.
Ant Zucaro [Tue, 22 Nov 2011 20:32:21 +0000 (15:32 -0500)]
Fix hashkey creation.
Ant Zucaro [Mon, 21 Nov 2011 20:02:02 +0000 (15:02 -0500)]
Dave does have a point.
Ant Zucaro [Mon, 21 Nov 2011 18:15:21 +0000 (13:15 -0500)]
Fix accuracy of comment to clarify intent.
Ant Zucaro [Mon, 21 Nov 2011 17:41:49 +0000 (12:41 -0500)]
Decode the funky chars coming from Xonotic.
antzucaro [Sun, 20 Nov 2011 19:37:38 +0000 (14:37 -0500)]
Sort by the weapon's description in the accuracy table.
antzucaro [Sun, 20 Nov 2011 19:34:04 +0000 (14:34 -0500)]
Filter the output of nick_html_colors so it is not escaped.
antzucaro [Sun, 20 Nov 2011 19:25:48 +0000 (14:25 -0500)]
Pass ALL weapon stats to the accuracy def, not just five.
antzucaro [Sun, 20 Nov 2011 00:40:37 +0000 (16:40 -0800)]
Merge pull request #2 from dmazary/master
Add function to utils.py to decode Quake's qfont into ascii
Ant Zucaro [Fri, 18 Nov 2011 20:53:00 +0000 (15:53 -0500)]
Fix indentation issues. Whoops.
Ant Zucaro [Thu, 17 Nov 2011 15:51:59 +0000 (10:51 -0500)]
Add stripped nick to the player record when adding or changing nicks.
Ant Zucaro [Wed, 16 Nov 2011 18:53:28 +0000 (13:53 -0500)]
Use UTC now() instead of regular now(). We are global, baby!
Ant Zucaro [Wed, 16 Nov 2011 17:43:35 +0000 (12:43 -0500)]
Reverse sort the server_index view.
Ant Zucaro [Wed, 16 Nov 2011 17:35:02 +0000 (12:35 -0500)]
Reverse sort the map_index page. This is done via the map_id at this point because no create_dt exists.
Ant Zucaro [Wed, 16 Nov 2011 17:25:20 +0000 (12:25 -0500)]
Reverse sort the player index page.
Ant Zucaro [Wed, 16 Nov 2011 15:38:25 +0000 (10:38 -0500)]
Do not sort the data in the tables until a user clicks on the header.
Ant Zucaro [Mon, 14 Nov 2011 20:33:39 +0000 (15:33 -0500)]
Get rid of "git build" from the header image. It is a carryover from the original images in the git repo.
Ant Zucaro [Mon, 14 Nov 2011 17:33:24 +0000 (12:33 -0500)]
Rename rifle...again. Sigh.
David Mazary [Fri, 11 Nov 2011 23:20:29 +0000 (18:20 -0500)]
Updated qfont_decode to use Xonotic's qfont_table.
antzucaro [Fri, 11 Nov 2011 21:49:04 +0000 (16:49 -0500)]
Fix partitioned table error. Change to new registry view.
David Mazary [Fri, 11 Nov 2011 16:37:15 +0000 (11:37 -0500)]
Decoding of quake's qfont to ascii.
Ant Zucaro [Fri, 11 Nov 2011 15:05:27 +0000 (10:05 -0500)]
Fix flush() error with partitioned tables by explicitly setting the PK value.
Ant Zucaro [Thu, 3 Nov 2011 17:09:16 +0000 (13:09 -0400)]
Add top scorers to the server_info view and template.
Ant Zucaro [Thu, 3 Nov 2011 16:37:13 +0000 (12:37 -0400)]
Add a server leaderboard of sorts.
Ant Zucaro [Thu, 3 Nov 2011 11:04:33 +0000 (07:04 -0400)]
Change titles, rank by alivetime for active players.
Ant Zucaro [Thu, 3 Nov 2011 01:57:03 +0000 (21:57 -0400)]
Merge branch 'master' of github.com:antzucaro/XonStat
Ant Zucaro [Thu, 3 Nov 2011 01:56:19 +0000 (21:56 -0400)]
Fix repr with bad attribute.
Ant Zucaro [Thu, 3 Nov 2011 01:55:57 +0000 (21:55 -0400)]
Add winners to the main page. highlight the team color of the winning team on hover.
Ant Zucaro [Tue, 1 Nov 2011 17:09:50 +0000 (13:09 -0400)]
Prevent people from viewing the bot and untracked player records.
Ant Zucaro [Tue, 1 Nov 2011 16:57:03 +0000 (12:57 -0400)]
Return different HTTP status codes based on what happened.
Ant Zucaro [Mon, 31 Oct 2011 13:31:05 +0000 (09:31 -0400)]
Do not nick track player #2!
Ant Zucaro [Mon, 31 Oct 2011 01:03:48 +0000 (21:03 -0400)]
If multiple servers are found with the same name, use hashkey to resolve.
Ant Zucaro [Mon, 31 Oct 2011 00:43:29 +0000 (20:43 -0400)]
Fix issue where servers on the same host resolve to the only one server (the one who registered first under that hash key).
Ant Zucaro [Fri, 28 Oct 2011 00:39:59 +0000 (20:39 -0400)]
If we are going to roll back upon exception, we need to open a DBSession at the start.
Ant Zucaro [Fri, 28 Oct 2011 00:27:42 +0000 (20:27 -0400)]
Use hashkey lookups for servers just like we do with players.
Ant Zucaro [Thu, 27 Oct 2011 15:50:04 +0000 (11:50 -0400)]
Add a leaderboard lifetime. Default to 30. New config value in ini file for this.
Ant Zucaro [Thu, 27 Oct 2011 12:55:57 +0000 (08:55 -0400)]
Remove curl url and pk3 name from map_info template. We do not have this information in the POST request anyway.
Ant Zucaro [Tue, 25 Oct 2011 10:46:49 +0000 (06:46 -0400)]
Remove game mutator and map gametype support. Add server_hashkey support.
Ant Zucaro [Mon, 24 Oct 2011 16:05:24 +0000 (12:05 -0400)]
Add a "header" of sorts to the post body for debugging purposes
Ant Zucaro [Mon, 24 Oct 2011 16:01:52 +0000 (12:01 -0400)]
Limit gametype support. CA, LMS, and CTS are not usable for all servers right now.
Ant Zucaro [Fri, 21 Oct 2011 02:54:19 +0000 (22:54 -0400)]
Add d0_blind_id signing to the POST requests.
Ant Zucaro [Thu, 20 Oct 2011 11:11:04 +0000 (07:11 -0400)]
Configure required minimum players using the ini file.
Ant Zucaro [Tue, 18 Oct 2011 22:28:54 +0000 (18:28 -0400)]
Add a minimum required players function
Ant Zucaro [Tue, 18 Oct 2011 22:19:32 +0000 (18:19 -0400)]
Add has_required_metadata function to check for proper header records.
Ant Zucaro [Tue, 18 Oct 2011 22:13:13 +0000 (18:13 -0400)]
Add docstring to is_real_player
Ant Zucaro [Tue, 18 Oct 2011 22:10:15 +0000 (18:10 -0400)]
Add is_real_player function.
Ant Zucaro [Tue, 18 Oct 2011 13:56:48 +0000 (09:56 -0400)]
Clean up debug messages.
Ant Zucaro [Tue, 18 Oct 2011 13:44:59 +0000 (09:44 -0400)]
Address unicode issues with repr and finding servers. Make nick and server fields UTF-8 encoded from the start.
Enrique Schiel [Mon, 17 Oct 2011 21:02:36 +0000 (18:02 -0300)]
Merge branch 'master' of https://github.com/antzucaro/XonStat
Enrique Schiel [Mon, 17 Oct 2011 20:59:34 +0000 (17:59 -0300)]
Fixed sorting of leaderboard table (Bug #738) with a datatables plugin.
Also, default sorting in recent games was changed to be descending
(Newer games at the top)
Ant Zucaro [Mon, 17 Oct 2011 18:09:18 +0000 (14:09 -0400)]
Truncate the nick at 128 characters.
Enrique Schiel [Mon, 17 Oct 2011 14:49:12 +0000 (11:49 -0300)]
Gametype icons added
Ant Zucaro [Mon, 17 Oct 2011 10:38:03 +0000 (06:38 -0400)]
Show won/lost as well as rank in the recent games table in the player_info template.
Ant Zucaro [Sun, 16 Oct 2011 23:28:20 +0000 (19:28 -0400)]
Whoops - do not need that debug statement anymore!
Ant Zucaro [Sun, 16 Oct 2011 23:18:47 +0000 (19:18 -0400)]
Fix the top maps count.
antzucaro [Tue, 11 Oct 2011 22:18:09 +0000 (18:18 -0400)]
Set the winner of the game according to which team the #1 ranked player belongs.
antzucaro [Tue, 11 Oct 2011 21:41:53 +0000 (17:41 -0400)]
Do not show a more link if there are no more games to show!
antzucaro [Mon, 10 Oct 2011 20:44:35 +0000 (16:44 -0400)]
Add player nick history tracking.
antzucaro [Mon, 10 Oct 2011 19:15:59 +0000 (15:15 -0400)]
Add nick changing support.
Ant Zucaro [Fri, 7 Oct 2011 17:12:05 +0000 (13:12 -0400)]
Fix incorrect color on blue team scoreboard.
Ant Zucaro [Tue, 4 Oct 2011 14:06:47 +0000 (10:06 -0400)]
Fixes on when to create players.
Ant Zucaro [Tue, 4 Oct 2011 13:33:21 +0000 (09:33 -0400)]
Return "Anonymous Player" for tracked players who hide their name
Ant Zucaro [Mon, 3 Oct 2011 16:01:46 +0000 (12:01 -0400)]
Remove joins from player stat creation requirements.
Ant Zucaro [Wed, 20 Jul 2011 12:59:12 +0000 (08:59 -0400)]
Make sure there are at least two real players in the game before storing stats. Also make the number of real players needed easier to configure. Drop "joins" as a required attribute before allowing stats to be stored due to a bug.
Ant Zucaro [Thu, 30 Jun 2011 03:10:33 +0000 (23:10 -0400)]
Merge branch 'master' of https://github.com/z/XonStat
Tyler Mulligan [Thu, 30 Jun 2011 03:07:27 +0000 (23:07 -0400)]
cache had me twisted, fixed some css rules
Tyler Mulligan [Thu, 30 Jun 2011 03:00:20 +0000 (23:00 -0400)]
classified the headers of all scoreboards and tweaked the css a tad for better display
Tyler Mulligan [Thu, 30 Jun 2011 02:45:48 +0000 (22:45 -0400)]
cleaned up some styles, started laying out the recent games page with search. Gave checkbox examples but they need to be resized and spritified.
antzucaro [Thu, 30 Jun 2011 02:34:11 +0000 (19:34 -0700)]
Merge pull request #1 from z/master
Started integrating the Xonotic theme
Tyler Mulligan [Wed, 29 Jun 2011 05:11:12 +0000 (01:11 -0400)]
The media I forgot to include
Tyler Mulligan [Wed, 29 Jun 2011 05:00:39 +0000 (01:00 -0400)]
Applied Xonotic HTML/CSS/JS theme and worked existing HTML/CSS
Replaced jquery, upgraded data tables, reworked a lot of the
tables to be HTML5 and use classes over inline settings.
Wrote out some basic javascript inits
Ant Zucaro [Wed, 29 Jun 2011 01:27:20 +0000 (21:27 -0400)]
Avoid keyerror when rendering the scoreboard.
Ant Zucaro [Wed, 29 Jun 2011 01:26:23 +0000 (21:26 -0400)]
Add dependencies
antzucaro [Tue, 28 Jun 2011 01:53:11 +0000 (21:53 -0400)]
Make links in nav use route_url instead of hard-coding them.
antzucaro [Tue, 28 Jun 2011 01:49:06 +0000 (21:49 -0400)]
Fix nick escaping problem by appending |n to disable filtering.
antzucaro [Tue, 28 Jun 2011 01:44:02 +0000 (21:44 -0400)]
Modularize the scoreboard with defs - one for header, the other for the bulk of stat rows.
antzucaro [Mon, 27 Jun 2011 10:54:10 +0000 (06:54 -0400)]
Fix view accuracy link
Ant Zucaro [Fri, 24 Jun 2011 20:36:29 +0000 (16:36 -0400)]
Add server index and template. Fix links on player index and template.
Ant Zucaro [Fri, 24 Jun 2011 20:20:23 +0000 (16:20 -0400)]
Create a map index view and corresponding template.
Ant Zucaro [Fri, 24 Jun 2011 20:04:51 +0000 (16:04 -0400)]
Add a player index. Change the base template to have a players link.
Ant Zucaro [Fri, 24 Jun 2011 15:40:19 +0000 (11:40 -0400)]
Small fix for ordering in game_index
Ant Zucaro [Fri, 24 Jun 2011 15:36:33 +0000 (11:36 -0400)]
Add more info to the player_info view and template
Ant Zucaro [Fri, 24 Jun 2011 15:35:43 +0000 (11:35 -0400)]
Add strip colors utility function.
Ant Zucaro [Tue, 21 Jun 2011 16:13:04 +0000 (12:13 -0400)]
Clean up main page, remove centering and generally remove style where appropriate.
Ant Zucaro [Tue, 21 Jun 2011 10:35:28 +0000 (06:35 -0400)]
Add closing table tag.
Ant Zucaro [Sun, 19 Jun 2011 18:20:03 +0000 (14:20 -0400)]
Remove styling for a lot of things. Add leaderboard and recent-games elements
Ant Zucaro [Thu, 16 Jun 2011 10:53:15 +0000 (06:53 -0400)]
Add top_maps to main view and template.
Ant Zucaro [Wed, 15 Jun 2011 22:13:42 +0000 (18:13 -0400)]
Add top servers data.
Ant Zucaro [Mon, 6 Jun 2011 18:08:27 +0000 (14:08 -0400)]
Start work on main page. Only top players passed right now.
Ant Zucaro [Thu, 2 Jun 2011 18:38:52 +0000 (14:38 -0400)]
Update table style.
Ant Zucaro [Thu, 2 Jun 2011 05:01:59 +0000 (01:01 -0400)]
Show recent game scoreboards in an iframe viewport from the player_info view/template.