Commit graph

1945 commits

Author SHA1 Message Date
jesopo
1d8173f607 copypaste fail, setting_info -> export_settings[setting] 2019-06-14 17:39:11 +01:00
jesopo
e814494777 Show example (when available) for "invalid value" error 2019-06-14 17:35:12 +01:00
jesopo
229a45a491 Change prviate channel_access commands to use a "channel-access" yield check 2019-06-14 17:23:22 +01:00
jesopo
f8b086b095 "saved a duck" -> "befriended a duck" 2019-06-14 17:11:44 +01:00
jesopo
9b5f946cec 80 col wrap 2019-06-14 17:11:36 +01:00
jesopo
359e977d18 Don't let users change settings for other channels when they have +o in the
current channel
2019-06-14 16:34:48 +01:00
jesopo
50e9f56ca3 Show when a server connected instead of "bytes read/written per second" in stats
endpoint
2019-06-14 16:12:03 +01:00
jesopo
3fad17d1b9 catch StopIteration.value, pass back EventError that comes from a generator 2019-06-14 12:48:26 +01:00
jesopo
74a4d7077d Remove !set/!channelset/!serverset/!botset and related commands 2019-06-14 12:29:24 +01:00
jesopo
e713086255 Advise use of !config, not !set/!channelset/!serverset/!botset 2019-06-14 12:27:45 +01:00
jesopo
7a5af8f558 yield already generated permission check for serverset/botset 2019-06-14 12:25:53 +01:00
jesopo
f614d1fc14 add self check.command, change !config to use new yields 2019-06-14 12:09:42 +01:00
jesopo
f05fc209b0 Add a way to __or__ utils.Checks, as a "if one of these passes" thing 2019-06-14 12:01:55 +01:00
jesopo
d7fa2cfa24 Catch yields in command callbacks for e.g. permission checks 2019-06-14 11:42:12 +01:00
jesopo
11643f6eea Expose IRCChannel.mode_str() on REST API stats endpoint 2019-06-13 11:54:13 +01:00
jesopo
795f6afbeb Mode mode (and mode arg) parsing to IRCChannel.py, add IRCChannel.mode_str 2019-06-13 11:53:47 +01:00
jesopo
675c510223 typo, 'acount' -> 'count' 2019-06-12 22:57:04 +01:00
jesopo
f336cecb06 "duck" when duck count is 1, "ducks" otherwise 2019-06-12 22:36:26 +01:00
jesopo
7324a05d3e WARN log (instead of exception) when we receive an unknown label 2019-06-12 15:36:59 +01:00
jesopo
db7c62f76a Drastically simplify karma regex: only "strip" off last 2 chars of --/++ 2019-06-11 13:17:50 +01:00
jesopo
4dc957afe6 Make root wikipedia command !wikipedia, !wi and !wiki as aliases 2019-06-10 23:06:47 +01:00
jesopo
03917649ee Add help/usage strings for ducks.py 2019-06-10 16:41:32 +01:00
jesopo
87a01dac95 INFO log when we drop a message in message_filter.py 2019-06-10 15:02:20 +01:00
jesopo
1625534951 Strip font formatting chars before doing message filtering 2019-06-10 14:49:01 +01:00
jesopo
1e03a40f8f Change message_filter.py _name to "Filter" 2019-06-10 14:43:14 +01:00
jesopo
807e239a2b Ignore sts tokens on plain-text connections if no port key is provided 2019-06-10 14:01:58 +01:00
jesopo
53907b57d7 command-out truncation logic should be referencing sent_line 2019-06-10 11:21:59 +01:00
jesopo
49524119a5 Add message_filter.py 2019-06-10 10:46:12 +01:00
jesopo
6c5dc958d0 Add .assure() to ParsedLine, to make it immune from .valid() 2019-06-10 10:45:02 +01:00
jesopo
6c64a2296c draft/resume-0.4 -> draft/resume-0.5 2019-06-09 16:18:25 +01:00
jesopo
b782657b69 manage tweet thread ourselves to make sure it's a daemon 2019-06-09 15:15:50 +01:00
jesopo
62289ff41b Remove debug print 2019-06-09 14:25:24 +01:00
jesopo
dad60ed307 only add to IRCBuffer when there's actually a message (e.g. exclude TAGMSG) 2019-06-08 18:48:42 +01:00
jesopo
abccb06dc5 Add missing time import 2019-06-08 12:13:51 +01:00
jesopo
d98e814d3f Show how many seconds it took to !bef/!trap a duck 2019-06-08 12:10:27 +01:00
jesopo
d4ba98307f We should look at ISUPPORT's STATUSMSG token instead of PREFIX 2019-06-08 10:59:52 +01:00
jesopo
16b9361371 Only request a CAP once. closes #66 2019-06-08 10:17:13 +01:00
jesopo
d9321b87ec self._get_sts no longer exists 2019-06-08 07:57:44 +01:00
jesopo
3a2404d1c9 Fixes for tweet streaming found from finally testing it 2019-06-07 22:01:13 +01:00
jesopo
321bd7acf4 check stdout/stderr has_text() before .send() gets rid of it 2019-06-07 16:21:19 +01:00
jesopo
b1d07859c3 actually return ret 2019-06-07 16:21:11 +01:00
jesopo
8e6835be3c Only show typing indicators for commands that expect output 2019-06-07 15:57:15 +01:00
jesopo
5f47d86708 Send +draft/typing tag when processing commands 2019-06-07 15:30:53 +01:00
jesopo
f822345976 Merge branch 'master' into feature/write-thread 2019-06-07 15:07:31 +01:00
jesopo
2199069629 Better formating for pull_request ready_for_review event 2019-06-07 11:29:11 +01:00
jesopo
9c6b9c3964 List()ify self.bot.servers.values() as it can change mid-QUIT 2019-06-06 22:39:57 +01:00
jesopo
d281f5ef17 Remove +draft/typing TAGMSG - that was for testing 2019-06-06 21:16:39 +01:00
jesopo
f96378ac07 move immediate-write-trigger to IRCServer.py, trigger _event_loop for
running=False
2019-06-06 17:58:35 +01:00
jesopo
6f27879d1b Send +draft/typing before processing command. WIP 2019-06-06 17:31:11 +01:00
jesopo
2ca4fd48f7 Make params arg for logging functions optional 2019-06-06 12:59:47 +01:00