Commit graph

730 commits

Author SHA1 Message Date
Griatch
e5b96a2b79 Add tags= keywords to all create functions, with unit tests. Resolves #2160 2020-07-18 21:36:03 +02:00
Griatch
e58147a7e5 Add .sort support for SaverList 2020-07-18 18:03:54 +02:00
Griatch
7aa6883b94 Cleanup of examine, escape inlinefuncs. Resolve #2172 2020-07-18 15:51:29 +02:00
Griatch
f7b4193c84 Add $random default inlinefunc because I expected it to be there 2020-07-17 14:25:24 +02:00
Griatch
750922a613 Have EvTable width correctly handle asian alphabets as per #2166. 2020-07-15 23:18:53 +02:00
Griatch
a848960819 Update list_to_string to handle generators. Resolve #2120 2020-06-28 11:09:59 +02:00
Griatch
c8b056d06d Homogenize email-validation into one utility. Resolve #2143 2020-06-27 13:12:41 +02:00
Griatch
68d0a09d42 Merge pull request #2122 from trhr/docstrings
added return docstring on create_script
2020-05-16 15:45:04 +02:00
Griatch
c6b4e3993d Merge pull request #2115 from trhr/test_resources
LocalEvenniaTest - uses settings-defined typeclasses
2020-05-09 21:27:48 +02:00
trhr
aa2409fc64 added return docstring on create_script 2020-05-03 23:56:50 -05:00
trhr
e270ea8651 added docstring 2020-04-22 19:50:49 -05:00
Griatch
cd5beed8d7 Fixed typos and docstring style 2020-04-20 23:28:33 +02:00
Griatch
6ffa8c74b7 Merge branch 'master' of https://github.com/serprinss/evennia into serprinss-master 2020-04-20 23:26:14 +02:00
Griatch
399dc3640d Update utils.search argument strings. Resolves #2106. 2020-04-20 20:15:39 +02:00
trhr
e2b878ff3c EvenniaLocalTest - uses settings-defined typeclasses 2020-04-20 00:54:33 -05:00
trhr
f088207091 fixing fstring 2020-04-16 06:14:03 -05:00
trhr
0f8c0ad9bf fixing fstring 2020-04-16 05:53:51 -05:00
trhr
95fe5c060f i18n 2020-04-15 21:21:16 -05:00
Griatch
ca341278e9 Ran black on sources 2020-04-12 12:17:06 +02:00
Griatch
6c3a7367ab Fix shift bug in ANSIString.__mult__. Resolves #2030 2020-03-29 15:30:28 +02:00
Griatch
f41034e6a7 Refactor EvMore to handle queryset pagination. Resolves #1994. 2020-03-29 14:50:01 +02:00
serprinss
ba090e0f44 documented return value for create_account 2020-03-28 13:34:10 +11:00
Griatch
9782196b3c Fix home kwarg not being honored by Character.create 2020-03-23 23:44:32 +01:00
Griatch
5d15010dde Remove dummy@example.com as email fallback since django no longer requires an email to be set 2020-03-20 21:56:30 +01:00
trhr
fb83d7f277 log_error is not a function in utils/logger.py; changed to log_err in utils/dbserialize.py 2020-02-14 23:50:44 -06:00
Griatch
05f2264eb1 Ran black on sources, some minor tweaks 2020-02-12 23:07:56 +01:00
trhr
ce0a012e51 The django.db.backends.postgresql_psycopg2 module is deprecated in favor of django.db.backends.postgresql. It’s been an alias since Django 1.9 2020-02-09 20:14:47 -06:00
trhr
090157979b django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() are deprecated in favor of the functions that they’re aliases for: django.utils.translation.gettext(), gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy(). 2020-02-09 20:14:47 -06:00
trhr
ce95961663 The smart_text() and force_text() aliases (since Django 2.0) of smart_str() and force_str() are deprecated 2020-02-09 20:14:47 -06:00
trhr
ad8b1d81d5 django.utils.safestring.SafeBytes - Unused since Django 2.0. 2020-02-09 20:14:47 -06:00
Griatch
53cc7cd566 Run black on sources 2020-02-03 21:15:19 +01:00
Andrew Bastien
8c5fdbe27f Adding unit tests for ANSIString! 2020-01-30 06:15:43 -05:00
Andrew Bastien
85db611952 Fixing up ANSIString 2020-01-30 06:15:43 -05:00
Griatch
c3cf3f99ab Ran black on code 2020-01-29 23:18:22 +01:00
Griatch
ff16eb1bfe Make log rotation also limited by size and controllable from settings. Resolves #2041 2020-01-29 23:16:53 +01:00
Griatch
f124b3510b Handle case of failing literal_eval in admin view. Resolves #1988 2020-01-29 21:54:50 +01:00
Griatch
62bde6fd07 Fix unit test 2020-01-20 23:24:50 +01:00
Griatch
bfe533441e Make options accept default kwarg, add new raise_exception. Fix datetime validatorfunc accoring to spec. Resolves #1967. 2020-01-20 23:20:05 +01:00
Griatch
7f7dd3bbf2 Fixed various Script issues. Resolves #2010. Might affect #2006. 2020-01-18 20:50:26 +01: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
b5aee2c41e Allow EvMore text argument to be a list 2020-01-10 17:56:45 +01:00
Griatch
ca39276001 Ran black on master branch 2019-12-16 20:33:38 +01:00
Kevin Driscoll
a7dfe5e517 Replacing deprecated method from cgi with html.escape() 2019-10-30 13:28:35 -04:00
Griatch
85535b7baa Fix serialization for Class store, add more log error on dbserialize error. Resolve #1979 2019-10-28 17:45:25 +01:00
Griatch
92fb7fa0f2 Ran black on sources 2019-10-27 22:37:32 +01:00
Griatch
a4dd7016c7 Merge pull request #1973 from Henddher/unit_tests3
Increase coverage in evennia/utils/eveditor.
2019-10-27 20:28:04 +01:00
Griatch
c5b132e5b1 Merge pull request #1977 from Henddher/issue1970
validatorfuncs.duration() returns incorrect datetime.timedelta() Closes #1970
2019-10-27 20:26:31 +01:00
Griatch
f942430d27 Merge pull request #1969 from Henddher/unit_test2
Unit tests for evennia/utils/text2html.
2019-10-27 20:24:39 +01:00
Henddher Pedroza
56ab5d32a5 Fix issue in validatorfuncs.timedelta() in which days and years (in days) aren't added to create datetime.timedelta(days=days, ...) 2019-10-24 21:27:39 -04:00
Henddher Pedroza
fffa1937e5 Fix issue in validatorfuncs.timedelta() in which days and years (in days) aren't added to create datetime.timedelta(days=days, ...). 2019-10-24 21:27:39 -04:00