Commit graph

119 commits

Author SHA1 Message Date
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
41622d4527 Remove unneeded __futures__ imports
No longer needed with Python 2 support dropped.
2019-09-15 00:17:39 -07: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
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
ea07a81696 Fix ANSI->HTML conversion in webclient; Resolve #1792 2019-09-08 18:26:23 +02:00
Griatch
ad2e0ce0be Make search_account also search by account alias. Resolve #1910 2019-09-04 20:57:44 +02:00
Griatch
7f3c6dd918 Change tutorial typeclass to Tutorial Readable and TutorialClimbable. Improve error report for failed typeclass import. 2019-08-24 16:55:46 +02:00
Griatch
8a6ec779da Make grapevine connect and work 2019-06-23 18:59:45 +02:00
Griatch
59bc475708 Starting to implement grapewine support 2019-06-23 09:22:20 +02:00
Griatch
005b3f4530 Handle websocket autoconnect and remove session duplicates. Resolves #1851. Resolves #1562. 2019-06-15 22:24:32 +02:00
Griatch
e742227a2c Correct reverse() calls for typeclassed entities. Resolve #1743 2019-06-10 07:46:09 +02:00
Griatch
d242537d80 Minor cleanup 2019-05-18 13:20:45 +02:00
Griatch
43bf2da79c Resolve merge conflicts 2019-05-01 19:20:19 +02:00
Griatch
a630ccd51c Fix edge case with multiple superusers 2019-05-01 19:10:44 +02:00
Griatch
9e366b757f Merge branch 'add_signals' of https://github.com/volundmush/evennia into volundmush-add_signals 2019-04-14 22:19:36 +02:00
Griatch
10b3657ffb Rework options/optionhandler to use custom save/load functions 2019-04-14 20:29:21 +02:00
Griatch
6ddc98a947 Refactor containers for inheritance and delayed loading 2019-04-14 15:37:34 +02:00
Griatch
d1baab7c0b Resolve merge conflicts, some cleanup 2019-04-14 12:18:15 +02:00
Griatch
098af3caba Move globalhandler into utils.containers, make settings format more flexible, default to base typeclass, add helper functions and some more lenient error handling 2019-04-14 11:24:45 +02:00
Andrew Bastien
72faf039cf Refactored signals with better names and more of them. Put them after hook calls. 2019-04-13 18:05:15 -04:00
Andrew Bastien
11dc2ee561 Added some Signals. 2019-04-12 20:16:30 -04:00
Andrew Bastien
d96cf3b809 Cleanups. Containers created and BaseOption done better. 2019-04-11 21:06:15 -04:00
Andrew Bastien
5bc9a42bb5 Added Option Classes. 2019-04-11 10:12:16 -04:00
Andrew Bastien
1678db2435 More draft efforts in new Options handler. @style works! 2019-04-10 21:05:04 -04:00
Andrew Bastien
c3e2522da9 Finished presentation-grade version of @style. 2019-04-09 22:35:25 -04:00
Griatch
fbfb6da975 Resolve support for Django 2.0 2019-03-25 21:45:34 +01:00
Griatch
f9354d9aeb Start conversion for Django 2.0; change to auth for compatibility 2019-03-25 08:48:32 +01:00
Griatch
92fd1cd300 Add todo exception for mysql test 2019-03-24 22:27:37 +01:00
Griatch
90b42ca6fb Fix merge conflicts 2019-03-04 22:32:51 +01:00
Griatch
a0b6c0fa1a Add unittests for server.py 2019-02-10 19:01:27 +01:00
Griatch
81ab542d76 Make evennia-launcher hand all django-admin options correctly 2019-02-10 03:17:47 +01:00
Griatch
c4faa6879b Add tag/attr to create_account. More unit tests 2019-02-10 02:08:21 +01:00
Griatch
0dfea46d5c Change save/search_prototype, extend unittests 2019-02-09 16:52:02 +01:00
Griatch
645b65c34e Move ircbot factory path to class variable for easy overloading 2019-02-07 23:31:56 +01:00
Griatch
7a535b35fa Remove __unicode__ magic methods no longer needed 2019-01-30 23:50:43 +01:00
Griatch
0c9d2e053b [fix] First migration test 2019-01-28 19:48:26 +01:00
Griatch
c3ebd8d251 Use to_str/to_bytes, replacing old versions 2019-01-16 23:26:46 +01:00
Griatch
6844097322 Convert to_str to to_bytes 2019-01-15 21:03:42 +01:00
Griatch
585cca90ae Work to merge develop and resolve unit tests 2019-01-02 16:29:36 +01:00
Griatch
981119b640 Fix merge conflicts 2019-01-01 15:19:20 +01: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