Commit graph

3878 commits

Author SHA1 Message Date
jesopo
00cf00f31a
Merge pull request #198 from fosslinux/config-unchanged
tell user config setting is unchanged
2019-11-01 06:52:36 +00:00
fosslinux
7da08ffc80 tell user config setting is unchanged 2019-11-01 17:50:21 +11:00
Valentin Lorentz
135020b42f Add .travis.yml to run mypy. (#192)
* Add typing to modules/tfl.py.

* Add .travis.yml to run mypy.
2019-11-01 06:10:35 +00:00
jesopo
a96582e953 update CHANGELOG.md 2019-10-31 16:32:29 +00:00
jesopo
307a767d22 'changed host (_@_)' -> 'changed host to _@_' 2019-10-31 15:51:24 +00:00
jesopo
a8113488aa include CHGHOST lines in channel_log logs 2019-10-31 15:36:22 +00:00
jesopo
a73629bbf7 format and print CHGHOST events 2019-10-31 15:35:53 +00:00
jesopo
8831724af0 'element.contents' -> 'element.children' for consistency 2019-10-31 15:18:45 +00:00
jesopo
5d08a496a4 use lxml for parsing fedi Notes. html.parse is bad and unpredictable 2019-10-31 15:17:39 +00:00
jesopo
8188aeb9b8 fix bitbotd database.servers.delete type hint issue 2019-10-31 13:06:49 +00:00
jesopo
2b001e1ec6 ' ' -> " " 2019-10-31 13:06:26 +00:00
jesopo
dde0dcc37b
Merge pull request #191 from ProgVal/mypy
Fix type errors detected by 'mypy --ignore-missing-imports src'.
2019-10-31 13:03:19 +00:00
jesopo
07c7afcf2e use utils.parse.line_normalise in title.py 2019-10-31 10:27:42 +00:00
jesopo
10b5b19cff don't try to parse empty <title>s 2019-10-31 10:27:00 +00:00
jesopo
930794c414 don't assume we're in a channel when we're not (title.py) 2019-10-31 10:26:00 +00:00
Valentin Lorentz
fbf8cd1a16 Fix type errors detected by 'mypy --ignore-missing-imports src'. 2019-10-30 22:26:59 +01:00
jesopo
9958c9169d fix _line() related type hinting issues in IRCServer.py 2019-10-30 13:46:29 +00:00
jesopo
02041d99c6 update CHANGELOG.md 2019-10-30 11:56:25 +00:00
jesopo
aa4511e0d9 add server/channel config to disable command suggestions 2019-10-30 11:48:35 +00:00
jesopo
35cc2d539d !seen seen-info should be per-channel, not network wide
closes #196
2019-10-30 11:42:00 +00:00
jesopo
4f5dbbb6e0 actually set server._sasl_timeout 2019-10-30 11:41:49 +00:00
jesopo
c0c1f85e83 timeout sasl/AUTHENTICATE handshakes after 15 seconds. closes #195 2019-10-30 11:20:07 +00:00
jesopo
0675285624 never bot.panic() on sasl hard fail - always just reconnect indefinitely 2019-10-30 11:03:55 +00:00
jesopo
9f7ef8e6d2 show youtube upload time as YYYY-MM-DD, not timespan 2019-10-30 10:25:18 +00:00
jesopo
3634b72622 add utils.date_human() - use it in badges.py 2019-10-30 10:25:07 +00:00
jesopo
2c1b838172 update CHANGELOG.md 2019-10-29 18:16:40 +00:00
jesopo
8ec365ceef don't record ACTIONs in markov chains 2019-10-29 18:09:57 +00:00
jesopo
4d85c3d1e0 utils.parse doesn't need to import utils 2019-10-29 18:03:03 +00:00
jesopo
080bcef3a0 'from src.utils import' -> 'from . import' 2019-10-29 18:02:50 +00:00
jesopo
9b349f8cc0 move typing.Callable def so Event doesn't have to be in " " 2019-10-29 18:00:59 +00:00
jesopo
40a340e94f utils.cli shouldn't know about Database 2019-10-29 18:00:38 +00:00
jesopo
46e4b75f6b utils.irc doesn't need to know about the whole of utils 2019-10-29 18:00:19 +00:00
jesopo
d2b1250c97 boldify youtube video title so it stands out from all the information 2019-10-29 14:20:27 +00:00
jesopo
9f48dfb1f1 send_mode() args is already a list 2019-10-29 10:23:47 +00:00
jesopo
28139cdf68 show how long ago a youtube video was uploaded
closes #188
2019-10-29 10:20:29 +00:00
jesopo
6421cb6118 improve proxy.py socket override using nested function def 2019-10-28 18:11:57 +00:00
jesopo
18223a40ef use the same formatting for "confidential_note" as "note" 2019-10-28 14:25:26 +00:00
jesopo
5a095b0787 support confidential notes on gitlab webhooks 2019-10-28 14:21:54 +00:00
jesopo
69e2511725 filter() needs a None arg 2019-10-28 14:14:46 +00:00
jesopo
7287d9d083 we still need to pass the base "event" to handler.webhook 2019-10-28 14:13:14 +00:00
jesopo
12abf0c271 'action' -> 'event_action' 2019-10-28 14:12:20 +00:00
jesopo
7766c889f4 support event 'category' for GitLab (e.g. Note events but only for Issues) 2019-10-28 14:10:42 +00:00
jesopo
6ee76af907 fix relay exception 2019-10-28 13:56:04 +00:00
jesopo
65c7279ce0 allow relaying channels on the same server 2019-10-28 13:55:50 +00:00
jesopo
9eacdee086 "id" -> "iid" 2019-10-28 12:38:29 +00:00
jesopo
d20ff91e99 'issue_comment' -> 'issue_note', fix issue id referencing 2019-10-28 12:37:21 +00:00
jesopo
07a3ba5222 strip '"<>() from <title> words when checking for title/url difference 2019-10-28 12:25:23 +00:00
jesopo
74d9bf4da3 _messag_factory._ should take a tags arg 2019-10-28 11:24:56 +00:00
jesopo
e6b4321f30 '_mesage_factory' -> '_message_factory' 2019-10-28 11:23:55 +00:00
jesopo
627e564dbd _mess_factory -> _message_factory. funny typo lol 2019-10-28 11:23:02 +00:00