Commit graph

42 commits

Author SHA1 Message Date
Griatch
814bb2e8f8 Resolve further unit test issue with postgres 2019-03-23 23:34:34 +01:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
63cae2b187 Merge branch 'master' into develop 2018-07-21 14:14:43 +02:00
Tehom
c729b6b916 Add on missing values and values_list methods while we're at it, for the same reasons. 2018-06-30 02:31:47 -04:00
Tehom
24bdf124f5 Add annotate method to TypedManager to filter by typeclass appropriately. 2018-06-28 08:23:52 -04:00
Griatch
48e35bfbe4 Remove mutual exclusivity between value/strvalue when searching for Attributes with manager 2018-03-03 11:01:31 +01:00
Griatch
6479e445a5 Make get_attribute/tag manager methods return querysets 2018-03-03 11:01:31 +01:00
Griatch
9f7dcebc5b Fix bug in accessing attribute through manager 2018-03-03 11:01:31 +01:00
Griatch
71b6e6cdea Remove mutual exclusivity between value/strvalue when searching for Attributes with manager 2018-03-01 22:21:22 +01:00
Griatch
047e9f619a Make get_attribute/tag manager methods return querysets 2018-03-01 21:56:40 +01:00
Griatch
5b96b09bca Fix bug in accessing attribute through manager 2018-03-01 20:13:36 +01:00
Griatch
56aeaf8486 get_by_tag manager can now query for multiple tag/category combinations 2018-02-03 19:42:24 +01:00
Griatch
3ae096859e Not working. Tried a different query-setup unsuccessfully. 2018-02-01 21:28:35 +01:00
Griatch
daeaf6381a Resolve merge conflicts 2018-02-01 17:59:55 +01:00
Ryan Stein
6f91e1e546 Remove to_unicode. 2017-11-03 12:36:45 -04:00
Ryan Stein
cd21fb2396 Use Python 3's new super() convention. 2017-11-02 10:41:41 -04:00
Ryan Stein
6fa280b9fd Run 2to3. 2017-10-29 13:40:30 -04:00
Griatch
b3c6e9d2cc Update alerts reported by LGTM 2017-09-23 16:46:54 +02:00
Griatch
b278337172 Make PEP8 cleanup of line spaces and character distances as well as indents 2017-08-19 23:16:36 +02:00
Griatch
280ffacc2d First, non-working version of a get_by_tag manager method that accepts multiple tags 2017-08-10 23:36:56 +02:00
Griatch
cf77d90c71 Make all manager methods return querysets. This removes all the last remnants of the old return_typeclass/return_typeclass_list decorators that were a remnant of the old pre-proxy Typeclass system. Resolves #1206. 2017-04-20 19:43:39 +02:00
Griatch
dd7d18f041 Move smart-search (still not complete, pending changes to queryset returns as per roadmap). 2017-04-19 21:31:15 +02:00
Griatch
4b38642666 Add unfinished smart_search manager method for future use with the olc. 2017-04-19 06:40:24 +02:00
Griatch
f718a1aadd Start attempt at a smart-search mechanism for limiting searches more creatively on the command line. Non-working code. 2017-04-16 20:57:35 +02:00
Griatch
a09835049b Refactor wrong super() parents in a few managers. 2017-01-26 21:35:13 +01:00
Griatch
8b1d16fd5c Run migrations! Another update to the tag structure, the previous migration did not correctly handle all tags, leaving some to get the wrong db_object fields. Also cleaned up the api for many of the Tag-related manager methods that now determins the db_model themselves without needing to give it as an argument. This resolves an issue with Permissions not being set correctly on the character level. 2017-01-25 22:06:54 +01:00
Griatch
55e9a01790 Fix a bug with creating tags with the db_model property. Resolves #1170. 2017-01-21 23:21:14 +01:00
Griatch
f8e1fb6826 Make db_model/db_tagtype to properly separate tags/aliases/perms. Needs a schema migration. 2017-01-21 23:21:14 +01:00
Griatch
82866a7dda Start to rework to actually make use of the db_model field of Tags and Attributes. Reapplying this will require a migration down the line. 2017-01-21 23:21:14 +01:00
Tehom
024a476355 get tag from list returned by get_tag 2016-10-19 23:50:30 +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
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
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
3d7ac9e365 Added raw_queryset keyword to returns_typeclass_list decorated funcs 2015-03-14 20:51:34 +01:00
Griatch
58d380fe7d Fixed another case of wrong-placed strvalue as mentioned in #699. 2015-03-12 20:35:28 +01:00
Griatch
ee6fa2a2a0 Put the right strvalue use in manager method. Resolves #699. 2015-03-11 21:51:09 +01:00
Griatch
e592b97223 Made tag searches case-insensitive. Resolves #610. 2015-02-26 19:42:33 +01:00
Griatch
6bbd35da8a Changed how tags are looked up during their creation, makes for a much faster implementation. 2015-01-18 11:30:49 +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
Renamed from lib/typeclasses/managers.py (Browse further)