Commit graph

7493 commits

Author SHA1 Message Date
Griatch
fea1256349 More work to add standard channel command 2021-04-16 00:38:54 +02:00
Griatch
33b29a6050 Continuing implementing new channel command 2021-04-14 22:44:11 +02:00
davewiththenicehat
0a5d0d0fe8 Task_Handler unit test, after completion time only
Unit test for task handler tasks that complete after delay time.
Required creating local reference for a clock.
All evennia unit tests pass with `evennia test evennia`.
All of my projects unit tests passed. They have a very heavy usage of reactor.
Verified delays working with project manually

Moving forward with creating method to call callbacks early.
2021-04-14 12:14:04 -04:00
Griatch
251a70275b Update the evscaperoom README 2021-04-13 23:57:22 +02:00
Griatch
abf017d746 Update the evscaperoom README 2021-04-13 23:57:09 +02:00
Griatch
5f7d695360 Adding a new central channel command 2021-04-13 23:56:53 +02:00
davewiththenicehat
58e99685cd taskhandler verified do_task causes errors if called manually (early)
Any usage of taskhandler's method outside of the deferred instance calling it results in errors.

Referencing: It's easier to access these tasks (should it be necessary) using
    `evennia.scripts.taskhandler.TASK_HANDLER`
I can see it is intended to be used this way.

More importantly usage of the global reactor would require usage of reactorbuilder API which is recomended for building reactors only.

Commiting notes before switching to twisted's documented methods for making and testing deferrals.
In short I need to get an instance of reactor's callLater. Creating and working with that call later will allow me to test taskhandler and make it function as intended.

Usage of utils.delay will not change.
2021-04-13 17:01:55 -04:00
Griatch
ef39fa301b First version of refactored channel hooks 2021-04-11 21:43:21 +02:00
Griatch
8a85699075 Start refactoring channels 2021-04-11 16:17:02 +02:00
Griatch
850d8c592f Another typo in funcparser loading settings 2021-04-11 16:13:56 +02:00
Griatch
be2332d4f9 Fix typo in deprecation warning 2021-04-11 16:11:51 +02:00
Griatch
4076bf6b37 Minor refactor of exception to top of module 2021-04-08 21:46:45 +02:00
davewiththenicehat
7d2a5161b2 TaskHandler Return task_id if persistent
TaskHandler Return task_id if persistent

unit tests passed 645 ran
2021-04-07 18:00:02 -04:00
davewiththenicehat
6d7fe60ad5 Revert ".gitignore Atom's remote sync settings file"
This reverts commit be195474d3.
2021-04-07 17:36:54 -04:00
davewiththenicehat
be195474d3 .gitignore Atom's remote sync settings file
Atom's remote sync settings file
It contains clear text passwords. As well as settings that are user specific.
2021-04-07 17:02:22 -04:00
RealKinetix
706bdcadc4 Merge remote-tracking branch 'origin/master' into maintenance-times 2021-04-06 18:51:11 -07:00
RealKinetix
24ed366b32 Unsure how the last commit had an old edit, but this should fix tests now. 2021-04-06 17:43:49 -07:00
RealKinetix
f088ba4ba2 Fixed related server test in the test suite with appropriate timing trigger. 2021-04-06 17:25:08 -07:00
Griatch
4b18fbc2a1 Improved Italian i18n (user rpolve) 2021-04-06 21:46:02 +02:00
Griatch
0cfe5f9adc Merge branch 'master' into develop 2021-04-06 21:12:16 +02:00
fariparedes
8530b8b4f3 Proposed fix 2021-04-06 21:12:10 +02:00
Griatch
1c47bbe2dd Merge branch 'from-obj' of https://github.com/fariparedes/evennia into fariparedes-from-obj 2021-04-06 21:11:31 +02:00
Griatch
c3c52eaee0 Merge branch 'master' into develop 2021-04-06 21:09:13 +02:00
fariparedes
c574998539 Proposed fix 2021-04-06 21:06:14 +02:00
Griatch
d03a419307 Merge branch 'ooc-look' of https://github.com/fariparedes/evennia into fariparedes-ooc-look 2021-04-06 21:05:56 +02:00
duysqubix
8f70810406 need to add twistd location to environment 2021-04-06 21:04:15 +02:00
Griatch
d2af04f386 Merge branch 'master' of https://github.com/duysqubix/evennia into duysqubix-master 2021-04-06 21:02:36 +02:00
RealKinetix
3d102740a9 Maintenance time calculations should be done in minutes, not seconds.
Should resolve #2336
2021-03-29 22:34:55 -07:00
Griatch
2ed299bbc4 Link to new funcparser docs 2021-03-28 00:00:38 +01:00
Griatch
cc352f7723 Merge branch 'GulliblePsychologist-argparser' into develop 2021-03-27 23:45:28 +01:00
Griatch
dbc4cd7563 Clean up docs and more funcparser fixes 2021-03-27 23:43:46 +01:00
Griatch
12a6c01c2f Further cleanup and refactoring 2021-03-27 19:20:21 +01:00
fariparedes
e8d8227c87 Proposed fix 2021-03-26 21:42:15 -04:00
fariparedes
464b13d3b7 Proposed fix 2021-03-26 21:34:03 -04:00
Griatch
c7573f4a71 Fix unittests for funcparser refactor 2021-03-26 23:45:38 +01:00
Griatch
a07def36aa Fix links to docs 2021-03-25 23:18:39 +01:00
Griatch
0cc868cd01 Homogenize funcparser calls 2021-03-25 23:15:47 +01:00
duysqubix
f18afae6ae need to add twistd location to environment 2021-03-23 04:32:21 +00:00
Griatch
ff6debb39b Add tests for verb conjugation 2021-03-22 20:18:27 +01:00
Griatch
27de2c2dde Add verb conjugation module 2021-03-22 00:47:27 +01:00
Griatch
63e50af160 Fix doc build makefile 2021-03-20 10:49:06 +01:00
Griatch
f3e4bd7550 Correct doc-building make 2021-03-20 10:47:57 +01:00
Griatch
b2783e1882 Remove mention of defunct delaccount cmd 2021-03-20 09:45:17 +01:00
Griatch
28d558e4f0 Fix mention of defunct unban command. Resolves #2337 2021-03-20 09:43:29 +01:00
Griatch
262bfdb669 Make Funcparser support non-string returns; more tests 2021-03-20 00:23:29 +01:00
Griatch
4ae3f57ddf Make funcparser able to handle non-string returns 2021-03-18 23:27:00 +01:00
Griatch
18fea15097 Make FuncParser integrate better with literal_eval by not nesting strings unnecessarily. 2021-03-18 09:39:41 +01:00
Griatch
8924304d80 Replace inlinefunc parser with FuncParser mostly 2021-03-17 23:44:08 +01:00
Griatch
b832280f37 Add new docs for FuncParser 2021-03-17 20:52:51 +01:00
Griatch
7acb9c2667 Add simple_parser dependency. Extend/test new funcparser 2021-03-17 17:02:53 +01:00