Commit graph

5887 commits

Author SHA1 Message Date
Griatch
cfa21f00fd Some cleanup of the default MSSP template 2019-10-01 20:48:44 +02:00
Griatch
8eb2337342
Merge pull request #1957 from Biswa24/patch-1
Update tags.py
2019-10-01 17:53:41 +02:00
ethfar
31a9e55086
Update tags.py
Typecast the variables which were causing error in using strip function
2019-10-01 20:01:11 +05:30
Griatch
b5514592ac
Merge pull request #1956 from masterashu/master
Fixing typo in Django template block name
2019-10-01 11:33:31 +02:00
Griatch
d98fe803b8 Minor fix to dockerfile docstring 2019-10-01 11:29:47 +02:00
Ashutosh Chauhan
e149bfac7d
Fixing typo in django template block name 2019-10-01 14:42:17 +05:30
jerryaldrichiii
3b2c28d893 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
812bf68698 Add comment for the quickstart guide to Dockerfile
Signed-off-by: jerryaldrichiii <jerryaldrichiii@gmail.com>
2019-10-01 00:20:22 -07:00
Griatch
5a5faf5dee Update CHANGELOG 2019-09-30 19:06:55 +02:00
Griatch
35a6221efa Fix typo, run black 2019-09-30 19:05:09 +02:00
Griatch
88eae0b861
Merge pull request #1943 from aarcro/1928_nested_attributes
1928 nested attributes
2019-09-30 19:00:56 +02:00
Aaron McMillin
f68f346f18 [#1928] PR feedback, documentation, error handling 2019-09-29 21:45:33 -04:00
Aaron McMillin
2f5ebaeafb [#1928] change to plus for append/insert 2019-09-29 21:01:04 -04:00
Aaron McMillin
08d967d174 [#1928] Special handling for lists and tuples 2019-09-29 21:01:04 -04:00
Aaron McMillin
1826d61161 [#1928] Fix deleting non-existent items 2019-09-29 21:01:04 -04:00
Aaron McMillin
f76affa6a7 [#1928] Edit existing nested 2019-09-29 21:01:04 -04:00
Aaron McMillin
727df07907 [#1928] fix nested delete bug 2019-09-29 21:01:04 -04:00
Aaron McMillin
eda1f5fd85 [#1928] Delete nested 2019-09-29 21:01:04 -04:00
Aaron McMillin
6edc7d2cb9 [#1928] Create and access data structures 2019-09-29 21:01:04 -04:00
Aaron McMillin
2b40d94a44 [#1928] Helper functions and tests 2019-09-29 20:58:48 -04:00
Griatch
4c9f623caa Extend setup.py file with all needed info 2019-09-29 16:52:39 +02:00
Griatch
b7adc92c7f Fix typo in makefile 2019-09-28 19:09:38 +02:00
Griatch
e18c438608 Shift where in travis run black runs 2019-09-28 18:54:16 +02:00
Griatch
9f7e5f5c50 Tweak travis build format to run black 2019-09-28 18:27:31 +02:00
Griatch
21fe2c0e2c Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Griatch
50d0292291 Set up black on travis 2019-09-25 19:11:30 +02:00
Griatch
127b768a17 Merge branch 'master' into black-format 2019-09-25 18:48:05 +02:00
Griatch
541a6fa855 Show warnings on start -l if settings contains production-unsafe values. Resolves #1732 2019-09-23 23:22:56 +02:00
Griatch
35a8282db0 Add create_msg alias to create_message 2019-09-23 22:46:18 +02:00
Griatch
c4d24a03d1 Catch tracebacks when leaving the py console with exit/exit() 2019-09-22 19:54:23 +02:00
Griatch
22e87ba6db Add simplified Korean translation by aceamro in #1947 2019-09-22 19:41:24 +02:00
Griatch
725e9c3652 Enforce LINEMODE state for vanilla telnet. Resolve #1942 2019-09-22 19:22:48 +02:00
Griatch
ecae28b51d 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
8a5fbc3931 Add default title for doc-issues 2019-09-22 14:42:52 +02:00
Griatch
a010a8716a Further issue-template fixes 2019-09-22 14:41:07 +02:00
Griatch
e4a04af46d Some more fixes to issue templates 2019-09-22 14:39:44 +02:00
Griatch
68cd1f5584 Remove unnecessary issue template 2019-09-22 14:02:33 +02:00
Griatch
b98d377a26 Update issue templates 2019-09-22 14:00:05 +02:00
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
Greg Taylor
8cb5b4cefe 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
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