Commit graph

5886 commits

Author SHA1 Message Date
Griatch
d07ef9aa07 Merge pull request #1957 from Biswa24/patch-1
Update tags.py
2019-10-01 17:53:41 +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
1115a941c1 Merge pull request #1956 from masterashu/master
Fixing typo in Django template block name
2019-10-01 11:33:31 +02:00
Griatch
496328fe39 Minor fix to dockerfile docstring 2019-10-01 11:29:47 +02:00
Ashutosh Chauhan
a84e93e4b1 Fixing typo in django template block name 2019-10-01 14:42:17 +05:30
jerryaldrichiii
4b7b5bea15 Add non-root user to Dockerfile for extra security
Signed-off-by: jerryaldrichiii <jerryaldrichiii@gmail.com>
2019-10-01 00:20:49 -07:00
jerryaldrichiii
a371359a03 Add comment for the quickstart guide to Dockerfile
Signed-off-by: jerryaldrichiii <jerryaldrichiii@gmail.com>
2019-10-01 00:20:22 -07:00
Griatch
0778ba1aac Update CHANGELOG 2019-09-30 19:06:55 +02:00
Griatch
040bf50703 Fix typo, run black 2019-09-30 19:05:09 +02:00
Griatch
2cf49882de Merge pull request #1943 from aarcro/1928_nested_attributes
1928 nested attributes
2019-09-30 19:00:56 +02:00
Aaron McMillin
ba3db1731d [#1928] PR feedback, documentation, error handling 2019-09-29 21:45:33 -04:00
Aaron McMillin
186bc09b4d [#1928] change to plus for append/insert 2019-09-29 21:01:04 -04:00
Aaron McMillin
ed58502246 [#1928] Special handling for lists and tuples 2019-09-29 21:01:04 -04:00
Aaron McMillin
cb04a71a23 [#1928] Fix deleting non-existent items 2019-09-29 21:01:04 -04:00
Aaron McMillin
772cfda693 [#1928] Edit existing nested 2019-09-29 21:01:04 -04:00
Aaron McMillin
2dfb327f88 [#1928] fix nested delete bug 2019-09-29 21:01:04 -04:00
Aaron McMillin
1a1203fcb6 [#1928] Delete nested 2019-09-29 21:01:04 -04:00
Aaron McMillin
d83e3d471e [#1928] Create and access data structures 2019-09-29 21:01:04 -04:00
Aaron McMillin
f9bd07c3ed [#1928] Helper functions and tests 2019-09-29 20:58:48 -04:00
Griatch
ba9b41ed4b Extend setup.py file with all needed info 2019-09-29 16:52:39 +02:00
Griatch
db506dc58c Fix typo in makefile 2019-09-28 19:09:38 +02:00
Griatch
e402bfa6a9 Shift where in travis run black runs 2019-09-28 18:54:16 +02:00
Griatch
c3a4466605 Tweak travis build format to run black 2019-09-28 18:27:31 +02:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Griatch
d00bce9288 Set up black on travis 2019-09-25 19:11:30 +02:00
Griatch
1efcc31744 Merge branch 'master' into black-format 2019-09-25 18:48:05 +02:00
Griatch
37452e2a43 Show warnings on start -l if settings contains production-unsafe values. Resolves #1732 2019-09-23 23:22:56 +02:00
Griatch
70da95ef68 Add create_msg alias to create_message 2019-09-23 22:46:18 +02:00
Griatch
f7ed56dc64 Catch tracebacks when leaving the py console with exit/exit() 2019-09-22 19:54:23 +02:00
Griatch
a315b3c7ec Add simplified Korean translation by aceamro in #1947 2019-09-22 19:41:24 +02:00
Griatch
bb370c89fe Enforce LINEMODE state for vanilla telnet. Resolve #1942 2019-09-22 19:22:48 +02:00
Griatch
dafec2e720 Don't trim input whitespace from webclient, to better support python code input, as per #1935 2019-09-22 19:22:15 +02:00
Griatch
b5b66b271c Add default title for doc-issues 2019-09-22 14:42:52 +02:00
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
Greg Taylor
ac810054aa Add auto-formatting via black
Introduce black, a Python code formatter. Also a Makefile that
includes two common targets:

* fmt (auto-format the code)
* lint (lint the code and return non-zero if out of spec)

We can re-use the latter in CI.

By introducing a code formatter, we can cut down on stylistic
variations across a now-large codebase. We can also avoid most style
discussions in PR if we just have this thing enforce it for us.
2019-09-22 10:23:28 +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