Commit graph

2983 commits

Author SHA1 Message Date
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
jesopo
dc9cd2869f Give requested module name to ModuleNotFoundException 2019-06-19 23:03:27 +01:00
jesopo
3dfe4a8ba1 Update CHANGELOG.md 2019-06-19 22:50:25 +01:00
jesopo
7bc24a8ba9 add ircv3_botignore.py, to ignore inspircd.org/bot users 2019-06-19 22:37:03 +01:00
jesopo
9457430c15 Add MessageTag.present, to see if a tag is present (even without value) 2019-06-19 22:36:42 +01:00
jesopo
e55cd1e98e use utils.irc.MessageTag in ircv3_multiline.py 2019-06-19 22:36:24 +01:00
jesopo
4bb3eeb9f1 module is called 'check_mode', not 'channel_mode' 2019-06-19 22:33:03 +01:00
jesopo
e5b35ad64f Update CHANGELOG.md 2019-06-19 22:18:43 +01:00
jesopo
1d16009317 Add missing --depends-on hashflags 2019-06-19 22:14:13 +01:00
jesopo
3ae32db26e Don't let people vote in closed votes 2019-06-19 21:24:56 +01:00
jesopo
9407e083bd Manually strf birthdays so years are not .strip("0")ed 2019-06-19 11:06:26 +01:00
jesopo
938e1db963 add margin arg to ParsedLine.truncate so commands/outs.py doesn't do it
manually and cause potential issues with multi-byte chars
2019-06-19 10:34:42 +01:00
jesopo
d00d026461 allow short names for config contexts. people mistook "user" as "put your
nickname here" so having just "u" might prevent this
2019-06-19 10:28:53 +01:00
jesopo
43108b96ba show nickname in NO_DUCK non-kick message 2019-06-19 10:22:46 +01:00
jesopo
5c2f154eb0 Update CHANGELOG.md 2019-06-18 21:43:05 +01:00
jesopo
c463fa20a4 line_formatted -> valid so tags don't cause us to subvert truncation 2019-06-18 18:14:04 +01:00
jesopo
1cbc2ce31b Tags should not be appended to pieces now that they're counted separately 2019-06-18 17:56:20 +01:00
jesopo
6d034c3b42 Move !help to it's own module and entirely rework its interface 2019-06-18 17:34:16 +01:00
jesopo
aa4a15a6dc Add IRCBot.URL (https://bitbot.dev) 2019-06-18 17:33:54 +01:00
jesopo
77ea95f0a9 Remove "!" from help strings 2019-06-18 17:33:42 +01:00
jesopo
00d7da9967 location_name will not be defined when querying a location instead of a user 2019-06-18 16:53:57 +01:00
jesopo
b3b8c6534b Remove debug prints 2019-06-18 16:51:00 +01:00
jesopo
398bd7e117 use "city, state, country" for formatted location name when available 2019-06-18 16:50:46 +01:00
jesopo
14303f354c 'location' wasn't the variable i thought it was 2019-06-18 16:40:42 +01:00