Commit graph

307 commits

Author SHA1 Message Date
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
Griatch
61ab313ee3 Refactoring of map spawner mechanism. Still not working correctly 2021-07-03 18:05:49 +02:00
Griatch
c7fb61de0f Update doc strings 2021-05-29 13:53:11 +02:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
59dd0b007a Update HaProxy document, move server/admin to correct place 2021-05-26 20:12:19 +02:00
Griatch
1bdcafcef4 Migrating models, many admin tweaks 2021-05-20 23:43:46 +02:00
Griatch
efe3a28343 Correct admin in new location 2021-05-17 09:01:55 +02:00
Griatch
8e02be23e4 Trying to relocate admin (not working yet) 2021-05-16 23:40:31 +02:00
Griatch
3218d74381 Run migrations! Added data migration for channel aliases 2021-05-14 23:39:42 +02:00
Griatch
51bef9bf97 Move alias/connect setup to channel class rather than cmd 2021-05-14 21:53:23 +02:00
Griatch
ebcff51932 Start adding new help documentation 2021-05-10 08:57:00 +02:00
Griatch
67908c5af0 Functioning help subcategories 2021-05-02 00:09:41 +02:00
Griatch
a10a297c55 Fix alias regexes 2021-04-25 16:14:43 +02:00
Griatch
ae9578e1de Remove channel nick-replace from inputfunc 2021-04-24 22:44:05 +02:00
Griatch
3c4578b648 Add working unit tests for new channel command 2021-04-22 21:21:58 +02:00
Griatch
afd13e5caa fix of empty-string category name 2020-11-12 22:34:22 +01:00
Griatch
9238a9bb58 Fix docstring formatting 2020-10-19 22:01:44 +02:00
Griatch
b449ebe3d4 Fix style to Keyword Args 2020-10-12 21:13:06 +02:00
Griatch
bf50896c41 Add Raises section to TagHandler.has docstring. 2020-10-08 18:54:25 +02:00
ChrisLR
ebcb4244aa Placed tags tests in their own TestClass 2020-10-03 14:21:22 -04:00
ChrisLR
3ae626ea3a Handle the case where tag is not provided and raise a ValueError if neither are provided. 2020-10-03 13:21:53 -04:00
ChrisLR
73e18024b8 Fixed wrong assert 2020-10-03 13:12:54 -04:00
ChrisLR
0b351cfa12 Renamed key to tag 2020-10-03 13:02:54 -04:00
ChrisLR
8c9f1aeaa8 Added has method on TagHandler with a few tests 2020-10-03 13:00:07 -04:00
Griatch
9cdc37355c Resolve merge conflicts 2020-09-16 23:49:05 +02:00
Griatch
bf8d41562d Default to attrread as locktype for Attribute read access. Resolve #2185 2020-09-01 20:40:48 +02:00
Griatch
b24d4f0e1e Run black on sources; add black config 2020-07-27 21:12:06 +02:00
Griatch
0df87037e7 Ran black on sources, add black config 2020-07-27 21:09:13 +02:00
Griatch
90e149dc27 Resolve merge conflicts 2020-07-18 23:30:23 +02:00
Griatch
f615886d24 Add unittest for Attr/Tag.batch_add, clarify docstrings. Resolves #2125 2020-07-18 23:10:46 +02:00