aboutsummaryrefslogtreecommitdiff
path: root/src/IRCBot.py
Commit message (Collapse)AuthorAgeFilesLines
* Make `block` param of queue.get() explicitly refer to `block`Gravatar jesopo2018-12-101-1/+1
|
* Clarify func_queue type (IRCBot.py)Gravatar jesopo2018-12-021-1/+1
|
* Remove usage of sys.stderr in IRCBot.py, change disconnect logs from `info` toGravatar jesopo2018-12-021-6/+6
| | | | `warn`
* Remove `print` calls from IRCBot.py, move received data logging to IRCServerGravatar jesopo2018-12-021-5/+2
|
* Add type hint for return type of IRCBot.triggerGravatar jesopo2018-11-271-1/+2
|
* Raise exceptions back up through .trigger()Gravatar jesopo2018-11-271-3/+15
|
* Grab response from functions asked to be executed on the main thread and feedGravatar jesopo2018-11-271-7/+19
| | | | | 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
* Add a way to catch when a writebuffer is emptied so we can e.g. assure a QUIT isGravatar jesopo2018-11-271-1/+5
| | | | sent before shutting down the bot
* Regression: Don't connnect if a server's 'connect' setting is falseGravatar Evelyn2018-11-241-1/+1
|
* Don't assume a reconnect timer event will always have connection_paramsGravatar jesopo2018-11-141-1/+2
|
* Don't pass connection_params through to reconnect in normal circumstancesGravatar jesopo2018-11-051-2/+1
|
* Only automatically reconnect to a server when we don't already have a serverGravatar jesopo2018-11-051-11/+8
| | | | with the same ID (to make reconnection work)
* Fix the order of some connection params, add `alias` as a seperate argument toGravatar jesopo2018-11-051-1/+1
| | | | IRCServer.Server
* Pass connection parameters around in their own object (IRCConnectionParameters)Gravatar jesopo2018-11-051-11/+18
|
* Reschedule STS expiration on disconnectGravatar jesopo2018-11-051-0/+1
|
* I forgot the "normal" event hook syntax!Gravatar jesopo2018-11-051-1/+1
|
* 'self.events' -> 'self._events' in IRCBotGravatar jesopo2018-11-051-1/+1
|
* @utils.hook doesn't work outside of modules!Gravatar jesopo2018-11-051-5/+8
|
* Refactor IRCServer .connect() logicGravatar jesopo2018-11-051-4/+6
|
* Fix some non-explicit None returns, add type hints to important variablesGravatar jesopo2018-10-311-0/+1
|
* Fix/refactor issues brought up by type hint lintingGravatar jesopo2018-10-301-2/+2
|
* Add type/return hints throughout src/ and, in doing so, fix some cyclicalGravatar jesopo2018-10-301-21/+25
| | | | references.
* Print lines not [lines] in src/IRCBot.pyGravatar jesopo2018-10-171-1/+1
|
* Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_loadGravatar jesopo2018-10-121-4/+4
|
* Don't continue trying to use None dataGravatar jesopo2018-10-081-0/+2
|
* clear _trigger_functions after we've called all the waiting functionsGravatar jesopo2018-10-071-0/+3
|
* Optionally take a function in IRCBot.trigger, a function to be called on theGravatar jesopo2018-10-071-1/+8
| | | | main thread
* Socket on_read functions take 2 args (socket, string)Gravatar jesopo2018-10-071-1/+1
|
* This is a far less complicated way of triggering epoll.pollGravatar jesopo2018-10-071-10/+5
|
* Add control-socket to bot.conf.example, only start up control socket is a unixGravatar jesopo2018-10-061-5/+6
| | | | domain socket location is provided
* 'control_socket_client' -> '_control_client' in src/IRCBot.pyGravatar jesopo2018-10-061-3/+3
|
* Add a ControlSocket client to IRCBot.py, use it to trigger the epoll loop when aGravatar jesopo2018-10-061-1/+8
| | | | github webhook has been caught!
* Add a way to track non-IRC sockets within the main epoll loop; use this for aGravatar jesopo2018-10-061-11/+42
| | | | unix domain control socket!
* `self.lock.acquire()` should be after epoll.poll has returnedGravatar jesopo2018-10-041-1/+1
|
* Implement client-side bindhostGravatar jesopo2018-10-011-2/+2
|
* Add 'trace' logging level for src/Database.py and src/EventManager.py veryGravatar jesopo2018-10-011-5/+1
| | | | verbose debugging
* Move src/IRCLineHandler.py to modules/line_handler.pyGravatar jesopo2018-09-301-4/+2
|
* Refactor modules/channel_op.py and add !tempban/!tempkickbanGravatar jesopo2018-09-301-0/+6
|
* Add src/Cache.py, use it in modules/coins.pyGravatar jesopo2018-09-291-3/+5
|
* Add IRCBot.directory, in case we need it.Gravatar jesopo2018-09-291-2/+3
|
* Remove cyclical references to IRCBotGravatar jesopo2018-09-281-54/+19
|
* Change IRCBot.reconnect to only pass server_id to IRCBot.add_serverGravatar jesopo2018-09-271-2/+1
|
* IRCBot.bot_directory is no longer usedGravatar jesopo2018-09-241-1/+0
|
* Move most code in root directory to src/Gravatar jesopo2018-09-241-0/+197