Commit graph

46 commits

Author SHA1 Message Date
Griatch
9c3ba936e4 Run black on sources 2024-06-27 16:01:09 +02:00
Griatch
381d34522b Fix many py3.12 SyntaxWarnings as per #3561 2024-06-15 11:50:03 +02:00
Andrew Bastien
5e4d4aafc9 Fixing the tests. 2023-11-19 15:25:09 -05:00
Griatch
f6b43b0416 Ran black on sources 2023-11-02 20:58:03 +01:00
Andrew Bastien
2bf96f7c7f Added CharactersHandler to account and altered all calls of add/remove characters to use it. 2023-10-29 13:02:18 -04:00
Andrew Bastien
4b80b200d8 Cleaned up tests to use newly-renamed Account hooks for add/remove characters. 2023-10-29 13:02:18 -04:00
Andrew Bastien
53d963e14c Changed importing of SESSION_HANDLER to avoid circular imports when extending Portal or Server SessionHandler. 2023-05-11 20:39:30 -04:00
Griatch
eafe390db4 Use isort, run format on code 2022-11-18 12:02:46 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Griatch
5859de7054 Change to use super() instead of the old py2 style everywhere 2022-01-26 21:51:55 +01:00
Griatch
19f920b6d4 Clean up all test suites 2022-01-07 16:12:12 +01:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
56ff8faacb Test with travis fix 2020-04-12 18:18:41 +02:00
Griatch
69d85bd184 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
4ea6209123 Ran black on branc 2019-12-16 20:31:42 +01:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Kovitikus
c376fb5b57 Updated tests.py with f-strings. 2019-09-10 13:29:21 -04:00
Griatch
fbfb6da975 Resolve support for Django 2.0 2019-03-25 21:45:34 +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
585cca90ae Work to merge develop and resolve unit tests 2019-01-02 16:29:36 +01:00
Griatch
b6b07ccdb5 Update CHANGELOG, pep8 fixes 2018-10-23 01:04:25 +02:00
Johnny
0b6d869902 Fixes failed tests, hopefully for real this time. 2018-10-22 22:26:29 +00:00
Johnny
70a21265df Fixes failed unit tests. 2018-10-22 22:12:54 +00:00
Johnny
30b8519d39 Merge branch 'develop' into accounts 2018-10-22 15:03:06 -07:00
Johnny
8e1c7fadce Fixes failing tests. 2018-10-22 21:57:38 +00:00
Griatch
e1431dca94 Made some pep8 fixes 2018-10-22 23:32:12 +02:00
Johnny
030a83bf9c Merge branch 'develop' into accounts 2018-10-22 21:12:58 +00:00
Johnny
b414eadff2 Merge branch 'develop' into smarturls 2018-10-22 13:58:34 -07:00
Johnny
84f1cad6a2 Renames methods to web_get_* and fixes tests. 2018-10-22 20:33:56 +00:00
Johnny
5c3bdd1b4a Fixes object delete method so that deleted characters are removed from owner's playable character list. 2018-10-18 21:30:02 +00:00
Johnny
e1b4e6f7bc Renames all URL methods to web_*, moves to TypedObject model. 2018-10-17 22:52:06 +00:00
Johnny
d78cd56279 Implements create() and authenticate() on DefaultGuest object; migrates DefaultAccount.authenticate_guest(). 2018-10-10 00:41:27 +00:00
Johnny
b25fb14811 Resolves merge conflict. 2018-10-09 22:23:45 +00:00
Griatch
fdc4550e19 Cleanup of account tests with more mocking 2018-10-07 14:31:36 +02:00
Griatch
fe14dfddef Fix bug in unittest that would cause occational name collision 2018-10-07 12:31:43 +02:00
Johnny
95577487a7 Adds get_absolute_url() and get_admin_url() methods to DefaultObject, DefaultCharacter, Account and DefaultRoom objects. 2018-10-05 22:02:20 +00:00
Johnny
21d66ab625 Moves account creation logic from Commands module to Account class. 2018-10-02 20:23:23 +00:00
Johnny
e990176a02 Adds username normalization/validation and authentication methods to Account class. 2018-10-01 21:24:33 +00:00
Griatch
be5f289a8a Resolve all django deprecation warnings 2018-09-27 21:20:54 +02:00
Johnny
c8c9e831ee Forces validation on Account.set_password() and provides an Account.validate_password() method to validate passwords. 2018-09-20 20:37:48 +00:00
Moonpatroller
c202084123 adding accounts tests 2017-10-28 22:02:09 -07:00