Commit graph

9 commits

Author SHA1 Message Date
Greg Taylor
0e9732d49c Big re-organization of command functions. Introduced the commands directory to hold command modules. This will make it easier to sub-divide stuff as we pile on more commands, and for dropping in new optional command modules. 2007-05-29 03:32:48 +00:00
Greg Taylor
e7f8b901ce Connection recovery is now in. You can only have one session active per account. This is just the safest and cleanest way to do things. Also made some misc. other changes that will probably go unnoticed. 2007-05-25 15:02:16 +00:00
Greg Taylor
5384bed052 More graceful handling of session creation/destruction. 2007-05-25 13:55:38 +00:00
Greg Taylor
152271132d Make get_session_list() default to not returning sessions that aren't logged in. 2007-05-25 13:45:20 +00:00
Greg Taylor
97cf1213e6 Converted to Twisted from asyncore. Not positive if this is just my local machine, but it seems like this backend is a bit faster. 2007-05-21 20:52:05 +00:00
Greg Taylor
f1dd985294 Added idle timeout code to help combat the screwed up session situation. Some admins would've wanted this eventually, but it'll help until I figure out how to close dead sessions that look like they're still alive. Added a new server config directive, idle_timeout. If the value is non-zero, the idle timeout is the respective number of seconds between commands. Also, the IDLE command will save you from idle timeouts but won't modify your publicly visible idle time. 2007-05-09 15:28:12 +00:00
Greg Taylor
7012960a70 Remove get_ansiname() by condensing functionality into get_name(). Removed session debug statements I had in for testing. 2007-04-26 20:32:56 +00:00
Greg Taylor
192ef521a2 Adding a session validity check in hopes of eventually expiring timed out connections. 2007-04-25 20:11:29 +00:00
Greg Taylor
5421ab7f6e Re-organization. 2007-04-03 13:42:51 +00:00
Renamed from evennia/trunk/session_mgr.py (Browse further)