Imported from archive.
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 28 Aug 2005 18:36:46 +0000 (18:36 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 28 Aug 2005 18:36:46 +0000 (18:36 +0000)
commitfecd4c0fc49593052697b8cf199603cf1fac2b61
treee8dcd7c6c401aec7b977a024cf0eedee94333d7e
parent724736a86ae223448f90a6d3a15adacd035feaa5
Imported from archive.

* data/commands: Renamed to command and moved into the top-level
directory.

* data/universe, lib/index: Removed this sample data.

* lib/menus: Collapsed the contents of the directory into a menu
file within the top-level directory.

* lib/muff: Moved into the top-level directory.

* lib/muff, mudpy.py: Assorted minor code readability fixes and
additional comments. Replaced several more vague try/except
constructs with more specific if/then/else checks.

* lib/muff/muffcmds.py (command_time, command_show): Changed the
admin command time to be a parameter to the admin command show
instead.
(handler_checking_new_account_name, handler_entering_new_password)
(handler_verifying_new_password): Adjusted the fix for stray empty
accounts to create them upon entry but delete them again if no
password is successfully added, avoiding a potential race and
exception where two sockets start to create a user with the same
name.
(handler_entering_account_name): Disallow non-alphanumeric
characters in account names.

* lib/muff/muffconf.py: Replaced with object methods in class
definitions within muffuniv.py.

* mud.py: Renamed to mudpy matching, the executable to the project
name.
21 files changed:
command [moved from data/commands with 82% similarity]
data/universe/index [deleted file]
data/universe/rooms [deleted file]
lib/index [deleted file]
lib/menus/account_creation [deleted file]
lib/menus/index [deleted file]
lib/menus/login [deleted file]
lib/muff/muffconf.py [deleted file]
lib/muff/muffuniv.py [deleted file]
menu [moved from lib/menus/miscellaneous with 52% similarity]
mudpy [moved from mud.py with 100% similarity]
mudpy.conf
muff/__init__.py [moved from lib/muff/__init__.py with 72% similarity]
muff/muffcmds.py [moved from lib/muff/muffcmds.py with 79% similarity]
muff/muffmain.py [moved from lib/muff/muffmain.py with 100% similarity]
muff/muffmenu.py [moved from lib/muff/muffmenu.py with 68% similarity]
muff/muffmisc.py [moved from lib/muff/muffmisc.py with 92% similarity]
muff/muffsock.py [moved from lib/muff/muffsock.py with 91% similarity]
muff/muffuniv.py [new file with mode: 0644]
muff/muffuser.py [moved from lib/muff/muffuser.py with 64% similarity]
muff/muffvars.py [moved from lib/muff/muffvars.py with 100% similarity]