-
full Python 3.5 compatibility, drop 3.4 in using
async defasync withasyncio.ensure_future
-
introduce a new command style 0611fdf
- detach help messages from docstrings, register help with
plugins.register_help(<text>, <command_name>)orplugins.register_help(<dict <command_name>: <text>>) - commands can return text and do not need to implement sending
it is also possible to return a tuple withconv_idandtextor a tuple withconv_id,textandcontext - commands can raise
commands.Helpto get their help entry
example: define help content, content register, help entry request, respond with text
- detach help messages from docstrings, register help with
-
plugin load is now aware of async initialize methods 09650b6
-
tasks started by
plugins.start_asyncio_taskare shutdown gracefully 9963621 -
shrink memory leak from sending of context, cleanup every 6h a04cfb3 with a new cache e870266
-
update repo documentation including the addition of virtual environments for the default installation precedure 62069bb
-
update the config: re hangoutsbot/hangoutsbot#841
-
do not replace a
hangupsimport with the legacyhangups_shim84b80b1 -
refactor
hangups_conversation.FakeConversationandhangups_conversation.HangupsConversationinto a single class with the protobuf items ofhangupsinstead of own namedtuple 6378d0e -
refactor permamem and fill the user- and conversationlists with cached data, this allows faster access during runtime a66e75c ec1dcd4 e277da3
-
remove deprecated code including hooks and the legacy slack plugin 6ae76df 859405c 79bdc83 ed04bd5
-
1to1 creation: do not send the introduction again if the had already contact with the bot user 7b4a292
-
grant access to
hangups.client.Clientmethods from the bot c9a321a -
replace the print function in every loaded module to forward content to a logger 1de86e2
-
reset the retry counter delayed after receiving an event from hangups 8a9275b and 5fad3c5
-
use an own hangups fork 5258c1d
-
add a command to kick a user from a conversation 884336a
-
move event handling to the
handlers.EventHandler649b6ca -
allow concurrent execution in
handlers.EventHandler.run_pluggable_omnibus27fe538 -
add a custom logger for the memory
config.Configinstance 432eaf1 -
config reloads trigger an event to notify registered handler about a change b92017f
used by the permamem to ensure a standard layout and updated hangups caches 0bbe559 -
add documentation and apply a Code Style similar to the Google Style
-
use
aiohttpto file http requests for wolframalpha 88c63cf -
cleanup in
hangupsbot.HangupsBotdrops these methods, most of them were legacy:
external_send_message_parsed,get_hangups_conversation,get_1on1_conversation,send_message,send_html_to_user_or_conversation,send_html_to_user,send_html_to_conversation,print_conversations,send_message_parsed,external_send_message,_messagecontext_legacy,get_memory_suboption,send_message_segments,messagecontext