Andrew Bastien
467fd93f12
Cleaned up the contents indexer.
2020-04-11 13:34:28 -07:00
Andrew Bastien
2fcb6e9466
Add a contents indexer to optimize inventory lookups.
2020-04-11 12:39:52 -07:00
Griatch
2dabcb45e6
Merge pull request #2092 from trhr/validators
...
Validators and normalization of character names
2020-04-10 09:00:16 +02:00
trhr
e9fc3463cb
With recommended changes
2020-04-09 18:30:54 -05:00
trhr
d61dc07796
Code that doesn't compile is an antipattern
2020-04-06 00:03:33 -05:00
trhr
f95dd3f2aa
#1445 #1709 - Latinify character names in .create()
2020-04-05 23:54:10 -05:00
Griatch
9782196b3c
Fix home kwarg not being honored by Character.create
2020-03-23 23:44:32 +01:00
trhr
d10f9b7320
weird comment, nbd
2020-02-28 22:32:28 -06:00
trhr
090157979b
django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() are deprecated in favor of the functions that they’re aliases for: django.utils.translation.gettext(), gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy().
2020-02-09 20:14:47 -06:00
Griatch
a9b4d8e826
Handle inflex pluralization errror on complex object name. Resolves #2015 .
2020-01-18 13:01:33 +01: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
6859b2ac0e
Fixes create() method failure where no account was provided.
2019-12-04 19:18:39 +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
Greg Taylor
bd33886cc0
Remove uses of the 'future' py2->3 module
...
This is no longer needed, now that we are Py3.7+ only. One
layer of indirection removed, and one less dependency.
2019-09-15 00:18:56 -07:00
Greg Taylor
0eef4bee6f
Fix breaking typo in evennia.objects.objects
...
Noneo->Noneo
2019-09-15 00:15:21 -07:00
Griatch
b609c548f0
Make DefaultObject echo confirmation when being puppeted, as per #1923
2019-09-14 20:56:36 +02:00
Griatch
bc2777031d
More fixes to text2ansi regexes. Resolve #1920 . Resolve #1924 .
2019-09-14 20:18:07 +02:00
Griatch
dc444bd2be
Fix typo in lock defintion
2019-09-08 20:19:51 +02:00
Griatch
9e3285a791
Handle drop with drop:holds() lock. Default to pass for backwards-compatibilty while on Evennia 0.9. See #1868
2019-09-08 20:17:04 +02:00
Griatch
89af821978
Fix bug in DefaultObject.at_traverse. Resolve #1832 .
2019-08-28 22:49:41 +02:00
Griatch
01a24b8343
Fix that caused whisper to never allow overriding text
2019-08-26 20:03:38 +02:00
Griatch
08b0f3fbf8
Fix bug in multi-object alias targeting. Resolves #1823
2019-06-03 07:01:03 +02:00
Griatch
ed187ad05f
Various fixes from game jam
2019-05-14 10:33:31 +02:00
Andrew Bastien
7b35ec286b
Refactored the copy hook and added Kwargs.
2019-04-15 09:47:14 -04:00
Andrew Bastien
4e4ac23854
Added at_object_creation_copy hook to DefaultObject.
2019-04-15 09:44:46 -04:00
Griatch
90b42ca6fb
Fix merge conflicts
2019-03-04 22:32:51 +01:00
Griatch
0dfea46d5c
Change save/search_prototype, extend unittests
2019-02-09 16:52:02 +01:00
Griatch
690ed6ecd1
Fix merge conflicts
2019-01-17 23:08:19 +01:00
Griatch
f33407802d
Resolve merge conflict
2019-01-17 23:04:11 +01:00
Griatch
c3ebd8d251
Use to_str/to_bytes, replacing old versions
2019-01-16 23:26:46 +01:00
Vincent Le Goff
22481fe752
Fix a slight error in search with candidates
2019-01-06 21:27:19 +01:00
Griatch
d6f41d7148
Merge branch 'develop' into develop-py3
2019-01-04 19:53:36 +01:00
Griatch
855e7f32b0
Re-add missing fix for candidates removed in refactor
...
Resolves #1763 .
2019-01-04 19:36:31 +01:00
Griatch
598126d25c
Merge branch 'master' into develop
2019-01-04 19:33:18 +01:00
Griatch
2bea75c27d
Further clarifications in search docstring
2019-01-04 14:35:44 +01:00
Griatch
692266d1bb
Clarifying use_dbref docstring
2019-01-04 12:56:43 +01:00
Griatch
981119b640
Fix merge conflicts
2019-01-01 15:19:20 +01:00
Johnny
7be0ef60ad
Adds delete() lock to characters by default.
2018-11-07 20:44:48 +00:00
Johnny
882e6130e4
Minor fixes to handle addition of created chars to account playable characters list, and check for multisession mode compliance.
2018-10-24 18:57:48 +00:00
Griatch
b6b07ccdb5
Update CHANGELOG, pep8 fixes
2018-10-23 01:04:25 +02:00
Johnny
30b8519d39
Merge branch 'develop' into accounts
2018-10-22 15:03:06 -07:00
Griatch
e1431dca94
Made some pep8 fixes
2018-10-22 23:32:12 +02:00
Johnny
030a83bf9c
Merge branch 'develop' into accounts
2018-10-22 21:12:58 +00:00
Johnny
b414eadff2
Merge branch 'develop' into smarturls
2018-10-22 13:58:34 -07:00
Johnny
5c3bdd1b4a
Fixes object delete method so that deleted characters are removed from owner's playable character list.
2018-10-18 21:30:02 +00:00
Johnny
e1b4e6f7bc
Renames all URL methods to web_*, moves to TypedObject model.
2018-10-17 22:52:06 +00:00
Griatch
d318861399
Remove iteritems() calls
2018-10-13 19:49:24 +02:00
Griatch
58116ff900
Remove basestring mentions remnants of 2.7
2018-10-13 19:30:24 +02:00