xonotic/xonstat.git
8 years agoFixed wrong filename in setup.py
Jan D. Behrens [Fri, 3 Aug 2012 11:04:12 +0000 (13:04 +0200)]
Fixed wrong filename in setup.py

8 years agoUse score-scaling Elo for non-duels.
Ant Zucaro [Wed, 1 Aug 2012 11:52:19 +0000 (07:52 -0400)]
Use score-scaling Elo for non-duels.

Scale S according to the real scorefactor in non-duel games.
This eliminates the effects of people switching to the winning
or losing team at the very last second. This also avoids a
"winner take all" in DM mode, where most people would lose points.

Additionally, all players are compared to everyone else, not just
those on their own team. This makes it more fair anyway - no
averages are done over the opponent team only. You now have to
perform better overall to get more points.

8 years agoUse traditional (win-based) Elo instead of score-based.
Ant Zucaro [Wed, 25 Jul 2012 12:32:20 +0000 (08:32 -0400)]
Use traditional (win-based) Elo instead of score-based.

Using traditional Elo instead of score-based Elo eliminates a lot of
confusion and drama surrounding losing points when winning and
gaining points when losing. I think this is a better reflection of
what we're after - the highest ranking players have won the most.
This has an intended side-effect of encouraging ALL players to
play more, because even pros have no penalties by playing newer
players.

8 years agoWhoops, elo_delta in the wrong order.
Ant Zucaro [Sat, 21 Jul 2012 23:36:13 +0000 (19:36 -0400)]
Whoops, elo_delta in the wrong order.

8 years agoDon't dock Elo points if the player won.
Ant Zucaro [Sat, 21 Jul 2012 01:59:10 +0000 (21:59 -0400)]
Don't dock Elo points if the player won.

After much debate I've included this enhancement. It prevents
losing Elo points if you've won the game. While this makes the
algorithm not *true* Elo, it prevents the negative perception
in the community. People were turning off their tracking for
fear of losing Elo points even if they won, and this hopefully
will fix that situation.

8 years agoRemove +/- points display on scoreboard.
Ant Zucaro [Sat, 21 Jul 2012 00:58:02 +0000 (20:58 -0400)]
Remove +/- points display on scoreboard.

I've decided not to show the +/- elo_deltas on the scoreboard
because they are individual measures. They thus belong on a
given player's info page instead. The player_info view is the
future destination of this data (not implemented yet).

Also, I'm preventing duel matches from being processed as both
duel and dm matches. Duel really is a mode of its own, even if
Xonotic doesn't have a dedicated mode for it.

8 years agoRemove < 50 restriction.
Ant Zucaro [Sat, 7 Jul 2012 01:48:47 +0000 (21:48 -0400)]
Remove < 50 restriction.

8 years agoBasic support for batch processes.
Ant Zucaro [Sat, 7 Jul 2012 01:45:23 +0000 (21:45 -0400)]
Basic support for batch processes.

Badges is the first batch process supported. It basically
sets up the pyramid environment, then iterates over the
player base and generates static HTML files showing their
high-level stats. That static HTML is then converted into
a PNG for use in forum signatures. A bash wrapper is
needed to drive the whole process via cron.

8 years agoDon't die if no favorite map exists.
Ant Zucaro [Sat, 7 Jul 2012 01:43:28 +0000 (21:43 -0400)]
Don't die if no favorite map exists.

8 years agoAllow player view functions to be imported.
Ant Zucaro [Sat, 30 Jun 2012 10:49:07 +0000 (06:49 -0400)]
Allow player view functions to be imported.

Prefixing the real data functions with '_' prevents
them from being imported by outside applications.
At first I thought this was a feature, then I realized
that there is really no harm to exposing them if needed.
Such a need developed for player badges, so I'm exposing
the views here. More will follow.

8 years agoAdd elo delta tracking.
Ant Zucaro [Wed, 20 Jun 2012 14:17:10 +0000 (10:17 -0400)]
Add elo delta tracking.

An elo delta is the amount by which a player's elo goes up
or down per match. This is useful for tracking purposes
and competitions.

The decimal formatting here is a bit hacky, and I don't like it,
but Mako refuses to do a proper format string on a decimal.Decimal.
This is even thought on the interactive command line it works! Argh.

8 years agoDebug message when a duplicate game is submitted.
Ant Zucaro [Wed, 20 Jun 2012 13:06:58 +0000 (09:06 -0400)]
Debug message when a duplicate game is submitted.

8 years agoShow ranks on the player_info page.
Ant Zucaro [Mon, 18 Jun 2012 23:42:35 +0000 (19:42 -0400)]
Show ranks on the player_info page.

8 years agoChange the query group by, return dict instead of Map.
Ant Zucaro [Mon, 18 Jun 2012 00:35:04 +0000 (20:35 -0400)]
Change the query group by, return dict instead of Map.

8 years agoAdd favorite map support.
Ant Zucaro [Mon, 18 Jun 2012 00:10:20 +0000 (20:10 -0400)]
Add favorite map support.

This commit adds a line item to the player_info page
showing the player's favorite map. This is the map
the player has played the most in the past 90 days.
A link to the map_info page of that map in included.

8 years agoWhoops, missed a comma.
Ant Zucaro [Sat, 16 Jun 2012 15:42:38 +0000 (11:42 -0400)]
Whoops, missed a comma.

8 years agoFix merge conflict, change indentation a bit.
Ant Zucaro [Sat, 16 Jun 2012 15:41:48 +0000 (11:41 -0400)]
Fix merge conflict, change indentation a bit.

8 years agoMake RL the default dmg graph weapon.
Ant Zucaro [Sat, 16 Jun 2012 14:29:32 +0000 (10:29 -0400)]
Make RL the default dmg graph weapon.

8 years agoSmall style changes to the graph.
Ant Zucaro [Sat, 16 Jun 2012 14:02:40 +0000 (10:02 -0400)]
Small style changes to the graph.

8 years agoMerge branch 'master' of github.com:antzucaro/XonStat
Ant Zucaro [Sat, 16 Jun 2012 13:53:08 +0000 (09:53 -0400)]
Merge branch 'master' of github.com:antzucaro/XonStat

Conflicts:
xonstat/views/__init__.py
xonstat/views/player.py

8 years agoIntegrate the damage efficiency graph in player_info.
Ant Zucaro [Sat, 16 Jun 2012 13:44:21 +0000 (09:44 -0400)]
Integrate the damage efficiency graph in player_info.

It isn't complete yet, but it is much better than before, where
new players would have a blank graph. Now it checks that the
given player has *any* accuracy or damage based weapon usage
and shows the graph accordingly. If the player does not have
five games of either, the appropriate graph doesn't show.

The incomplete part is that I'm not setting the default
weapon to show (nex and rocket launcher). If a player plays,
say, 10 games avoiding the rocket launcher then it will still
show a blank graph b/c the rocket launcher is the default dmg
weapon shown. This will be fixed, I just need to find a good way.

8 years agoAdd a damage efficiency view structure.
Ant Zucaro [Fri, 15 Jun 2012 13:39:25 +0000 (09:39 -0400)]
Add a damage efficiency view structure.

Allow tracking of damage efficiency as well. Damage efficiency I'll
define as the amount of damage you do per hit. The higher, the
better! This is appropriate for all splash-damage weapons. Spam shots
are not included on purpose (unless they hit, of course) after
conversations with the competitive community; spam shots usually miss
and are intended for blocking routes or catching your opponent while
they are out of your direct line of sight.

8 years agoMerge pull request #12 from nyov/nyov/conversion
antzucaro [Wed, 6 Jun 2012 17:39:24 +0000 (10:39 -0700)]
Merge pull request #12 from nyov/nyov/conversion

converted the codebase to unix fileendings and file permissions

8 years agoRoutes for json views
nyov [Tue, 5 Jun 2012 18:25:54 +0000 (20:25 +0200)]
Routes for json views

8 years agoDummy json views
nyov [Tue, 5 Jun 2012 18:22:36 +0000 (20:22 +0200)]
Dummy json views

8 years agoModel representations for json serialization
nyov [Tue, 5 Jun 2012 16:44:50 +0000 (18:44 +0200)]
Model representations for json serialization

8 years agoUse jsonp renderer for remote requests (or this API would be pretty moot)
nyov [Tue, 5 Jun 2012 02:38:06 +0000 (04:38 +0200)]
Use jsonp renderer for remote requests (or this API would be pretty moot)

JSONP allows cross-domain requests by wrapping output
in a function call if requested.
Requires pyramid>=1.1

8 years agoSome code format changes for better readability
nyov [Tue, 5 Jun 2012 02:02:27 +0000 (04:02 +0200)]
Some code format changes for better readability

8 years agodos2unix file conversions for everything
nyov [Tue, 5 Jun 2012 01:44:00 +0000 (03:44 +0200)]
dos2unix file conversions for everything

Sorry, but the different encodings between files keep messing up my diffs.
Let's stick to one encoding here.

8 years agoMerge pull request #11 from nyov/nyov/refactor
antzucaro [Sun, 3 Jun 2012 22:30:11 +0000 (15:30 -0700)]
Merge pull request #11 from nyov/nyov/refactor

refactored views in preparation for json output

8 years agoMerge pull request #10 from nyov/nyov/favicon
antzucaro [Thu, 17 May 2012 00:56:08 +0000 (17:56 -0700)]
Merge pull request #10 from nyov/nyov/favicon

xonotic favicon

8 years agoMerge https://github.com/nyov/xonstat into nyov-header
Ant Zucaro [Wed, 16 May 2012 23:39:44 +0000 (19:39 -0400)]
Merge https://github.com/nyov/xonstat into nyov-header

8 years agoPlayer_game_index needs to use GET too.
Ant Zucaro [Wed, 16 May 2012 23:35:16 +0000 (19:35 -0400)]
Player_game_index needs to use GET too.

I missed updating player_game_index to use GET params. Thanks
asyyy and nyov for reporting and fixing, respectively!

8 years agorefactored views in preparation for json output
nyov [Wed, 16 May 2012 22:55:51 +0000 (00:55 +0200)]
refactored views in preparation for json output

8 years agoxonotic favicon
nyov [Wed, 16 May 2012 21:27:50 +0000 (23:27 +0200)]
xonotic favicon

8 years agoAdd initial support for JSON on map_index view.
Ant Zucaro [Wed, 16 May 2012 02:37:38 +0000 (22:37 -0400)]
Add initial support for JSON on map_index view.

This commit adds initial JSON support to the map_index view.
I am giving each model class a to_dict function that returns
a select number of its instance variables back in the form of
a dictionary, which can then be returned directly by a JSON
renderer. I'm not sure if this is the right way to go, but
it works for now.

I've also ripped out the main "data-calling" piece of each
view callable into a separate function so that the JSON-
enabled view callable can use it. The non-JSON one just
returns the result of that function, while the JSON one
massages the data to be able to make it fit better for
API-like consumption.

8 years agomake README more readable in terminal
nyov [Tue, 15 May 2012 17:00:39 +0000 (19:00 +0200)]
make README more readable in terminal

8 years agoMerge remote-tracking branch 'antzucaro/master'
nyov [Tue, 15 May 2012 16:02:27 +0000 (18:02 +0200)]
Merge remote-tracking branch 'antzucaro/master'

8 years agoRemove _paged views.
Ant Zucaro [Tue, 15 May 2012 10:47:16 +0000 (06:47 -0400)]
Remove _paged views.

We no longer need separate _paged views when using 'page' as a
GET parameter. It is just appended to the URl now, as opposed
to being a part of it.

8 years agoConvert rank_index to use page as GET too.
Ant Zucaro [Tue, 15 May 2012 10:46:54 +0000 (06:46 -0400)]
Convert rank_index to use page as GET too.

8 years agoMake pagination a GET parameter, not part of the URL.
Ant Zucaro [Mon, 14 May 2012 20:55:51 +0000 (16:55 -0400)]
Make pagination a GET parameter, not part of the URL.

It was not the best idea to add the 'page' displayed to be an actual
part of the URL. It should be a GET parameter instead, which jives
a little better with my understanding of REST-like resources. This
changes all paginated views to use a GET parameter and also limits
results returned to 10 per page for performance and viewability
reasons.

8 years agoRemove debug statement.
Ant Zucaro [Mon, 14 May 2012 17:18:28 +0000 (13:18 -0400)]
Remove debug statement.

8 years agoDo not die if missing revision metadata.
Ant Zucaro [Mon, 14 May 2012 16:55:49 +0000 (12:55 -0400)]
Do not die if missing revision metadata.

The Xonotic revision metadata comes as a part of the 'R'
line in the POST. Although it isn't required, server was dying
when it was missing. I made it optional now, defaulting
that field to "unkown" when it isn't present. Note: DTG
brought this issue into the light, as they custom compile
their Xonotic, and they omit #ifdef'ing WARPZONE, which
is what prints the 'R' line in stats.

8 years agoRemove 404 on include, remove doubled double quote.
Ant Zucaro [Sun, 6 May 2012 22:41:40 +0000 (18:41 -0400)]
Remove 404 on include, remove doubled double quote.

8 years agoMerge remote-tracking branch 'antzucaro/master'
nyov [Sun, 6 May 2012 02:23:21 +0000 (04:23 +0200)]
Merge remote-tracking branch 'antzucaro/master'

8 years agoclean dangling commit on actually merged branch
nyov [Sun, 6 May 2012 02:17:24 +0000 (04:17 +0200)]
clean dangling commit on actually merged branch

Merge remote-tracking branch 'dmazary/patch-3'

8 years agoTurn off dots, enable hover for average.
Ant Zucaro [Sat, 5 May 2012 18:37:23 +0000 (14:37 -0400)]
Turn off dots, enable hover for average.

8 years agoadapted z's search engine hints and header
nyov [Sat, 5 May 2012 16:36:25 +0000 (18:36 +0200)]
adapted z's search engine hints and header

forgot actually committing the changes. fail.

8 years agoadapted z's search engine hints and header
nyov [Sat, 5 May 2012 16:18:08 +0000 (18:18 +0200)]
adapted z's search engine hints and header

Merge remote-tracking branch 'z/master'

Conflicts:
xonstat/static/css/style.css
xonstat/templates/base.mako

8 years agoModified Readme
nyov [Sat, 5 May 2012 15:12:18 +0000 (17:12 +0200)]
Modified Readme

8 years agoAdd more goodies to the accuracy graph. Tooltips, a legend, and links to the games...
Ant Zucaro [Sat, 5 May 2012 13:37:50 +0000 (09:37 -0400)]
Add more goodies to the accuracy graph. Tooltips, a legend, and links to the games on the x-axis.

8 years agoAdd labels to the graph.
Ant Zucaro [Sat, 5 May 2012 11:57:28 +0000 (07:57 -0400)]
Add labels to the graph.

8 years agoPrevent rollup animation from being seen on game info page.
Ant Zucaro [Thu, 3 May 2012 09:59:26 +0000 (05:59 -0400)]
Prevent rollup animation from being seen on game info page.

8 years agoMake the background black, as the transparency was not working as well in IE and...
Ant Zucaro [Thu, 3 May 2012 09:45:54 +0000 (05:45 -0400)]
Make the background black, as the transparency was not working as well in IE and Chrome. Also add cursor to the weapons below the accuracy graph.

8 years agoFix player_info template for missing player.
Ant Zucaro [Mon, 30 Apr 2012 10:40:37 +0000 (06:40 -0400)]
Fix player_info template for missing player.

8 years agoAdd a toggle-able accuracy selector to the player info page.
Ant Zucaro [Mon, 30 Apr 2012 01:47:58 +0000 (21:47 -0400)]
Add a toggle-able accuracy selector to the player info page.

You can choose which weapon to show accuracy stats for. The only weapons shown are those that the player has used in 5 or more games in the past 90 days. This is still a work in progress, as I don't have labels or nice hovers for the datapoints. :(

8 years agoInitial version of ajax-updating of the accuracy graph.
Ant Zucaro [Sun, 29 Apr 2012 16:10:14 +0000 (12:10 -0400)]
Initial version of ajax-updating of the accuracy graph.

The accuracy view needs to be changed to accommodate clicking on weapons where not enough data is supplied. Right now it results in a JS error that halts all further updates to the graph.

8 years agoAjaxify the accuracy graph.
Ant Zucaro [Sat, 28 Apr 2012 22:23:33 +0000 (18:23 -0400)]
Ajaxify the accuracy graph.

8 years agoDon't throw an error if the number of duel ranks found is < 10.
antzucaro [Sat, 28 Apr 2012 12:30:30 +0000 (08:30 -0400)]
Don't throw an error if the number of duel ranks found is < 10.

I was using '-' as a filler in such cases, and was populating four values into a tuple. The template expected three, so in situations when I had to fall back on the filler values, I was providing one too many, leading to 'too many values to unpack' upon loading up the main page.

8 years agoClean up the graph, make a new JSON view for accuracy data.
Ant Zucaro [Wed, 25 Apr 2012 01:10:49 +0000 (21:10 -0400)]
Clean up the graph, make a new JSON view for accuracy data.

8 years agoRemove jinja2 dependency in requires, add PasteScript.
Ant Zucaro [Tue, 24 Apr 2012 23:13:39 +0000 (19:13 -0400)]
Remove jinja2 dependency in requires, add PasteScript.

8 years agoAdd issues and FAQ links.
Ant Zucaro [Sat, 21 Apr 2012 15:11:05 +0000 (11:11 -0400)]
Add issues and FAQ links.

8 years agoThe latest games need to be at the end of the array, thus no desc.
Ant Zucaro [Sat, 21 Apr 2012 15:04:51 +0000 (11:04 -0400)]
The latest games need to be at the end of the array, thus no desc.

8 years agoNeeded to use httpexceptions here. That class does not exist in exceptions.
Ant Zucaro [Sat, 21 Apr 2012 15:01:26 +0000 (11:01 -0400)]
Needed to use httpexceptions here. That class does not exist in exceptions.

8 years agoRemove jinja2 dependency.
Ant Zucaro [Sat, 21 Apr 2012 14:57:49 +0000 (10:57 -0400)]
Remove jinja2 dependency.

8 years agoUse utcnow() as the basis for calculating fuzzy date strings.
Ant Zucaro [Sat, 21 Apr 2012 14:22:57 +0000 (10:22 -0400)]
Use utcnow() as the basis for calculating fuzzy date strings.

8 years agoWhoops, left in a debugging statement.
Ant Zucaro [Thu, 19 Apr 2012 09:34:38 +0000 (05:34 -0400)]
Whoops, left in a debugging statement.

8 years agoAdds an accuracy graph and removes the overall accuracy table.
Ant Zucaro [Tue, 17 Apr 2012 00:39:39 +0000 (20:39 -0400)]
Adds an accuracy graph and removes the overall accuracy table.

In retrospect the accuracy/damage table was a cop-out. It doesn't really show anything useful, it was just easy to display query-wise. Meanwhile I've been told time and time again that nex accuracy is the only thing that people are truly looking at as a measure of their accuracy, so that is what this commit does in graphical form. Other useful things will come later, but likely not in a tabular format again.

8 years agoAdd some kill ratio and win percentage, clean up recent games.
Ant Zucaro [Sun, 15 Apr 2012 11:42:11 +0000 (07:42 -0400)]
Add some kill ratio and win percentage, clean up recent games.

Added the kill ratio and win percentage to the first section along with a breakdown of how I got them. Also cleaned up the recent games section so it looks more like what is on all of the other "leaderboard" pages, which people should expect. I removed the overall stats section altogether, as 99% of the time people are looking after what is currently provided (e.g. flag carrier kills = rather unimportant in the grand scheme of things).

8 years agoAdd Google Analytics support.
Ant Zucaro [Tue, 27 Mar 2012 21:23:53 +0000 (17:23 -0400)]
Add Google Analytics support.

Stats has been operational for almost six months now, yet I don't have a clue of how many people are using/visiting the site on a daily basis. It's time to fix that! GA support will be tracked up to the xonstat address at gmail.com.

8 years agoHuge performance boost for the DB queries on the home page.
Ant Zucaro [Tue, 20 Mar 2012 11:07:23 +0000 (07:07 -0400)]
Huge performance boost for the DB queries on the home page.

The queries on the home page weren't bound by dates (which are indexed) or limited by the number of rows returned (despite the tables being a fixed size there). Adding these two filters on each of the queries makes the home page fly. The dates are done w/ a BETWEEN clause, while the limit on the queries is done w/ a normal LIMIT statement. The result takes the page from 3.5s average load time to about 400ms. :D :D :D

8 years agoReduce one operation in hex_repl (util.py) via dmazary.
Ant Zucaro [Mon, 19 Mar 2012 02:53:17 +0000 (22:53 -0400)]
Reduce one operation in hex_repl (util.py) via dmazary.

8 years agoReduce the operations in hex_repl for a small performance boost.
David Mazary [Sun, 18 Mar 2012 21:54:19 +0000 (18:54 -0300)]
Reduce the operations in hex_repl for a small performance boost.

8 years agoCap RGB value darkness by first converting to HSL, then applying threshold.
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!

8 years agoMerge branch 'patch-3' of git://github.com/dmazary/XonStat
Ant Zucaro [Sun, 18 Mar 2012 19:46:15 +0000 (15:46 -0400)]
Merge branch 'patch-3' of git://github.com/dmazary/XonStat

8 years agoround and int rgb css color values
David Mazary [Sun, 18 Mar 2012 19:40:18 +0000 (16:40 -0300)]
round and int rgb css color values

8 years agoMerge branch 'patch-3' of git://github.com/dmazary/XonStat
Ant Zucaro [Sun, 18 Mar 2012 19:37:57 +0000 (15:37 -0400)]
Merge branch 'patch-3' of git://github.com/dmazary/XonStat

8 years agolist comprehension instead of map.
David Mazary [Sun, 18 Mar 2012 19:29:20 +0000 (16:29 -0300)]
list comprehension instead of map.

8 years agoMerge branch 'patch-3' of git://github.com/dmazary/XonStat
Ant Zucaro [Sun, 18 Mar 2012 19:26:16 +0000 (15:26 -0400)]
Merge branch 'patch-3' of git://github.com/dmazary/XonStat

8 years agonormalize from 255 to 1 correctly :)
David Mazary [Sun, 18 Mar 2012 19:22:29 +0000 (16:22 -0300)]
normalize from 255 to 1 correctly :)

8 years agoMerge branch 'patch-3' of git://github.com/dmazary/XonStat
Ant Zucaro [Sun, 18 Mar 2012 19:18:23 +0000 (15:18 -0400)]
Merge branch 'patch-3' of git://github.com/dmazary/XonStat

8 years agoadjust color scales between css and Python's colorsys
David Mazary [Sun, 18 Mar 2012 19:07:20 +0000 (16:07 -0300)]
adjust color scales between css and Python's colorsys

8 years agoMerge pull request #7 from dmazary/patch-3
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...

8 years agofix typos
David Mazary [Sun, 18 Mar 2012 18:38:28 +0000 (15:38 -0300)]
fix typos

8 years agoChange font color instead of using a css class.
David Mazary [Sun, 18 Mar 2012 18:34:35 +0000 (15:34 -0300)]
Change font color instead of using a css class.

8 years agoIdea about classifying text as light or dark so css styling could increase contrast...
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: css-tricks.com/adding-stroke-to-web-text/ Maybe using that trick with an electric-blue text outline for dark text.

8 years agoFix second page links on search queries.
Ant Zucaro [Fri, 16 Mar 2012 01:17:13 +0000 (21:17 -0400)]
Fix second page links on search queries.

8 years agoDon't show the navigation links if we're on the first and only page!
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!

8 years agoAdd an itemized breakdown of the games played by a player.
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>).

8 years agoMerge pull request #6 from dmazary/patch-2
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 &,<,>

8 years agouse cgi.escape to escape &,<,>
David Mazary [Thu, 15 Mar 2012 01:15:04 +0000 (22:15 -0300)]
use cgi.escape to escape &,<,>

8 years agoHonor cl_allow_uid2name 0 when cl_allow_uidtracking is 1.
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.

8 years agoMerge pull request #5 from dmazary/patch-1
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 :)

8 years agoShow player elo on the player info page.
Ant Zucaro [Sat, 10 Mar 2012 13:00:18 +0000 (08:00 -0500)]
Show player elo on the player info page.

8 years agoTurn on CA support, testing to commence this weekend!
Ant Zucaro [Fri, 9 Mar 2012 22:34:37 +0000 (17:34 -0500)]
Turn on CA support, testing to commence this weekend!

8 years agoIgnore deactivated players in search and in player views.
Ant Zucaro [Thu, 1 Mar 2012 11:37:26 +0000 (06:37 -0500)]
Ignore deactivated players in search and in player views.

8 years agoFix "more games played by player <blah> page.
Ant Zucaro [Mon, 20 Feb 2012 16:34:09 +0000 (11:34 -0500)]
Fix "more games played by player <blah> page.

8 years agoShow navigatoin links when on the last page too.
Ant Zucaro [Mon, 20 Feb 2012 15:30:55 +0000 (10:30 -0500)]
Show navigatoin links when on the last page too.

8 years agoFix the font rendering on Win7+Chrome.
Ant Zucaro [Mon, 20 Feb 2012 15:17:58 +0000 (10:17 -0500)]
Fix the font rendering on Win7+Chrome.

8 years agoFilter the nicks properly.
Ant Zucaro [Fri, 17 Feb 2012 02:23:12 +0000 (21:23 -0500)]
Filter the nicks properly.