Commit graph

2779 commits

Author SHA1 Message Date
jesopo
b5a467552f CRITICAL log exceptions caught in _loop_catch() 2019-06-15 00:39:52 +01:00
jesopo
04f3e98515 Update CHANGELOG.md 2019-06-14 18:12:54 +01:00
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
e0d99fe8b1 Fix utils.Check args type hinting 2019-06-14 12:12:38 +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
6057d86edc Update CHANGELOG.md 2019-06-13 17:13:10 +01:00
jesopo
0e5ba747a9 Wrap _read_loop() and _write_loop() in a try that kills the main thread 2019-06-13 17:11:46 +01:00
jesopo
f793f5fb92 Update CHANGELOG.md 2019-06-13 11:57:01 +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
2d449691a8 our usage of BeautifulSoup requires lxml 2019-06-12 18:16:27 +01:00
jesopo
7324a05d3e WARN log (instead of exception) when we receive an unknown label 2019-06-12 15:36:59 +01:00
jesopo
568f6d7d33 Update CHANGELOG.md 2019-06-11 13:49:20 +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
8135f871c3 Change send_*() function return hints to be typing.Optional 2019-06-10 15:02:03 +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
ece23efec0 Update CHANGELOG.md 2019-06-10 10:49:46 +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
0fc03fd592 Allow preprocess.send callbacks to request a line not be sent at all 2019-06-10 10:11:31 +01:00
jesopo
512d844a5a Update CHANGELOG, v1.9.2 release 2019-06-09 17:34:45 +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
a31793c851 Put responsbility of self.running = False on to the event loop 2019-06-09 14:59:28 +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
e28a8d91ab IRCServer.statusmsg type hint 2019-06-08 12:10:14 +01:00
jesopo
30b8684eb5 Add missing ":" to CHANGELOG 2019-06-08 11:04:25 +01:00