]> de.git.xonotic.org Git - xonotic/xonstat.git/commit - xonstat/__init__.py
Provide a plaintext response to stats submissions.
authorAnt Zucaro <azucaro@gmail.com>
Thu, 19 Nov 2015 01:29:07 +0000 (20:29 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Thu, 19 Nov 2015 01:29:07 +0000 (20:29 -0500)
commitedc391976ee9853e804bca79754c1578c991649c
treec15d75647f8e31e29cd07654001388cc03b460e8
parenta1653d3aad61f3cbbe5f67af7ca5e3163d9b8c6f
Provide a plaintext response to stats submissions.

For all of XonStat's history the POST requests sent in by servers had plain
HTTP responses. This begins to change with this commit, which responds back to
the Xonotic server with meaningful information about /what happened/ during the
match that was just submitted. Of particular importance are the player_ids and
elo delta values that were stored as a result of the game. The template
establishing the format for this is submit_stats.mako. It will be extended
after we decide what other things we want to include.
xonstat/__init__.py
xonstat/templates/submit_stats.mako [new file with mode: 0644]
xonstat/views/submission.py