Commit graph

2956 commits

Author SHA1 Message Date
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
jesopo
c65a422284 remove extra formatted.notice format param 2019-06-20 17:58:02 +01:00
jesopo
32813b4b4e Change formatted.notice format to have context 2019-06-20 17:08:33 +01:00
jesopo
24cdff9e44 Add an export for IRCv3 CAPs 2019-06-20 16:52:23 +01:00
jesopo
8797be9457 return unshortened url when shortening fails 2019-06-20 16:35:58 +01:00
jesopo
b6e194a450 Implement hostmask_match_any, for more efficient matching of multiple hostmasks 2019-06-20 14:21:11 +01:00
jesopo
792a42be6e Implement utils.irc.hostmask_match() as regex 2019-06-20 14:10:10 +01:00
jesopo
a9514dfc44 add channel-access key for starting and ending votes 2019-06-20 12:13:55 +01:00
jesopo
20df824f72 Make it configurable whether people need permission to start a vote 2019-06-20 12:08:35 +01:00
jesopo
d08cb30f27 Set ignore.py --depends-on hashflags 2019-06-20 12:08:24 +01:00
jesopo
d3dda297e6 Don't exclude !commands from IRCBuffer objects 2019-06-20 11:55:58 +01:00
jesopo
282bde82c5 Move !ignore logic to it's own file 2019-06-20 11:51:04 +01:00
jesopo
092b7b2874 Update CHANGELOG.md 2019-06-19 23:19:10 +01:00
jesopo
70839e66ba Catch a module not being "found" in modules.py 2019-06-19 23:11:56 +01:00
jesopo
612c26ff7e Differentiate between module "not found" and "not loaded" 2019-06-19 23:11:42 +01:00
jesopo
928f2f304d Raise ModuleNotFoundException on failure to find_module() 2019-06-19 23:05:22 +01:00