Commit graph

5848 commits

Author SHA1 Message Date
Griatch
e4407fd33b Change about command to put relevant version info first, as per #1945 2019-09-22 13:32:12 +02:00
Griatch
6fbcb941f9 Clarify command-help for set command. Resolve #1944. 2019-09-22 13:25:27 +02:00
Griatch
d0b762775a
Merge pull request #1939 from gtaylor/u-str-removal
Remove a couple of lingering u strings
2019-09-19 19:28:47 +02:00
Griatch
abc0fa67c7
Merge pull request #1938 from gtaylor/builtins-removal
Remove builtins imports
2019-09-19 19:27:55 +02:00
Griatch
ad5007c288 Update changelog with removal of pillow lib requirement 2019-09-19 19:26:42 +02:00
Griatch
5d49500e33
Merge pull request #1936 from gtaylor/remove-pillow
Remove pillow from requirements
2019-09-19 19:22:07 +02:00
Griatch
9687708029
Merge pull request #1937 from gtaylor/utils-imp-removal
Remove deprecated "imp" module uses in evennia.utils.utils
2019-09-19 18:12:52 +02:00
Greg Taylor
9ace617cf7 Remove a couple of lingering u strings
These are not needed in Python 3.
2019-09-15 20:41:42 -07:00
Greg Taylor
095ef9df93 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
bb3db818cf Switch to module imports for importlib in utils
The present day guidance is to lean towards module imports for the
stdlib modules. Switch importlib imports to this instead of
plucking out the functions that we need. This makes it more
immediately apparent as to where the functions are coming from
in the application logic.
2019-09-15 20:21:50 -07:00
Greg Taylor
3e152a3b57 Refactor mod_import to use importlib
Switch from the deprecated imp to importlib. Also add tests and
clean up logic flow. This should be quite a bit faster than the
old implementation as well.
2019-09-15 20:21:50 -07:00
Greg Taylor
013c5a1884 Remove pillow from requirements
This was originally suggested due to an imagefield, but that is
no longer present. Since Pillow is not required to run Evennia,
we should remove it and let the users opt into it if they end
up wanting/needing it for their custom code.
2019-09-15 17:28:10 -07:00
Griatch
cdb9e3290a Fix MSSP connect traceback. Resolve #1930. Also add mock external_discord_hello inputfunc for Mudlet. 2019-09-15 14:09:47 +02:00
Griatch
5cb98e5a92 Messed up the merge; now removed win-req file 2019-09-15 13:03:38 +02:00
Griatch
c8e7a77d18 Resolve merge conflicts 2019-09-15 13:02:35 +02:00
Griatch
495cc92d8b
Merge pull request #1927 from gtaylor/futures-removal
Remove Python 2.7 compatibility shims
2019-09-15 13:00:43 +02:00
Griatch
92446d4e8c
Merge pull request #1926 from gtaylor/django-2.2.5
Bump min Django version to 2.2.5
2019-09-15 12:55:45 +02:00
Greg Taylor
b026b65b08 Bump min Django version to 2.2.5
Bug fix release. For more details, see:
https://docs.djangoproject.com/en/2.2/releases/2.2.5/
2019-09-15 00:40:26 -07:00
Greg Taylor
efaa4ee535 Condense requirements files down to one
PEP 508 defines a way to specify platform-specific requirements.
Rather than having to manage two different requirements files, let's
crunch them down to one and use that facility.

For more details on how this works, see:
https://www.python.org/dev/peps/pep-0508/
2019-09-15 00:37:30 -07:00
Greg Taylor
97f8bf8a6f 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
aa43da1cf3 Clean up utils gc/sys imports
Move to top and import the modules instead of funcs from them.
Keeps the scope cleaner.
2019-09-15 00:18:56 -07:00
Greg Taylor
8eae0c13b9 Remove py3.6 handler for ModuleImportError
We require 3.7+ now, no need.
2019-09-15 00:18:56 -07:00
Greg Taylor
c62cc1f530 Remove unused utils.clean_object_caches func
Sounds like this used to have a purpose but no longer does.
2019-09-15 00:17:39 -07:00
Greg Taylor
32492c1492 Remove unneeded __futures__ imports
No longer needed with Python 2 support dropped.
2019-09-15 00:17:39 -07:00
Greg Taylor
a3b4660393 Fix breaking typo in evennia.objects.objects
Noneo->Noneo
2019-09-15 00:15:21 -07:00
Griatch
be44882143 Make DefaultObject echo confirmation when being puppeted, as per #1923 2019-09-14 20:56:36 +02:00
Griatch
05fd75198e Fix prototype_tag issue in olc. Resolve #1918 2019-09-14 20:45:58 +02:00
Griatch
6588a4ea2c More fixes to text2ansi regexes. Resolve #1920. Resolve #1924. 2019-09-14 20:18:07 +02:00
Griatch
fd72101089
Merge pull request #1925 from evennia/contrib-egi-readme-removal
Remove EGI mention in contrib README.md
2019-09-14 14:44:38 +02:00
Greg Taylor
1cd9063e01
Remove EGI mention in contrib README.md
EGI was moved into core.
2019-09-13 22:14:06 -07:00
Griatch
c6aa94365b ... and another fix to handle line breaks in web client 2019-09-11 20:02:24 +02:00
Griatch
9d05e7305f Use literal space rather than \s in text2html parser. Resolve #1916. 2019-09-11 19:58:28 +02:00
Griatch
de418b2a16 Merge branch 'master' of github.com:evennia/evennia 2019-09-11 08:42:47 +02:00
Griatch
af42c1da7f Fix line breaks from fixed-width lines in webclient. Resolve #1837. 2019-09-11 08:42:34 +02:00
Griatch
b9b23b7cdb
Merge pull request #1915 from kovitikus/myfixes
Updated various modules with f-strings.
2019-09-10 21:50:54 +02:00
Kovitikus
210325c794 Fixed string conversions. 2019-09-10 15:17:56 -04:00
Kovitikus
ee7e276315 Fixed string conversions. 2019-09-10 15:17:21 -04:00
Kovitikus
6b47c9a9e8 Converions to string types. 2019-09-10 14:42:01 -04:00
Griatch
8e03156ffe Fix mismatching help query in OOC mode. Resolve #1914. 2019-09-10 19:57:22 +02:00
Kovitikus
a7cc5c0c2d Updated tests.py with f-strings. 2019-09-10 13:29:21 -04:00
Kovitikus
11266f59c1 Updated models.py with f-strings. 2019-09-10 13:24:16 -04:00
Kovitikus
ef9653a04c Updated manager.py with f-strings. 2019-09-10 13:22:05 -04:00
Kovitikus
14401ae2f2 Updated bots.py to fstrings. 2019-09-10 12:47:03 -04:00
Kovitikus
80d09e1b6f Fixed a trailing whitespace. 2019-09-10 11:22:43 -04:00
Kovitikus
7b829a8d87 Updated to fstrings. 2019-09-10 10:31:49 -04:00
Griatch
fceb7a985d Properly encode FileLogger's readline output. Resolve #1875. 2019-09-09 07:18:28 +02:00
Griatch
7af0667122 Fix unit tests 2019-09-08 21:17:55 +02:00
Griatch
5d6b9bc226 Fix typo in lock defintion 2019-09-08 20:19:51 +02:00
Griatch
e5e8addd09 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
20f59846c4 Fix traceback in rpsystem contrib. Resolve #1871 2019-09-08 19:41:14 +02:00