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
Griatch
512d7748d1
Finished with a working implementation of the new Attribute mechanism using PickledObjectField. First step of migration is finished, but not converting any old attribute data yet.
2013-04-13 18:13:15 +02:00
Griatch
75341ade6f
A first test using PickledObjectField and a rewritten dbserialize module to store Attributes. No migrations set up yet.
2013-04-13 15:15:02 +02:00
Griatch
b58a464409
Cleaned up all commands of the player type to correctly relay their msg-data only to their assigned session.
2013-04-12 13:59:15 +02:00
Griatch
4669b8ed89
Fixed the migrations from a pre-populated database to the many-char-per-player branch.
2013-04-10 21:45:56 +02:00
Griatch
70b8f074f1
Merge.
2013-02-03 17:28:26 +01:00
Griatch
b26c3ab872
Fixed bugs and allowed for logging in using one character. Added a simple command for creating a new character.
2013-02-03 17:00:46 +01:00
Kelketek
adb3965888
Follow-up on that last one-- missed one of the Abstract models.
2013-02-03 09:54:36 -06:00
Kelketek
2e08517ec5
Changed lock storage from character-limit field to unlimited TextField.
2013-02-03 08:54:57 -06:00
Griatch
b0b0fa7983
First, untested version of the OOBhandler mechanism.
2013-01-03 09:18:49 +01:00
Griatch
1643427fa3
Added at_set hook for Attributes. This is a first step towards OOB definition.
2012-12-08 20:26:44 +01:00
Griatch
8f4f123230
Fixed a lingering call to the old caching scheme by swap_typeclass method. Resolves Issue 332.
2012-11-13 21:34:42 +01:00