Commit graph

24 commits

Author SHA1 Message Date
Griatch
60931c26a7 Deprecated the code= keyword of contrib/menusystem - this is replaced with a callback keyword where a function object is supplied rather than a code string. Code still works, but will give a deprecation warning in log. Cleaned up the code and fixed dynamic yes/no allocation. Should handle the remaining issues of #596. 2014-10-23 01:27:31 +02:00
Griatch
7a9e738156 Made a different regex for #605. 2014-10-22 21:08:07 +02:00
Griatch
ed52a0c101 Enforced text input for the look command in menu_login, as per #605. 2014-10-22 20:58:07 +02:00
Griatch
182488a713 Updates to menu_node to make sure separate, new cmdsets are initialized in different tree instances, as per #596. 2014-10-17 19:32:33 +02:00
Griatch
1b44d9b2ed Fixed a bug in the lockhandler error handling. Resolves #564. 2014-09-19 21:15:50 +02:00
Duarte Cordeiro
b5507b0fcb Fixed keyword name and arguments for the telnet option ECHO. 2014-09-18 15:29:58 +01:00
Duarte Cordeiro
efd2eeafb8 Added telnet option ECHO, so that server can request no local echo on client. Related with feature request #540 2014-09-18 14:55:56 +01:00
Griatch
5750f407df Clarified output of utils.string_from_module. See #541. 2014-08-15 23:40:16 +02:00
Griatch
2b1cb1c6ce Run migrations. Migrated channels to use m2m field rather than the ChannelPlayerConnection model. 2014-03-08 11:41:23 +01:00
Griatch
985055d64d Some minor changes before merging 2014-02-02 09:26:43 +01:00
delizin
c7171786ae Fixed typo and remove commented out test code 2014-02-01 20:02:44 -05:00
delizin
d136e6a1e2 Fixed bans not being recognized 2014-02-01 19:59:34 -05:00
delizin
dbceeb3e98 Updated contribs/menu_login 2014-02-01 18:21:28 -05:00
Griatch
1ae17bcbe4 PEP8 cleanup of the entire codebase. Unchanged are many cases of too-long lines, partly because of the rewrite they would require but also because splitting many lines up would make the code harder to read. Also the third-party libraries (idmapper, prettytable etc) were not cleaned. 2013-11-14 19:31:17 +01:00
Griatch
bc34a76173 Changed default login from email+password to the more familiar username+password.
The old system has been moved to contrib/mux-login.py.
This change was done due to the need for an email seems counterintuitive to
many new developers, giving the impression that it is actually required by
django (it is not, rather it was supposedly similar to MUX).
2012-08-13 20:25:46 +02:00
Griatch
ca32950d90 Fixed headers on contribs, they were still referring to the old base*.py -style files under gamesrc. 2012-04-01 22:23:47 +02:00
Griatch
551a91caef Editing the ev.py API, removing db_* manager shortcuts in favour of a 'managers' container holding them all. It makes the API slightly less "flat", but makes for a cleaner interface. 2012-03-31 16:50:53 +02:00
Griatch
b2f45a7cf4 Fixed an inconsistent API name. (db_serverconfs -> db_serverconfigs) 2012-03-25 18:21:22 +02:00
Griatch
93a1646ea7 Moved contribs to use the new API. Added the system command keys to a property syscmdkeys, for easy access from ev.py. 2012-03-25 18:11:14 +02:00
Griatch
1d40f688e5 Added the @ban and @unban commands to the default command sets, allowing an admin to filter access from users without outright deleting their accounts. The ban list is stored in the database, but the checking is not hard-coded in the server/portal, but done in the normal login command(s), meaning it can be customized easily. Also contrib/menu_login has been updated to check for banned connections. 2012-01-27 23:53:03 +01:00
Griatch
ffb73cdb31 Fixing the documentation for the latest contrib models. 2011-11-07 16:49:02 +01:00
Griatch
703accdd60 Added an error_check_python_modules function to evennia.py. This basically imports a host of critical modules and quits with tracebacks if there are problems. This catches pure python-syntax errors (i.e. cases where the source-file itself is malformed), something which is hard to properly handle in the running server (where there's also an issue as to how to best report it). Best they fail out already at an early stage. 2011-11-06 21:32:00 +01:00
Griatch
e379816866 Fixed some bugs, added an example connection screen for the menu-login system. 2011-11-06 19:16:34 +01:00
Griatch
c4d353ee01 Contrib: Added the contrib/menu_login module. 2011-11-06 18:54:08 +01:00