aboutsummaryrefslogtreecommitdiff
path: root/src/IRCBot.py
Commit message (Collapse)AuthorAgeFilesLines
* `reason` arg of `panic()` shouldn't be optional, detect current exceptionGravatar jesopo2019-10-251-5/+5
|
* remove bot.panic() `throw` kwargGravatar jesopo2019-10-251-2/+2
|
* DEBUG log IRCBot.connect failure stacktraceGravatar jesopo2019-10-251-0/+1
|
* bot.panic() should just call sys.exit()Gravatar jesopo2019-10-251-13/+1
|
* explicitly break event loop on KillGravatar jesopo2019-10-221-0/+1
|
* add IRCBot.stop() - use it for !shutdown and './bitbotctl stop'Gravatar jesopo2019-10-171-6/+25
|
* remove debug prints from IRCBotGravatar jesopo2019-10-151-2/+0
|
* run Control callbacks on main threadGravatar jesopo2019-10-141-3/+8
| | | | closes #180
* remove `safe` arg from ModuleManager.load_modules() - try_reload_modules ↵Gravatar jesopo2019-10-141-2/+2
| | | | covers this now
* add ModuleManager.try_reload_modules(), to try reloading in a transactionGravatar jesopo2019-10-141-7/+12
| | | | if any of the modules fails to reload, rollback and use the already loaded modules. closes #179
* don't have version 'v' prefix in VERSIONGravatar jesopo2019-10-111-1/+1
|
* hold current version in it's own file: VERSIONGravatar jesopo2019-10-111-1/+2
|
* add "poll sources" - objects that can provide additional filenos for pollingGravatar jesopo2019-10-111-5/+36
|
* Don't exit when there are no connected serversGravatar jesopo2019-10-111-5/+0
| | | | closes #175
* only .call() PollHooks when they're "due"Gravatar jesopo2019-10-101-1/+2
|
* move PoolHook registrations to start.pyGravatar jesopo2019-10-101-6/+5
|
* v1.12.0 releaseGravatar jesopo2019-10-101-1/+1
|
* v1.12.0-rc2 releaseGravatar jesopo2019-10-101-1/+1
|
* add a fairly basic file locking mechanism with src/LockFile.pyGravatar jesopo2019-10-101-1/+2
| | | | closes #96
* we should be catching `timer` as the output of self._timers.addGravatar jesopo2019-10-091-2/+3
|
* v1.12.0-rc1 releaseGravatar jesopo2019-10-091-1/+1
|
* self.timers -> self._timersGravatar jesopo2019-10-081-1/+1
|
* transient timers shouldn't use the event systemGravatar jesopo2019-10-081-10/+9
|
* refactor anything that effects event poll timeout in to PollHook objectsGravatar jesopo2019-10-081-35/+37
|
* combine find_setting() and find_setting_prefix() on user/channel/server/botGravatar jesopo2019-10-071-7/+9
|
* only _kill() when there's no servers *and* the event queue is emptyGravatar jesopo2019-09-301-1/+1
| | | | this is so that bitbot doesn't exit when you !reconnect but only have 1 server
* Revert "add IRCBot.http_client(), to allow modules to override default http ↵Gravatar jesopo2019-09-111-3/+0
| | | | | | client" This reverts commit 81347fbba0ab9325321bc9e085b3354bb16512df.
* add IRCBot.http_client(), to allow modules to override default http clientGravatar jesopo2019-09-111-0/+3
|
* store and expose reconnection timers on IRCBot.reconnectionsGravatar jesopo2019-09-011-1/+7
|
* v1.11.1 releaseGravatar jesopo2019-08-301-1/+1
|
* v1.11.0 releaseGravatar jesopo2019-08-151-1/+1
|
* Update CHANGELOG.md, bump version to v1.11.0-rc3Gravatar jesopo2019-08-141-1/+1
|
* forgot to update IRCBot.VERSION to v1.11.0-rc2Gravatar jesopo2019-08-131-1/+1
|
* v1.11.0-rc1 releaseGravatar jesopo2019-08-091-1/+1
|
* Update IRCBot `except queue.Empty` commentGravatar jesopo2019-06-261-4/+1
|
* Return 0 seconds if timeout seconds is negativeGravatar jesopo2019-06-241-1/+1
|
* move _check() after timeouted queue.get() so deadlines are met accuratelyGravatar jesopo2019-06-231-1/+2
|
* move get_poll_timeout() to event loop now that it is the one calling _checkGravatar jesopo2019-06-231-3/+9
|
* shift _check() call to event loop function so read_loop needn't call trigger()Gravatar jesopo2019-06-231-4/+5
|
* v1.10.0 releaseGravatar jesopo2019-06-231-1/+1
|
* Don't print BitBotPanic stacks when we don't need toGravatar jesopo2019-06-231-11/+11
|
* v1.10.0-rc2Gravatar jesopo2019-06-231-1/+1
|
* v1.10.0-rc1Gravatar jesopo2019-06-221-1/+1
|
* Add IRCBot.URL (https://bitbot.dev)Gravatar jesopo2019-06-181-0/+1
|
* 'break' instead of 'continue' so that things in the event queue get discardedGravatar jesopo2019-06-171-1/+1
|
* Make sure we exit event loop when there's no servers leftGravatar jesopo2019-06-171-0/+2
|
* Tell servers objects when they are the result of a reconnectionGravatar jesopo2019-06-171-0/+1
|
* Default IRCBot.running to false, set to true at the top of .run()Gravatar jesopo2019-06-171-1/+2
|
* Change panic() reason log from ERROR to CRITICALGravatar jesopo2019-06-171-1/+1
|
* Raise a BitBotPanic() exception in panic()Gravatar jesopo2019-06-171-0/+6
|