Commit graph

19 commits

Author SHA1 Message Date
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
94cf728081 Merge changes from master 2020-07-15 18:07:45 +02:00
Griatch
9fbfc8f8d0 Almost completed refactoring of source docstrings for new doc system 2020-07-10 22:47:37 +02:00
Griatch
c8b056d06d Homogenize email-validation into one utility. Resolve #2143 2020-06-27 13:12:41 +02:00
Griatch
8b2b23873f Run black on sources 2020-04-20 23:39:09 +02: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
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
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
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
Henddher Pedroza
7f14d3a167 validatorfuncs.future must create utcnow() time-aware so comparison with generated datetime can be done. 2019-10-16 20:11:59 -04:00
Henddher Pedroza
49626a8657 Tests for evennia/utils/validatorfuncs.
- future()
- signed_integer()
- positive_integer()
- unsigned_integer()
- boolean
- timezone
- email
- lock
2019-10-14 22:38:31 -04:00
Henddher Pedroza
53c99204e0 Tests for evennia/utils/validatorfuncs.
- text()
- color()
- datetime()
- duration()
2019-10-14 20:58:52 -04:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Griatch
7ae790a12f Remove validator container, allow direct setting of options 2019-04-14 21:06:43 +02:00
Griatch
6ddc98a947 Refactor containers for inheritance and delayed loading 2019-04-14 15:37:34 +02:00
Renamed from evennia/utils/validatorfunctions.py (Browse further)