xonotic/xonstat.git
4 months agoProvide the correct number of placeholder values. master
Ant Zucaro [Sat, 19 Jan 2019 14:00:34 +0000 (09:00 -0500)]
Provide the correct number of placeholder values.

4 months agoReturn actual data in the /map/<map id> JSON views.
Ant Zucaro [Sun, 30 Dec 2018 00:04:49 +0000 (19:04 -0500)]
Return actual data in the /map/<map id> JSON views.

4 months agoEnable JSON for the games view as well. json-suffix
Ant Zucaro [Mon, 24 Dec 2018 16:18:26 +0000 (11:18 -0500)]
Enable JSON for the games view as well.

4 months agoFormatting.
Ant Zucaro [Mon, 24 Dec 2018 15:57:58 +0000 (10:57 -0500)]
Formatting.

4 months agoAdd better content negotiation.
Ant Zucaro [Mon, 24 Dec 2018 15:36:19 +0000 (10:36 -0500)]
Add better content negotiation.

5 months agoFix the guide link in the stats nav to match the website.
Ant Zucaro [Wed, 19 Dec 2018 02:49:12 +0000 (21:49 -0500)]
Fix the guide link in the stats nav to match the website.

5 months agoReturn something useful for a game's JSON view.
Ant Zucaro [Sat, 15 Dec 2018 18:22:03 +0000 (13:22 -0500)]
Return something useful for a game's JSON view.

5 months agoAdd a better to_dict() implementation for pgstats.
Ant Zucaro [Sat, 15 Dec 2018 18:21:39 +0000 (13:21 -0500)]
Add a better to_dict() implementation for pgstats.

7 months agoMerge pull request #35 from antzucaro/win-percentage
Ant Zucaro [Sat, 6 Oct 2018 16:27:10 +0000 (12:27 -0400)]
Merge pull request #35 from antzucaro/win-percentage

Win percentage

7 months agoKA is another mode similar to the others. win-percentage 9/head
Ant Zucaro [Tue, 25 Sep 2018 10:57:53 +0000 (06:57 -0400)]
KA is another mode similar to the others.

7 months agoDon't track win ratios for DM and CTS.
Ant Zucaro [Tue, 25 Sep 2018 02:25:00 +0000 (22:25 -0400)]
Don't track win ratios for DM and CTS.

These are both individual game modes that lead to misleading
win:loss ratios since by definition the majority of participants (all
but the first place person) have "lost" the match.

8 months agoLMS and RC aren't supported either.
Ant Zucaro [Sat, 22 Sep 2018 15:29:38 +0000 (11:29 -0400)]
LMS and RC aren't supported either.

8 months agoConquest hasn't been supported in forever...
Ant Zucaro [Sat, 22 Sep 2018 15:19:40 +0000 (11:19 -0400)]
Conquest hasn't been supported in forever...

11 months agoAllow 1-player CTS matches to be recorded.
Ant Zucaro [Sat, 16 Jun 2018 13:53:16 +0000 (09:53 -0400)]
Allow 1-player CTS matches to be recorded.

12 months agoRemove Piwik.
Ant Zucaro [Fri, 27 Apr 2018 22:36:49 +0000 (18:36 -0400)]
Remove Piwik.

14 months agoAdd a JSON endpoint for summary stats.
Ant Zucaro [Sun, 18 Mar 2018 14:49:49 +0000 (10:49 -0400)]
Add a JSON endpoint for summary stats.

14 months agoSanitize the scope at the endpoint level. summary-stats
Ant Zucaro [Sun, 18 Mar 2018 14:48:40 +0000 (10:48 -0400)]
Sanitize the scope at the endpoint level.

14 months agoAdd a separate JSON view for summary stats.
Ant Zucaro [Wed, 14 Mar 2018 02:10:48 +0000 (22:10 -0400)]
Add a separate JSON view for summary stats.

16 months agoMake ranks an empty dictionary instead.
Ant Zucaro [Thu, 4 Jan 2018 22:28:10 +0000 (17:28 -0500)]
Make ranks an empty dictionary instead.

16 months agoReturn an empty list of ranks for JSON views.
Ant Zucaro [Thu, 4 Jan 2018 22:15:44 +0000 (17:15 -0500)]
Return an empty list of ranks for JSON views.

16 months agoThe blank space isn't needed.
Ant Zucaro [Thu, 4 Jan 2018 22:14:38 +0000 (17:14 -0500)]
The blank space isn't needed.

16 months agoRemove references to ranks on the player info page.
Ant Zucaro [Thu, 4 Jan 2018 22:04:30 +0000 (17:04 -0500)]
Remove references to ranks on the player info page.

16 months agoRemove access to the rank index pages.
Ant Zucaro [Thu, 4 Jan 2018 21:55:35 +0000 (16:55 -0500)]
Remove access to the rank index pages.

16 months agoRemove ranks from the front page.
Ant Zucaro [Thu, 4 Jan 2018 21:53:55 +0000 (16:53 -0500)]
Remove ranks from the front page.

16 months agoAdd a simple check to prevent most blank files.
Ant Zucaro [Thu, 4 Jan 2018 21:49:35 +0000 (16:49 -0500)]
Add a simple check to prevent most blank files.

17 months agoMerge branch 'top-servers'
Ant Zucaro [Sat, 25 Nov 2017 22:08:05 +0000 (17:08 -0500)]
Merge branch 'top-servers'

17 months agoAdd a hover message to the 'time' column. top-servers 8/head
Ant Zucaro [Sat, 25 Nov 2017 21:39:25 +0000 (16:39 -0500)]
Add a hover message to the 'time' column.

17 months agoUpdate the interval's string format function for space.
Ant Zucaro [Sat, 25 Nov 2017 21:25:54 +0000 (16:25 -0500)]
Update the interval's string format function for space.

18 months agoDon't compute the frag matrix for all game types.
Ant Zucaro [Sat, 18 Nov 2017 14:17:30 +0000 (09:17 -0500)]
Don't compute the frag matrix for all game types.

18 months agoMake the table headers match.
Ant Zucaro [Wed, 8 Nov 2017 03:00:26 +0000 (22:00 -0500)]
Make the table headers match.

18 months agoUse an instance method to format the play time string.
Ant Zucaro [Wed, 8 Nov 2017 02:59:03 +0000 (21:59 -0500)]
Use an instance method to format the play time string.

18 months agoChange the name of the method to fetch top servers.
Ant Zucaro [Wed, 8 Nov 2017 02:30:08 +0000 (21:30 -0500)]
Change the name of the method to fetch top servers.

18 months agoChange the field to match the table column.
Ant Zucaro [Wed, 8 Nov 2017 02:25:03 +0000 (21:25 -0500)]
Change the field to match the table column.

18 months agoMerge pull request #34 from antzucaro/versus-in-menu
Ant Zucaro [Sat, 28 Oct 2017 20:03:52 +0000 (16:03 -0400)]
Merge pull request #34 from antzucaro/versus-in-menu

Add the versus page to the menu

18 months agoMerge pull request #33 from antzucaro/matrix-diagonal-help
Ant Zucaro [Sat, 28 Oct 2017 20:03:40 +0000 (16:03 -0400)]
Merge pull request #33 from antzucaro/matrix-diagonal-help

Frag matrix improvements

18 months agoAdd a title for the versus page. versus-in-menu
Ant Zucaro [Sat, 28 Oct 2017 14:41:40 +0000 (10:41 -0400)]
Add a title for the versus page.

18 months agoAdd a link to the 'versus' page in the dropdown.
Ant Zucaro [Sat, 28 Oct 2017 14:37:22 +0000 (10:37 -0400)]
Add a link to the 'versus' page in the dropdown.

18 months agoAdd a little help bubble in the top-left <td>. matrix-diagonal-help
Ant Zucaro [Sat, 28 Oct 2017 14:28:42 +0000 (10:28 -0400)]
Add a little help bubble in the top-left <td>.

18 months agoShow blanks along the diagonal.
Ant Zucaro [Sat, 28 Oct 2017 14:18:09 +0000 (10:18 -0400)]
Show blanks along the diagonal.

18 months agoMerge pull request #31 from antzucaro/piwik
Ant Zucaro [Sat, 28 Oct 2017 13:41:43 +0000 (09:41 -0400)]
Merge pull request #31 from antzucaro/piwik

Add Piwik analytics.

18 months agoMerge pull request #32 from antzucaro/footer
Ant Zucaro [Sat, 28 Oct 2017 13:41:30 +0000 (09:41 -0400)]
Merge pull request #32 from antzucaro/footer

Add back the footer attribution below everything else.

19 months agoAdd back the footer attribution below everything else.
Ant Zucaro [Sun, 22 Oct 2017 18:03:16 +0000 (14:03 -0400)]
Add back the footer attribution below everything else.

19 months agoAdd Piwik analytics.
Ant Zucaro [Sun, 22 Oct 2017 17:46:17 +0000 (13:46 -0400)]
Add Piwik analytics.

19 months agoMerge pull request #29 from antzucaro/frag-matrix-breakfix
Ant Zucaro [Sun, 22 Oct 2017 17:34:52 +0000 (13:34 -0400)]
Merge pull request #29 from antzucaro/frag-matrix-breakfix

If no frag matrix row is found, show zeros.

19 months agoMerge pull request #30 from antzucaro/setup-py-breakfix
Ant Zucaro [Sun, 22 Oct 2017 17:34:36 +0000 (13:34 -0400)]
Merge pull request #30 from antzucaro/setup-py-breakfix

setup.py breakfix

19 months agoUpdate the README to be more clear about dependencies and building the actual app.
Ant Zucaro [Tue, 17 Oct 2017 23:56:42 +0000 (19:56 -0400)]
Update the README to be more clear about dependencies and building the actual app.

19 months agoReinstate entry_points.
Ant Zucaro [Tue, 17 Oct 2017 23:51:24 +0000 (19:51 -0400)]
Reinstate entry_points.

19 months agoIf no frag matrix row is found, show zeros.
Ant Zucaro [Tue, 17 Oct 2017 23:32:52 +0000 (19:32 -0400)]
If no frag matrix row is found, show zeros.

If a player has no frags, s/he won't have a frag matrix row, but will
still have a record in the player_game_stats table.

19 months agoProperly account for Elo opt-outs.
Ant Zucaro [Tue, 17 Oct 2017 00:09:21 +0000 (20:09 -0400)]
Properly account for Elo opt-outs.

19 months agoSync with Gitlab.
Ant Zucaro [Sat, 7 Oct 2017 13:08:56 +0000 (09:08 -0400)]
Sync with Gitlab.

19 months agoAdd an additional check before storing matrix rows.
Ant Zucaro [Sat, 7 Oct 2017 13:07:42 +0000 (09:07 -0400)]
Add an additional check before storing matrix rows.

19 months agoOnly store frag matrix rows if there is actually something in them. frag-matrix
Ant Zucaro [Sat, 7 Oct 2017 13:06:23 +0000 (09:06 -0400)]
Only store frag matrix rows if there is actually something in them.

19 months agoMerge pull request #28 from antzucaro/frag-matrix
Ant Zucaro [Sat, 7 Oct 2017 12:55:51 +0000 (08:55 -0400)]
Merge pull request #28 from antzucaro/frag-matrix

Parse frag matrices and show them on the "game info" page.

19 months agoMerge branch 'frag-matrix' into 'master'
Ant Zucaro [Sat, 7 Oct 2017 12:55:38 +0000 (12:55 +0000)]
Merge branch 'frag-matrix' into 'master'

Parse frag matrices and show them on the "game info" page.

See merge request xonotic/xonstat!7

19 months agoAdd headers and rearrange so things look clean. 7/head
Ant Zucaro [Fri, 6 Oct 2017 01:36:08 +0000 (21:36 -0400)]
Add headers and rearrange so things look clean.

19 months agoAdd the compiled/compressed CSS.
Ant Zucaro [Fri, 6 Oct 2017 01:14:39 +0000 (21:14 -0400)]
Add the compiled/compressed CSS.

19 months agoAdd styles to make the headers vertical.
Ant Zucaro [Fri, 6 Oct 2017 01:10:30 +0000 (21:10 -0400)]
Add styles to make the headers vertical.

19 months agoInitial display of the frag matrix.
Ant Zucaro [Thu, 5 Oct 2017 01:00:04 +0000 (21:00 -0400)]
Initial display of the frag matrix.

19 months agoStore the frag matrix in the proper table.
Ant Zucaro [Tue, 3 Oct 2017 00:59:48 +0000 (20:59 -0400)]
Store the frag matrix in the proper table.

19 months agoAdd all the other attributes of the table to the object.
Ant Zucaro [Tue, 3 Oct 2017 00:59:21 +0000 (20:59 -0400)]
Add all the other attributes of the table to the object.

19 months agoAdd mappings for the player_game_frag_matrix table.
Ant Zucaro [Tue, 3 Oct 2017 00:07:44 +0000 (20:07 -0400)]
Add mappings for the player_game_frag_matrix table.

19 months agoA rough outline of constructing the frag matrix for a single player.
Ant Zucaro [Sat, 30 Sep 2017 14:07:04 +0000 (10:07 -0400)]
A rough outline of constructing the frag matrix for a single player.

20 months agoFix for scoreboard-scores being float values. score-float-conversion
Ant Zucaro [Tue, 19 Sep 2017 20:11:37 +0000 (16:11 -0400)]
Fix for scoreboard-scores being float values.

20 months agoFix merge conflict. allow-ranking 6/head
Ant Zucaro [Sun, 17 Sep 2017 15:27:39 +0000 (11:27 -0400)]
Fix merge conflict.

20 months agoEliminate the wrong debug message. I'm too tired...
Ant Zucaro [Sun, 17 Sep 2017 15:25:24 +0000 (11:25 -0400)]
Eliminate the wrong debug message. I'm too tired...

20 months agoAllow opting out of the ranking process.
Ant Zucaro [Sun, 17 Sep 2017 15:03:12 +0000 (11:03 -0400)]
Allow opting out of the ranking process.

20 months agoThat was a bad idea. Remove it. 5/head
Ant Zucaro [Sun, 17 Sep 2017 15:05:10 +0000 (11:05 -0400)]
That was a bad idea. Remove it.

20 months agoAllow opting out of the ranking process.
Ant Zucaro [Sun, 17 Sep 2017 15:03:12 +0000 (11:03 -0400)]
Allow opting out of the ranking process.

20 months agoAdd those settings to the sample INI files.
Ant Zucaro [Sun, 17 Sep 2017 14:41:37 +0000 (10:41 -0400)]
Add those settings to the sample INI files.

20 months agoFetch server settings from the INI file.
Ant Zucaro [Sun, 17 Sep 2017 14:37:19 +0000 (10:37 -0400)]
Fetch server settings from the INI file.

20 months agoReturn 404 on query errors.
Ant Zucaro [Sun, 3 Sep 2017 15:18:13 +0000 (11:18 -0400)]
Return 404 on query errors.

20 months agoAdd the template as well.
Ant Zucaro [Sun, 3 Sep 2017 15:10:20 +0000 (11:10 -0400)]
Add the template as well.

20 months agoAdd separate views for the top servers on a map.
Ant Zucaro [Sun, 3 Sep 2017 15:09:45 +0000 (11:09 -0400)]
Add separate views for the top servers on a map.

20 months agoAdd a requirements file.
Ant Zucaro [Sat, 26 Aug 2017 14:38:18 +0000 (10:38 -0400)]
Add a requirements file.

20 months agoSimplify the setup.py file.
Ant Zucaro [Sat, 26 Aug 2017 14:37:46 +0000 (10:37 -0400)]
Simplify the setup.py file.

22 months agoAdd the 'topactive' view to maps as well. Work-in-progress.
Ant Zucaro [Sat, 8 Jul 2017 14:00:24 +0000 (10:00 -0400)]
Add the 'topactive' view to maps as well. Work-in-progress.

22 months agoAdd the fuzzy and epoch dates to the maps JSON response.
Ant Zucaro [Sat, 8 Jul 2017 13:18:51 +0000 (09:18 -0400)]
Add the fuzzy and epoch dates to the maps JSON response.

2 years agoNope, it was right the first time.
Ant Zucaro [Tue, 2 May 2017 14:45:10 +0000 (10:45 -0400)]
Nope, it was right the first time.

2 years agoSubtract the ping scorefactor.
Ant Zucaro [Tue, 2 May 2017 13:28:37 +0000 (09:28 -0400)]
Subtract the ping scorefactor.

2 years agoMove the dummy session var up to convince PyCharm it will be there.
Ant Zucaro [Sat, 29 Apr 2017 14:43:06 +0000 (10:43 -0400)]
Move the dummy session var up to convince PyCharm it will be there.

2 years agoTurn off debug statements after letting things settle a bit.
Ant Zucaro [Sat, 29 Apr 2017 13:21:10 +0000 (09:21 -0400)]
Turn off debug statements after letting things settle a bit.

2 years agoAdd some new files to the ignore file.
Ant Zucaro [Sat, 29 Apr 2017 13:19:43 +0000 (09:19 -0400)]
Add some new files to the ignore file.

2 years agoSee you later, setup.cfg.
Ant Zucaro [Sat, 29 Apr 2017 13:16:45 +0000 (09:16 -0400)]
See you later, setup.cfg.

2 years agoUpdate the dates on the license.
Ant Zucaro [Sat, 29 Apr 2017 13:15:49 +0000 (09:15 -0400)]
Update the dates on the license.

2 years agoWe don't need CHANGES.txt either.
Ant Zucaro [Sat, 29 Apr 2017 13:15:23 +0000 (09:15 -0400)]
We don't need CHANGES.txt either.

2 years agoRemove the TODO. It was ancient!
Ant Zucaro [Sat, 29 Apr 2017 13:14:20 +0000 (09:14 -0400)]
Remove the TODO. It was ancient!

2 years agoMerge pull request #27 from antzucaro/elo-ping-latency
Ant Zucaro [Fri, 28 Apr 2017 00:39:29 +0000 (20:39 -0400)]
Merge pull request #27 from antzucaro/elo-ping-latency

Factor in average latency when forming an Elo prediction

2 years agoEnsure floats. elo-ping-latency
Ant Zucaro [Mon, 24 Apr 2017 23:43:48 +0000 (19:43 -0400)]
Ensure floats.

2 years agoApply ping adjustments to scorefactor_elo instead.
Ant Zucaro [Mon, 24 Apr 2017 22:35:24 +0000 (18:35 -0400)]
Apply ping adjustments to scorefactor_elo instead.

2 years agoApply the ping factor to Elo adjustment values.
Ant Zucaro [Sun, 23 Apr 2017 15:40:19 +0000 (11:40 -0400)]
Apply the ping factor to Elo adjustment values.

2 years agoAdd latency stuff, clean up a couple of PEP8 things.
Ant Zucaro [Sat, 22 Apr 2017 20:55:28 +0000 (16:55 -0400)]
Add latency stuff, clean up a couple of PEP8 things.

2 years agoRaise HTTP 422 if the submission doesn't parse. elo-categories
Ant Zucaro [Sat, 22 Apr 2017 19:50:48 +0000 (15:50 -0400)]
Raise HTTP 422 if the submission doesn't parse.

2 years agoParse the submission in the constructor.
Ant Zucaro [Sat, 22 Apr 2017 19:26:51 +0000 (15:26 -0400)]
Parse the submission in the constructor.

2 years agoAlways set the returned Elo dict. Small PEP8 changes.
Ant Zucaro [Sat, 22 Apr 2017 13:06:15 +0000 (09:06 -0400)]
Always set the returned Elo dict. Small PEP8 changes.

2 years agoUse the new data structures in the submission handler.
Ant Zucaro [Sat, 22 Apr 2017 12:47:16 +0000 (08:47 -0400)]
Use the new data structures in the submission handler.

2 years agoSimplify the player create/update function.
Ant Zucaro [Sat, 22 Apr 2017 12:30:09 +0000 (08:30 -0400)]
Simplify the player create/update function.

2 years agoClean up the function signature a bit.
Ant Zucaro [Mon, 13 Feb 2017 22:43:18 +0000 (17:43 -0500)]
Clean up the function signature a bit.

2 years agoStart work on refactoring the functions that create and update players.
Ant Zucaro [Mon, 13 Feb 2017 22:42:03 +0000 (17:42 -0500)]
Start work on refactoring the functions that create and update players.

2 years agoClean up the create_game function.
Ant Zucaro [Mon, 13 Feb 2017 22:15:07 +0000 (17:15 -0500)]
Clean up the create_game function.

2 years agoClean up the get_or_create_map function.
Ant Zucaro [Mon, 13 Feb 2017 21:56:57 +0000 (16:56 -0500)]
Clean up the get_or_create_map function.