]> de.git.xonotic.org Git - xonotic/xonstat.git/log
xonotic/xonstat.git
9 years agoFix columns in the server_info view.
Ant Zucaro [Thu, 19 Mar 2015 22:40:07 +0000 (18:40 -0400)]
Fix columns in the server_info view.

9 years agoRemove missing views from the import list.
Ant Zucaro [Thu, 19 Mar 2015 22:36:34 +0000 (18:36 -0400)]
Remove missing views from the import list.

9 years agoInitial conversion of the server_info view.
Ant Zucaro [Wed, 18 Mar 2015 11:03:06 +0000 (07:03 -0400)]
Initial conversion of the server_info view.

9 years agoRemove the server_game_index view.
Ant Zucaro [Wed, 18 Mar 2015 10:43:02 +0000 (06:43 -0400)]
Remove the server_game_index view.

This view was replaced by the game_finder view. During that time I removed the
other views that implemented this functionality, but I must have missed this
one! It still had an active route mapping, although no other route used it.

9 years agoConvert the player_captimes view.
Ant Zucaro [Tue, 17 Mar 2015 22:26:07 +0000 (18:26 -0400)]
Convert the player_captimes view.

9 years agoConvert the player_game_index view.
Ant Zucaro [Tue, 17 Mar 2015 22:12:52 +0000 (18:12 -0400)]
Convert the player_game_index view.

9 years agoChange some of the 404 messages.
Ant Zucaro [Sat, 14 Mar 2015 11:31:31 +0000 (07:31 -0400)]
Change some of the 404 messages.

9 years agoRe-indent the 404 page.
Ant Zucaro [Sat, 14 Mar 2015 11:28:23 +0000 (07:28 -0400)]
Re-indent the 404 page.

9 years agoExpand the table width of all main index pages on mobile.
Ant Zucaro [Sat, 14 Mar 2015 02:20:46 +0000 (22:20 -0400)]
Expand the table width of all main index pages on mobile.

9 years agoFix the form submission field.
Ant Zucaro [Sat, 14 Mar 2015 02:15:15 +0000 (22:15 -0400)]
Fix the form submission field.

9 years agoConvert the map_index page.
Ant Zucaro [Sat, 14 Mar 2015 02:12:57 +0000 (22:12 -0400)]
Convert the map_index page.

9 years agoAdd thead elements to get the proper highlighting.
Ant Zucaro [Sat, 14 Mar 2015 02:03:55 +0000 (22:03 -0400)]
Add thead elements to get the proper highlighting.

9 years agoConvert the server_index page.
Ant Zucaro [Sat, 14 Mar 2015 02:01:26 +0000 (22:01 -0400)]
Convert the server_index page.

9 years agoConvert the player_index page.
Ant Zucaro [Sat, 14 Mar 2015 01:53:21 +0000 (21:53 -0400)]
Convert the player_index page.

9 years agoFinish up the game finder page.
Ant Zucaro [Fri, 13 Mar 2015 01:58:09 +0000 (21:58 -0400)]
Finish up the game finder page.

I added styles to the nice row of gametype buttons at the top and made sure
that they didn't break the flow on mobile.

9 years agoSize the games table on the games finder page.
Ant Zucaro [Fri, 13 Mar 2015 01:25:35 +0000 (21:25 -0400)]
Size the games table on the games finder page.

9 years agoAdd foundation tabs to the top of the game finder page.
Ant Zucaro [Mon, 9 Mar 2015 22:20:42 +0000 (18:20 -0400)]
Add foundation tabs to the top of the game finder page.

9 years agoMake the top maps page mobile-friendly.
Ant Zucaro [Sun, 8 Mar 2015 13:33:49 +0000 (09:33 -0400)]
Make the top maps page mobile-friendly.

9 years agoUse columns for top players by time.
Ant Zucaro [Sun, 8 Mar 2015 13:28:04 +0000 (09:28 -0400)]
Use columns for top players by time.

9 years agoMake the topservers page mobile-friendly.
Ant Zucaro [Sun, 8 Mar 2015 13:27:18 +0000 (09:27 -0400)]
Make the topservers page mobile-friendly.

9 years agoMake the topactive page mobile-friendly.
Ant Zucaro [Sun, 8 Mar 2015 13:22:31 +0000 (09:22 -0400)]
Make the topactive page mobile-friendly.

9 years agoUse foundation classes for navigation links.
Ant Zucaro [Sun, 8 Mar 2015 13:15:15 +0000 (09:15 -0400)]
Use foundation classes for navigation links.

9 years agoMake the ranks page mobile-friendly.
Ant Zucaro [Sun, 8 Mar 2015 13:11:55 +0000 (09:11 -0400)]
Make the ranks page mobile-friendly.

9 years agoScale the columns of Recent Games.
Ant Zucaro [Sun, 8 Mar 2015 12:56:41 +0000 (08:56 -0400)]
Scale the columns of Recent Games.

9 years agoMake the tiny buttons truly tiny.
Ant Zucaro [Sun, 8 Mar 2015 12:55:42 +0000 (08:55 -0400)]
Make the tiny buttons truly tiny.

9 years agoMove the statline down 10px.
Ant Zucaro [Sat, 7 Mar 2015 14:22:18 +0000 (09:22 -0500)]
Move the statline down 10px.

9 years agoUse the predefined grid percentages instead.
Ant Zucaro [Sat, 7 Mar 2015 14:21:39 +0000 (09:21 -0500)]
Use the predefined grid percentages instead.

9 years agoUse the correct overflow for the ranks row. Percentages too!
Ant Zucaro [Sat, 7 Mar 2015 14:00:09 +0000 (09:00 -0500)]
Use the correct overflow for the ranks row. Percentages too!

9 years agoSmall screens should use 12 columns, not 1.
Ant Zucaro [Sat, 7 Mar 2015 13:59:12 +0000 (08:59 -0500)]
Small screens should use 12 columns, not 1.

9 years agoStart styling the home page. Tables, argh...
Ant Zucaro [Wed, 4 Mar 2015 03:10:59 +0000 (22:10 -0500)]
Start styling the home page. Tables, argh...

9 years agoRe-add the "hero unit" block.
Ant Zucaro [Wed, 4 Mar 2015 03:10:29 +0000 (22:10 -0500)]
Re-add the "hero unit" block.

9 years agoThe statline is a class, not an ID.
Ant Zucaro [Wed, 4 Mar 2015 01:44:55 +0000 (20:44 -0500)]
The statline is a class, not an ID.

9 years agoDarken the background similar to the website.
Ant Zucaro [Wed, 4 Mar 2015 01:41:35 +0000 (20:41 -0500)]
Darken the background similar to the website.

9 years agoShrink the Xonotic logo using pngquant.
Ant Zucaro [Wed, 4 Mar 2015 01:41:03 +0000 (20:41 -0500)]
Shrink the Xonotic logo using pngquant.

9 years agoAdd back the statline style.
Ant Zucaro [Sun, 1 Mar 2015 23:20:09 +0000 (18:20 -0500)]
Add back the statline style.

9 years agoMove the search view into the sub-nav.
Ant Zucaro [Sun, 1 Mar 2015 13:32:26 +0000 (08:32 -0500)]
Move the search view into the sub-nav.

9 years agoAdd sub-nav to access stats-specific pages.
Ant Zucaro [Sun, 1 Mar 2015 13:27:26 +0000 (08:27 -0500)]
Add sub-nav to access stats-specific pages.

9 years agoPort the footer.
Ant Zucaro [Sat, 28 Feb 2015 21:57:17 +0000 (16:57 -0500)]
Port the footer.

9 years agoRemove more glyphicons.
Ant Zucaro [Sat, 28 Feb 2015 21:45:17 +0000 (16:45 -0500)]
Remove more glyphicons.

9 years agoAdd background image.
Ant Zucaro [Sat, 28 Feb 2015 21:44:45 +0000 (16:44 -0500)]
Add background image.

9 years agoIncorporate Font Awesome.
Ant Zucaro [Sat, 28 Feb 2015 21:28:25 +0000 (16:28 -0500)]
Incorporate Font Awesome.

9 years agoAdd Font Awesome CSS.
Ant Zucaro [Sat, 28 Feb 2015 21:28:12 +0000 (16:28 -0500)]
Add Font Awesome CSS.

9 years agoAdd Font Awesome.
Ant Zucaro [Sat, 28 Feb 2015 21:25:33 +0000 (16:25 -0500)]
Add Font Awesome.

9 years agoRemove glyphicons.
Ant Zucaro [Sat, 28 Feb 2015 21:24:42 +0000 (16:24 -0500)]
Remove glyphicons.

9 years agoRemove bootstrap. See ya!
Ant Zucaro [Sat, 28 Feb 2015 21:20:56 +0000 (16:20 -0500)]
Remove bootstrap. See ya!

9 years agoPort over foundation-specific overrides.
Ant Zucaro [Sat, 28 Feb 2015 21:16:31 +0000 (16:16 -0500)]
Port over foundation-specific overrides.

9 years agoClear out the old styles. We'll port only the ones we need.
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.

9 years agoPort navigation header from the main site.
Ant Zucaro [Sat, 28 Feb 2015 20:51:08 +0000 (15:51 -0500)]
Port navigation header from the main site.

9 years agoChange background to match the main site.
Ant Zucaro [Sat, 28 Feb 2015 20:32:44 +0000 (15:32 -0500)]
Change background to match the main site.

9 years agoChange the base template.
Ant Zucaro [Sat, 28 Feb 2015 20:23:35 +0000 (15:23 -0500)]
Change the base template.

9 years agoAdd foundation files.
Ant Zucaro [Sat, 28 Feb 2015 20:22:57 +0000 (15:22 -0500)]
Add foundation files.

9 years agoPaginate differently on the game_finder page.
Ant Zucaro [Mon, 23 Feb 2015 23:19:44 +0000 (18:19 -0500)]
Paginate differently on the game_finder page.

9 years agoRemove arbitrary page navigation for game_index.
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.

9 years agoSpecify recent games by starting or ending game_id.
Ant Zucaro [Sun, 22 Feb 2015 21:27:11 +0000 (16:27 -0500)]
Specify recent games by starting or ending game_id.

9 years agoSet status code to 404 for the 404 page.
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.

9 years agoForce the GET param to be an int.
Ant Zucaro [Sun, 11 Jan 2015 14:35:03 +0000 (09:35 -0500)]
Force the GET param to be an int.

9 years agoOrder by create_dt descending, not game_id descending.
Ant Zucaro [Sun, 11 Jan 2015 14:34:36 +0000 (09:34 -0500)]
Order by create_dt descending, not game_id descending.

9 years agoFix type error on ARRAY assertion.
Ant Zucaro [Thu, 25 Dec 2014 03:36:55 +0000 (22:36 -0500)]
Fix type error on ARRAY assertion.

9 years agoUse the GIN index wherever possible.
Ant Zucaro [Thu, 25 Dec 2014 03:32:17 +0000 (22:32 -0500)]
Use the GIN index wherever possible.

9 years agoRemove function for finding recently used weapons.
Ant Zucaro [Thu, 25 Dec 2014 02:08:48 +0000 (21:08 -0500)]
Remove function for finding recently used weapons.

9 years agoMerge branch 'master' of github.com:antzucaro/XonStat
Ant Zucaro [Thu, 25 Dec 2014 01:55:12 +0000 (20:55 -0500)]
Merge branch 'master' of github.com:antzucaro/XonStat

9 years agoRemove references to Chameleon templates.
Ant Zucaro [Thu, 25 Dec 2014 01:54:54 +0000 (20:54 -0500)]
Remove references to Chameleon templates.

9 years agoDo not include jinja2 if we do not use it.
Ant Zucaro [Thu, 25 Dec 2014 01:53:07 +0000 (20:53 -0500)]
Do not include jinja2 if we do not use it.

9 years agoSpeed up weaponstats requests by 2.5x.
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).

9 years agoOrder player caps by date. Fixes #147.
Ant Zucaro [Thu, 18 Dec 2014 02:57:44 +0000 (21:57 -0500)]
Order player caps by date. Fixes #147.

9 years agoUpdate year...just before the new year.
Ant Zucaro [Thu, 18 Dec 2014 02:45:31 +0000 (21:45 -0500)]
Update year...just before the new year.

9 years agoGet rid of old damage chart template.
Ant Zucaro [Thu, 18 Dec 2014 02:40:57 +0000 (21:40 -0500)]
Get rid of old damage chart template.

9 years agoUse minified version of charts JS.
Ant Zucaro [Thu, 18 Dec 2014 02:34:53 +0000 (21:34 -0500)]
Use minified version of charts JS.

9 years agoAdd minimized version of the weapon charts JS.
Ant Zucaro [Thu, 18 Dec 2014 02:33:08 +0000 (21:33 -0500)]
Add minimized version of the weapon charts JS.

9 years agoRemove D3 as a dependency.
Ant Zucaro [Thu, 18 Dec 2014 02:18:45 +0000 (21:18 -0500)]
Remove D3 as a dependency.

9 years agoUse jQuery instead of D3 for selection & AJAX.
Ant Zucaro [Thu, 18 Dec 2014 02:03:57 +0000 (21:03 -0500)]
Use jQuery instead of D3 for selection & AJAX.

9 years agoUse the latest stable jQuery.
Ant Zucaro [Wed, 17 Dec 2014 02:08:58 +0000 (21:08 -0500)]
Use the latest stable jQuery.

9 years agoGet rid of Google Analytics.
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.

9 years agoStore player_ids in the games table.
Ant Zucaro [Tue, 16 Dec 2014 03:24:40 +0000 (22:24 -0500)]
Store player_ids in the games table.

9 years agoPersona goes to last in line. Sorry Persona.
Ant Zucaro [Tue, 16 Dec 2014 01:55:20 +0000 (20:55 -0500)]
Persona goes to last in line. Sorry Persona.

9 years agoRemove old style files.
Ant Zucaro [Sun, 14 Dec 2014 15:20:27 +0000 (10:20 -0500)]
Remove old style files.

9 years agoChange access keys to match new names.
Ant Zucaro [Sat, 13 Dec 2014 14:19:44 +0000 (09:19 -0500)]
Change access keys to match new names.

9 years agoChange labels and color keys in the weapon charts.
Ant Zucaro [Sat, 13 Dec 2014 04:20:07 +0000 (23:20 -0500)]
Change labels and color keys in the weapon charts.

9 years agoIsolate the weapon rename to the weapon_cd only.
Ant Zucaro [Sat, 13 Dec 2014 04:11:21 +0000 (23:11 -0500)]
Isolate the weapon rename to the weapon_cd only.

9 years agoMake sprite aliases for new weapon names.
Ant Zucaro [Sat, 13 Dec 2014 04:06:07 +0000 (23:06 -0500)]
Make sprite aliases for new weapon names.

9 years agoConvert old weapon names to new ones at submission time.
Ant Zucaro [Sat, 13 Dec 2014 03:40:00 +0000 (22:40 -0500)]
Convert old weapon names to new ones at submission time.

9 years agoAdd a dict to map from old weapon names to new.
Ant Zucaro [Sat, 13 Dec 2014 03:39:27 +0000 (22:39 -0500)]
Add a dict to map from old weapon names to new.

9 years agoLimit data points shown via JSON, not slice().
Ant Zucaro [Wed, 10 Dec 2014 00:04:14 +0000 (19:04 -0500)]
Limit data points shown via JSON, not slice().

9 years agoRemove NVD3 styles too.
Ant Zucaro [Tue, 9 Dec 2014 23:51:46 +0000 (18:51 -0500)]
Remove NVD3 styles too.

9 years agoChange verbiage about the weapon zero-values.
Ant Zucaro [Mon, 8 Dec 2014 03:43:39 +0000 (22:43 -0500)]
Change verbiage about the weapon zero-values.

9 years agoRemove NVD3 files. Goodnight, sweet prince!
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.

9 years agoUse Google Charts instead of NVD3.js.
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.

9 years agoEnable userInteractiveGuideline() on acc chart.
Ant Zucaro [Fri, 5 Dec 2014 01:33:48 +0000 (20:33 -0500)]
Enable userInteractiveGuideline() on acc chart.

9 years agoChange chart heights to 250px.
Ant Zucaro [Thu, 4 Dec 2014 03:01:26 +0000 (22:01 -0500)]
Change chart heights to 250px.

9 years agoUse latest and greatest NVD3.
Ant Zucaro [Thu, 4 Dec 2014 03:00:42 +0000 (22:00 -0500)]
Use latest and greatest NVD3.

9 years agoMerge branch 'master' of github.com:antzucaro/XonStat
Ant Zucaro [Wed, 3 Dec 2014 03:49:26 +0000 (22:49 -0500)]
Merge branch 'master' of github.com:antzucaro/XonStat

9 years agoDo not rank sole qualifiers.
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.

9 years agoAdd a robots view to support robots.txt.
Ant Zucaro [Fri, 26 Sep 2014 01:50:25 +0000 (21:50 -0400)]
Add a robots view to support robots.txt.

9 years agoPrevent 500s when the player has no caps.
Ant Zucaro [Wed, 3 Sep 2014 01:37:48 +0000 (21:37 -0400)]
Prevent 500s when the player has no caps.

9 years agoRemove or otherwise disable some debug statements.
Ant Zucaro [Wed, 18 Jun 2014 01:33:38 +0000 (21:33 -0400)]
Remove or otherwise disable some debug statements.

9 years agoAdd flash messaging. Failures do not work yet.
Ant Zucaro [Wed, 18 Jun 2014 01:30:37 +0000 (21:30 -0400)]
Add flash messaging. Failures do not work yet.

9 years agoAdd actual merge functionality.
Ant Zucaro [Wed, 18 Jun 2014 01:04:39 +0000 (21:04 -0400)]
Add actual merge functionality.

9 years agoRename the CSRF token field.
Ant Zucaro [Tue, 17 Jun 2014 10:52:15 +0000 (06:52 -0400)]
Rename the CSRF token field.

9 years agoMake a merge player form. Does not do anything yet though.
Ant Zucaro [Mon, 16 Jun 2014 02:37:02 +0000 (22:37 -0400)]
Make a merge player form. Does not do anything yet though.

9 years agoAdd basic merge view with admin group membership required.
Ant Zucaro [Mon, 16 Jun 2014 01:42:43 +0000 (21:42 -0400)]
Add basic merge view with admin group membership required.