Commit graph

5852 commits

Author SHA1 Message Date
Griatch
10e01fa3b6 Further issue-template fixes 2019-09-22 14:41:07 +02:00
Griatch
eb10dde761 Some more fixes to issue templates 2019-09-22 14:39:44 +02:00
Griatch
c13bc5ab53 Remove unnecessary issue template 2019-09-22 14:02:33 +02:00
Griatch
83af02c21d Update issue templates 2019-09-22 14:00:05 +02:00
Griatch
88e8e88594 Change about command to put relevant version info first, as per #1945 2019-09-22 13:32:12 +02:00
Griatch
96b3cd049c Clarify command-help for set command. Resolve #1944. 2019-09-22 13:25:27 +02:00
Griatch
bce118ca93 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
741dc652d6 Merge pull request #1938 from gtaylor/builtins-removal
Remove builtins imports
2019-09-19 19:27:55 +02:00
Griatch
bde0f26496 Update changelog with removal of pillow lib requirement 2019-09-19 19:26:42 +02:00
Griatch
1b873e1c6e Merge pull request #1936 from gtaylor/remove-pillow
Remove pillow from requirements
2019-09-19 19:22:07 +02:00
Griatch
0f697b397c 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
f55b16a500 Remove a couple of lingering u strings
These are not needed in Python 3.
2019-09-15 20:41:42 -07: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
901277ea64 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
da48fa2e52 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
ba895ce703 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
e395ea9371 Fix MSSP connect traceback. Resolve #1930. Also add mock external_discord_hello inputfunc for Mudlet. 2019-09-15 14:09:47 +02:00
Griatch
75c6f198ee Messed up the merge; now removed win-req file 2019-09-15 13:03:38 +02:00
Griatch
02a391d308 Resolve merge conflicts 2019-09-15 13:02:35 +02:00
Griatch
ac3a8d2199 Merge pull request #1927 from gtaylor/futures-removal
Remove Python 2.7 compatibility shims
2019-09-15 13:00:43 +02:00
Griatch
033d00ae77 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
93ca8504d0 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
0c5628759f 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
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
edbe583959 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
e5354a6787 Remove py3.6 handler for ModuleImportError
We require 3.7+ now, no need.
2019-09-15 00:18:56 -07:00
Greg Taylor
3fb23f4c70 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
41622d4527 Remove unneeded __futures__ imports
No longer needed with Python 2 support dropped.
2019-09-15 00:17:39 -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
96490386a1 Fix prototype_tag issue in olc. Resolve #1918 2019-09-14 20:45:58 +02:00
Griatch
bc2777031d More fixes to text2ansi regexes. Resolve #1920. Resolve #1924. 2019-09-14 20:18:07 +02:00
Griatch
12ce59954e 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
535d2d05f1 Remove EGI mention in contrib README.md
EGI was moved into core.
2019-09-13 22:14:06 -07:00
Griatch
25aa026b28 ... and another fix to handle line breaks in web client 2019-09-11 20:02:24 +02:00
Griatch
c1be45b18d Use literal space rather than \s in text2html parser. Resolve #1916. 2019-09-11 19:58:28 +02:00
Griatch
e7b4ba019a Merge branch 'master' of github.com:evennia/evennia 2019-09-11 08:42:47 +02:00
Griatch
56bfc10828 Fix line breaks from fixed-width lines in webclient. Resolve #1837. 2019-09-11 08:42:34 +02:00
Griatch
73ba06d5f8 Merge pull request #1915 from kovitikus/myfixes
Updated various modules with f-strings.
2019-09-10 21:50:54 +02:00
Kovitikus
4646da4135 Fixed string conversions. 2019-09-10 15:17:56 -04:00
Kovitikus
8dcd1bb286 Fixed string conversions. 2019-09-10 15:17:21 -04:00
Kovitikus
ced0bfea59 Converions to string types. 2019-09-10 14:42:01 -04:00
Griatch
607004f2eb Fix mismatching help query in OOC mode. Resolve #1914. 2019-09-10 19:57:22 +02:00
Kovitikus
c376fb5b57 Updated tests.py with f-strings. 2019-09-10 13:29:21 -04:00
Kovitikus
02397aca0b Updated models.py with f-strings. 2019-09-10 13:24:16 -04:00
Kovitikus
37912417dc Updated manager.py with f-strings. 2019-09-10 13:22:05 -04:00
Kovitikus
d70eb388f1 Updated bots.py to fstrings. 2019-09-10 12:47:03 -04:00
Kovitikus
e343576292 Fixed a trailing whitespace. 2019-09-10 11:22:43 -04:00
Kovitikus
c0a5156c70 Updated to fstrings. 2019-09-10 10:31:49 -04:00
Griatch
6b2c2ee6e3 Properly encode FileLogger's readline output. Resolve #1875. 2019-09-09 07:18:28 +02:00