Commit graph

36 commits

Author SHA1 Message Date
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
John "Elwin" Edwards
b9081d194b Add the favicon.
It belongs with the static files.
2014-01-02 11:48:15 -05:00
John "Elwin" Edwards
31174f58ee Right-align the numeric columns.
The Game.printTable() method now right-aligns the name, rank, and score
columns, by giving their cells a different CSS class.
2014-01-02 11:39:57 -05:00
John "Elwin" Edwards
aef04a38e1 Port to Python 3.
All scripts and modules have been ported to Python 3 and appear to
work.  Some changes to the lighttpd configuration were needed.
2013-12-31 13:36:19 -05:00
John "Elwin" Edwards
914f367657 Add the Web pages from the 2012 tournament. 2013-10-31 14:33:50 -07:00
John "Elwin" Edwards
27459bc047 dgl config: don't set the cursor position.
dgamelaunch is smart enough to figure it out on its own.
2013-10-30 21:18:25 -07:00
John "Elwin" Edwards
a79fb7a62a Move the game binaries to /usr/bin.
The new Fedora setup might heretically leave /bin out of the path.
2013-10-28 22:09:52 -07:00
John "Elwin" Edwards
ef9807cdc6 Add lighttpd configuration files. 2013-10-28 20:33:23 -07:00
John "Elwin" Edwards
89083f037f Move the inprogress dirs into a single directory.
The inprogress dirs are now at /dgldir/inprogress/$GAME instead of
/dgldir/inprogress-$GAME.  This is less cluttered and may be more
convenient for watching.
2013-10-20 19:05:58 -07:00
John "Elwin" Edwards
1fe7f59f8b Switch to the Git version of dgamelaunch. 2013-10-20 17:45:38 -07:00
John "Elwin" Edwards
2e74e18c6a Add README, put some new links on several pages. 2013-10-05 17:10:24 -07:00
John "Elwin" Edwards
c74f9cb333 Add a downloads page, and update some links. 2013-09-10 15:23:13 -04:00
John "Elwin" Edwards
dc45fbe25e Add tablerecent() so recent.cgi will work as before.
Port the tablerecent() function, which reads the most recent games
directly from the logfile instead of the database.  This allows
recent.cgi to show games immediately without waiting for the recorder
to put them in the database.
2012-09-17 13:41:10 -07:00
John "Elwin" Edwards
3f54b7a87d Make arogue5 scores appear on the player pages too.
This could probably be done in a more structured way.
2012-09-17 11:41:11 -07:00
John "Elwin" Edwards
44d2b92159 Add high score list support for arogue5. 2012-09-17 10:24:38 -07:00
John "Elwin" Edwards
30bdbebf0b Store arogue5 results in the database.
The ARogueGame class is functional enough to put game results into the
database, though it still can't get them back out.
2012-09-17 09:14:26 -07:00
John "Elwin" Edwards
34585136ed Begin adding arogue5 support to the recorder script.
rlgalldb.py's arogue5 object is a nonfunctional stub, but at least it
doesn't crash and the other games still work.
2012-09-16 20:44:22 -07:00
John "Elwin" Edwards
d29446fded Update the index page. 2012-09-15 17:23:13 +00:00
John "Elwin" Edwards
f3856b3e41 dgl conf: Let the cursor be placed in the proper position automatically. 2012-09-15 09:40:26 -07:00
John "Elwin" Edwards
5a8eded910 Add dgamelaunch configuration to the project. 2012-09-15 08:46:06 -07:00
John "Elwin" Edwards
4ffd81e3e9 Add links to the Advanced Rogue 5 page. 2012-09-14 22:53:16 -07:00
John "Elwin" Edwards
06d5929642 Add an about page for Advanced Rogue 5. 2012-09-14 22:51:18 -07:00
John "Elwin" Edwards
bbb9b31894 Fix the titles and explain a little more about Super-Rogue. 2012-09-14 22:39:39 -07:00
John "Elwin" Edwards
ffd5e45fd0 Import the web/scoring/ files. 2012-09-05 22:34:00 -07:00
John "Elwin" Edwards
81f7f77450 Update the description of rlgallery.org's setup. 2012-08-23 13:17:59 -07:00
John "Elwin" Edwards
ca978b175b Import the /about web pages. 2012-08-23 10:50:35 -07:00
John "Elwin" Edwards
ba999f774b Begin importing the website.
Add the files from the website's top-level directory.  Note that
recent.cgi still uses the old rlgall module.
2012-08-19 21:29:06 -07:00
John "Elwin" Edwards
44aa9d52d1 web/archive.cgi: disable cgitb by default.
The Archivist ought to be stable enough...
2012-08-19 15:28:28 -07:00
John "Elwin" Edwards
9e51f9b9d7 web/archive.cgi: fix backward comparisons.
Some form-printing code was using != instead of ==, which led to the
date defaulting to today whenever it was specified.
2012-08-19 15:26:18 -07:00
John "Elwin" Edwards
4771dce2d0 Continue removing the time module.
Convert some more struct_time instances to datetime objects.
2012-07-26 10:14:56 -07:00
John "Elwin" Edwards
72fcde0ae0 Remove obsolete code.
Remove some unnecessary module imports and code that worked with UNIX
timestamps.
2012-07-26 09:35:07 -07:00
John "Elwin" Edwards
5eacaecbcb Convert web/archive.cgi to use the new SQL timestamps.
The Archivist has replaced UNIX timestamps with python datetime objects
derived from SQL timestamps.  There are still a lot of struct_time
objects which should be converted too.
2012-07-26 08:07:00 -07:00
John "Elwin" Edwards
d7d87a3a91 Switch to SQL timestamps.
Use SQL timestamps whenever possible, and don't store UNIX timestamps
in the database at all.
2012-07-25 23:05:12 -07:00
John "Elwin" Edwards
ddf0ec25b0 Put this project under version control, finally.
Scripts for rlgallery.org, using a PostgreSQL backend.  The recorder
system is in py/, CGI scripts are in web/.
2012-07-25 21:59:42 -07:00