aboutsummaryrefslogtreecommitdiff
path: root/modules/signals.py
Commit message (Expand)AuthorAgeFilesLines
* remove src/utils/irc/protocol.pyGravatar jesopo2019-10-281-2/+2
* add ModuleManager.try_reload_modules(), to try reloading in a transaction•••if any of the modules fails to reload, rollback and use the already loaded modules. closes #179 Gravatar jesopo2019-10-141-15/+5
* exit when all servers are disconnected after ctrl+cGravatar jesopo2019-10-111-1/+5
* Revert "no longer treat ctrl+c as "shutdown" - bitbotctl will take this job"•••This reverts commit 73e6ede8cc1bd7c8a8946d3e77f5157a5177a775. Gravatar jesopo2019-10-111-0/+23
* no longer treat ctrl+c as "shutdown" - bitbotctl will take this jobGravatar jesopo2019-10-111-23/+0
* List()ify self.bot.servers.values() as it can change mid-QUITGravatar jesopo2019-06-061-1/+1
* Make `params` arg for logging functions optionalGravatar jesopo2019-06-061-3/+3
* Give SentLine (and preproc.send events) a new event object, to track events•••related to a line after it is sent Gravatar jesopo2019-06-041-2/+2
* `.on_send(` only exists on SentLines, not ParsedLinesGravatar jesopo2019-06-041-2/+2
* Change signals.py to subvert write throttling when sending QUITGravatar jesopo2019-06-041-2/+5
* Only try to send QUITs on ctrl+c when we're connected - sys.exit otherwiseGravatar jesopo2019-05-291-5/+11
* Use self.bot.load_modules in modules.pyGravatar jesopo2019-05-271-3/+0
* Switch signals.py SIGHUP to also load new modulesGravatar jesopo2019-05-121-5/+6
* Reload bot.conf and modules on SIGHUPGravatar jesopo2019-03-131-0/+28
* add IRCServer.clear_send_buffer() to clear queued linesGravatar jesopo2019-03-051-0/+1
* add IRCServer.send_enabled, to prevent sending after QUIT in signals.pyGravatar jesopo2019-03-051-0/+1
* Don't send random quit quote on SIGINTGravatar jesopo2019-03-051-8/+1
* Make use of "when line sent" logic to disconnect after QUIT (signals.py)Gravatar jesopo2019-02-101-3/+4
* Don't use the event system to get results from other modules - use exportsGravatar jesopo2019-02-091-2/+2
* Only gracefully handle SIGINT onceGravatar jesopo2018-12-031-0/+5
* Reload bot config (on USR1) on the main threadGravatar jesopo2018-11-271-0/+3
* Grab response from functions asked to be executed on the main thread and feed•••them back to the callers, allowing rest_api.py to take the main thread while it's waiting for the response to give back to the requesting client Gravatar jesopo2018-11-271-2/+4
* Add a way to catch when a writebuffer is emptied so we can e.g. assure a QUIT is•••sent before shutting down the bot Gravatar jesopo2018-11-271-1/+2
* Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_loadGravatar jesopo2018-10-121-5/+3
* Change modules/signals.py to use bot.trigger(), add a !serverset @utils.export•••for quit-quote Gravatar jesopo2018-10-071-3/+6
* Update modules/signals.py to use the new Config "system"Gravatar jesopo2018-09-291-2/+1
* Move most code in root directory to src/Gravatar jesopo2018-09-241-1/+1
* Refactor everything to use delimited eventsGravatar jesopo2018-09-191-2/+1
* give an Exports object (actually, ExportsContex object) to each module, to•••facilitate things like !set and !channelset without using the events system Gravatar jesopo2018-09-021-1/+1
* Update reloading config on USR1Gravatar jesopo2018-09-021-2/+5
* Give modules event objects with "context"s, to facilitate purging all the event•••hooks for a module Gravatar jesopo2018-08-311-3/+5
* Add setting to prevent sending a random quote on quitGravatar jesopo2018-08-131-3/+5
* Added EventHook.call_for_result to get a result or default from an eventGravatar jesopo2018-07-151-1/+4
* Move quit quotes to it's own moduleGravatar jesopo2018-07-151-61/+2
* Amber RuddGravatar Evelyn2017-10-271-0/+1
* Signals: Glenn Moramarco quoteGravatar Evelyn2017-10-101-0/+1
* Signals: Add TurnballGravatar Evelyn2017-09-291-0/+1
* Bitbot can do Telegram now, I guessGravatar Evelyn2017-09-051-0/+1
* Signals: add quoteGravatar Evelyn2017-08-251-0/+1
* Signals: Don't take Hitler out of context, add 'tear down this wall' etcGravatar Evelyn2017-08-241-1/+1
* 'Death solves all problems - no man, no problem.' was in fact written by Anat...Gravatar Evelyn2017-08-101-1/+1
* Sun Tzu*2, optimism (ha)Gravatar Evelyn2017-06-231-0/+3
* add quoteGravatar Evelyn2017-06-171-0/+1
* Dag Hammarskjöld quote somewhat relevant to our lives at presentGravatar Evelyn2017-06-161-0/+1
* Attribute quote to topiaryGravatar Evelyn2017-03-211-1/+1
* quotesGravatar Evelyn2017-01-271-2/+3
* Add quote to signals moduleGravatar Evelyn2016-12-141-1/+2
* More quit quotes!Gravatar Evelyn2016-11-281-1/+3
* Dag Hammarskjöld quoteGravatar Evelyn2016-11-171-1/+2
* more quotes and stuffGravatar Evelyn2016-10-251-2/+3