Commit graph

229 commits

Author SHA1 Message Date
Griatch
69d85bd184 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
8685de3c56 Fix regression in Tag querying when only having one category 2019-12-20 18:50:55 +01:00
Griatch
4ea6209123 Ran black on branc 2019-12-16 20:31:42 +01:00
Griatch
809e07b4e3 Merge pull request #1999 from strikaco/db_tag_improve
Typeclass get_by_tag scalability improvements and weighted tag querysets
2019-12-16 19:02:13 +01:00
Johnny
7e3c693b29 Refactors get_by_tag to allow weighted searches. 2019-12-04 03:15:35 +00:00
Johnny
fe99edd611 Modifies filter chain to use Q objects. 2019-12-04 00:42:08 +00:00
Johnny
270b50a984 Fixes situation where attributes and tags continue to be cached when TYPECLASS_AGGRESSIVE_CACHE is set to False. 2019-12-03 21:40:00 +00:00
Griatch
a6f5cccdfa Merge branch 'develop' of github.com:evennia/evennia into develop 2019-10-27 20:37:42 +01:00
Tehom
19d9811de2 Add index to typeclass path. Closes #1975 2019-10-25 08:39:03 -04:00
“Mic”
85b7a71b1c add migration file 2019-10-15 21:25:45 +02:00
“Mic”
dfe398dd18 add blank=True 2019-10-05 22:20:40 +02:00
ethfar
d7272165db Update tags.py
Typecast the variables which were causing error in using strip function
2019-10-01 20:01:11 +05:30
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Greg Taylor
5e1a672fc2 Remove builtins imports
This module is not intended to be used directly in most cases, per:
https://docs.python.org/3/library/builtins.html

None of our usages warrant the explicit import. We also avoid some
confusion as folks dig to see what we are doing to require
importing builtins directly.
2019-09-15 20:29:59 -07:00
Greg Taylor
41622d4527 Remove unneeded __futures__ imports
No longer needed with Python 2 support dropped.
2019-09-15 00:17:39 -07:00
Griatch
bb5324ba52 Fix AttributeHandler.get with no Attributes. Also make return_list=True return [] rather than [None]. Resolves #1866 2019-09-08 19:18:19 +02:00
Griatch
781e8310f5 Security update; Increase rec Django version to 2.2.4 2019-08-09 18:03:02 +02:00
Griatch
432674ac7c Fix bug saving empty dicts/lists/False to admin. Resolve #1841 2019-06-07 22:14:44 +02:00
Griatch
ed187ad05f Various fixes from game jam 2019-05-14 10:33:31 +02:00
Griatch
983a58f055 Make AttributeHandler.remove delete by category only as well 2019-04-18 22:24:51 +02:00
Griatch
dfef343a27 Allow TagHandler.remove to remove-by category only 2019-04-18 22:18:16 +02:00
Griatch
6dde0b52f5 Refactor/remove signal receiver module 2019-04-14 22:53:38 +02:00
Andrew Bastien
72faf039cf Refactored signals with better names and more of them. Put them after hook calls. 2019-04-13 18:05:15 -04:00
Griatch
fbfb6da975 Resolve support for Django 2.0 2019-03-25 21:45:34 +01:00
Griatch
814bb2e8f8 Resolve further unit test issue with postgres 2019-03-23 23:34:34 +01:00
Griatch
e283adb7a1 Update unit test to experiment with py3.7 support 2019-03-23 08:48:26 +01:00
Griatch
1d0d6bc7cf Update unit tests for better postgres support 2019-03-21 22:35:58 +01:00
Griatch
90b42ca6fb Fix merge conflicts 2019-03-04 22:32:51 +01:00
Griatch
0f7d29783e Merge branch 'master' into develop 2019-02-07 22:04:47 +01:00
Griatch
c5a73174ab Fix bug in deleting capitalized attributes. Resolves #1776. 2019-02-07 22:04:12 +01:00
Griatch
fa8c7657da Clean up unicode mentions in docstrings 2019-01-31 23:44:16 +01:00
Griatch
a9902a8f18 Cleanup of unicode magic methods, continued 2019-01-31 21:17:59 +01:00
Griatch
7a535b35fa Remove __unicode__ magic methods no longer needed 2019-01-30 23:50:43 +01:00
Griatch
c3df77b678 Run Migrations! Converts attributes to use pickle v4 2019-01-30 23:14:31 +01:00
Griatch
0c9d2e053b [fix] First migration test 2019-01-28 19:48:26 +01:00
Griatch
33b37b5df2 Fix unittest error caused by to_str change 2019-01-19 18:34:48 +01:00
Griatch
aa48593a40 Made all unit tests pass 2019-01-09 22:08:48 +01:00
Griatch
981119b640 Fix merge conflicts 2019-01-01 15:19:20 +01:00
Johnny
58899bfeec Makes web_get_*_url functions pass slugified versions of the meta.verbose_name (closes #1712). 2018-10-27 11:28:40 +00:00
Johnny
59cbbb3e15 Adds puppet activation url method to base object typeclass. 2018-10-24 21:08:11 +00:00
Griatch
e1431dca94 Made some pep8 fixes 2018-10-22 23:32:12 +02:00
Johnny
b414eadff2 Merge branch 'develop' into smarturls 2018-10-22 13:58:34 -07:00
Johnny
84f1cad6a2 Renames methods to web_get_* and fixes tests. 2018-10-22 20:33:56 +00:00
Johnny
e1b4e6f7bc Renames all URL methods to web_*, moves to TypedObject model. 2018-10-17 22:52:06 +00:00
Griatch
ebb2fb6c1c Clean up with 2to3 2018-10-13 19:43:17 +02:00
Griatch
54e351f296 Merge develop branch, resolve conflicts 2018-10-13 17:19:38 +02:00
Griatch
fe14dfddef Fix bug in unittest that would cause occational name collision 2018-10-07 12:31:43 +02:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
f31433c3ef Fix unit tests 2018-09-19 23:49:46 +02:00
Griatch
a29b46d091 Cleanup, bug fixes, refactoring 2018-09-19 22:51:27 +02:00