Tehom
|
024a476355
|
get tag from list returned by get_tag
|
2016-10-19 23:50:30 +02:00 |
|
Griatch
|
196f1ad270
|
Change so typeclass equality is not only based on dbid but also on model.
|
2016-10-15 22:48:38 +02:00 |
|
Tehom
|
ae5848dd0b
|
Overload the 'last', 'first', and 'count' queryset methods to work for the TypedObjectManager.
|
2016-10-07 10:04:20 +02:00 |
|
Griatch
|
2b35140fe3
|
Implement a more throughough cache-flush mechanism. This makes sure to flush foreignkey cache relations for objects not affected by flushing (normally objects with an NAttribute stored in them). Without ForeignKey flushing, the location of such objects would remain cached and drift out of sync, leading to content caches in turn desyncing. Resolves #1064.
|
2016-10-02 20:52:05 +02:00 |
|
Griatch
|
15025c0586
|
Added at_idmapper_flush to allow objects more control of their flush characteristics.
|
2016-10-02 20:52:05 +02:00 |
|
Tehom
|
f76ea7e576
|
Correction to make sure the key isn't changed to prevent delcom failure
|
2016-09-11 10:47:32 +02:00 |
|
Tehom
|
112c5fcd07
|
Attempt to fix nicknames for channels not working
|
2016-09-11 10:47:32 +02:00 |
|
Griatch
|
dc32300092
|
Fix caching leftover in attribute cache that lead to a traceback on the first re-login. Resolves #1041.
|
2016-09-08 20:46:11 +02:00 |
|
Griatch
|
2ed92e8149
|
Converted Tags to use the new caching scheme.
|
2016-09-03 20:03:44 +02:00 |
|
Griatch
|
c77252ebcb
|
Unittests passing for attributehandler updates.
|
2016-09-03 20:03:44 +02:00 |
|
Griatch
|
e0268d6cb3
|
Fix error in attributehandler
|
2016-09-03 20:03:44 +02:00 |
|
Griatch
|
fd351a2809
|
Made attributes.has() actually return booleans as the API specifies.
|
2016-09-03 20:03:43 +02:00 |
|
Griatch
|
3c9b58f460
|
First version of working alternative attribute caching system.
|
2016-09-03 20:03:43 +02:00 |
|
Griatch
|
14aa12bd01
|
Started exploring a different caching scheme for Attributes as per issues #1034 and #1033.
|
2016-09-03 20:03:43 +02:00 |
|
Griatch
|
7e451951fa
|
Fix an error when giving an invalid channel name to delcom. Resolves #1032.
|
2016-09-01 17:30:06 +02:00 |
|
Tehom
|
b9ea41e713
|
Added unicode to list of permitted types for db_value in AttributeAdmin.
|
2016-08-31 22:47:16 +02:00 |
|
Griatch
|
88b217c0b8
|
Add support for collections.OrderedDict and collections.deque to Attribute serializer mechanism. Also some cleanups in dbserializer.
|
2016-08-31 22:45:57 +02:00 |
|
Griatch
|
80befa96b6
|
Added an /update switch and a corresponding update command to the typeclass switch system, this allows to soft-update a typeclass and re-run only its at_object_creation, which seems to be the most common use-case.
|
2016-08-31 21:02:15 +02:00 |
|
Griatch
|
83f67ac2c4
|
Minor display fix in the admin.
|
2016-08-25 12:03:12 +02:00 |
|
Griatch
|
faa3dca2d0
|
Make the 'exec' prototype key only usable for Immortals from the command line. Also fixes a bug in the check_permission method that made it not honor quelling.
|
2016-08-21 23:59:56 +02:00 |
|
Griatch
|
61a0e49f66
|
Make manually setting a valid class that is not a typeclass gracefully degrade with log error. Resolves #999.
|
2016-08-20 09:28:56 +02:00 |
|
Griatch
|
2d35c71cd1
|
Make @typeclass/reset also purge cmdsets. Resolves #1000.
|
2016-08-19 22:48:44 +02:00 |
|
Griatch
|
7f82049e33
|
Add migration - run evennia migrate! This adds data migrations for new nick format.
|
2016-06-26 01:27:37 +02:00 |
|
Griatch
|
316f03308e
|
Update the comm system to work with the new nicks.
|
2016-06-26 01:20:24 +02:00 |
|
Griatch
|
fba6e079c1
|
Finalize nick-templating; still issues with other places using nicks, such as channels.
|
2016-06-26 00:41:57 +02:00 |
|
Griatch
|
b1de659e8b
|
Migrate! Add nick-templating system, first version. This allows arg templating of nicks to allow a user to completely redefine how they enter commands. Still some bugs.
|
2016-06-25 23:23:13 +02:00 |
|
Griatch
|
bece57f067
|
Added non-persistent functinality to the TickerHandler, for specific use with OOB.
|
2016-05-22 20:45:40 +02:00 |
|
Griatch
|
d8c67c7c0c
|
Minor fix to docstring.
|
2016-03-13 10:37:58 +01:00 |
|
Andrew Bastien
|
8e60a04849
|
Adding the at_rename hook to the base Typeclass.
|
2016-03-13 10:33:35 +01:00 |
|
Andrew Bastien
|
735416a16e
|
Adding the at_rename hook to the base Typeclass.
|
2016-03-13 10:33:35 +01:00 |
|
Griatch
|
e6a866a150
|
Made Evennia run with Django 1.9
|
2016-02-18 10:12:42 +01:00 |
|
Griatch
|
f87d07b775
|
Added to TypedObject's get() manager method, since without it, Q-objects didn't work correctly.
|
2015-12-01 12:24:09 +01:00 |
|
Griatch
|
2130522559
|
Added a check to deactivate AlterIndexTogether if the Oracle database is used. This should, according to #732 fix the migration issue with Oracle, but have no database to check with. So supposedly resolves #732.
|
2015-11-18 00:11:33 +01:00 |
|
Ahmed Charles
|
921cf47731
|
Comment cleanup.
|
2015-11-15 20:29:40 +00:00 |
|
Griatch
|
efefe3e5ff
|
First version of changed sessid->session change that starts properly. Not fully tested yet.
|
2015-11-14 21:43:58 +01:00 |
|
Ahmed Charles
|
de0e42240c
|
Have every class inherit from object.
|
2015-11-09 10:11:34 +01:00 |
|
Ahmed Charles
|
11b61fe335
|
Import python3 compatible object.
|
2015-11-02 00:19:04 +01:00 |
|
Griatch
|
f0c27d80b9
|
Added a missing migration to repo.
|
2015-11-01 18:21:21 +01:00 |
|
Ahmed Charles
|
bc340fbf0d
|
Remove commented out print statements.
|
2015-10-19 23:31:19 +02:00 |
|
Griatch
|
0493dc0b4e
|
Added nattributes/attributes on ServerSessions as mock non-db-persistent handlers (both pointing to the same NAttributeHandler) in order to better match the API of Objects. Resolves #827.
|
2015-10-18 17:24:17 +02:00 |
|
Griatch
|
45371289f4
|
Further refinement of the rpsystem contrib, making a more reasonable division of typeclass functionality
|
2015-09-26 18:56:13 +02:00 |
|
Griatch
|
4ab6414ffa
|
API change - changed the AttributeHandler/TagHandler.get() second argument to be 'default' instead of 'category' ('category' is now the third argument). The reasoning is that this brings the attributes.get() call in line with the similar-looking dict.get(), where you can do dict.get(key, default) to give a default value.
|
2015-09-26 18:56:13 +02:00 |
|
Griatch
|
ce26ee0a25
|
Turns out normal filter manager methods should also accept *args. Resolves #793.
|
2015-09-01 20:01:49 +02:00 |
|
Griatch
|
1316d8115a
|
Fixed returns_typeclass decorator to properly handle filtered query results. Resolves #791.
|
2015-08-24 19:39:25 +02:00 |
|
Griatch
|
8e554ef8f6
|
Updated the typeclasses/ directory modules to use Google style docstrings, as per #709.
|
2015-07-12 13:52:21 +02:00 |
|
Jonathan Piacenti
|
462b73b626
|
Rename display_name and improve docstrings.
|
2015-06-20 16:31:36 -05:00 |
|
Jonathan Piacenti
|
1822b01086
|
Add display_name and disambiguation_tag for dynamic naming.
|
2015-06-20 15:42:39 -05:00 |
|
Griatch
|
fb8db4ead0
|
Fixed a recursive error with the ndbhandler.all.
|
2015-06-12 22:48:28 +02:00 |
|
Griatch
|
8e134af019
|
API change: Added no_superuser_bypass kwarg to obj.access, channel.access and player.access methods, to make the call consistent with the full lockhandler.check call. This allows the cmdhandler to use access() to check the 'call' locktype and thus make it available for overloading if so desired. Resolves #752.
|
2015-06-01 20:32:52 +02:00 |
|
Griatch
|
3410499313
|
Made the contents cache mechanism use the idmapper cache directly. This should hopefully avoid isses like #745 in the future.
|
2015-05-14 17:57:49 +02:00 |
|