]>
git.rm.cloudns.org Git - xonotic/xonstat.git/log
Ant Zucaro [Mon, 19 Mar 2012 02:53:17 +0000 (22:53 -0400)]
Reduce one operation in hex_repl (util.py) via dmazary.
Ant Zucaro [Sun, 18 Mar 2012 20:07:03 +0000 (16:07 -0400)]
Cap RGB value darkness by first converting to HSL, then applying threshold.
RGB values that were too dark to read against a black background are now viewable. This is done by converting the RGB values (from the hex values provided) to HSL, then moving any L (lightness) values beyond a certain threshold back. Finally they are converted back to RGB for display. In practice all this really does is to lighten the dark colors without changing their hue or saturation values (e.g. black becomes gray).
Thanks go to dmazary for helping me with this and working through the various bugs I found. Thanks, Dave!
Ant Zucaro [Sun, 18 Mar 2012 19:46:15 +0000 (15:46 -0400)]
Merge branch 'patch-3' of git://github.com/dmazary/XonStat
David Mazary [Sun, 18 Mar 2012 19:40:18 +0000 (16:40 -0300)]
round and int rgb css color values
Ant Zucaro [Sun, 18 Mar 2012 19:37:57 +0000 (15:37 -0400)]
Merge branch 'patch-3' of git://github.com/dmazary/XonStat
David Mazary [Sun, 18 Mar 2012 19:29:20 +0000 (16:29 -0300)]
list comprehension instead of map.
Ant Zucaro [Sun, 18 Mar 2012 19:26:16 +0000 (15:26 -0400)]
Merge branch 'patch-3' of git://github.com/dmazary/XonStat
David Mazary [Sun, 18 Mar 2012 19:22:29 +0000 (16:22 -0300)]
normalize from 255 to 1 correctly :)
Ant Zucaro [Sun, 18 Mar 2012 19:18:23 +0000 (15:18 -0400)]
Merge branch 'patch-3' of git://github.com/dmazary/XonStat
David Mazary [Sun, 18 Mar 2012 19:07:20 +0000 (16:07 -0300)]
adjust color scales between css and Python's colorsys
antzucaro [Sun, 18 Mar 2012 18:39:16 +0000 (11:39 -0700)]
Merge pull request #7 from dmazary/patch-3
Idea about classifying text as light or dark so css styling could increa...
David Mazary [Sun, 18 Mar 2012 18:38:28 +0000 (15:38 -0300)]
fix typos
David Mazary [Sun, 18 Mar 2012 18:34:35 +0000 (15:34 -0300)]
Change font color instead of using a css class.
David Mazary [Fri, 16 Mar 2012 15:14:36 +0000 (12:14 -0300)]
Idea about classifying text as light or dark so css styling could increase contrast for dark text. This looks interesting: http://css-tricks.com/adding-stroke-to-web-text/ Maybe using that trick with an electric-blue text outline for dark text.
Ant Zucaro [Fri, 16 Mar 2012 01:17:13 +0000 (21:17 -0400)]
Fix second page links on search queries.
Ant Zucaro [Fri, 16 Mar 2012 00:25:51 +0000 (20:25 -0400)]
Don't show the navigation links if we're on the first and only page!
Ant Zucaro [Thu, 15 Mar 2012 11:16:08 +0000 (07:16 -0400)]
Add an itemized breakdown of the games played by a player.
This is so we can see how many of each type of game type that the player has played. It will look like <total games played> (<number of games played> <game type cd>).
antzucaro [Thu, 15 Mar 2012 01:16:22 +0000 (18:16 -0700)]
Merge pull request #6 from dmazary/patch-2
use cgi.escape to escape &,<,>
David Mazary [Thu, 15 Mar 2012 01:15:04 +0000 (22:15 -0300)]
use cgi.escape to escape &,<,>
Ant Zucaro [Wed, 14 Mar 2012 02:19:59 +0000 (22:19 -0400)]
Honor cl_allow_uid2name 0 when cl_allow_uidtracking is 1.
In an attempt to display better nick information I've overwritten the provided nick (in this case none) w/ what was on the player record. This is wrong - if uid2name is 0, thus leading to no nick provided, that means I should show "Anonymous Player". This ends up being a little silly when uidtracking is 1, because a person can just click on the "Anonymous Player" link to see who was actually playing :D.
antzucaro [Wed, 14 Mar 2012 01:27:22 +0000 (18:27 -0700)]
Merge pull request #5 from dmazary/patch-1
More Pythonic check for qfont character range :)
Ant Zucaro [Sat, 10 Mar 2012 13:00:18 +0000 (08:00 -0500)]
Show player elo on the player info page.
Ant Zucaro [Fri, 9 Mar 2012 22:34:37 +0000 (17:34 -0500)]
Turn on CA support, testing to commence this weekend!
Ant Zucaro [Thu, 1 Mar 2012 11:37:26 +0000 (06:37 -0500)]
Ignore deactivated players in search and in player views.
Ant Zucaro [Mon, 20 Feb 2012 16:34:09 +0000 (11:34 -0500)]
Fix "more games played by player <blah> page.
Ant Zucaro [Mon, 20 Feb 2012 15:30:55 +0000 (10:30 -0500)]
Show navigatoin links when on the last page too.
Ant Zucaro [Mon, 20 Feb 2012 15:17:58 +0000 (10:17 -0500)]
Fix the font rendering on Win7+Chrome.
Ant Zucaro [Fri, 17 Feb 2012 02:23:12 +0000 (21:23 -0500)]
Filter the nicks properly.
Ant Zucaro [Wed, 8 Feb 2012 02:11:48 +0000 (21:11 -0500)]
Fix the ordering of things and the view game links.
Ant Zucaro [Wed, 8 Feb 2012 02:01:00 +0000 (21:01 -0500)]
Remove quick links to accuracy info.
Ant Zucaro [Wed, 8 Feb 2012 01:52:41 +0000 (20:52 -0500)]
Add advanced search to the top nav.
Ant Zucaro [Wed, 8 Feb 2012 01:43:03 +0000 (20:43 -0500)]
Make accuracy information expandable.
Ant Zucaro [Wed, 8 Feb 2012 01:16:04 +0000 (20:16 -0500)]
Grifify the game info page.
Ant Zucaro [Mon, 6 Feb 2012 03:06:18 +0000 (22:06 -0500)]
Make the scoreboards look more like they used to.
Ant Zucaro [Mon, 6 Feb 2012 01:58:57 +0000 (20:58 -0500)]
Center the footer.
Ant Zucaro [Mon, 6 Feb 2012 01:45:49 +0000 (20:45 -0500)]
Fix right-hand side of the border for Samual.
Ant Zucaro [Sun, 5 Feb 2012 22:48:02 +0000 (17:48 -0500)]
Add real download link location.
Ant Zucaro [Sun, 5 Feb 2012 22:46:35 +0000 (17:46 -0500)]
Integrate searches coming in from the navbar.
Ant Zucaro [Sun, 5 Feb 2012 22:23:49 +0000 (17:23 -0500)]
Set destination for nav search form. Use search type for the input.
David Mazary [Sun, 5 Feb 2012 17:02:31 +0000 (12:02 -0500)]
More Pythonic check for qfont character range :)
I did not know it has such nice syntax!
Ant Zucaro [Sun, 5 Feb 2012 14:40:11 +0000 (09:40 -0500)]
Add the search bar on the right of the nav bar.
Ant Zucaro [Sun, 5 Feb 2012 05:50:42 +0000 (00:50 -0500)]
Add hero unit to main page only.
Ant Zucaro [Sun, 5 Feb 2012 05:13:58 +0000 (00:13 -0500)]
Gridify the map info page.
Ant Zucaro [Sun, 5 Feb 2012 02:27:58 +0000 (21:27 -0500)]
Gridify the player and server info pages.
Ant Zucaro [Sun, 5 Feb 2012 02:22:19 +0000 (21:22 -0500)]
Whoops, add the png and svg versions of the xon icon.
Ant Zucaro [Sun, 5 Feb 2012 02:19:01 +0000 (21:19 -0500)]
Add the proper styling to the accuracy table.
Ant Zucaro [Sun, 5 Feb 2012 02:17:46 +0000 (21:17 -0500)]
Gridify the index pages.
Ant Zucaro [Sun, 5 Feb 2012 02:16:40 +0000 (21:16 -0500)]
Update styles.
Ant Zucaro [Sun, 5 Feb 2012 02:14:54 +0000 (21:14 -0500)]
Update fonts.
Ant Zucaro [Sun, 5 Feb 2012 02:13:31 +0000 (21:13 -0500)]
Add top navigation stub.
Ant Zucaro [Sat, 4 Feb 2012 17:13:07 +0000 (12:13 -0500)]
Remove header from recent games column.
Ant Zucaro [Fri, 3 Feb 2012 02:55:42 +0000 (21:55 -0500)]
Integrate navigation mako file and titles.
Ant Zucaro [Thu, 2 Feb 2012 21:33:25 +0000 (16:33 -0500)]
Started laying out the new grid framework.
Ant Zucaro [Sat, 28 Jan 2012 04:36:40 +0000 (23:36 -0500)]
Use PlayerRank instead of PlayerElo when displaying ranks.
Ant Zucaro [Sun, 22 Jan 2012 17:50:15 +0000 (12:50 -0500)]
Add more links to the rankings.
Ant Zucaro [Sun, 22 Jan 2012 17:49:43 +0000 (12:49 -0500)]
Do not use an explicit schema
Ant Zucaro [Sun, 22 Jan 2012 04:11:52 +0000 (23:11 -0500)]
Add player_ranks to the mix - it is a batch table intended to represent the latest rankings at any given point in time. Ideally they would be updated daily.
Ant Zucaro [Sun, 22 Jan 2012 02:56:09 +0000 (21:56 -0500)]
Simplify navlinks. Woohoo!
Ant Zucaro [Sat, 21 Jan 2012 15:27:45 +0000 (10:27 -0500)]
Set a minimum # of games required to show in ranks.
Ant Zucaro [Fri, 20 Jan 2012 03:10:36 +0000 (22:10 -0500)]
Remove "more" links for now. Need to fix pagination w/ multiple params first.
Ant Zucaro [Fri, 20 Jan 2012 02:56:25 +0000 (21:56 -0500)]
Add rankings to the main page.
Ant Zucaro [Fri, 20 Jan 2012 01:19:31 +0000 (20:19 -0500)]
Add ranks view based on game type.
Ant Zucaro [Thu, 19 Jan 2012 01:46:43 +0000 (20:46 -0500)]
Fix bad namespace which breaks search.
Ant Zucaro [Mon, 16 Jan 2012 21:04:51 +0000 (16:04 -0500)]
Remove elo values when k==0.
Ant Zucaro [Mon, 16 Jan 2012 20:18:01 +0000 (15:18 -0500)]
Send duration for KREDUCTION calc.
Ant Zucaro [Sat, 14 Jan 2012 15:41:59 +0000 (10:41 -0500)]
Merge branch 'elo'
Ant Zucaro [Sat, 14 Jan 2012 15:40:56 +0000 (10:40 -0500)]
Should be ready to go now!
Ant Zucaro [Fri, 13 Jan 2012 02:12:16 +0000 (21:12 -0500)]
It works! Still need to remove the commented out sections, however.
Ant Zucaro [Thu, 12 Jan 2012 17:49:03 +0000 (12:49 -0500)]
Merge conflict fix.
Ant Zucaro [Thu, 12 Jan 2012 17:41:15 +0000 (12:41 -0500)]
Fixed a few indexing things, but still not working (elo is 100).
Ant Zucaro [Thu, 12 Jan 2012 13:50:18 +0000 (08:50 -0500)]
Add search link to the nav.
Ant Zucaro [Thu, 12 Jan 2012 13:35:39 +0000 (08:35 -0500)]
Check for new-style bot hashkeys too.
Ant Zucaro [Thu, 12 Jan 2012 12:03:00 +0000 (07:03 -0500)]
Loop over elos.
Ant Zucaro [Fri, 6 Jan 2012 21:36:09 +0000 (16:36 -0500)]
Initial debug version of elo ranking.
Ant Zucaro [Tue, 27 Dec 2011 22:08:13 +0000 (17:08 -0500)]
Fix duel checking.
Ant Zucaro [Mon, 26 Dec 2011 19:16:59 +0000 (14:16 -0500)]
Add gametypes to search.
Users can now search specific gametypes.
antzucaro [Sun, 25 Dec 2011 21:01:39 +0000 (16:01 -0500)]
Change view and route configuration to match Pyramid 1.3.
Ant Zucaro [Sat, 24 Dec 2011 01:40:59 +0000 (20:40 -0500)]
Change up the terms on the map page.
Ant Zucaro [Sat, 24 Dec 2011 01:40:41 +0000 (20:40 -0500)]
Decode the font when going to HTML.
Ant Zucaro [Sat, 24 Dec 2011 01:26:46 +0000 (20:26 -0500)]
Fix search pagination.
Ant Zucaro [Thu, 22 Dec 2011 22:00:34 +0000 (17:00 -0500)]
Add basic search to the index pages.
Ant Zucaro [Thu, 22 Dec 2011 17:30:50 +0000 (12:30 -0500)]
Change definition of a blank game.
Ant Zucaro [Thu, 22 Dec 2011 13:24:38 +0000 (08:24 -0500)]
Negate the blank game check. Dumb.
Ant Zucaro [Thu, 22 Dec 2011 03:24:24 +0000 (22:24 -0500)]
Do not store blank games.
Ant Zucaro [Thu, 22 Dec 2011 02:58:24 +0000 (21:58 -0500)]
Do not use x-server-ip.
Ant Zucaro [Wed, 21 Dec 2011 16:13:31 +0000 (11:13 -0500)]
Use X-Forwarded-For properly.
Ant Zucaro [Mon, 19 Dec 2011 02:42:17 +0000 (21:42 -0500)]
Merge branch 'search'
Ant Zucaro [Mon, 19 Dec 2011 02:37:17 +0000 (21:37 -0500)]
Make accuracy links work again.
Ant Zucaro [Mon, 19 Dec 2011 02:04:32 +0000 (21:04 -0500)]
Strip colors too when saving stripped_nick.
Ant Zucaro [Mon, 19 Dec 2011 01:49:18 +0000 (20:49 -0500)]
Use utcnow for submissions. Set REMOTE_ADDR.
Ant Zucaro [Sun, 18 Dec 2011 20:29:02 +0000 (15:29 -0500)]
Color ^1 should be red, not orange.
Ant Zucaro [Sun, 18 Dec 2011 20:18:24 +0000 (15:18 -0500)]
Swap blue and red team color numbers. I had the two mixed up.
Ant Zucaro [Thu, 15 Dec 2011 20:56:00 +0000 (15:56 -0500)]
Check for exactly two REAL players before setting "duel" gametype.
Ant Zucaro [Thu, 15 Dec 2011 20:47:37 +0000 (15:47 -0500)]
Merge branch 'master' of github.com:antzucaro/XonStat
Ant Zucaro [Thu, 15 Dec 2011 03:53:42 +0000 (22:53 -0500)]
Fix indentation. Dumb.
Ant Zucaro [Thu, 15 Dec 2011 03:52:19 +0000 (22:52 -0500)]
Properly account for the new duel game type.
Ant Zucaro [Thu, 15 Dec 2011 03:20:43 +0000 (22:20 -0500)]
Default to the empty string if passed None.
Ant Zucaro [Thu, 15 Dec 2011 03:05:50 +0000 (22:05 -0500)]
Add support for the not-yet-created "duel" gametype.
Ant Zucaro [Thu, 15 Dec 2011 02:35:21 +0000 (21:35 -0500)]
Store stripped_nick for pgstats.
Ant Zucaro [Thu, 15 Dec 2011 01:52:56 +0000 (20:52 -0500)]
Replace ^^ with ^.