Commit Graph

68 Commits

Author SHA1 Message Date
Juhani Krekelä e4cf248afd Up the page download limit for youtube compatibility 2023-09-10 13:22:05 +03:00
Juhani Krekelä c2696592b1 Use custom User-Agent and send Accept* headers for better compatibility 2023-09-10 13:15:18 +03:00
Juhani Krekelä 6510cdf4df Update o3-base. 2023-09-10 12:56:38 +03:00
Juhani Krekelä c23f48c329 Handle connection being reset while reading 2023-06-16 11:31:49 +03:00
Juhani Krekelä 6aa6236031 Fix typo "Mo data" → "No data" 2023-03-21 00:13:26 +02:00
Juhani Krekelä 9f5f74c456 Flush log output after each line in case output is buffered 2021-12-12 17:07:00 +02:00
Juhani Krekelä 2c6d35347c Revert "Log to stderr if run non-interactively"
This reverts commit deae8043e1.
2021-12-12 17:05:31 +02:00
Juhani Krekelä deae8043e1 Log to stderr if run non-interactively 2021-12-12 17:01:54 +02:00
Juhani Krekelä 424e6c7b67 Log connection attempts to server 2021-12-12 16:45:52 +02:00
Juhani Krekelä ed314735f9 Disable interactive console if stdin is not a tty 2021-12-12 16:37:58 +02:00
Juhani Krekelä de139b14b8 Bye Freenode 2021-12-12 16:37:35 +02:00
Juhani Krekelä f6fe53385d Add built-in authentication to o3-base 2021-05-02 00:40:22 +03:00
Juhani Krekelä 635cab7440 Don't allow sending to the closed server socket if we are reconnecting 2019-05-11 15:32:27 +03:00
Juhani Krekelä 13c62c8577 Use the CC0 file 2019-05-11 14:37:22 +03:00
Juhani Krekelä 9b27bc728f Handle <title>s with key="value"s 2019-01-26 02:21:12 +00:00
Juhani Krekelä 6fff4f207c Better the README.md a bit 2018-10-28 08:52:59 +02:00
Juhani Krekelä 56990f4d69 Tell users if we ran into weird HTTP codes 2018-10-28 08:51:08 +02:00
Juhani Krekelä 284ca9659b Ignore messages with zwsp, ^O, or ^B^B in the beginning 2018-10-22 10:51:07 +03:00
Juhani Krekelä ff2b384579 Up timeout to 5s 2018-10-22 05:50:48 +03:00
Juhani Krekelä 179ff85f4c 4KiB was not enough for everyone 2018-10-12 08:27:16 +03:00
Juhani Krekelä d936b9646e Bot titles 2018-10-12 07:48:57 +03:00
Juhani Krekelä 5bd2ae5410 Start on the actual titlebot code 2018-10-12 07:26:48 +03:00
Juhani Krekelä 87d9a1237b Start of cockatric4 2018-10-12 07:24:46 +03:00
Juhani Krekelä baaa93d2fa Add irc.quit() 2018-08-19 19:52:42 +03:00
Juhani Krekelä b2ca8a0599 Only pass bytestrings (and not bytearrays) to user code 2018-06-14 10:50:30 +03:00
Juhani Krekelä cdd91bb49e Add support for closing the channel 2018-03-30 23:14:24 +03:00
Juhani Krekelä b4233fda4a Support full print()-style control in API.log() 2018-02-25 21:22:27 +02:00
Juhani Krekelä 53caed0d1c Add API.set_nick, .set_channels, .log 2018-02-25 21:03:05 +02:00
Juhani Krekelä 49cd979449 Apparently poll.register can fail with TimeoutError. Handle those 2018-02-09 23:06:59 +02:00
Juhani Krekelä 64a31a61e8 Add irc.part and irc.get_channels 2018-01-20 17:01:02 +02:00
Juhani Krekelä 03f0011e62 Add botcmd.on_quit hook for bot cleanup 2018-01-20 16:54:13 +02:00
Juhani Krekelä a74173fee2 Replace irc.bot_response and irc.bot_response_bytes with an interface that autoconverts if needed 2018-01-20 16:49:37 +02:00
Juhani Krekelä 6a2a7503cb Add bot_response_bytes 2018-01-03 21:32:00 +02:00
Juhani Krekelä 002f1eecf8 Read config from a configuration file 2018-01-03 18:08:24 +02:00
Juhani Krekelä 029083b661 Remove an out-of-date TODO 2018-01-03 01:11:21 +02:00
Juhani Krekelä df82f06fa9 Ping timeout faster, and don't crash if network is unreachable 2018-01-02 20:50:12 +02:00
Juhani Krekelä bb71e5ae9c Have bot reconnect by default on connection failures 2018-01-02 20:33:17 +02:00
Juhani Krekelä e292dc2b4c Add API.cron, for easier bot access to the cron functionality 2018-01-02 18:33:04 +02:00
Juhani Krekelä 1081a6d092 Add botcmd.on_connect hook, to allow better control over bot bringup 2018-01-02 18:31:23 +02:00
Juhani Krekelä c910f08b1e Add flood protection 2018-01-01 00:26:54 +02:00
Juhani Krekelä 4f523ef534 Update comments to match reality 2017-12-31 22:08:33 +02:00
Juhani Krekelä 11d770010f Remove a TODO for timeouting, as it has been implemented 2017-12-31 22:03:01 +02:00
Juhani Krekelä d3a214ec86 Add ping timeouting 2017-12-10 17:43:39 +02:00
Juhani Krekelä 72056025fb Fix API.error() 2017-12-10 15:46:53 +02:00
Juhani Krekelä 7ce9b45166 Fix typo in API docstrings 2017-12-10 14:43:37 +02:00
Juhani Krekelä 6689131bc7 Add bot_response() to API 2017-09-13 23:17:30 +03:00
Juhani Krekelä 845fb1bab2 Fix typo faile → failed in README.md 2017-09-06 20:50:58 +03:00
Juhani Krekelä df7758ae0f Fix capitalization of HynneFlip 2017-09-06 20:49:53 +03:00
Juhani Krekelä a0b4f51fef Add a stub botcmd.py 2017-09-06 20:47:32 +03:00
Juhani Krekelä 984af5b68e Modify the built-in config in ircbot.py 2017-09-06 20:47:16 +03:00