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 |
|
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
|
80a6745a1e
|
Made Attribute value queries also work with database objects by overloading the Attribute manager methods in question. Added procpool support for the new serializer functions and cleaned up some things.
|
2013-04-14 16:36:44 +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
|
8969017aaa
|
Added prettytable (http://code.google.com/p/prettytable/) as a replacement for utils.format_table and updated almost all places where the old formatter was used. The code becomes much simpler and shorter with prettytable, there are some situations, such as the contrib/menusystem where the old format_table works well for dynamically creating any number of columns and rows on the fly.
|
2013-04-12 22:06:41 +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
|
1aff5f1fd1
|
Renamed cmdset_ooc -> cmdset_player and settings.CMDSET_OOC -> settings.CMDSET_PLAYER. Also split most of the player-specific commands to a new module player.
|
2013-04-11 01:02:05 +02:00 |
|
Griatch
|
5874505902
|
Changed object.player to return a typeclass. Resolves Issue 325. Also made sure that .typeclass always returns a typeclass, also if called on something which is already a typeclass.
|
2013-04-10 22:33:32 +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
|
c0d634fe8c
|
Added "typeclass" as a shortcut variable name of __getattribute__. This allows for obj.typeclass to always cleanly return typeclass regardless of if obj is already a typeclass or is a database object. I.e. the same functionality of using obj.dbobj to always get the database object.
|
2013-02-03 00:23:58 +01:00 |
|
Griatch
|
5ef92b6bf8
|
Some cleanups, properly marking the OOB stuff as WIP still. OOB is progressing but not yet functional or in its final form.
|
2013-01-07 15:47:41 +01:00 |
|
Griatch
|
0ac2a58428
|
Removed Deprecated "Fast Assignment" attribute operators.
|
2013-01-04 11:19:58 +01: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
|
c615693a2a
|
Added a give command to the default command set. As part of this also fixed some bugs in how object typeclasses were compared.
|
2012-12-08 17:11:22 +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 |
|
Griatch
|
d55bee8905
|
Fixed a type - get_attribute_cache() should be get_attr_cache()
|
2012-11-09 23:17:10 +01:00 |
|
Griatch
|
8654d8cc48
|
Further migrated script caches to the central cache location, removing old cruft.
|
2012-11-08 19:29:57 +01:00 |
|
Griatch
|
98d0eb7869
|
Added __delitem__ support to PackedDict/List, allowing for things like in-place "del obj.db.dict[key]".
|
2012-11-08 19:16:21 +01:00 |
|
Griatch
|
e4382e3e8a
|
Fixed a regression in has_attribute caused by changing the location of caches. Resolves Issue 328.
|
2012-11-07 20:22:46 +01:00 |
|
Griatch
|
82e57d4ada
|
Fixed an API inconsistency in Attribute's PackedList/PackedDict. Resolves Issue 326.
|
2012-11-07 18:44:12 +01:00 |
|
Griatch
|
9f6e3de637
|
Various cleanups and fixes found during refurbishing the unittest framework (not pushed yet)
|
2012-11-05 00:55:25 +01:00 |
|
Griatch
|
d2d9953f94
|
Cache changes: Moved all caches (except idmapper) to central caching module. This makes it easier to overview cache memory usage (and clean it) as well as plug-in external cache mechanisms.
|
2012-11-01 11:20:07 +01:00 |
|