aboutsummaryrefslogtreecommitdiff
path: root/src/IRCBot.py
Commit message (Expand)AuthorAgeFilesLines
* 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 empty•••this is so that bitbot doesn't exit when you !reconnect but only have 1 server Gravatar jesopo2019-09-301-1/+1
* Revert "add IRCBot.http_client(), to allow modules to override default http c...•••This reverts commit 81347fbba0ab9325321bc9e085b3354bb16512df. Gravatar jesopo2019-09-111-3/+0
* 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
* Add IRCBot.panic() - a nicer interface for killing the whole applicationGravatar jesopo2019-06-171-4/+19
* CRITICAL log exceptions caught in _loop_catch()Gravatar jesopo2019-06-151-4/+4
* Wrap _read_loop() and _write_loop() in a try that kills the main threadGravatar jesopo2019-06-131-2/+11
* Update CHANGELOG, v1.9.2 releaseGravatar jesopo2019-06-091-1/+1
* Put responsbility of `self.running = False` on to the event loopGravatar jesopo2019-06-091-15/+34
* v1.9.1 releaseGravatar jesopo2019-06-081-1/+1
* v1.9.0 releaseGravatar jesopo2019-06-071-1/+1
* Merge branch 'master' into feature/write-threadGravatar jesopo2019-06-071-10/+11
|\
| * select.poll, as opposed to select.epoll, uses milliseconds not seconds for•••timeout Gravatar jesopo2019-06-061-1/+2
| * select.epoll -> select.pollGravatar jesopo2019-06-061-10/+10
* | We need to wait for _check to finish so read/writes can be triggered correctlyGravatar jesopo2019-06-071-2/+2
* | Call _check *after* read epoll call - to make sure timeouts are hit accuratelyGravatar jesopo2019-06-071-2/+2
* | Switch to using threading.Condition to trigger write threadGravatar jesopo2019-06-071-19/+15
* | Remove debug printGravatar jesopo2019-06-061-1/+0
* | Use .trigger (without triggering read/write threads) to call _checkGravatar jesopo2019-06-061-5/+8
* | use trigger_write() instead of a raw .send(b"")Gravatar jesopo2019-06-061-1/+2
* | use _event_queue for _check, don't .disconnect() from outside of respective•••loops Gravatar jesopo2019-06-061-17/+15
* | remove _trigger_function code, it's not used any moreGravatar jesopo2019-06-061-12/+2
* | Lambda scopes are irritatingGravatar jesopo2019-06-061-2/+9
* | call timer callbacks and expire cach objects on main threadGravatar jesopo2019-06-061-4/+5
* | Only trigger read/write threads onceGravatar jesopo2019-06-061-2/+17
* | print lines as soon as they're read, don't wait for _post_sendGravatar jesopo2019-06-061-1/+1
* | move immediate-write-trigger to IRCServer.py, trigger _event_loop for•••running=False Gravatar jesopo2019-06-061-3/+8