224 Commits

Author SHA1 Message Date
Ignacio R. Morelle
5a3009b671 Forgot to add a little note indicating why the obvious procedure...
...may break on Internet Explorer (who else!)
2009-08-10 15:06:18 +00:00
Ignacio R. Morelle
690bed88c6 Add portrait rotation code, current images, and the template used for Glamdrol. 2009-08-10 14:58:34 +00:00
Ignacio R. Morelle
2cdcf373f4 Add the wesnothd usernames rule patch for phpbb 3.0.5 2009-08-10 14:45:39 +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
Ignacio R. Morelle
8d07ee14bf Remove old phpbb 3.0.4 patches dir, add a new phpbb 3.0.5 patches dir 2009-08-10 14:39:41 +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
f674327d57 Added mp log support to backend, finished support for kill events on backend 2009-08-10 08:12:54 +00:00
Gregory Shikhman
11366bcd4d Added kill_event parsing to the upload_log server.
kill_events are added to the KILLMAP table.
2009-08-09 20:39:47 +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
e20f3c311d Completed script that will generate map tiles for gmaps in a nightly cronjob 2009-08-06 19:49:36 +00:00
Gregory Shikhman
77510b6508 Upload script now saves incoming maps to a path in the filesystem. 2009-07-31 20:16:01 +00:00
Gregory Shikhman
1f30a4ca71 Added backwards compatibility with uncompressed log files (v1).
Added another default value to the log dictionary to work with
slightly incomplete logs (not sure why the game produces these...)
2009-07-31 16:39:46 +00:00
Gregory Shikhman
6310d50ec3 Added support for compressed logfiles on the server-side upload script. 2009-07-31 05:53:04 +00:00
Gregory Shikhman
7c3a3ae88f Python server-side upload script is now live and functional.
Note to devs who want to help me test this out: change the host at
upload_log.cpp:41 to "cornmander.com" and change upload_log.cpp:42 to
"/wesstats/upload" . I still need to add an error page/message for
failed uploads.

Also added a file from 2009-05-08T07:39:20Z!cornmander@cornmander.com that regenerates sample
databases. I accidentally deleted it from svn a while ago.
2009-07-29 06:38:38 +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
59a080819f Added a partial, modified copy of the wesnoth site CSS...
...to fix a tag name collision. Will add wesstats specific CSS to the
file. Removed tileserver stubs - I used a simpler implementation to
serve gmaps tiles.
2009-07-28 05:24:28 +00:00
Gregory Shikhman
7ae420f763 Added the ability to tie in data to particular hexes.
Click on a hex in the map to bring up a popup with hex-specific data 
(currently only the hex coordinate).
2009-07-22 03:58:35 +00:00
Gregory Shikhman
3ffb1ecc68 Fixed tile alignment, changed regular hexes...
...to the irregular hexes that wesnoth issues. Must still look into
performance issues and minor misalignment.
2009-07-22 01:47:21 +00:00
Gregory Shikhman
b21a199ccd Initial hex grid generation in gmap.
Added small script that will be expanded to give backend web scripts
info on the map being parsed. Grid alignment is still incorrect and
the actual hexes are not exactly the right shape.
2009-07-21 22:07:23 +00:00
Gregory Shikhman
8642a1da2b Added hex polygon generation. 2009-07-21 06:33:52 +00:00
Gregory Shikhman
0a6f8bda0f Changed map tiling script to emit lower quality JPGs instead of PNGs.
Changed tiler to emit 1:2 scale maps and 1:4 scale maps instead of 1:1
scale and 1:4 scale. Added location debugging on-click to the gmap.
2009-07-20 23:16:20 +00:00
Gregory Shikhman
16a0d6af1f Fixed scaling bug in map tiler,
...updated GMap code to use a black background for nice effect
2009-07-20 06:57:13 +00:00
Gregory Shikhman
21844227e9 More work on GMap for wesnoth maps 2009-07-20 06:38:47 +00:00
Gregory Shikhman
73d055f798 Added a tag that will show up to users...
...without javascript execution enabled prompting them to enable JS.
2009-07-20 05:27:44 +00:00
Gregory Shikhman
6964003f6a Added zoom level support to the map tiler and to the google map.
Still need to create a tileserver on the web backend so that
non-existent tile locations can correctly be served up with black
tiles
2009-07-19 03:11:00 +00:00
Gregory Shikhman
8717f84c83 Initial work on Wesnoth map overlay for google maps API,
...wrote a python script to take a map image emitted by wesnoth and
split it into the map tiles that the google maps api likes
2009-07-19 01:01:08 +00:00
Gregory Shikhman
36a0a967ad Minor interface tweak, added Google Maps API key 2009-07-18 17:30:52 +00:00
Gregory Shikhman
f3c12956f3 Added value-saving between page reloads to the lineview template 2009-07-16 07:34:08 +00:00
Gregory Shikhman
5022fb966d Fixed legend background color, added forgotten template file to SVN 2009-07-15 03:31:32 +00:00
Gregory Shikhman
d8893ed791 Added basic CSS. 2009-07-15 03:27:20 +00:00
Gregory Shikhman
489c3a7e39 Stubbed out code for killgraphs 2009-07-03 22:06:04 +00:00
Gregory Shikhman
305a800603 [[Fix to team initialization]] 2009-07-03 17:40:31 +00:00
Gregory Shikhman
96a5fc40b3 Added sqlalchemy support back into turbogears for login support,
...had to remove a configuration file because it now contains database
login info
2009-07-03 17:39:03 +00:00
Gregory Shikhman
bbb76e04c2 Made form selections persist after page reload. 2009-07-03 05:19:23 +00:00
Gregory Shikhman
7d72f4345a Fixed lineview to use a simple evaluator...
...when deciding whether or not to use the full table or not. It will
now almost always use the full table.
2009-07-03 01:26:00 +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
Gregory Shikhman
5b80ab5e46 Removed completed logging stuff from TODO, synced up TODO with wiki page 2009-06-29 15:27:15 +00:00
Gregory Shikhman
6e96b06183 added a file log (wesstats.log) as a logging target 2009-06-29 14:59:01 +00:00
Gregory Shikhman
4ea2b87f21 changed several print statements to use a logger instead 2009-06-29 14:49:45 +00:00
Gregory Shikhman
1d17374b7a Finished view deletion 2009-06-29 02:13:52 +00:00
Gregory Shikhman
e4add7affd Changed URL from a noun to a verb (newview->addview)...
...and stubbed a deleteview page. Removed completed timestamp support
from TODO.
2009-06-27 01:35:38 +00:00
Gregory Shikhman
fcb76ffcdd Added date filtering support to backend (servlet) 2009-06-27 01:29:40 +00:00
Gregory Shikhman
68f162ca89 Added date picker support on frontend (template).
Still needs to be parsed from the GET and  translated to SQL.
2009-06-26 00:49:48 +00:00
Gregory Shikhman
e6b5f7d993 Small changes to make wesstats work behind apache via mod_proxy...
...and  addressable on port 80 instead of port 9090.
2009-06-25 06:25:10 +00:00
Gregory Shikhman
d107e6b14d updated todo, removed extraneous dependency on sqlalchemy,
...moved calendar script to correct directory
2009-06-24 06:03:34 +00:00
Gregory Shikhman
15dd7b4c44 Initial work on selecting data by date ranges 2009-06-24 05:30:14 +00:00
Gregory Shikhman
af2e676fb8 more work on page to add views, added a TODO with timeframes 2009-06-21 21:15:43 +00:00