Commit graph

15 commits

Author SHA1 Message Date
John "Elwin" Edwards
bb948a4c6f Add some more links to the page footers. 2018-01-30 18:28:24 -05:00
John "Elwin" Edwards
2f95935349 Prevent crashes if no ttyrec files can be associated with a game.
If the postprocessing step finds no ttyrec files created between a
game's end and the previous game's end, it will no longer index an
empty list and crash.

The condition of finding no ttyrec files is still a bug that requires
investigation.
2016-01-16 02:12:50 +00:00
John "Elwin" Edwards
aa1d817df4 Fix links from player pages to the ttyrec archive.
RogueGame.getPlayer() was setting the "name" field to self.uname
instead of the player's name.

Bugs like this are why I need to set up an actual testing server.
2015-08-06 17:07:40 -04:00
John "Elwin" Edwards
229bf38abd Capitalize the class field in database entries.
Some logfiles capitalize it and some don't.  It will now appear
consistently in the database and any database-derived pages.

That does not include recent.cgi, whose eventual status is still
undecided.
2015-06-23 11:10:46 -04:00
John "Elwin" Edwards
824fc6e7fd Add support for Advanced Rogue 7 and XRogue. 2015-06-09 14:25:23 -04:00
John "Elwin" Edwards
fd5b0c83b6 Make the final depth appear in Advanced Rogue 5 tables.
Along the way, "SELECT name FROM table WHERE name = ..." was removed
from any queries where it had been carelessly placed.
2015-01-30 20:24:47 -05:00
John "Elwin" Edwards
2eb8cef1c9 rlgall.py: add time selection to Game.getHigh().
Optional inittime and finaltime parameters set the range of time over
which to calculate high scores.
2014-03-28 09:33:49 -07:00
John "Elwin" Edwards
d67561aa42 Escape the player's name when printing it into HTML.
Non-alphanumeric characters in names may eventually be possible.
2014-03-24 16:01:28 -07:00
John "Elwin" Edwards
479c173caf SVG charts: separate database-querying and chart-printing code.
Create Game methods in rlgall.py to get histogram data for score, xl,
maxdepth.  In stats2.py, make the chart-printing functions use this
data and avoid running hard-coded queries.
2014-01-16 16:25:09 -08:00
John "Elwin" Edwards
48c1b168bc Add depth and maxdepth columns to the RogueGame tables. 2014-01-11 10:45:33 -05:00
John "Elwin" Edwards
291d5d4ffc rlgall.py: delete a few lines that got moved elsewhere 2014-01-10 17:01:11 -05:00
John "Elwin" Edwards
dfd8098844 Remove the static high score page.
Don't create it, change all links, and redirect any requests.
2014-01-03 13:02:29 -05:00
John "Elwin" Edwards
d34e211a3f Add a high score CGI script.
/scoring/high.cgi shows a score list, with a configurable length,
offset, and game list.
2014-01-03 11:11:07 -05:00
John "Elwin" Edwards
41eab38a58 Add a footer with some links to the Web pages. 2014-01-02 13:58:05 -05:00
John "Elwin" Edwards
f272772dcb Change the Python module's name back to rlgall.
It is no longer an experimental variant.  Using a database as a backend
is a settled feature.
2014-01-02 13:09:48 -05:00
Renamed from py/rlgalldb.py (Browse further)