]> de.git.xonotic.org Git - xonotic/xonstat.git/log
xonotic/xonstat.git
12 years agoAdd docstring to is_real_player
Ant Zucaro [Tue, 18 Oct 2011 22:13:13 +0000 (18:13 -0400)]
Add docstring to is_real_player

12 years agoAdd is_real_player function.
Ant Zucaro [Tue, 18 Oct 2011 22:10:15 +0000 (18:10 -0400)]
Add is_real_player function.

12 years agoClean up debug messages.
Ant Zucaro [Tue, 18 Oct 2011 13:56:48 +0000 (09:56 -0400)]
Clean up debug messages.

12 years agoAddress unicode issues with repr and finding servers. Make nick and server fields...
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.

12 years agoMerge branch 'master' of https://github.com/antzucaro/XonStat
Enrique Schiel [Mon, 17 Oct 2011 21:02:36 +0000 (18:02 -0300)]
Merge branch 'master' of https://github.com/antzucaro/XonStat

12 years agoFixed sorting of leaderboard table (Bug #738) with a datatables plugin.
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)

12 years agoTruncate the nick at 128 characters.
Ant Zucaro [Mon, 17 Oct 2011 18:09:18 +0000 (14:09 -0400)]
Truncate the nick at 128 characters.

12 years agoGametype icons added
Enrique Schiel [Mon, 17 Oct 2011 14:49:12 +0000 (11:49 -0300)]
Gametype icons added

12 years agoShow won/lost as well as rank in the recent games table in the player_info template.
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.

12 years agoWhoops - do not need that debug statement anymore!
Ant Zucaro [Sun, 16 Oct 2011 23:28:20 +0000 (19:28 -0400)]
Whoops - do not need that debug statement anymore!

12 years agoFix the top maps count.
Ant Zucaro [Sun, 16 Oct 2011 23:18:47 +0000 (19:18 -0400)]
Fix the top maps count.

12 years agoSet the winner of the game according to which team the #1 ranked player belongs.
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.

12 years agoDo not show a more link if there are no more games to show!
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!

12 years agoAdd player nick history tracking.
antzucaro [Mon, 10 Oct 2011 20:44:35 +0000 (16:44 -0400)]
Add player nick history tracking.

12 years agoAdd nick changing support.
antzucaro [Mon, 10 Oct 2011 19:15:59 +0000 (15:15 -0400)]
Add nick changing support.

12 years agoFix incorrect color on blue team scoreboard.
Ant Zucaro [Fri, 7 Oct 2011 17:12:05 +0000 (13:12 -0400)]
Fix incorrect color on blue team scoreboard.

12 years agoFixes on when to create players.
Ant Zucaro [Tue, 4 Oct 2011 14:06:47 +0000 (10:06 -0400)]
Fixes on when to create players.

12 years agoReturn "Anonymous Player" for tracked players who hide their name
Ant Zucaro [Tue, 4 Oct 2011 13:33:21 +0000 (09:33 -0400)]
Return "Anonymous Player" for tracked players who hide their name

12 years agoRemove joins from player stat creation requirements.
Ant Zucaro [Mon, 3 Oct 2011 16:01:46 +0000 (12:01 -0400)]
Remove joins from player stat creation requirements.

12 years agoMake sure there are at least two real players in the game before storing stats. Also...
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.

12 years agoMerge branch 'master' of https://github.com/z/XonStat
Ant Zucaro [Thu, 30 Jun 2011 03:10:33 +0000 (23:10 -0400)]
Merge branch 'master' of https://github.com/z/XonStat

12 years agocache had me twisted, fixed some css rules
Tyler Mulligan [Thu, 30 Jun 2011 03:07:27 +0000 (23:07 -0400)]
cache had me twisted, fixed some css rules

12 years agoclassified the headers of all scoreboards and tweaked the css a tad for better display
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

12 years agocleaned up some styles, started laying out the recent games page with search. Gave...
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.

12 years agoMerge pull request #1 from z/master
antzucaro [Thu, 30 Jun 2011 02:34:11 +0000 (19:34 -0700)]
Merge pull request #1 from z/master

Started integrating the Xonotic theme

12 years agoThe media I forgot to include
Tyler Mulligan [Wed, 29 Jun 2011 05:11:12 +0000 (01:11 -0400)]
The media I forgot to include

12 years agoApplied Xonotic HTML/CSS/JS theme and worked existing HTML/CSS
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

12 years agoAvoid keyerror when rendering the scoreboard.
Ant Zucaro [Wed, 29 Jun 2011 01:27:20 +0000 (21:27 -0400)]
Avoid keyerror when rendering the scoreboard.

12 years agoAdd dependencies
Ant Zucaro [Wed, 29 Jun 2011 01:26:23 +0000 (21:26 -0400)]
Add dependencies

12 years agoMake links in nav use route_url instead of hard-coding them.
antzucaro [Tue, 28 Jun 2011 01:53:11 +0000 (21:53 -0400)]
Make links in nav use route_url instead of hard-coding them.

12 years agoFix nick escaping problem by appending |n to disable filtering.
antzucaro [Tue, 28 Jun 2011 01:49:06 +0000 (21:49 -0400)]
Fix nick escaping problem by appending |n to disable filtering.

12 years agoModularize the scoreboard with defs - one for header, the other for the bulk of stat...
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.

12 years agoFix view accuracy link
antzucaro [Mon, 27 Jun 2011 10:54:10 +0000 (06:54 -0400)]
Fix view accuracy link

12 years agoAdd server index and template. Fix links on player index and template.
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.

12 years agoCreate a map index view and corresponding template.
Ant Zucaro [Fri, 24 Jun 2011 20:20:23 +0000 (16:20 -0400)]
Create a map index view and corresponding template.

12 years agoAdd a player index. Change the base template to have a players link.
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.

12 years agoSmall fix for ordering in game_index
Ant Zucaro [Fri, 24 Jun 2011 15:40:19 +0000 (11:40 -0400)]
Small fix for ordering in game_index

12 years agoAdd more info to the player_info view and template
Ant Zucaro [Fri, 24 Jun 2011 15:36:33 +0000 (11:36 -0400)]
Add more info to the player_info view and template

12 years agoAdd strip colors utility function.
Ant Zucaro [Fri, 24 Jun 2011 15:35:43 +0000 (11:35 -0400)]
Add strip colors utility function.

12 years agoClean up main page, remove centering and generally remove style where appropriate.
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.

12 years agoAdd closing table tag.
Ant Zucaro [Tue, 21 Jun 2011 10:35:28 +0000 (06:35 -0400)]
Add closing table tag.

12 years agoRemove styling for a lot of things. Add leaderboard and recent-games elements
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

12 years agoAdd top_maps to main view and template.
Ant Zucaro [Thu, 16 Jun 2011 10:53:15 +0000 (06:53 -0400)]
Add top_maps to main view and template.

12 years agoAdd top servers data.
Ant Zucaro [Wed, 15 Jun 2011 22:13:42 +0000 (18:13 -0400)]
Add top servers data.

12 years agoStart work on main page. Only top players passed right now.
Ant Zucaro [Mon, 6 Jun 2011 18:08:27 +0000 (14:08 -0400)]
Start work on main page. Only top players passed right now.

12 years agoUpdate table style.
Ant Zucaro [Thu, 2 Jun 2011 18:38:52 +0000 (14:38 -0400)]
Update table style.

12 years agoShow recent game scoreboards in an iframe viewport from the player_info view/template.
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.

12 years agoAdd fuzzy dates.
Ant Zucaro [Wed, 1 Jun 2011 14:57:45 +0000 (10:57 -0400)]
Add fuzzy dates.

12 years agoAdd overall game stats to the player info page. Change template to suit.
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.

12 years agoVarious small improvements to style and headings
Ant Zucaro [Fri, 27 May 2011 14:08:15 +0000 (10:08 -0400)]
Various small improvements to style and headings

12 years agoRemove more references to deleted view -.-
Ant Zucaro [Fri, 27 May 2011 13:50:37 +0000 (09:50 -0400)]
Remove more references to deleted view -.-

12 years agoRemove unneeded view and corresponding template.
Ant Zucaro [Fri, 27 May 2011 13:47:40 +0000 (09:47 -0400)]
Remove unneeded view and corresponding template.

12 years agoUse anchor links to the game info permapage to show player accuracy instead of dedica...
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.

12 years agoShow accuracies on the game info page
Ant Zucaro [Thu, 26 May 2011 19:27:09 +0000 (15:27 -0400)]
Show accuracies on the game info page

12 years agoChange weapon stats view to build the weapon_stats array in a more pythonic way.
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.

12 years agoAdd the actual accuracy template (whoops).
Ant Zucaro [Thu, 26 May 2011 17:05:05 +0000 (13:05 -0400)]
Add the actual accuracy template (whoops).

12 years agoMove the accuracy table rendering into a callable template, modify views and other...
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.

12 years agoSpruce up the player info page a bit: add weapon images for accuracy for starters.
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.

12 years agoChange image name to match cd_weapon table name.
Ant Zucaro [Thu, 26 May 2011 13:47:18 +0000 (09:47 -0400)]
Change image name to match cd_weapon table name.

12 years agoStart working on jQuery datatables (does not work right now).
Ant Zucaro [Thu, 26 May 2011 13:39:02 +0000 (09:39 -0400)]
Start working on jQuery datatables (does not work right now).

12 years agoRemove <ul>s, center tables, and tweak the team colors a bit.
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.

12 years agoStylistic updates.
Ant Zucaro [Wed, 25 May 2011 20:27:06 +0000 (16:27 -0400)]
Stylistic updates.

12 years agoStructure the static directory. Add Xolonium font. Use that font for nicks.
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.

12 years agoVerified new structure works. Remove old views.py file.
Ant Zucaro [Wed, 25 May 2011 14:44:32 +0000 (10:44 -0400)]
Verified new structure works. Remove old views.py file.

12 years agoMajor reorganization. Views made into a module with all of the sub-portions categorized.
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.

12 years agoRemove @view_config lines (not needed) and add docstrings.
Ant Zucaro [Wed, 25 May 2011 14:06:43 +0000 (10:06 -0400)]
Remove @view_config lines (not needed) and add docstrings.

12 years agoAlphabetize imports in views.py. Remove view_config because it is not needed.
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.

12 years agoRemove redundant code for scoreboard display, add proper percentages to the accuracy...
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.

12 years agoAdd hit and damage %
Ant Zucaro [Wed, 25 May 2011 02:29:32 +0000 (22:29 -0400)]
Add hit and damage %

12 years agoFix bad dereference - pgstats is not a hash in this version.
Ant Zucaro [Wed, 25 May 2011 02:28:56 +0000 (22:28 -0400)]
Fix bad dereference - pgstats is not a hash in this version.

12 years agoStart moving scoreboard rendering to its own def, since I do not want to duplicate...
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.

12 years agoAdd a tabular accuracy view to the player info page.
Ant Zucaro [Tue, 24 May 2011 18:24:00 +0000 (14:24 -0400)]
Add a tabular accuracy view to the player info page.

12 years agoSmall fix to address block matching problems.
Ant Zucaro [Tue, 24 May 2011 18:23:30 +0000 (14:23 -0400)]
Small fix to address block matching problems.

12 years agoAdd some comments to game_index.mako so I can see where to add new game types!
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!

12 years agoAdd team color support
Ant Zucaro [Mon, 23 May 2011 17:39:39 +0000 (13:39 -0400)]
Add team color support

12 years agoShow scoreboard on index page to avoid monotony. Only CTF supported right now.
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.

12 years agoLink to the player info page from the player weapon stat page
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

12 years agoAdd html_colors support to player model. Use it in player templates!
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!

12 years agoAdd a default player game index route (goes to page 1 of results).
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).

12 years agoStandardize game presentation in templates. Add link to the player game index from...
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.

12 years agoShow an accuracy link when available on the game_info page. Add some details on the...
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).

12 years agoMake players clickable if they have a player record. Add a view link for viewing...
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.

12 years agoUse description value in cd_weapon when displaying weapon stats. This avoids weird...
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".

12 years agoAdd missing s to to PlayerWeaponStat class to allow printing.
Ant Zucaro [Sat, 21 May 2011 20:35:59 +0000 (16:35 -0400)]
Add missing s to to PlayerWeaponStat class to allow printing.

12 years agoAdd basic display of player weapon stats.
Ant Zucaro [Sat, 21 May 2011 12:19:22 +0000 (08:19 -0400)]
Add basic display of player weapon stats.

12 years agoGit rid of unnecessary debug lines that I forgot to remove before.
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.

12 years agoBreak up the creation of stats into several subroutines. Address bug w/ creating...
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.

12 years agoAdd humorous "not found" message for the player_info template.
Ant Zucaro [Thu, 19 May 2011 21:00:28 +0000 (17:00 -0400)]
Add humorous "not found" message for the player_info template.

12 years agoFix route url call (was calling generic game route, when instead we wanted games...
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!

12 years agoMake game_index the root view for now.
Ant Zucaro [Thu, 19 May 2011 20:56:09 +0000 (16:56 -0400)]
Make game_index the root view for now.

12 years agoAdd player_game_index view, route, and template. It shows the recent games (paged...
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!

12 years agoDelete reference to old way of processing t records (once per team, not cuddled under...
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)

12 years agoRegister a t event under the P record instead of once per team.
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.

12 years agoAdd server index view and change corresponding templates to reference it.
Ant Zucaro [Thu, 19 May 2011 01:41:17 +0000 (21:41 -0400)]
Add server index view and change corresponding templates to reference it.

12 years agoGet rid of old query in server_info view.
Ant Zucaro [Thu, 19 May 2011 01:07:15 +0000 (21:07 -0400)]
Get rid of old query in server_info view.

12 years agoSimplify query (again) for server_info view and template. Avoid from_statement syntax.
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.

12 years agoClean up some of the queries to avoid from_statement. Change game_index and player_in...
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.

12 years agoMove page_url() to util.
Ant Zucaro [Thu, 19 May 2011 00:55:51 +0000 (20:55 -0400)]
Move page_url() to util.

12 years agoRedo SQLA query for game_index (it works!). Change template to utilize paging parameters.
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.

12 years agoStart work on pagination for games: new view, route, and template.
Ant Zucaro [Mon, 16 May 2011 18:34:19 +0000 (14:34 -0400)]
Start work on pagination for games: new view, route, and template.