Commit graph

348 commits

Author SHA1 Message Date
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
769e2a8744 Fix of a typo in previous commit. 2013-11-12 20:23:44 +01:00
Griatch
d2448c3eb6 Fixed so nick cmdline/channelname replacement worked with the new execute_cmd paradigm. Also, Resolves Issue 427. 2013-11-12 20:11:36 +01:00
Griatch
2e2c2fd484 Fixed a bug in run_async. Resolves Issue 407. 2013-11-12 17:37:04 +01:00
Griatch
149b06a6a4 Fixed an issue with exit commands not using arg_regex ending correctly (it turns out you need to include this in the ExitCommand creation call or the metaclass will not pick it up and precompile the regex). Resolves Issue 397. 2013-11-12 00:05:06 +01:00
Griatch
bc8e27fea6 Changed object.search() to include nick-matching by default. 2013-10-21 22:56:03 +02:00
Griatch
3430aa9eae Fixed bug in delcom. 2013-10-21 22:51:16 +02:00
Griatch
06a0bea8d6 Added fix to object.contents cache as well as reworked the extent of cache hooks on location modification. 2013-10-21 21:17:32 +02:00
Griatch
07af616b67 Adding caching to tags and attribute lookups. Leads to a noticeable speed improvement. 2013-10-20 21:02:37 +02:00
Griatch
4af1b165fd Fixed an issue where the contents of an object were not updated correctly. 2013-10-20 14:27:19 +02:00
Griatch
a00179b742 Fixed an error in aliasing 2013-10-18 22:31:22 +02:00
Griatch
acdea41a67 Merge from Kelketek's clone. Added fixes to migrations of Tags. Issues with ContentTypes meaning that this revision is not possible to start. 2013-10-17 23:44:52 +02:00
Griatch
f11f330e95 Moved db_player and db_sessid under metaclass wrappers. 2013-09-23 23:10:23 +02:00
Griatch
fd9acd6bf9 Fixed website. Fixing references to db_references, not sure how to add the m2m field access to the admin. Fixed wrapper for db_home. 2013-09-23 22:08:14 +02:00
Griatch
642ae2faf9 Fixed cache and metaclass irregularities as well as the location and contents caches. 2013-09-22 21:48:08 +02:00
Griatch
bbba695380 Changed unittest suite to use dummy sessions. 2013-09-22 16:29:02 +02:00
Griatch
4659ddbfc3 Changed object.msg() to relay directly to connected session rather than via the player.msg() method. 2013-09-22 11:39:24 +02:00
Griatch
2ba16e155e Fixed a bug in amp that made reloading not work. 2013-09-21 22:00:46 +02:00
Griatch
e36c7d5cc1 Cleaned up worst instability. Test suite does validate yet. 2013-09-21 17:33:48 +02:00
Griatch
4a5de04956 Changed msg() to work with **kwargs rather than data dicts. Still not fully updated the portal side (also remember that keywords let through to the portal must not contain dbobjs, since the portal has no connection to the database). 2013-09-14 09:10:31 +02:00
Griatch
1e96b13920 Changed cmdhandler to include Session-level cmdset. 2013-09-08 00:14:06 +02:00
Griatch
07b1e40299 Changing and testing things with oobhandler, not working yet. 2013-09-07 15:01:41 +02:00
Griatch
0a42b73824 Added category keyword to AttributeHandler's all() and clear() methods. 2013-08-25 19:15:27 +02:00
Griatch
8bd431b385 Removed deprecated Attribute methods from evennia distro. Removed MUX help files. 2013-08-25 16:41:18 +02:00
Griatch
9620867031 Fixed simple bug in creating a new character - it got the wrong puppet hook lock type. 2013-08-25 15:09:28 +02:00
Griatch
06e858b3f6 Moved permissions into a the tag system as a separate handler. Permissions still don't work quite right yet. 2013-08-24 23:57:44 +02:00
Griatch
2acff2d1ab Fixed bugs in new nickhandler implementation. 2013-08-24 21:42:48 +02:00
Griatch
2f5c895f76 Removed LiteAttributes, made Nicks use Attributes. Added category and strvalue fields to Attribute. Made Attributes accessible through an AttributeHandler, like most other advanced properties. 2013-08-24 21:23:43 +02:00
Griatch
befe6a6db0 Made some extra opt-out checking in object manager. 2013-08-24 11:36:28 +02:00
Griatch
ca11e7de44 Merge with Kelketek's branch (which also includes dbenoy's branch) 2013-08-10 18:09:42 +02:00
Kelketek
1da88deb93 Added Tag inlines in for ObjectDB admin. Fixed issue with tag addition. 2013-08-04 09:25:15 -05:00
Kelketek
b0bf60cda4 Merge from DBenoy's branch. 2013-07-27 19:05:05 -05:00
Kelketek
08ee399ea2 Better way of doing that with less side effects. Thought it wasn't possible earlier because I misread something. 2013-07-21 14:18:36 -05:00
Kelketek
427dcc3985 Optimized Scripts admin page. Fixed related name for objects on attributes.
Repaired search. Removed some backwards compatible parts of picklefield since
we aren't supporting version older than 1.5 and they were obscuring the true
cause of some issues.
2013-07-21 09:44:34 -05:00
Kelketek
89aebfc13f Made migrations compatible with new user model when creating from scratch. 2013-07-20 15:45:16 -05:00
Kelketek
3c496af6ad Migrations fixes revealed as necessary by the admin pages, which were also fixed. 2013-07-20 13:17:41 -05:00
Kelketek
fbd1b5223b Some refinements to the admin interface for objects and players. 2013-07-20 12:42:10 -05:00
Kelketek
90faaf9d01 Fixed some issues with the admin interface. These changes may not be the best ones for these datatypes, but they should load now... 2013-07-18 08:40:48 -05:00
Daniel Benoy
1e5b52f685 Object search routines now distinguish between candidates=None, and
candidates=[]
2013-07-17 03:30:48 -04:00
Griatch
37886adea1 Added signalhandler in test suite, still issues. 2013-07-13 15:39:16 +02:00
Griatch
73a5800fbf Fixed updates of the contentmanager. Not all command tests run yet. 2013-07-12 22:08:15 +02:00
Griatch
6bc16e46cc Made aliases work with the new handler. The location.contents updated is not working yet - this causes locational information to not be available until objects and manually initialized (e.g. by calling examine #dbref) 2013-07-12 20:21:52 +02:00
Griatch
45706f598a Fixed remaining issues so the login process works. 2013-07-12 15:57:46 +02:00
Griatch
c0b5c506a4 Removed a lot of old references to Aliases and Nicks. Still failing on @puppet. 2013-07-12 15:34:54 +02:00
Griatch
0061f884ae Implemented NickHandler, AliasHandler and TagHandler in the typeclass to replace the old handlers. Some errors during login. 2013-07-12 14:44:49 +02:00
Griatch
2c17b7b675 Made the migrations for the new Tags and LiteAttributes. 2013-07-12 12:04:57 +02:00
Griatch
c676c9965f Merged. Still need to update some migrations. 2013-07-11 19:11:27 +02:00
Griatch
46d1c48a38 Working implementation of User->PlayerDB conversion. Superuser must be created separately. The player-create method was corrected, along with the most obvious places where the user-setup was used. One can log in and look around but it's not heavily debugged yet. 2013-07-11 18:03:07 +02:00
Griatch
9e10a41e18 First version with all caches seemingly working ok. Started to remove the on-model wrappers that are not handled by the idmapper metaclass. 2013-07-11 15:59:03 +02:00
Griatch
2b332c3b9a Attribute cache is working, lots of other updates, but still not a cleanly updatable system. It seems the Attribute-migrations are not coming through properly. Fixed a misnamed table in the comm app. 2013-07-11 09:51:52 +02:00