]>
git.xonotic.org Git - xonotic/xonstat.git/log
Ant Zucaro [Sun, 1 Mar 2015 23:20:09 +0000 (18:20 -0500)]
Add back the statline style.
Ant Zucaro [Sun, 1 Mar 2015 13:32:26 +0000 (08:32 -0500)]
Move the search view into the sub-nav.
Ant Zucaro [Sun, 1 Mar 2015 13:27:26 +0000 (08:27 -0500)]
Add sub-nav to access stats-specific pages.
Ant Zucaro [Sat, 28 Feb 2015 21:57:17 +0000 (16:57 -0500)]
Port the footer.
Ant Zucaro [Sat, 28 Feb 2015 21:45:17 +0000 (16:45 -0500)]
Remove more glyphicons.
Ant Zucaro [Sat, 28 Feb 2015 21:44:45 +0000 (16:44 -0500)]
Add background image.
Ant Zucaro [Sat, 28 Feb 2015 21:28:25 +0000 (16:28 -0500)]
Incorporate Font Awesome.
Ant Zucaro [Sat, 28 Feb 2015 21:28:12 +0000 (16:28 -0500)]
Add Font Awesome CSS.
Ant Zucaro [Sat, 28 Feb 2015 21:25:33 +0000 (16:25 -0500)]
Add Font Awesome.
Ant Zucaro [Sat, 28 Feb 2015 21:24:42 +0000 (16:24 -0500)]
Remove glyphicons.
Ant Zucaro [Sat, 28 Feb 2015 21:20:56 +0000 (16:20 -0500)]
Remove bootstrap. See ya!
Ant Zucaro [Sat, 28 Feb 2015 21:16:31 +0000 (16:16 -0500)]
Port over foundation-specific overrides.
Ant Zucaro [Sat, 28 Feb 2015 20:58:22 +0000 (15:58 -0500)]
Clear out the old styles. We'll port only the ones we need.
Ant Zucaro [Sat, 28 Feb 2015 20:51:08 +0000 (15:51 -0500)]
Port navigation header from the main site.
Ant Zucaro [Sat, 28 Feb 2015 20:32:44 +0000 (15:32 -0500)]
Change background to match the main site.
Ant Zucaro [Sat, 28 Feb 2015 20:23:35 +0000 (15:23 -0500)]
Change the base template.
Ant Zucaro [Sat, 28 Feb 2015 20:22:57 +0000 (15:22 -0500)]
Add foundation files.
Ant Zucaro [Mon, 23 Feb 2015 23:19:44 +0000 (18:19 -0500)]
Paginate differently on the game_finder page.
Ant Zucaro [Sun, 22 Feb 2015 21:27:55 +0000 (16:27 -0500)]
Remove arbitrary page navigation for game_index.
This gives us a HUGE performance boost b/c it avoids requiring a full select
count(*) on the games table. For now the navigation will be forward only.
Ant Zucaro [Sun, 22 Feb 2015 21:27:11 +0000 (16:27 -0500)]
Specify recent games by starting or ending game_id.
Ant Zucaro [Wed, 28 Jan 2015 00:48:30 +0000 (19:48 -0500)]
Set status code to 404 for the 404 page.
This fixes #1435.
Ant Zucaro [Sun, 11 Jan 2015 14:35:03 +0000 (09:35 -0500)]
Force the GET param to be an int.
Ant Zucaro [Sun, 11 Jan 2015 14:34:36 +0000 (09:34 -0500)]
Order by create_dt descending, not game_id descending.
Ant Zucaro [Thu, 25 Dec 2014 03:36:55 +0000 (22:36 -0500)]
Fix type error on ARRAY assertion.
Ant Zucaro [Thu, 25 Dec 2014 03:32:17 +0000 (22:32 -0500)]
Use the GIN index wherever possible.
Ant Zucaro [Thu, 25 Dec 2014 02:08:48 +0000 (21:08 -0500)]
Remove function for finding recently used weapons.
Ant Zucaro [Thu, 25 Dec 2014 01:55:12 +0000 (20:55 -0500)]
Merge branch 'master' of github.com:antzucaro/XonStat
Ant Zucaro [Thu, 25 Dec 2014 01:54:54 +0000 (20:54 -0500)]
Remove references to Chameleon templates.
Ant Zucaro [Thu, 25 Dec 2014 01:53:07 +0000 (20:53 -0500)]
Do not include jinja2 if we do not use it.
Ant Zucaro [Wed, 24 Dec 2014 21:55:17 +0000 (16:55 -0500)]
Speed up weaponstats requests by 2.5x.
We can exploit the GIN index on games.players to quickly get a list of the most
recently-played games. We construct this list as a subquery that can be used in
an IN list in the main weaponstats query, greatly reducing the time needed to
fetch the rows. It's about 2.5 times faster according to apache bench.
Additionally this query is helped by moving it to a subquery, whereas once it
was two queries (thus two round trips to the DB).
Ant Zucaro [Thu, 18 Dec 2014 02:57:44 +0000 (21:57 -0500)]
Order player caps by date. Fixes #147.
Ant Zucaro [Thu, 18 Dec 2014 02:45:31 +0000 (21:45 -0500)]
Update year...just before the new year.
Ant Zucaro [Thu, 18 Dec 2014 02:40:57 +0000 (21:40 -0500)]
Get rid of old damage chart template.
Ant Zucaro [Thu, 18 Dec 2014 02:34:53 +0000 (21:34 -0500)]
Use minified version of charts JS.
Ant Zucaro [Thu, 18 Dec 2014 02:33:08 +0000 (21:33 -0500)]
Add minimized version of the weapon charts JS.
Ant Zucaro [Thu, 18 Dec 2014 02:18:45 +0000 (21:18 -0500)]
Remove D3 as a dependency.
Ant Zucaro [Thu, 18 Dec 2014 02:03:57 +0000 (21:03 -0500)]
Use jQuery instead of D3 for selection & AJAX.
Ant Zucaro [Wed, 17 Dec 2014 02:08:58 +0000 (21:08 -0500)]
Use the latest stable jQuery.
Ant Zucaro [Wed, 17 Dec 2014 01:51:25 +0000 (20:51 -0500)]
Get rid of Google Analytics.
I don't really need it anyway. Plus, I can always add it back if I
do find myself wanting to gauge activity at any point in time.
Ant Zucaro [Tue, 16 Dec 2014 03:24:40 +0000 (22:24 -0500)]
Store player_ids in the games table.
Ant Zucaro [Tue, 16 Dec 2014 01:55:20 +0000 (20:55 -0500)]
Persona goes to last in line. Sorry Persona.
Ant Zucaro [Sun, 14 Dec 2014 15:20:27 +0000 (10:20 -0500)]
Remove old style files.
Ant Zucaro [Sat, 13 Dec 2014 14:19:44 +0000 (09:19 -0500)]
Change access keys to match new names.
Ant Zucaro [Sat, 13 Dec 2014 04:20:07 +0000 (23:20 -0500)]
Change labels and color keys in the weapon charts.
Ant Zucaro [Sat, 13 Dec 2014 04:11:21 +0000 (23:11 -0500)]
Isolate the weapon rename to the weapon_cd only.
Ant Zucaro [Sat, 13 Dec 2014 04:06:07 +0000 (23:06 -0500)]
Make sprite aliases for new weapon names.
Ant Zucaro [Sat, 13 Dec 2014 03:40:00 +0000 (22:40 -0500)]
Convert old weapon names to new ones at submission time.
Ant Zucaro [Sat, 13 Dec 2014 03:39:27 +0000 (22:39 -0500)]
Add a dict to map from old weapon names to new.
Ant Zucaro [Wed, 10 Dec 2014 00:04:14 +0000 (19:04 -0500)]
Limit data points shown via JSON, not slice().
Ant Zucaro [Tue, 9 Dec 2014 23:51:46 +0000 (18:51 -0500)]
Remove NVD3 styles too.
Ant Zucaro [Mon, 8 Dec 2014 03:43:39 +0000 (22:43 -0500)]
Change verbiage about the weapon zero-values.
Ant Zucaro [Mon, 8 Dec 2014 03:26:44 +0000 (22:26 -0500)]
Remove NVD3 files. Goodnight, sweet prince!
You served us for a long time. I hate to see you go! Maybe we'll
meet again some time in the future.
Ant Zucaro [Mon, 8 Dec 2014 03:21:31 +0000 (22:21 -0500)]
Use Google Charts instead of NVD3.js.
The latter had some performance regressions after updating chrome.
These regressions caused browsers to crash in the worse cases.
Migrating to the Google Charts API provides a similar implementation
with a much nicer API. We get:
- Consistent colors for each weapon
- Clickable data points (events on selection)
- Tons of customization via a simple JSON options object
- No additional source files
- No need to buffer weapon stats JSON data with "zero" entries
Right now the AJAX requests are still using D3.js style. The next
step is to migrate them to jQuery or vanilla JS.
Ant Zucaro [Fri, 5 Dec 2014 01:33:48 +0000 (20:33 -0500)]
Enable userInteractiveGuideline() on acc chart.
Ant Zucaro [Thu, 4 Dec 2014 03:01:26 +0000 (22:01 -0500)]
Change chart heights to 250px.
Ant Zucaro [Thu, 4 Dec 2014 03:00:42 +0000 (22:00 -0500)]
Use latest and greatest NVD3.
Ant Zucaro [Wed, 3 Dec 2014 03:49:26 +0000 (22:49 -0500)]
Merge branch 'master' of github.com:antzucaro/XonStat
Ant Zucaro [Wed, 3 Dec 2014 03:46:20 +0000 (22:46 -0500)]
Do not rank sole qualifiers.
If a player is the only one with >= 32 Elo games, don't show their rank. They
are the only one present in the pool! It makes no sense to say a person ranks
in the ranking pool before showing status that way.
Ant Zucaro [Fri, 26 Sep 2014 01:50:25 +0000 (21:50 -0400)]
Add a robots view to support robots.txt.
Ant Zucaro [Wed, 3 Sep 2014 01:37:48 +0000 (21:37 -0400)]
Prevent 500s when the player has no caps.
Ant Zucaro [Wed, 18 Jun 2014 01:33:38 +0000 (21:33 -0400)]
Remove or otherwise disable some debug statements.
Ant Zucaro [Wed, 18 Jun 2014 01:30:37 +0000 (21:30 -0400)]
Add flash messaging. Failures do not work yet.
Ant Zucaro [Wed, 18 Jun 2014 01:04:39 +0000 (21:04 -0400)]
Add actual merge functionality.
Ant Zucaro [Tue, 17 Jun 2014 10:52:15 +0000 (06:52 -0400)]
Rename the CSRF token field.
Ant Zucaro [Mon, 16 Jun 2014 02:37:02 +0000 (22:37 -0400)]
Make a merge player form. Does not do anything yet though.
Ant Zucaro [Mon, 16 Jun 2014 01:42:43 +0000 (21:42 -0400)]
Add basic merge view with admin group membership required.
Ant Zucaro [Mon, 16 Jun 2014 01:29:53 +0000 (21:29 -0400)]
Change groupfinder to use the groups table.
Ant Zucaro [Mon, 16 Jun 2014 01:16:30 +0000 (21:16 -0400)]
Add support for the new player_groups table.
Ant Zucaro [Mon, 16 Jun 2014 01:11:36 +0000 (21:11 -0400)]
Set up some basic security things, including the root_factory (ACLFactory).
Ant Zucaro [Sat, 14 Jun 2014 12:04:24 +0000 (08:04 -0400)]
Disable the merge view for now.
Ant Zucaro [Sat, 14 Jun 2014 10:41:50 +0000 (06:41 -0400)]
Reconfigure the merge view a bit.
Ant Zucaro [Fri, 13 Jun 2014 18:18:58 +0000 (14:18 -0400)]
Remove old boilerplate authn and authz.
Ant Zucaro [Fri, 13 Jun 2014 18:01:01 +0000 (14:01 -0400)]
Verify logins with pyramid_persona.
Ant Zucaro [Fri, 13 Jun 2014 17:27:31 +0000 (13:27 -0400)]
Add style for signout button as well.
Ant Zucaro [Fri, 13 Jun 2014 16:05:53 +0000 (12:05 -0400)]
Add site name to the default config.
Ant Zucaro [Fri, 13 Jun 2014 13:10:39 +0000 (09:10 -0400)]
Missed a template for adding login button support. Adding it.
Ant Zucaro [Fri, 13 Jun 2014 13:09:54 +0000 (09:09 -0400)]
Add login button to users having an email address registered.
Ant Zucaro [Thu, 12 Jun 2014 14:43:10 +0000 (10:43 -0400)]
Add pyramid_persona in the runtime config. Ensure it has default config params.
Ant Zucaro [Thu, 12 Jun 2014 14:34:46 +0000 (10:34 -0400)]
Add pyramid_persona to the list of dependencies.
Ant Zucaro [Thu, 12 Jun 2014 14:31:56 +0000 (10:31 -0400)]
Fix title in the interceptor landing page.
Ant Zucaro [Wed, 11 Jun 2014 01:28:53 +0000 (21:28 -0400)]
Remove egg metadata from version control. Not needed.
Ant Zucaro [Wed, 11 Jun 2014 01:25:57 +0000 (21:25 -0400)]
Use waitress instead of Paste. Paste is deprecated.
Ant Zucaro [Wed, 11 Jun 2014 01:23:20 +0000 (21:23 -0400)]
Migrate to the new pyramid_mako plugin.
Ant Zucaro [Wed, 11 Jun 2014 01:22:24 +0000 (21:22 -0400)]
Add dependency on pyramid_beaker.
Ant Zucaro [Tue, 10 Jun 2014 00:57:36 +0000 (20:57 -0400)]
Wire up a simple forbidden response for merges.
Ant Zucaro [Tue, 10 Jun 2014 00:27:24 +0000 (20:27 -0400)]
Add default authentication and authorization libraries.
Ant Zucaro [Wed, 28 May 2014 00:38:33 +0000 (20:38 -0400)]
Add anticheat logging.
Ant Zucaro [Mon, 12 May 2014 21:28:35 +0000 (17:28 -0400)]
Use unicode translations (and thus glyphs) in badges.
Ant Zucaro [Mon, 12 May 2014 21:24:45 +0000 (17:24 -0400)]
Rename a parameter to better represent what it does.
Ant Zucaro [Mon, 12 May 2014 10:52:58 +0000 (06:52 -0400)]
Replace self-generated EOT file with Font Squirrel one.
Ant Zucaro [Sun, 11 May 2014 00:26:10 +0000 (20:26 -0400)]
Remove the old webfont files.
Ant Zucaro [Sun, 11 May 2014 00:22:46 +0000 (20:22 -0400)]
Add Xolonium glyph support. No more ASCII-only!
Our wonderful font artist sev has been working hard on the
Xolonium font for quite some time. He has posted a darkplaces to
standard unicode code point mapping for me to utilize in turning
the characters chosen in-game with actual glyphs in his font. The
result is awesome!
Ant Zucaro [Sat, 10 May 2014 00:16:06 +0000 (20:16 -0400)]
Remove request as a parameter to allow caching.
Ant Zucaro [Sat, 10 May 2014 00:09:31 +0000 (20:09 -0400)]
Set daily summary stats to 24 hours, add commas.
Ant Zucaro [Sat, 10 May 2014 00:04:41 +0000 (20:04 -0400)]
Standardize the structure of both summary stat lines.
Ant Zucaro [Mon, 14 Apr 2014 00:45:53 +0000 (20:45 -0400)]
Merge branch 'zykure/wip' of ssh://push.git.xonotic.org/xonstat into zykure
Ant Zucaro [Thu, 10 Apr 2014 12:29:50 +0000 (08:29 -0400)]
Add links to the game modes in the stat line.
The implementation of this is a bit funky. See the
comment in main.py for the get_day_summary_stats
function call. Long story short is I picked what I
believe to be the lesser of two evils - I'm
assembling a complex string inside the view instead
of putting a Python code block directly in the template.
Jan Behrens [Sun, 6 Apr 2014 13:42:38 +0000 (15:42 +0200)]
fix missing gametypes in some player badges
Ant Zucaro [Sat, 5 Apr 2014 13:43:18 +0000 (09:43 -0400)]
Reconfigure the day stats line.
It now shows the top five most active game modes and
summarizes the other ones as "other". This way people
can see what's being played dynamically rather than the
three static modes shown before (dm, ctf, duel).
Ant Zucaro [Fri, 4 Apr 2014 21:58:45 +0000 (17:58 -0400)]
Add a daily statline to the home page.
Gets the following aggregate statistics about the past 24 hours:
- the number of active players (day_active_players)
- the number of games (day_games)
- the total number of dm games (day_dm_games)
- the total number of duel games (day_duel_games)
- the total number of ctf games (day_ctf_games)
Cached by the hour, although it is not a terribly expensive query..