Commit graph

3321 commits

Author SHA1 Message Date
jesopo
9673963a8d shift _check() call to event loop function so read_loop needn't call trigger() 2019-06-23 18:53:25 +01:00
jesopo
e88f23e413 iter through rss entries backwards 2019-06-23 16:22:45 +01:00
jesopo
be9ae33880 Update CHANGELOG.md 2019-06-23 16:03:46 +01:00
jesopo
54796470b1 First version of rss.py 2019-06-23 16:03:15 +01:00
jesopo
102aa1dce1 v1.10.0 release 2019-06-23 14:45:56 +01:00
jesopo
78be79b565 Don't discard empty command args for !hash 2019-06-23 12:14:06 +01:00
jesopo
4efbbbce9d Update CHANGELOG.md 2019-06-23 11:26:32 +01:00
jesopo
ab466756cc Handle CAP ACK -<cap> and ACK from a REQ not sent by ircv3.py 2019-06-23 11:23:52 +01:00
jesopo
5028eb02d5 .send_raw() should be used if we're not .send()ing a ParsedLine 2019-06-23 11:22:47 +01:00
jesopo
ab4289aceb Only show highest channel access symbol in format_activity.py 2019-06-23 10:44:45 +01:00
jesopo
afc287f020 Don't print BitBotPanic stacks when we don't need to 2019-06-23 10:01:15 +01:00
jesopo
7861210495 v1.10.0-rc2 2019-06-23 09:45:47 +01:00
jesopo
3d227e30ed Update CHANGELOG.md 2019-06-23 09:45:27 +01:00
jesopo
59432a4815 make labeled-response depend on batch 2019-06-23 09:44:59 +01:00
jesopo
22574448da until_read_timeout is a func - read_timed_out has always been returning false 2019-06-22 23:31:06 +01:00
jesopo
01bad3a76e Don't needlessly call time.monotonic() when checking cache expirations 2019-06-22 23:30:15 +01:00
jesopo
2f4475a70f colorise ref for delete event, same as for create event 2019-06-22 22:42:52 +01:00
jesopo
7d49826b1a v1.10.0-rc1 2019-06-22 22:41:17 +01:00
jesopo
c2472f5536 Update CHANGELOG.md 2019-06-22 22:33:04 +01:00
jesopo
f1abc5f10c remove remove_own_mode( check - deferred_read.py better solves the issue.
the issue was getting a MODE line on irc.com prior to 001, thus we didn't know
what our nickname was thus we didn't know that the MODE was for us. not dying
when we saw +x was easy to do with this check but I think it's more correct to
actually parse that MODE after 001 so we know we have +x.
2019-06-22 22:23:05 +01:00
jesopo
29f5b7caf2 add deferred_read.py, to defer parsing of *some* lines until after 001 2019-06-22 22:22:50 +01:00
jesopo
6e93b1e990 Fix more instances of event["args"] (now event["line"].args) 2019-06-22 22:08:39 +01:00
jesopo
6d82cdcb93 Add missing ">" to !help output 2019-06-22 19:36:54 +01:00
jesopo
a7c338c1a9 self.bot.trigger() relaying - needed for write loop notification cross-network 2019-06-22 12:46:56 +01:00
jesopo
3eac36d0f5 Restrict EventManager calls to the main thread 2019-06-22 12:21:44 +01:00
jesopo
7174e83f14 Change raw.send and raw.receive commands to just pass around ParsedLines 2019-06-22 12:17:45 +01:00
jesopo
8671cb3708 Cache ParsedLine IDs of relay messages so we can ignore them (avoid loop) 2019-06-21 20:21:31 +01:00
jesopo
0a302dfd21 pass ParsedLine on message and formatted.* message events 2019-06-21 20:20:28 +01:00
jesopo
a783e71ad4 return generated SentLine objects from IRCChannel.send_* functions 2019-06-21 18:25:21 +01:00
jesopo
81ca751d96 set echo-message response ID to the ID of the original message 2019-06-21 18:22:36 +01:00
jesopo
80ec11966a Make echo-message depend on labeled-responses 2019-06-21 18:09:10 +01:00
jesopo
90c90e5bbd Implement dependency system for CAPs 2019-06-21 18:05:11 +01:00
jesopo
8a0d99f969 Adda system of aliases for CAPs, mostly for changeable draft specs and creating
dependence between moving specs
2019-06-21 17:15:46 +01:00
jesopo
eef14abae3 Update CHANGELOG.md 2019-06-21 15:32:17 +01:00
jesopo
bffc5b0ec4 WARN log when we try to remove a mode from ourselves that we didn't have 2019-06-21 11:16:53 +01:00
jesopo
01438f28f6 check we have a mode before trying to remove it 2019-06-21 11:14:10 +01:00
jesopo
4690f3f45d Show which server a label warning is for 2019-06-21 11:11:21 +01:00
jesopo
6513d35136 Update CHANGELOG.md 2019-06-21 10:53:25 +01:00
jesopo
42f56a3309 Check our own (echoed) msgids 2019-06-21 10:47:39 +01:00
jesopo
1f2817c366 remove echo-message considerations from line_handler/message.py 2019-06-21 10:47:21 +01:00
jesopo
032c67be66 move echo-message to it's own module, eat events before they hit fake_echo.py 2019-06-21 10:41:22 +01:00
jesopo
e76ea39c71 Don't listen to raw.send.privmsg in linehandler, emulate recv in fake_echo.py 2019-06-21 10:35:05 +01:00
jesopo
e7b17f2ccd give every ParsedLine a uuid4 .id for tracking purposes 2019-06-21 10:33:59 +01:00
jesopo
b549773bf8 pass ParsedLine objects on raw.send.<command> events 2019-06-21 10:33:00 +01:00
jesopo
66393bcdbc pass from_self arg in formatted.* message events 2019-06-21 10:32:46 +01:00
jesopo
afa6b86c41 use event["from_self"] instead of checking nickname 2019-06-20 20:11:40 +01:00
jesopo
9f4e0c174a Remove debug print 2019-06-20 20:10:02 +01:00
jesopo
436baf40fb pass from_self through message/notice/tagmsg vents 2019-06-20 20:09:06 +01:00
jesopo
ac19b766bc Add relay.py - cross-network relaying 2019-06-20 18:08:59 +01:00
jesopo
01ddc04bb9 fix hostmask_match_many type hinting 2019-06-20 17:58:49 +01:00