Commit Graph

11 Commits

Author SHA1 Message Date
Andy Janata ec1e85ec5d Check X-Forwarded-For on the admin pages. Fixes #22. 2012-10-01 20:12:14 -07:00
Andy Janata 7fccd69b15 Kicks and bans.
Admin chat in blue.
Chat commands (/names, /kick, /ban to start).
Close Hibernate session after loading card sets when a user connects -- Oops!
Games have their own Hibernate session for their duration, and this is used instead of a per-request session for loading card sets when changing options.
Fix changing game options without having a card set selected.
2012-08-20 22:41:06 -07:00
Andy Janata 9ef0d0eae0 page to add new cards, and let somebody else's IP address in since he was helping 2012-07-01 23:54:53 -07:00
Andy Janata 88b68c87b6 comment ALL the files! 2012-02-06 14:00:24 -08:00
Andy Janata dbd8d8b755 fix encoding in admin xml tag 2012-02-02 14:57:39 -08:00
Andy Janata 4d5fddd293 add 2-clause bsd-style license to source files 2012-02-02 14:47:23 -08:00
Andy Janata 39216edca8 hours are not days 2012-01-31 17:58:46 -08:00
Andy Janata 83a807f4b8 - reorder stuff in admin.jsp
- add my global ip address to admin whitelist
- add kick functionality to admin.jsp
- admin.jsp redirects to itself after processing actions to avoid refreshing re-processing the action
- ConnectedUsers invalidates the user when removing it
2012-01-30 23:52:45 -08:00
Andy Janata e323a32ce8 formatting 2012-01-30 16:30:40 -08:00
Andy Janata a26221c2bb - admin can toggle verbose logging of all requests on and off
- admin page shows user hostname
- servlets log request and response if logging is enabled
2012-01-29 17:13:31 -08:00
Andy Janata 8ad224edad basic admin page, shows memory usage, uptime, and connected users 2012-01-28 00:49:32 -08:00