13 Commits

Author SHA1 Message Date
Gregory Shikhman
10c0aecea1 [[Improvements to the stats system]]
Changed turbogears to use packages installed via easy_install...  in
the virtualenv rather than system-wide packages.

Moved the bulk of the upload log code into the helperlib.

Made the map tiler look for existing copies of a map tile to avoid
doing redundant work.

Made the map tiler kill stalled wesnoth clients (they typically stall
because an uploaded map uses custom tiles).

Updated URL handling to correctly send out a 404 for nonexistent URLs
instead of a 501.

Updated killview backend to support multiple datatables instead of one
hardcoded one (now supports GAMES,GAMES_AI,GAMES_MP, any other GAMES*
table).

Updated URL references in the html templates to stats.wesnoth.org
instead of wesnoth.org/wesstats.

Added a title to graph view pages.

Increased size of pie graphs.
2009-09-26 01:20:14 +00:00
Gregory Shikhman
9c634a07af Debugged remaining problems with multiple table support.
Fixed duplicate lines in logfile. Fixed 500 Internal Server Error
being shown as 404 Not Found.
2009-09-02 06:20:14 +00:00
Gregory Shikhman
67e90827f7 Enabled logging in wsgi app.
Changed log type to RotatingFileHandler and changed logging file to
/var/tmp/wesstats.log. Added support for multiple tables, although
still broken and incomplete. Refactored some long string catenations
into a cleaner style.
2009-09-02 05:29:20 +00:00
Gregory Shikhman
435280f3eb Changed all instances of dateconstruct()...
...with the more general rangeconstruct(). Added unique game-id
generation to rows added to GAMES/GAMES_MP.
2009-08-15 19:20:11 +00:00
Gregory Shikhman
e6a47f2353 Added support for filtering by level range in killmaps. 2009-08-15 01:51:15 +00:00
Gregory Shikhman
59282b41ac Finished support for map selection on the frontend and backend.
Fixed incorrect map dimensions reporting in get_map_dimensions().
2009-08-10 14:42:37 +00:00
Gregory Shikhman
407cc93e25 Added map selection to the template of the killmaps page.
Still needs to be parsed on the backend.
2009-08-10 14:18:38 +00:00
Gregory Shikhman
fccd118c38 Added support for multiple WML child nodes of the same name...
...to the simple parser.
2009-08-09 20:16:51 +00:00
Gregory Shikhman
5c196334eb Added a very simple WML parser and support in the webapp to receive upload logs 2009-07-29 05:06:37 +00:00
Gregory Shikhman
0af8fab8fd completed initial support of linecharts with time as the x axis 2009-07-02 22:45:13 +00:00
Gregory Shikhman
a7c09ce667 more work on using timestamps as x-axis for line graphs 2009-07-02 19:36:10 +00:00
Gregory Shikhman
6d80f92aa4 Stubbed out code to handle timestamps on the x-axis for linegraphs 2009-07-02 04:36:10 +00:00
Gregory Shikhman
07a633e501 Removed unnecessary files from default installation,
...split controllers into seperate files, created a separate file to
hold helper functions, updated TODO, updated html template to show
'None' for used filters when no filters are used
2009-06-30 20:56:09 +00:00