aboutsummaryrefslogtreecommitdiff
path: root/src/IRCBot.py
Commit message (Collapse)AuthorAgeFilesLines
* add 'module-blacklist/whitelist' to bot.conf - use that as well as DB settingGravatar jesopo2019-06-011-2/+12
|
* More explicitly require `throttle_done()` only for `_queued_lines`Gravatar jesopo2019-05-311-1/+2
|
* Log server name when we see a _send failureGravatar jesopo2019-05-301-1/+7
|
* Bump version to v1.7.1Gravatar jesopo2019-05-241-1/+1
|
* Bump version to v1.7.0Gravatar jesopo2019-05-231-1/+1
|
* 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 toGravatar jesopo2019-04-241-2/+8
| | | | | IRCBot.get_server_by_id, add IRCBot.get_server_by_alias and change !connect/!disconnect to take aliases instead of IDs
* 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 mainGravatar jesopo2019-02-251-1/+2
| | | | thread
* 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` 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
|