Griatch
ebcff51932
Start adding new help documentation
2021-05-10 08:57:00 +02:00
Griatch
7e2a446bda
Added new docs for Channels and Msg
2021-05-09 22:37:43 +02:00
Griatch
43651ac867
Allow sending channel message without = for non-space targets
2021-05-09 17:43:28 +02:00
Griatch
858d00c853
Move calling of channel-msg hooks to channel side
2021-05-09 17:01:26 +02:00
Griatch
05beca9196
Merge branch 'develop' into refactor-channels
2021-05-09 16:06:16 +02:00
Griatch
d14a6f147c
Merge branch 'pass_kwargs_to_hooks' of https://github.com/blongden/evennia into blongden-pass_kwargs_to_hooks
2021-05-09 15:51:04 +02:00
Griatch
64712f704d
Merge branch 'master' into develop
2021-05-09 15:43:39 +02:00
Griatch
76c1e09c84
Fix PEP8 in PR #2390
2021-05-09 15:43:21 +02:00
Griatch
e306b2ba27
Merge branch 'fix_ga_for_mudlet' of https://github.com/blongden/evennia into blongden-fix_ga_for_mudlet
2021-05-09 15:41:01 +02:00
Griatch
beecefc19f
Resolve merge conflicts with master
2021-05-09 15:31:24 +02:00
Griatch
bf4af8b208
Fix edge case in TaskHandler when un-pickleable callable supplied
2021-05-09 15:25:57 +02:00
Griatch
cec566be79
Merge branch 'master' of https://github.com/davewiththenicehat/evennia into davewiththenicehat-master
2021-05-09 13:16:29 +02:00
Griatch
5155ec049d
Fix confusing "about" lunr search issue
2021-05-08 20:48:00 +02:00
Griatch
88a48e6842
Correct help lunr search boosts
2021-05-08 18:31:42 +02:00
Griatch
a95d801b1e
Remove channelhandler
2021-05-08 16:30:17 +02:00
Griatch
f5fd398480
New FileHelp system to create help entries from external files
2021-05-08 15:11:53 +02:00
Griatch
8a7e19db16
Resolve merge conflicts
2021-05-08 10:36:35 +02:00
Griatch
8ab169f70b
Some docstring cleanup
2021-05-08 10:09:04 +02:00
Griatch
bbfb77022e
Fixing unit tests for Channel command
2021-05-06 01:04:53 +02:00
Griatch
2da679cdd1
Adopt old comm commands to new channel system. Allow using page without an equal sign if target name has no spaces. Not passing tests
2021-05-02 23:18:29 +02:00
Griatch
67908c5af0
Functioning help subcategories
2021-05-02 00:09:41 +02:00
davewiththenicehat
248c884605
doc strings updates.
...
doc strings updates.
Unit tests pass at default run level.
2021-04-30 11:26:49 -04:00
Ben Longden
82e09ae7f0
Pass **kwargs to various hooks on move_to
2021-04-29 16:33:23 +01:00
Griatch
062aba2926
Start update help command further
2021-04-29 17:14:18 +02:00
davewiththenicehat
99568148c6
task handler unit test revamp & bugfix
...
revamped task handler unit tests
found bug when a False persistent kwarg is passed to the add method. Resolved it.
All evennia unit tests pass. Default run level and run level 2.
2021-04-26 08:59:35 -04:00
Ben Longden
b787c4d076
Only use GA-lite for mudlet if it's rejected NOGOAHEAD
2021-04-26 12:42:11 +01:00
Ben Longden
9b749d16a6
For mudlet we overwrite the negotiated GA value
...
Suppress GA
Activate the NOPROMPTGOAHEAD flag so GA's only sent on prompts
2021-04-26 12:29:05 +01:00
Ben Longden
61d42d91d4
Review feedback
2021-04-26 12:04:35 +01:00
Ben Longden
c209a9b8ef
Move prompt logic to a flag set by TTYPE (for Mudlet, currently)
2021-04-26 10:31:42 +01:00
Ben Longden
9099796258
FORCEENDLINE is True by default so no need to set
...
Test also updated to check FORCEENDLINE after TTYPE is negotiated
2021-04-26 10:05:33 +01:00
Ben Longden
359842d554
Mudlet likes GA's for prompts
...
Don't sent GA on every message (not everything is a prompt)
Do enforce line endings for mudlet, it wont display anything without it.
2021-04-26 10:05:33 +01:00
davewiththenicehat
84193dd9a7
task handler update
...
updating taskhandler.py before updating unit tests.
All evennia unit tests pass.
2021-04-25 22:38:35 -04:00
Griatch
e301a1410f
Start add help subtopics
2021-04-25 21:39:46 +02:00
Griatch
a10a297c55
Fix alias regexes
2021-04-25 16:14:43 +02:00
Griatch
170db66d2c
Merge branch 'master' into develop
2021-04-24 22:52:06 +02:00
Griatch
e1b4e1ae68
Merge pull request #2388 from blongden/fuzzy_match_on_exact_module_prototype
...
Don't allow fuzzy match on db if exact match on module prototype
2021-04-24 22:51:44 +02:00
Griatch
6ae6a3f34a
Merge branch 'master' into develop
2021-04-24 22:48:49 +02:00
Griatch
dc15460d24
Merge pull request #2387 from davewiththenicehat/rpsystem_send_emote_pass_kwargs
...
rpsystem.send_emote passes kwargs, uses sender as from_obj
2021-04-24 22:48:34 +02:00
Griatch
ad0c0f39d0
Resolve merge errors
2021-04-24 22:47:06 +02:00
Griatch
975ec9068b
Merge branch 'master' into develop
2021-04-24 22:45:18 +02:00
Griatch
a5af9eeb05
Merge pull request #2360 from realkinetix/maintenance-times
...
Maintenance time calculations should be done in minutes, not seconds.
2021-04-24 22:45:03 +02:00
Griatch
ae9578e1de
Remove channel nick-replace from inputfunc
2021-04-24 22:44:05 +02:00
Griatch
3c4578b648
Add working unit tests for new channel command
2021-04-22 21:21:58 +02:00
Ben Longden
d8e5f5d3f3
Don't allow fuzzy match on db if exact match on module prototype
2021-04-20 22:37:36 +01:00
davewiththenicehat
e0867967a8
rpsystem.send_emote passes kwargs, uses sender as from_obj
...
rpsystem.send_emote now passes kwargs to obj.msg.
rpsystem.send_emote uses sender as from_obj when calling obj.msg
All evennia unit tests pass.
2021-04-20 16:31:30 -04:00
davewiththenicehat
3cc14e2e4c
task handler call_task, Task.call methods created
...
task handler call_task, Task.call methods created
Added unit tests for these methods.
All evennia unit tests pass
2021-04-19 17:36:42 -04:00
davewiththenicehat
0b7cae600a
task handler remove_all method created. task handler server restart unit test created.
...
Added method remove_all to task handler. (intended for unit testing)
Created a method to mimic a server restart for the purpose of task handler.
test_delay unit test passes.
2021-04-19 17:16:37 -04:00
davewiththenicehat
fea077d555
task handler automatic stale task cleanup
...
Task handler will automatically remove uncalled but canceled from task handler. By default this will not occur until a canceled task has been uncalled for 60 second after the time it should have been called. To adjust this time use TASK_HANDLER.stale_timeout. If stale_timeout is 0 stale tasks will not be automatically removed.
This is not done on a timer. I is done as new tasks are added or the load method is called.
Added unit tests to test automatic removal. Including when it should not automatically removed. Both when it is too soon, or when the stale_timeout attribute is set to 0.
2021-04-19 09:37:19 -04:00
Griatch
aa5a07f6d0
Continuing unittest work
2021-04-19 09:19:15 +02:00
davewiththenicehat
f57fb645c8
taskhandler.Task created
...
Created an object to represent a task.
This allows for the return of TASK_HANDLER.add or utils.delay to be an object that has callable methods. It has been created to mock the most common methods and attributes of a twisted deferred object.
Changed test_utils.test_delay for new usage.
Returned previously changed modules slow_exit, tutorial_world.objects and portal.telnet to their previous states. As the return of utils.delay can be used as if it were a deferred.
All evennia unit tests pass
2021-04-18 18:25:39 -04:00