Griatch
8914e7b0b6
Change settings._TEST_ENVIRONMENT to settings.TEST_ENVIRONMENT to address not-found issues during initialization
2023-11-26 14:25:12 +01:00
Griatch
f6b43b0416
Ran black on sources
2023-11-02 20:58:03 +01:00
Griatch
c6e3ee7589
Update and link new discord docs; reformat code for PEP8
2022-12-01 00:20:26 +01:00
Griatch
65ec944af0
Add tags= search criterion to DefaultObject.search. Resolve #2142
2022-11-28 20:35:34 +01:00
Griatch
a461a97576
Format code imports
2022-11-10 22:21:12 +01:00
Andrew Bastien
894ae978b9
ObjectDB.objects.get_objs_with_key_or_alias() now uses icontains instead of istartswith for inexact searches against db_key to match behavior with alias.
2022-07-25 15:22:26 -04:00
Griatch
d69589ec99
Better handle partial search matches. Resolve #2579
2022-03-01 18:51:24 +01:00
Griatch
bd3e31bf3c
Run black reformatter on code
2022-02-08 13:03:52 +01:00
Griatch
7912351e01
Test to improve test behavior for postgres/mysql
2022-01-20 22:13:21 +01:00
ChrisLR
6e863f2bd7
Refactored home/no-home usage and fixed exception catch
2022-01-19 12:25:51 -05:00
Griatch
9c0b44e13a
Homogenize manager search methods to return querysets. Resolve #2384 .
2022-01-09 17:13:24 +01:00
Griatch
e70337b6d2
Move create methods into managers, leave utils.create as wrappers.
...
Resolve #2118 .
2022-01-09 00:30:32 +01:00
Griatch
a51e4af609
Change to MyST parser
2021-10-26 21:31:20 +02:00
Griatch
7ff8cbb341
I18n string cleanup and refactoring
2021-05-27 17:37:26 +02:00
Griatch
490c4f11cf
Don't allow 3-box with only two boxes in room. Resolve #2206 .
2020-11-13 21:00:07 +01:00
Griatch
5f8911ec72
Better handle multimatch index out of scope. Resolve #2207 .
2020-11-13 20:40:12 +01:00
Griatch
0df87037e7
Ran black on sources, add black config
2020-07-27 21:09:13 +02:00
Griatch
b5d148b00a
Optimize/fix searching objects by-attribute-value
2020-07-27 20:44:18 +02:00
David Estrada
8512364560
Some of the doc strings were incorrect in manager.py. Manager.py methods should return querySets, not lists
2020-04-20 18:36:08 -07:00
David Estrada
7a428b703b
Manager.py is returning a couple of querysets instead of lists. Fix for bug #2088
2020-04-09 13:47:17 -07:00
Griatch
69d85bd184
Make scripts/objects lists use EvMore. Change EvMore to not justify by default.
2020-01-11 15:49:12 +01:00
Griatch
4ea6209123
Ran black on branc
2019-12-16 20:31:42 +01:00
Johnny
3f923ee1eb
Fixes failure of copy() method to replicate categorized attributes and tags ( #1972 )
2019-12-04 18:39:33 +00:00
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
Griatch
a35dcedcc0
Better output for evennia --initmissing. Fix object copy with tags ( Resolve #1909 )
2019-09-04 20:35:08 +02:00
Griatch
f4f43158a8
Fix attr search with non-string query. Resolve #1760
2019-06-08 17:40:29 +02:00
Griatch
21a5285954
Make sure to avoid double multi-matches from rpsystem. Resolve #1757
2019-06-08 17:34:30 +02:00
Griatch
94918c8b72
[fix] Fix unit tests
2019-06-03 18:28:11 +02:00
Griatch
08b0f3fbf8
Fix bug in multi-object alias targeting. Resolves #1823
2019-06-03 07:01:03 +02:00
Griatch
b4aee41dd8
Enforce order to certain manager operations
2019-03-24 00:53:27 +01:00
Griatch
64d99aaf11
Fix race condition bug in search discovered by comparing with postgres result
2019-03-23 21:33:41 +01:00
Griatch
90b42ca6fb
Fix merge conflicts
2019-03-04 22:32:51 +01:00
Griatch
181a3e04e7
Unittest object.get_obj_with_attr
2019-02-08 19:49:02 +01:00
Griatch
f3fa6bad07
Unittest manager get_object_with_account
2019-02-07 23:23:51 +01:00
Griatch
72f4fedcbe
Merge with develop and fix merge conflicts
2018-10-01 20:58:16 +02:00
FatherGrishnak
5e6a29a430
Update manager.py
2018-08-15 00:55:13 +00:00
FatherGrishnak
87456c081f
Update to fix #1644
2018-08-14 08:31:09 +00:00
Griatch
d2b89b7613
Update/refactor search_channel with aliases and proper query. Resolves #1534 .
2018-01-06 20:13:36 +01:00
Ryan Stein
6f91e1e546
Remove to_unicode.
2017-11-03 12:36:45 -04:00
Ryan Stein
6fa280b9fd
Run 2to3.
2017-10-29 13:40:30 -04: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
5590ee2258
Rename all instances of Player->Account.
2017-07-07 23:47:21 +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
BlauFeuer
7010f998f1
Fold long lines, PEP 8, comparision to None
...
+Indent, comment and typo edits
2017-04-01 14:55:02 +02:00
Griatch
c6d9c0619e
Refactor code for readability and compatibility.
2017-01-27 00:19:27 +01:00
Griatch
506c5c6d39
Refactor some names to make api cleaner to read.
2017-01-14 22:21:12 +01:00
Griatch
f59c9fd573
Fix bugs in alias-searching for objects. Resolves #1048 .
2016-10-13 21:53:54 +02:00
Griatch
e6f857a536
Remove setting.SEARCH_MULTIMATCH_SEPARATOR, replacing it with SEARCH_MULTIMATCH_REGEX and SEARCH_MULTIMATCH_TEMPLATE. This allows simple yet powerful control over the error output without needing to overload the parser.
2016-09-11 10:39:47 +02:00