Commit graph

4495 commits

Author SHA1 Message Date
jesopo
d919e5c345 simplify snotice detection, handle as normal NOTICE 2020-01-23 13:10:45 +00:00
jesopo
ab2ed90ef9 set_own_nickname before sending self.nick event 2020-01-23 12:51:18 +00:00
jesopo
4515cf84e1 support WATCH as well as MONITOR nick nick_regain.py 2020-01-23 12:50:58 +00:00
jesopo
022eed84f6 pull mode for RPL_(ENDOF)QUIETLIST from args[2] 2020-01-23 12:34:18 +00:00
jesopo
b1df6b640f search for QUIET prefix anywhere, not just at the start of string 2020-01-23 12:31:23 +00:00
jesopo
ef2d80511d only check missed modes if our mode changes and MODE #chan responds 2020-01-23 12:23:27 +00:00
jesopo
cded6b6877 only query missing list modes on MODE when we're seen ENDOFWHO 2020-01-23 12:09:45 +00:00
jesopo
9ac2fe96fe changed failed list modes after ENDOFWHO, not when our mode changes 2020-01-23 11:45:51 +00:00
jesopo
66a8a2b856 get channelset quiet-method list from QUIET_METHODS 2020-01-23 10:26:26 +00:00
jesopo
861d901401 fix duplicate "insp" QUIET_METHODS entry 2020-01-23 10:17:11 +00:00
jesopo
a6f8f51ee0 add "!clear quiets|mutes" 2020-01-23 10:12:30 +00:00
jesopo
007fd1206c add typehint for IRCChannel.mode_lists 2020-01-22 18:01:22 +00:00
jesopo
2a33b25930 correctly support INVEX and EXCEPTS lists 2020-01-22 17:58:12 +00:00
jesopo
811b85d0f9 move mode list (beIq e.g.) to it's own module, mode_lists.py 2020-01-22 17:41:20 +00:00
jesopo
3ddeea0692 don't add modes to mode_lists until we have data 2020-01-22 17:20:10 +00:00
jesopo
ef3bdbf9fc strip all font before rainbowifying text 2020-01-22 16:32:38 +00:00
jesopo
e7a1b157de actually use args var 2020-01-22 16:32:31 +00:00
jesopo
175e8c0a16 change utils.irc.strip_font() to remove tokens, no regex 2020-01-22 16:32:21 +00:00
jesopo
363fdf01b0 support ISUPPORT MODES token having no arg 2020-01-22 15:07:00 +00:00
jesopo
f79aa036f2 fix hostmask_match_many typehint 2020-01-22 15:04:48 +00:00
jesopo
ade5cbb1f3 add an optional mask pattern arg to !clear 2020-01-22 15:00:59 +00:00
jesopo
463ce89fba effectively ignore ENDOF when there were no items 2020-01-22 15:00:43 +00:00
jesopo
64848f5ab7 add a special "require_mode" arg; "highest" meaning "highest mode possible" 2020-01-22 14:12:48 +00:00
jesopo
b6f18f809c add a special "require_mode" arg; "admin" meaning "above op if available" 2020-01-22 14:10:45 +00:00
jesopo
59985f182a implement "!clear +b" to clear ban lists 2020-01-22 14:03:03 +00:00
jesopo
897c6df794 track all channel list modes, not just ban and maybe quiet 2020-01-22 14:01:37 +00:00
jesopo
5258b8cc8f typo; 'resaon' -> 'reason' 2020-01-22 12:46:07 +00:00
jesopo
2e3a53a899 support gitlab MR/issue actions that we don't know about 2020-01-22 12:45:15 +00:00
jesopo
5a6adb4d8f store ban (and maybe quiet) mode lists 2020-01-22 12:28:16 +00:00
jesopo
cabc5942b4 server should be IRCServer, not IRCChannels 2020-01-22 12:28:05 +00:00
jesopo
0b87a4e5c9 query ban (and maybe quiet) list on join 2020-01-22 12:05:19 +00:00
jesopo
74d7e5231d 'mute_method' -> 'quiet_method' 2020-01-22 12:03:44 +00:00
jesopo
11bf1d3f7b default to quiet-method being unsupported 2020-01-22 11:21:41 +00:00
jesopo
b6f10049f9 use ISUPPORT QUIET when available 2020-01-22 11:21:22 +00:00
jesopo
1c5d67f836 parse proposed ISUPPORT QUIET token 2020-01-22 11:19:44 +00:00
jesopo
572998c0eb !mute -> !quiet, refactor quiets to be mode,prefix,listnum,endnum 2020-01-22 10:49:21 +00:00
jesopo
10676d70a6 default bot-wide private webhooks to enabled but per-channel disabled 2020-01-22 07:10:32 +00:00
jesopo
4346375a48 ignore gitlab issues events that have no action 2020-01-21 18:12:15 +00:00
jesopo
4d71aeea97 pong.py -> ping.py 2020-01-21 17:36:05 +00:00
jesopo
1b3aa90df5 don't enable !rainbow by default 2020-01-21 16:47:19 +00:00
jesopo
369160d46f allow requesting utils.irc.color() to not add terminating code 2020-01-21 16:40:01 +00:00
jesopo
eaf96b6c67 add rainbow.py 2020-01-21 16:37:37 +00:00
jesopo
c336fdf93b split permission for !alias/!balias in to two 2020-01-21 16:14:01 +00:00
jesopo
1230950e23 v1.18.2 release 2020-01-20 16:31:15 +00:00
jesopo
fb457c52fb IRCBuffer.find's not_pattern arg should be optional 2020-01-20 16:28:50 +00:00
jesopo
37b15e442d utils.datetime.is8601_parse no longer has a "microseconds" arg 2020-01-20 16:26:46 +00:00
jesopo
119066b549 user varaible doesn't exist in invite formatting code
closes #231
2020-01-20 14:17:50 +00:00
jesopo
6b0bb512ef colourise server name for server notice formatting 2020-01-20 14:12:37 +00:00
jesopo
d7c18a9a2e v1.18.1 release 2020-01-20 14:00:31 +00:00
jesopo
0abcc173cd {~TNICK}, not {TNICK} 2020-01-20 14:00:20 +00:00