Commit graph

336 commits

Author SHA1 Message Date
Griatch
8181c215e8 Add search_dbref alias for dbref_search. Resolve #2995. 2022-11-25 12:13:31 +01:00
Griatch
eafe390db4 Use isort, run format on code 2022-11-18 12:02:46 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Owllex
65ed5d29df Change default ID field to be BigAutoField.
* Add relevant migration files for all apps.
2022-10-31 13:13:02 -07:00
Griatch
bf7f8e63c5 Fix bug in tag querying. Resolve #2688. 2022-10-23 10:57:58 +02:00
Griatch
f1e8ff5965 Fix regression caused by fixing the search_typeclass manager method 2022-10-13 18:59:54 +02:00
Griatch
788de8af47 Fix merge conflict 2022-10-13 16:44:33 +02:00
Griatch
e5b698fab8 [fix] Correct search_typeclass bugs. Resolve #2694. 2022-10-13 16:41:18 +02:00
Wendy Wang
a4eb891f69 Adding search_typeclass to search utils 2022-10-13 15:01:27 +02:00
InspectorCaracal
dc94998f58 use result rather than iterate 2022-10-07 18:30:16 -06:00
Griatch
43378b4c41 Ran black on sources 2022-09-18 23:58:32 +02:00
Griatch
f716fc4380 Merge branch 'develop' into contrib/evadventure 2022-08-16 19:33:29 +02:00
Griatch
f695e624e2 Merge pull request #2824 from strikaco/attrprop
AttributeProperty tries spawning child instances of default value (#2697)
2022-08-14 16:45:46 +02:00
Johnny
b78c9eb324 Removes unused default_factory arg. 2022-08-05 19:51:33 +00:00
Johnny
470c2ebef7 Changes bare try/except to callable check. 2022-08-05 19:41:39 +00:00
Griatch
e84933d452 Resolve merge conflicts 2022-08-05 20:45:40 +02:00
Alessandro Ogier
81b6cdb93b speedier format/_map()s 2022-08-04 00:04:45 +02:00
Johnny
86fcdf4528 AttributeProperty tries spawning child instances of default value (#2697). 2022-08-02 23:47:52 +00:00
Griatch
19bd7ce0b7 Resolve merge conflicts 2022-08-02 16:19:25 +02:00
Alessandro Ogier
f9b17d25d1 new de/serialization logic 2022-07-26 23:51:11 +02:00
Alessandro Ogier
dbde966947 fix https://github.com/evennia/evennia/issues/2808 2022-07-26 23:51:11 +02:00
Griatch
43e4917501 Add defeat mode to tutorial combat 2022-07-17 20:04:03 +02:00
Tegiminis
38606f4edb Revert "remove unused argument"
This reverts commit 296c966ae6.
2022-07-10 03:55:52 -07:00
Tegiminis
296c966ae6 remove unused argument 2022-07-10 03:48:54 -07:00
Tegiminis
248df1a19b docstring fix 2022-07-10 03:25:56 -07:00
Tegiminis
6fca198a70 makes attributeproperties object-aware, part 2 2022-07-10 03:20:16 -07:00
Tegiminis
da0e380fa5 Merge branch 'develop' of github.com:Tegiminis/evennia into develop
# Conflicts:
#	evennia/typeclasses/attributes.py
2022-07-10 02:34:13 -07:00
Tegiminis
614a9ab048 makes attributeproperty "object-aware" 2022-07-10 02:32:05 -07:00
Griatch
a83f21ef2f Apply black to cleanup code 2022-06-12 09:46:48 +02:00
ChrisLR
f961db6e29 Remove sorted from unique categories as the order is not important 2022-05-31 12:08:50 -04:00
ChrisLR
796d12a906 Add failing test case about searching with none categories 2022-05-31 12:08:16 -04:00
Owllex
667b12830c Revert back to using isinstance. 2022-04-15 13:56:37 -07:00
Owllex
014ae2e6e1 Update to support subclasses. 2022-04-15 08:34:20 -07:00
Owllex
d5c916ecc3 Fix issue with init_evennia_properties. 2022-04-15 00:02:58 -07:00
Griatch
ef7280f55a Add TagProperty, AliasProperty, PermissionProperty. Default autocreate=True for AttributeProperty. 2022-04-09 15:56:24 +02:00
Griatch
669f17f3bb Fix strattr regression. Resolve #2660. 2022-03-01 20:46:51 +01:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
5e2372f79d Make sure Typeclass.at_init() is always called on cache initialization for any typeclass. Resolve #2641 2022-02-07 20:45:48 +01:00
Griatch
5859de7054 Change to use super() instead of the old py2 style everywhere 2022-01-26 21:51:55 +01:00
Griatch
9c0b44e13a Homogenize manager search methods to return querysets. Resolve #2384. 2022-01-09 17:13:24 +01:00
Griatch
19f920b6d4 Clean up all test suites 2022-01-07 16:12:12 +01:00
Griatch
72ad633071 Make set aware of Attribute categories 2021-12-16 00:22:24 +01:00
Griatch
88fff7c57b Correct help query on @, fix reset hook call. 2021-11-13 15:32:31 +01:00
Griatch
7a60e9ed0d AttributeProperty for managing Attributes similarly to Django fields 2021-11-09 23:08:28 +01:00
Griatch
00b29a693d Change TagHandler.add/has(tag=...) kwarg to key= for consistency. Resolve #2396 2021-11-03 22:55:55 +01:00
Griatch
0556f527fe Add .permissions.check() to easily do straight perm-checks without lockstrings 2021-10-09 16:23:13 +02:00
Griatch
800a157ef1 Fix wrong locktype in attribute all check. Resolve #2392. 2021-08-06 23:58:35 +02:00
Griatch
11da873424 Fix error in IAttribute reference due to private vars. Resolve #2423. 2021-08-06 23:55:38 +02:00
Griatch
5ac69a7b0d Better handle using typeclass-cmd with mismatched db table. Resolve #2350. 2021-08-06 23:44:48 +02:00
Griatch
5edda10e81 More fixes to xyzmaps. Add goto 2021-07-13 00:52:53 +02:00