Commit graph

5922 commits

Author SHA1 Message Date
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
Griatch
8ee9eb5eef Merge pull request #1967 from Henddher/unit_tests
Tests for evennia/utils/validatorfuncs.
2019-10-24 18:45:03 +02:00
Griatch
7ea96eaa29 Fix formatting quirk 2019-10-21 08:32:14 +02:00
Griatch
f79db55a1d Ran black on the source 2019-10-21 08:31:19 +02:00
Griatch
908dff6217 Don't accept random input for 'yes' in CmdDestroy. Resolves #1968. 2019-10-20 00:55:59 +02:00
Henddher Pedroza
d32d0e4c15 Increase coverage for validatorfuncs.lock(). 2019-10-16 21:26:04 -04:00
Henddher Pedroza
ce84fc86ae Increase coverage for validatorfuncs.lock(). 2019-10-16 21:14:01 -04:00
Henddher Pedroza
c91f6d547b Remove lints in test_validatorfuncs. 2019-10-16 20:51:35 -04:00
Henddher Pedroza
04b72cbe91 Increase coverage for evennia/utils/validatorfuncs.unsigned_integer and .positive_integer. 2019-10-16 20:45:53 -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
Griatch
88a49334f2 Fix session retrieve in examine, update changelog 2019-10-17 00:24:52 +02:00
Griatch
bc5210eb9c Fix examine using wrong cmdset target for accounts. Resolve #1886 2019-10-17 00:15:09 +02:00
Griatch
0ef2e667e4 Add an example to the docstring 2019-10-15 19:30:43 +02:00
Griatch
bd403453d8 Merge branch 'master' of github.com:evennia/evennia 2019-10-15 19:24:18 +02:00
Griatch
931aa37e1a Add $space() inlinefunc to default set. 2019-10-15 19:23:37 +02:00
Henddher Pedroza
0244518aac Comment out tests for future() as implementation doesn't handle naive vs aware timezones correctly. 2019-10-14 22:49:05 -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
cd1a9d838a Merge pull request #1964 from Henddher/unit_tests
Unit tests for evennia/utils/batchprocessors
2019-10-14 08:10:06 +02:00
Henddher Pedroza
b581c40cd0 Increase coverage in BatchCodeProcessor.code_exec(). 2019-10-13 20:01:32 -04:00
Henddher Pedroza
9e90f3ad4f Remove lint warnings from test_batchprocessors. 2019-10-13 19:45:15 -04:00
Henddher Pedroza
0bf90d817c Tests for BatchCodeProcessor. 2019-10-13 19:34:10 -04:00
Henddher Pedroza
8af98f0ab0 TestBatchCommandProcessor with incorrect #INSERT 2019-10-13 18:13:31 -04:00
Henddher Pedroza
09825c2a6d TestBatchCommandProcessor with #INSERT 2019-10-13 17:45:14 -04:00
Henddher Pedroza
de5073e916 Addition of TestBatchCommandProcessor. 2019-10-13 16:59:28 -04:00
Henddher Pedroza
903bf1663e Tests for batchprocessors error conditions. 2019-10-13 00:29:06 -04:00
Griatch
9154e477ef Merge pull request #1961 from Anuj-Devrani/master
Add id, other core fields to ObjectDB search_fields
2019-10-02 16:13:08 +02:00
Anuj Devrani
292b88acc7 change search fields order and change account field search to db_key 2019-10-02 19:05:28 +05:30
Anuj Devrani
70d8e8b3fc Add search id and db_account_id fields to searchable fields on object admin page 2019-10-02 15:30:49 +05:30
Griatch
0dbfa38f20 Black style correction 2019-10-01 21:32:44 +02:00
Griatch
6d0e4aa9b1 Merge pull request #1960 from dbarbuzzi/bugfix/1952-utils-latinify
Update utils.latinify to support Python 3
2019-10-01 21:31:36 +02:00
Griatch
db5ef8f003 Some cleanup of the default MSSP template 2019-10-01 20:48:44 +02:00
Domenic Barbuzzi
bfca8c8552 Update unit tests for utils.latinify 2019-10-01 14:42:26 -04:00
Domenic Barbuzzi
8058e01e06 Remove resolved comment 2019-10-01 12:59:15 -04:00
Domenic Barbuzzi
96d5734e51 Update utils.latinify to support Python 3 2019-10-01 12:11:11 -04:00
Griatch
d07ef9aa07 Merge pull request #1957 from Biswa24/patch-1
Update tags.py
2019-10-01 17:53:41 +02:00
ethfar
d7272165db Update tags.py
Typecast the variables which were causing error in using strip function
2019-10-01 20:01:11 +05:30
Griatch
1115a941c1 Merge pull request #1956 from masterashu/master
Fixing typo in Django template block name
2019-10-01 11:33:31 +02:00
Griatch
496328fe39 Minor fix to dockerfile docstring 2019-10-01 11:29:47 +02:00
Ashutosh Chauhan
a84e93e4b1 Fixing typo in django template block name 2019-10-01 14:42:17 +05:30
jerryaldrichiii
4b7b5bea15 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
a371359a03 Add comment for the quickstart guide to Dockerfile
Signed-off-by: jerryaldrichiii <jerryaldrichiii@gmail.com>
2019-10-01 00:20:22 -07:00
Griatch
0778ba1aac Update CHANGELOG 2019-09-30 19:06:55 +02:00
Griatch
040bf50703 Fix typo, run black 2019-09-30 19:05:09 +02:00
Griatch
2cf49882de Merge pull request #1943 from aarcro/1928_nested_attributes
1928 nested attributes
2019-09-30 19:00:56 +02:00
Aaron McMillin
ba3db1731d [#1928] PR feedback, documentation, error handling 2019-09-29 21:45:33 -04:00
Aaron McMillin
186bc09b4d [#1928] change to plus for append/insert 2019-09-29 21:01:04 -04:00
Aaron McMillin
ed58502246 [#1928] Special handling for lists and tuples 2019-09-29 21:01:04 -04:00
Aaron McMillin
cb04a71a23 [#1928] Fix deleting non-existent items 2019-09-29 21:01:04 -04:00