Commit graph

25 commits

Author SHA1 Message Date
Griatch
ce3558d654 Go to Django 1.10. Remove support for Django 1.9. 2017-06-06 18:45:41 +02:00
Tehom
5de1f7b45b Add dbclass to names of classdict for cache_size function to remove duplicate entries 2017-05-06 03:21:50 -04:00
Griatch
74eebfed6d Refactor code to remove alerts as per lgtm and #1176. 2017-01-29 19:02:00 +01:00
Griatch
c6d9c0619e Refactor code for readability and compatibility. 2017-01-27 00:19:27 +01: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
8090d92d85 MonitorHandler implemented as a replacement for the OOBHandler monitor functionality, as per #924. 2016-05-22 20:45:39 +02:00
Griatch
c0537fe456 Changed the deprecated get_field_by_name to just get_field. 2016-02-19 22:31:42 +01:00
Griatch
e6a866a150 Made Evennia run with Django 1.9 2016-02-18 10:12:42 +01:00
Ahmed Charles
487fcdf873 Use list* from future.utils.
dict.keys() -> list(dict)
dict.values() -> listvalues(dict)
dict.tems() -> listitems(dict)
2015-11-09 10:23:00 +00:00
Ahmed Charles
1968f15895 Remove commented out code. 2015-11-09 10:11:34 +01:00
Ahmed Charles
de0e42240c Have every class inherit from object. 2015-11-09 10:11:34 +01:00
Ahmed Charles
cbe1eefcf0 Move to python3 style division.
All of these are currently integer division in python2.
2015-11-01 20:47:18 +00:00
Ahmed Charles
8a66fc40a9 Use with_metaclass from future.utils for python3 compat. 2015-11-01 15:11:12 +01:00
Griatch
c7e1a6a086 Resolved merge conflicts against master. 2015-10-20 00:07:39 +02:00
Griatch
50371b6abd Merged conflicts. 2015-10-19 23:32:00 +02:00
Ahmed Charles
bc340fbf0d Remove commented out print statements. 2015-10-19 23:31:19 +02:00
Russell Jones
06c3dc0ed3 Run "futurize -1 -w -n ." 2015-10-01 20:00:28 +01:00
Griatch
eb2bd8d44c Converted a large part of utils/ folder to google code docstrings as per #709. 2015-09-27 20:24:03 +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
tajmone
b4fb81f3b5 Docstrings : another Func documented
Another func to which I added Args, etc.
Plus typos cleanup.
2015-03-09 16:04:21 +01:00
Griatch
e13a9b2749 Made auto-field wrappers have docstrings for api2md 2015-03-09 11:30:49 +01:00
Griatch
e201cda2c3 Fixes to content_cache handler. Started a simple test of a cmd-limiter. 2015-02-28 13:02: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
c7325a5032 Further reworking, naming the library folder 'evennia' instead of lib or src. 2015-01-07 13:36:57 +01:00
Renamed from lib/utils/idmapper/models.py (Browse further)