davewiththenicehat
c7bf773605
taskhandler suppress cancel error
...
Added an errback to handle errors within task handler's deferred instance.
Without this instances of deferred cause a traceback when a deferred is canceled without errback or callback having been called.
This traceback does not end execution, and ultimately would only show to main console.
Reference cancel: https://github.com/twisted/twisted/blob/trunk/src/twisted/internet/defer.py
All evennia unit tests pass.
2021-04-16 10:55:24 -04:00
davewiththenicehat
1a18b247e2
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
davewiththenicehat
f62ff2015f
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
davewiththenicehat
f445cfb355
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
d0d2a9384f
Revert ".gitignore Atom's remote sync settings file"
...
This reverts commit 6c05651e11 .
2021-04-07 17:36:54 -04:00
davewiththenicehat
6c05651e11
.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
Griatch
80f5a6c085
Merge branch 'from-obj' of https://github.com/fariparedes/evennia into fariparedes-from-obj
2021-04-06 21:11:31 +02:00
Griatch
08f8b9143a
Merge branch 'ooc-look' of https://github.com/fariparedes/evennia into fariparedes-ooc-look
2021-04-06 21:05:56 +02:00
Griatch
eb704812ae
Merge branch 'master' of https://github.com/duysqubix/evennia into duysqubix-master
2021-04-06 21:02:36 +02:00
fariparedes
2366ea4a9c
Proposed fix
2021-03-26 21:42:15 -04:00
fariparedes
43c3117732
Proposed fix
2021-03-26 21:34:03 -04:00
Griatch
ca58209244
Fix links to docs
2021-03-25 23:18:39 +01:00
duysqubix
62d201a1b6
need to add twistd location to environment
2021-03-23 04:32:21 +00:00
Griatch
e025357d16
Fix doc build makefile
2021-03-20 10:49:06 +01:00
Griatch
349b712152
Fix mention of defunct unban command. Resolves #2337
2021-03-20 09:43:29 +01:00
Griatch
52fa7fe273
Merge pull request #2327 from llzzies/patch-1
...
Function name updated
2021-03-14 10:19:28 +01:00
Griatch
f67bbe92fa
Remove spurious code accidentally added from other branch
2021-03-11 09:43:02 +01:00
Griatch
2563bd8e46
Remove BASE_*_TYPECLASS from flat API, break circular imports of cmdhandler in accounts/objects. Resolve #2330 .
2021-03-07 10:31:16 +01:00
Griatch
013719ad26
Change link order in doc sidebar
2021-03-06 01:32:23 +01:00
Griatch
08b34f4d7c
Add link sidebar to docs
2021-03-06 01:15:54 +01:00
llzzies
6ae9ccf2e4
Update Objects.md
...
at_before_leave(obj, destination) was changed to at_object_leave
2021-03-01 04:11:48 -05:00
Griatch
21d36cb93a
Hopefully final solution to the doc-build issue
2021-02-27 19:52:46 +01:00
Griatch
c853d54957
Fix to go with fix for build
2021-02-27 19:04:55 +01:00
Griatch
e3321088d3
Fixing looping bug
2021-02-27 18:48:18 +01:00
Griatch
9eafd3e34f
Testing with new cleanup mechanism
2021-02-27 18:45:04 +01:00
Griatch
0440bf60f6
More testing
2021-02-27 18:38:47 +01:00
Griatch
14fab39b55
More debugging
2021-02-27 18:21:12 +01:00
Griatch
0dd6454036
More testing
2021-02-27 18:10:29 +01:00
Griatch
f9a736ef1d
More debug output
2021-02-27 18:04:02 +01:00
Griatch
e8302f46d3
More experimentation with module reloading
2021-02-27 17:31:30 +01:00
Griatch
a7bb763290
More testing with importlib
2021-02-27 14:33:29 +01:00
Griatch
455c016c95
Debug output for doc build
2021-02-27 14:25:17 +01:00
Griatch
4cefba6e3b
More fixes
2021-02-27 14:13:42 +01:00
Griatch
aefe2b070f
Fix additional things needed for stand-alone import of evennia lib
2021-02-27 14:12:39 +01:00
Griatch
12933520b8
Tweak search manager import for doc build
2021-02-27 13:57:58 +01:00
Griatch
63a2b3b1aa
Fix typo in doc conf
2021-02-27 13:53:53 +01:00
Griatch
6d0e85492d
Fix doc conf build for multiversion
2021-02-27 13:48:11 +01:00
Griatch
d100c250d5
Resolve merge conflict
2021-02-27 13:45:04 +01:00
Griatch
e6f0439d31
Update makefile from develop
2021-02-24 23:25:46 +01:00
Griatch
af88ccfd61
Fix typo in conf
2021-02-24 23:20:13 +01:00
Griatch
1c80618397
Correct evpath variable
2021-02-24 23:16:41 +01:00
Griatch
b17cb58846
More debug output during doc build
2021-02-24 23:12:28 +01:00
Griatch
7d78c20a5a
Another doc adjustment
2021-02-24 22:41:15 +01:00
Griatch
ab8cb7ef77
More tests for doc building
2021-02-24 22:35:04 +01:00
Griatch
cadbc0ba0a
Start adding chargen
2021-02-24 22:32:54 +01:00
Griatch
d8535fad4e
Merge pull request #2291 from tim-chaplin/fix_start_location
...
Fix settings.START_LOCATION behavior
2021-01-30 13:11:27 +01:00
Griatch
634199c60b
Merge pull request #2299 from tim-chaplin/fix_time_test
...
Fix test_gametime.py for non-UTC servers
2021-01-30 13:09:19 +01:00
Tim Chaplin
e848b9162b
Replace absolute timestamps in test_gametime with local datetimes
2021-01-18 17:00:23 -05:00
Tim Chaplin
152e86a7f3
Don't override location passed through kwargs
2021-01-18 16:37:20 -05:00
Tim Chaplin
5cfdfe95a6
Revert "Make gametime use timezone-aware datetimes"
...
This reverts commit 1716944875 .
2021-01-18 15:53:50 -05:00