Griatch
|
a727547b6f
|
Test typeclass upgrade for new django version. Not working yet.
|
2017-06-06 15:44:53 +02:00 |
|
Griatch
|
7e416e0cd6
|
Start fixing things for django 1.10.
|
2017-06-06 14:56:13 +02:00 |
|
Tehom
|
da008a69d9
|
Figured out that proxy models do not call signals attached to their classes they proxy for. I used the metaclass that already had a post_save signal attached to it, and it works fine now! I took out the unnecessary apps.py now that we're no longer attaching a signal to the base model classes and just doing it to the proxies.
|
2017-02-05 09:24:48 +01:00 |
|
Tehom
|
b67faf45d9
|
Attempt at making bulk deletion clear out handlers, to remove the problem of orphaned Attributes.
|
2017-02-05 09:24:48 +01:00 |
|
Griatch
|
74eebfed6d
|
Refactor code to remove alerts as per lgtm and #1176.
|
2017-01-29 19:02:00 +01:00 |
|
Tehom
|
ae0b4bad55
|
Refactor of class_setting from init in typeclass so we can just call it from django admin, and avoid weirdness of calling init twice, which seemed to mess things up
|
2016-12-05 07:53:06 -05: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 |
|
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 |
|
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
|
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
|
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 |
|
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 |
|
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
|
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 |
|
Griatch
|
ee1ec3979c
|
Updates for making Evennia compatible with Django 1.8+. Still not fully functioning.
|
2015-04-04 00:08:51 +02:00 |
|
Griatch
|
3f1a887841
|
Made numberered lists with full numbers for clarity when reading sources. See #724.
|
2015-03-22 10:07:37 +01:00 |
|
Griatch
|
78ca2819b2
|
Fixed a bug in is_typeclass and cleaned up some other things in the player/object typeclass. Resolves #722.
|
2015-03-22 10:03:39 +01:00 |
|
Griatch
|
de579df367
|
Updated the is_typeclass method to be more general. Fixed an inconsistency with typeclass path prefixes.
|
2015-03-15 16:24:20 +01:00 |
|
Jonathan Piacenti
|
461545fe58
|
Removed redundant NDBHolder class, consolidated with DBHolder.
|
2015-03-14 20:51:34 +01:00 |
|
Jonathan Piacenti
|
47170a6ffa
|
Broke DbHolder into a reusable object
|
2015-03-14 20:51:34 +01:00 |
|
Griatch
|
d752106906
|
Made typeclass loading a little more forgiving, adding a multitude of try-levels to fall back to in case of errors. Default is now to fallback to first settings-set default, then to the library default and only as a last resort fall back to the model. Every fallback step is logged. This should make the missing-hook error of #698 go away and report missing typeclasses in a better way.
|
2015-03-11 00:41:06 +01:00 |
|
Griatch
|
ca230a7130
|
Some cleanup
|
2015-03-09 13:07:03 +01:00 |
|
Griatch
|
a6c2910e93
|
fixed small inconsistency in returning a single script from the manager.
|
2015-03-06 20:54:44 +01:00 |
|
Griatch
|
84ccbf6b86
|
Fixed a migration that didn't run properly. Made typeclass loading a little more forgiving, giving a log_trace and loading the dbclass rather than crashing immediately.
|
2015-03-06 19:51:51 +01:00 |
|
Griatch
|
68d294d007
|
Refactored and cleaned up the idmapper directory; it's been so changed by evennia that it makes little sense to keep the original structure (which was intended for adding an app into). Resolved the unittest errors with the idmapper.
|
2015-02-23 15:06:30 +01:00 |
|
Griatch
|
3db3d83d4c
|
Fixed the ending of the tutorial and a bug in the spawner.
|
2015-02-22 17:46:56 +01:00 |
|
Griatch
|
07dd81851e
|
Fixed some bugs in new oobhandler mechanism to make tests work again, but oobhandler is still not tested.
|
2015-02-13 08:09:29 +01:00 |
|
Griatch
|
2aafafc09c
|
Made the evennia launcher pass through the management options in a better way. Also made the superuser creation more straightforward and handled flushed databases in a better way.
|
2015-02-08 23:36:53 +01:00 |
|
Griatch
|
f505e4959f
|
Removed unnecessary caching operation of dbid.
|
2015-01-28 18:49:04 +01:00 |
|
Griatch
|
132eca7c8f
|
Some minor cleanups.
|
2015-01-09 10:02:22 +01:00 |
|
Griatch
|
ad3f19896c
|
Changed all src/ and ev references to evennia
|
2015-01-07 15:36:32 +01:00 |
|
Griatch
|
c7325a5032
|
Further reworking, naming the library folder 'evennia' instead of lib or src.
|
2015-01-07 13:36:57 +01:00 |
|