aboutsummaryrefslogtreecommitdiff
path: root/src/IRCBot.py
Commit message (Expand)AuthorAgeFilesLines
* Bump version to v1.6.0Gravatar jesopo2019-05-171-1/+1
* Add IRCBot.SOURCE, use it in ctcp.pyGravatar jesopo2019-05-151-0/+1
* Move module black/white list to IRCBot, allow "safe" loading of all modulesGravatar jesopo2019-05-121-0/+7
* Fix reconnect() type hint issuesGravatar jesopo2019-05-011-1/+6
* Change TRIGGER_RETURN and TRIGGER_EXCEPTION to an enumGravatar jesopo2019-05-011-7/+8
* Bump version to v1.5.0Gravatar jesopo2019-04-301-1/+1
* Only pass through `args` from connection params when reconnectingGravatar jesopo2019-04-301-6/+6
* Add Database.servers.get_by_alias, move IRCBot.get_server to•••IRCBot.get_server_by_id, add IRCBot.get_server_by_alias and change !connect/!disconnect to take aliases instead of IDs Gravatar jesopo2019-04-241-2/+8
* Bump version to v1.4.0Gravatar jesopo2019-04-161-1/+1
* 'failed to connect' log line needs 2 "%s"sGravatar jesopo2019-03-091-1/+1
* Only log exception message, not full stacktrace, when a connect failsGravatar jesopo2019-03-081-3/+3
* Bump version to v1.2.1Gravatar jesopo2019-02-251-1/+1
* Pull "is main thread" logic out to utils, force Database to be accessed on main•••thread Gravatar jesopo2019-02-251-1/+2
* Change --verbose short to -V, add --version/-v, add IRCBot.VERSIONGravatar jesopo2019-02-241-0/+2
* `connected` status is now tracked by IRCSocketsGravatar jesopo2019-02-111-1/+1
* Shift socket.socket related logic to IRCSocket.pyGravatar jesopo2019-02-111-3/+5
* 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` to•••`warn` Gravatar jesopo2018-12-021-6/+6
* 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 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-7/+19
* 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/+5
* 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 server•••with the same ID (to make reconnection work) Gravatar jesopo2018-11-051-11/+8
* Fix the order of some connection params, add `alias` as a seperate argument to•••IRCServer.Server Gravatar jesopo2018-11-051-1/+1
* 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 cyclical•••references. Gravatar jesopo2018-10-301-21/+25
* 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 the•••main thread Gravatar jesopo2018-10-071-1/+8
* 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 unix•••domain socket location is provided Gravatar jesopo2018-10-061-5/+6
* '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 a•••github webhook has been caught! Gravatar jesopo2018-10-061-1/+8
* Add a way to track non-IRC sockets within the main epoll loop; use this for a•••unix domain control socket! Gravatar jesopo2018-10-061-11/+42
* `self.lock.acquire()` should be after epoll.poll has returnedGravatar jesopo2018-10-041-1/+1