]>
git.rm.cloudns.org Git - xonotic/xonstat.git/log
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.
Ant Zucaro [Wed, 1 Jun 2011 14:57:45 +0000 (10:57 -0400)]
Add fuzzy dates.
Ant Zucaro [Wed, 1 Jun 2011 13:43:22 +0000 (09:43 -0400)]
Add overall game stats to the player info page. Change template to suit.
Ant Zucaro [Fri, 27 May 2011 14:08:15 +0000 (10:08 -0400)]
Various small improvements to style and headings
Ant Zucaro [Fri, 27 May 2011 13:50:37 +0000 (09:50 -0400)]
Remove more references to deleted view -.-
Ant Zucaro [Fri, 27 May 2011 13:47:40 +0000 (09:47 -0400)]
Remove unneeded view and corresponding template.
Ant Zucaro [Fri, 27 May 2011 13:46:48 +0000 (09:46 -0400)]
Use anchor links to the game info permapage to show player accuracy instead of dedicating a whole view and template to the task.
Ant Zucaro [Thu, 26 May 2011 19:27:09 +0000 (15:27 -0400)]
Show accuracies on the game info page
Ant Zucaro [Thu, 26 May 2011 17:05:39 +0000 (13:05 -0400)]
Change weapon stats view to build the weapon_stats array in a more pythonic way.
Ant Zucaro [Thu, 26 May 2011 17:05:05 +0000 (13:05 -0400)]
Add the actual accuracy template (whoops).
Ant Zucaro [Thu, 26 May 2011 16:36:43 +0000 (12:36 -0400)]
Move the accuracy table rendering into a callable template, modify views and other templates to suit.
Ant Zucaro [Thu, 26 May 2011 14:10:08 +0000 (10:10 -0400)]
Spruce up the player info page a bit: add weapon images for accuracy for starters.
Ant Zucaro [Thu, 26 May 2011 13:47:18 +0000 (09:47 -0400)]
Change image name to match cd_weapon table name.
Ant Zucaro [Thu, 26 May 2011 13:39:02 +0000 (09:39 -0400)]
Start working on jQuery datatables (does not work right now).
Ant Zucaro [Thu, 26 May 2011 03:10:49 +0000 (23:10 -0400)]
Remove <ul>s, center tables, and tweak the team colors a bit.
Ant Zucaro [Wed, 25 May 2011 20:27:06 +0000 (16:27 -0400)]
Stylistic updates.
Ant Zucaro [Wed, 25 May 2011 16:39:42 +0000 (12:39 -0400)]
Structure the static directory. Add Xolonium font. Use that font for nicks.
Ant Zucaro [Wed, 25 May 2011 14:44:32 +0000 (10:44 -0400)]
Verified new structure works. Remove old views.py file.
Ant Zucaro [Wed, 25 May 2011 14:43:02 +0000 (10:43 -0400)]
Major reorganization. Views made into a module with all of the sub-portions categorized.
Ant Zucaro [Wed, 25 May 2011 14:06:43 +0000 (10:06 -0400)]
Remove @view_config lines (not needed) and add docstrings.
Ant Zucaro [Wed, 25 May 2011 13:05:07 +0000 (09:05 -0400)]
Alphabetize imports in views.py. Remove view_config because it is not needed.
Ant Zucaro [Wed, 25 May 2011 02:43:47 +0000 (22:43 -0400)]
Remove redundant code for scoreboard display, add proper percentages to the accuracy page.
Ant Zucaro [Wed, 25 May 2011 02:29:32 +0000 (22:29 -0400)]
Add hit and damage %
Ant Zucaro [Wed, 25 May 2011 02:28:56 +0000 (22:28 -0400)]
Fix bad dereference - pgstats is not a hash in this version.
Ant Zucaro [Wed, 25 May 2011 02:24:22 +0000 (22:24 -0400)]
Start moving scoreboard rendering to its own def, since I do not want to duplicate this code everywhere.
Ant Zucaro [Tue, 24 May 2011 18:24:00 +0000 (14:24 -0400)]
Add a tabular accuracy view to the player info page.
Ant Zucaro [Tue, 24 May 2011 18:23:30 +0000 (14:23 -0400)]
Small fix to address block matching problems.
Ant Zucaro [Mon, 23 May 2011 19:41:06 +0000 (15:41 -0400)]
Add some comments to game_index.mako so I can see where to add new game types!
Ant Zucaro [Mon, 23 May 2011 17:39:39 +0000 (13:39 -0400)]
Add team color support
Ant Zucaro [Mon, 23 May 2011 17:05:13 +0000 (13:05 -0400)]
Show scoreboard on index page to avoid monotony. Only CTF supported right now.
Ant Zucaro [Sun, 22 May 2011 14:42:59 +0000 (10:42 -0400)]
Link to the player info page from the player weapon stat page
Ant Zucaro [Sun, 22 May 2011 14:20:04 +0000 (10:20 -0400)]
Add html_colors support to player model. Use it in player templates!
Ant Zucaro [Sun, 22 May 2011 14:16:33 +0000 (10:16 -0400)]
Add a default player game index route (goes to page 1 of results).
Ant Zucaro [Sun, 22 May 2011 14:10:17 +0000 (10:10 -0400)]
Standardize game presentation in templates. Add link to the player game index from the player info template.
Ant Zucaro [Sun, 22 May 2011 13:52:02 +0000 (09:52 -0400)]
Show an accuracy link when available on the game_info page. Add some details on the player_weapon_stats page (who owns the stats and in what game they were created).
Ant Zucaro [Sat, 21 May 2011 23:43:38 +0000 (19:43 -0400)]
Make players clickable if they have a player record. Add a view link for viewing weapon stats.
Ant Zucaro [Sat, 21 May 2011 20:37:10 +0000 (16:37 -0400)]
Use description value in cd_weapon when displaying weapon stats. This avoids weird sorting by things like "grenadelauncher" when the weapon is being displayed as "Mortar".
Ant Zucaro [Sat, 21 May 2011 20:35:59 +0000 (16:35 -0400)]
Add missing s to to PlayerWeaponStat class to allow printing.
Ant Zucaro [Sat, 21 May 2011 12:19:22 +0000 (08:19 -0400)]
Add basic display of player weapon stats.
Ant Zucaro [Sat, 21 May 2011 02:48:08 +0000 (22:48 -0400)]
Git rid of unnecessary debug lines that I forgot to remove before.
Ant Zucaro [Fri, 20 May 2011 02:00:23 +0000 (22:00 -0400)]
Break up the creation of stats into several subroutines. Address bug w/ creating player_events. Use pgstat id when creating pwstats instead of nick to ensure uniqueness.
Ant Zucaro [Thu, 19 May 2011 21:00:28 +0000 (17:00 -0400)]
Add humorous "not found" message for the player_info template.
Ant Zucaro [Thu, 19 May 2011 20:56:43 +0000 (16:56 -0400)]
Fix route url call (was calling generic game route, when instead we wanted games for that server only!
Ant Zucaro [Thu, 19 May 2011 20:56:09 +0000 (16:56 -0400)]
Make game_index the root view for now.
Ant Zucaro [Thu, 19 May 2011 20:15:34 +0000 (16:15 -0400)]
Add player_game_index view, route, and template. It shows the recent games (paged) for a given player_id!
Ant Zucaro [Thu, 19 May 2011 01:49:24 +0000 (21:49 -0400)]
Delete reference to old way of processing t records (once per team, not cuddled under each P record)
Ant Zucaro [Thu, 19 May 2011 01:47:19 +0000 (21:47 -0400)]
Register a t event under the P record instead of once per team.
Ant Zucaro [Thu, 19 May 2011 01:41:17 +0000 (21:41 -0400)]
Add server index view and change corresponding templates to reference it.
Ant Zucaro [Thu, 19 May 2011 01:07:15 +0000 (21:07 -0400)]
Get rid of old query in server_info view.
Ant Zucaro [Thu, 19 May 2011 01:05:43 +0000 (21:05 -0400)]
Simplify query (again) for server_info view and template. Avoid from_statement syntax.
Ant Zucaro [Thu, 19 May 2011 00:57:02 +0000 (20:57 -0400)]
Clean up some of the queries to avoid from_statement. Change game_index and player_info templates to handle objects instead.
Ant Zucaro [Thu, 19 May 2011 00:55:51 +0000 (20:55 -0400)]
Move page_url() to util.
Ant Zucaro [Wed, 18 May 2011 17:47:08 +0000 (13:47 -0400)]
Redo SQLA query for game_index (it works!). Change template to utilize paging parameters.
Ant Zucaro [Mon, 16 May 2011 18:34:19 +0000 (14:34 -0400)]
Start work on pagination for games: new view, route, and template.
Ant Zucaro [Mon, 16 May 2011 03:25:49 +0000 (23:25 -0400)]
Add player accuracy tracking (!!!). Bots do not get recorded. Who cares about their accuracy =)
Ant Zucaro [Sun, 15 May 2011 00:11:35 +0000 (20:11 -0400)]
Convert using the given epoch value (to UTC time)
Ant Zucaro [Sat, 14 May 2011 23:33:43 +0000 (19:33 -0400)]
Prevent all-bot games from taking up sequence space.
Ant Zucaro [Sat, 14 May 2011 23:02:49 +0000 (19:02 -0400)]
Reword some aspects of the player info template.
Ant Zucaro [Sat, 14 May 2011 23:02:31 +0000 (19:02 -0400)]
Add recent games to server info view and template.
Ant Zucaro [Tue, 10 May 2011 02:55:13 +0000 (22:55 -0400)]
Add more detail and linking to the views and corresponding templates for game and player info.