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
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
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
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
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
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
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
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
Griatch
a0a94df83d
Removed extra caching for fields (this slowed things down over normal django field caching). Considering reworking Attribute storage in order to make use of those caches as well.
2013-06-06 12:45:39 +02:00
Griatch
7351aacba5
Fixed an issue with setting location. Still errors with creating new objects.
2013-06-05 18:47:41 +02:00
Griatch
41235c25a2
Changed propcache back to a simple dict. Working on content cache, not working yet.
2013-05-30 00:49:47 +02:00
Griatch
fb3259be8c
Activated propcache with new cache system. Still not functioning correctly, also the content cache needs to be handled.
2013-05-29 23:07:44 +02:00
Griatch
b6383ddab9
Moved attr_cache to new caching system, activated all attribute updating signals.
2013-05-29 18:47:51 +02:00
Griatch
8202dba596
Changed cache system to use Django's cache mechanism. Changed field caches to make use of Django signalling instead of custom caching calls (this should make the system consistent also when called from the webserver). Created a wrapper system for easily wrapping fields with a default wrapper (so as to not have to explicitly define the properties (such as objdb.key) which all just do the same thing - load from the field and make sure to call save().
2013-05-29 16:16:28 +02:00
Griatch
2386b308f5
Added flushing to attribute caches when an typed object is deleted. This fixes isse 295, but keeping that open for a little longer to see if some other solution can be devised.
2013-05-14 08:44:40 +02:00
Griatch
c843f15d42
Merged the dev branch (many-chars-per-player) and made some more error checking in the migrations.
2013-05-12 22:13:05 +02:00
Griatch
218e4a149c
Implemented a modified and cleaned objectdb.search and accompanying object.manager.search_object that also searches globally. The default commands have not yet been converted to use the new call.
2013-05-11 20:01:19 +02:00
Griatch
be22a31ec4
Made it possible to "take" over puppeting from one's own stale sessions. Fixed a nasty bug in swap_typeclass.
2013-05-11 16:09:26 +02:00
Griatch
8d48aa5a06
Added the last migrations needed to fully convert the Attribute system. Cleaned up the @ooclook command a bit as well as tidied up the who command a bit.
2013-04-14 13:35:25 +02:00
Griatch
230d73cfa0
Migrations work under sqlite3, both from latest dev, from new install and from trunk. There might be some consistency issues though (it seems the character list is not properly migrated), so more testing is required.
2013-04-13 23:50:33 +02:00