Commit Graph

169 Commits

Author SHA1 Message Date
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
Juhani Krekelä bf2bc2d215 Add a new README.md for the o3-base project 2017-09-06 20:45:31 +03:00
Juhani Haverinen 401f65735e Bot is mature enough, point it at ##hymnnos 2017-09-05 19:18:17 +03:00
Juhani Haverinen ce25127299 Implement the hymmnos dictionary search feature 2017-09-05 15:09:57 +03:00
Juhani Haverinen 4bc3f12d42 Add get_nick() to API and add docstrings to API commands 2017-09-05 14:15:01 +03:00
Juhani Haverinen 164cede500 Have logger as its own thread 2017-09-05 14:11:15 +03:00
Juhani Haverinen abb579bc88 Move API class to ircbot.py 2017-09-05 13:48:03 +03:00
Juhani Haverinen f4077cdd3e Make bot autojoin channel and move nick and username to server config 2017-09-05 13:45:28 +03:00
Juhani Haverinen 3a2fb42538 Have thread be spawned for non-trivial messages 2017-09-05 13:11:08 +03:00
Juhani Haverinen 36ab28cd71 Add start of line handling, don't log PONGs 2017-09-05 12:47:47 +03:00
Juhani Haverinen 4c7fe56950 Implement PING/PONG 2017-09-05 11:40:44 +03:00
Juhani Haverinen 2e1bc6a6b1 Use enums for message types in channels 2017-09-05 11:24:58 +03:00
Juhani Haverinen 044fc0d4bd Make the debug interface nicer to use 2017-09-05 11:03:41 +03:00
Juhani Haverinen fcc1978743 Handle the case of having several full messages in input buffer 2017-09-05 10:58:58 +03:00
Juhani Haverinen 0657f423f3 Use channels for internal communication 2017-09-05 10:55:33 +03:00
Juhani Haverinen 4e1efa5b61 Use a lock in send_line_raw and don't thread sending of data through the mainloop 2017-09-05 10:05:02 +03:00
Juhani Haverinen 8cfec71fb1 Skeleton of the IRC bot 2017-09-05 00:10:10 +03:00
Juhani Haverinen ee530a4acf Start work on the base of the IRC bot 2017-09-04 22:49:01 +03:00
Juhani Haverinen acc7e5a828 First commit 2017-09-04 22:00:01 +03:00
Juhani Haverinen 519dfb1df3 Don't kick kicker 2017-09-02 22:07:10 +03:00
Juhani Haverinen 8f7d84fe82 Remove #invite 2017-04-14 20:23:52 +03:00
Juhani Haverinen 2efff2a812 Have #invite privmsg who invited 2017-04-14 19:38:05 +03:00
Juhani Haverinen f23c3925b9 Remove unnecessary savemessages() and savetrusted() from quit hook 2016-06-25 13:35:01 +03:00
Juhani Haverinen ab8b736722 Add zwsp to #msg messages 2016-05-30 17:26:08 +03:00
Juhani Haverinen 834032aed3 Sync trusted and messages to disk immediately when changed 2016-05-28 22:23:10 +03:00
Juhani Haverinen 48d46a6304 #msgs now display origin of the message 2016-03-25 23:15:50 +02:00
Juhani Haverinen 18445efa27 Fix die expression allowing junk after 2016-03-21 21:59:57 +02:00
Juhani Haverinen 8dfebf6970 Allow untrusting deleted accounts 2016-02-05 17:26:43 +02:00
Juhani Haverinen 3f04efef83 Improve #ls-trusted, avoid truncation 2016-02-05 17:19:50 +02:00
Juhani Haverinen 28dcdb7420 Add loading and saving messages on the fly 2015-09-05 17:16:53 +03:00
Juhani Haverinen 6998c0d187 Ignore malformed entries in msgs.txt 2015-09-05 17:12:50 +03:00
Juhani Haverinen 6edccd5309 ZWSP all the things 2015-06-24 18:31:41 +03:00
Juhani Haverinen 6f0ceed34c Added ZWSP to die rolls 2015-06-15 00:29:58 +03:00
Juhani Haverinen b61df84841 Lets unbreak #chan, shall we 2015-05-29 20:21:25 +03:00
Juhani Haverinen dffead9afd Don't execute lines beginning with space 2015-05-22 23:30:00 +03:00