Commit graph

178 commits

Author SHA1 Message Date
Griatch
07af616b67 Adding caching to tags and attribute lookups. Leads to a noticeable speed improvement. 2013-10-20 21:02:37 +02:00
Griatch
910fa612c6 Fixed how tags are looked-up; using startswith on the category. 2013-10-18 17:17:42 +02:00
Griatch
55423f6a2f Fixed a ZeroDivionError by adjusting what is returned by aliashandler.all() when no aliases are given ([] instead of ['']). Also made sure src.utils.stringsuggestions() don't crash in such a situation. 2013-10-18 16:15:51 +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
bdcc8de5bc OOB MSDP working with direct sending of data from various parts of the system. Tracking as well as support for the default MSDP commands (LIST, REPORT etc) are not yet tested/implemented. 2013-10-15 20:00:18 +02:00
Kelketek
851e6d00cc Turned comms into typeclassed objects. 2013-09-28 22:23:30 -05:00
Griatch
39b69dcdc2 Fixed a migration issue with PostGreSQL. 2013-09-26 09:01:27 +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
272a6ddc2d First version where test suite validates. Caching is still not fully active (especially attribute lookup), OOBhandler is untested. 2013-09-22 22:57:03 +02:00
Griatch
8b1afa7043 Fixed errors in attributehandler that affected nicks. Test suite not validating yet. 2013-09-22 22:34:22 +02:00
Griatch
0a394929b7 Fixed an issue in idmapper metaclass wrapper, it caused text fields to be occationally be written with objects. 2013-09-22 19:56:51 +02:00
Griatch
bbba695380 Changed unittest suite to use dummy sessions. 2013-09-22 16:29:02 +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
d74cce4dfe First version of OOBHandler put together. Might still have to rework it since it cannot properly handle multiple trackers tracking a single field on a given object. 2013-09-14 23:18:36 +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
839a78ca8d Fixed erroneous alias-assigments in tutorial_world that caused tracebacks. Resolves Issue 423. 2013-08-30 20:53:38 +02:00
Griatch
0a42b73824 Added category keyword to AttributeHandler's all() and clear() methods. 2013-08-25 19:15:27 +02:00
Griatch
48ddabdf25 Some more removals of Attribute methods. 2013-08-25 17:09:03 +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
ca11e7de44 Merge with Kelketek's branch (which also includes dbenoy's branch) 2013-08-10 18:09:42 +02:00
Kelketek
e05bfcad85 Fixes to Tag Handler and Manager. 2013-08-04 12:47:00 -05: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
Daniel Benoy
5a5de51a5c Reimplemented get_dbref_range
It always returned every object in the database
2013-07-27 04:25:01 -04:00
Kelketek
55c0e40309 Fixed the tag migrations. Didn't need to fool with transactions after all. 2013-07-21 17:22:38 -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
40ff9eaa67 Removed has_perm function from typeclass model. This function is looked for by django admin and expected to do something different, and it was deprecated anyway. 2013-07-20 12:10:47 -05:00
Kelketek
da097a88d9 Fixed an issue with case sensitivity in table names for the migrations. Fixed issue with transactions when converting nicks and aliases. 2013-07-19 17:13:57 -05:00
Kelketek
aa5aeaccc3 Fixed issue with improper handling of non-unique tags and nicks. 2013-07-16 08:33:24 -05:00
Griatch
37886adea1 Added signalhandler in test suite, still issues. 2013-07-13 15:39:16 +02:00
Griatch
7b0c96640c Reverting metaclass wrapper for db_key, will have to look into why it behaves strangely. 2013-07-12 23:58:22 +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
e178963941 First implementation of new Tags and LiteAttribute models to replace Aliases and Nicks while offering more flexibility. 2013-07-12 11:12:21 +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
f1ba0ca177 Fixed attribute import migrations. 2013-07-11 14:12:42 +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
Griatch
2a7c45d6e8 Run Migrations. Migrated to new Attribute schema, converting old attributes. Not fully tested yet. 2013-07-09 00:09:19 +02:00
Griatch
a1d818f8aa First test with moving Attributes to m2m field. Not working yet. 2013-07-08 18:13:21 +02:00