Commit graph

3851 commits

Author SHA1 Message Date
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
jesopo
6e16ed8d5e pass confidential_issue through same parsing func as issue
closes #193
2019-10-28 11:20:46 +00:00
jesopo
802aa35e3d support GitLab confidential issues 2019-10-28 11:17:56 +00:00
jesopo
8983338680 move src/utils/irc/__init__.py to src/utils/irc.py 2019-10-28 10:57:19 +00:00
jesopo
7ee65f8f8c remove src/utils/irc/protocol.py 2019-10-28 10:56:33 +00:00
jesopo
1bddc3b37f Revert "remove unneeded import"
This reverts commit 8425c11c97.
2019-10-27 10:32:13 +00:00
jesopo
8425c11c97 remove unneeded import 2019-10-27 10:25:37 +00:00
jesopo
8f4b5a0e70 move IRCLine related code from utils.irc to IRCLine.py 2019-10-27 10:19:00 +00:00
jesopo
c4c076137d fallback ActivityPub data encoding to utf8 2019-10-26 22:43:11 +01:00
jesopo
9053b2245c we want both sides of the .split 2019-10-25 22:46:02 +01:00
jesopo
f92f2c9cc1 make repo_username the subgroup when present 2019-10-25 22:37:03 +01:00
jesopo
bbd7a58914 support gitlab subgroups in git_webhooks 2019-10-25 22:32:01 +01:00
jesopo
ddc70a6bd9 add !cmute/!cunmute to set +m/-m on current channel 2019-10-25 18:30:57 +01:00
jesopo
aa4cd5af79 change systemd ExecReload to use bitbotctl 2019-10-25 17:29:23 +01:00
jesopo
3a755bb15f don't consume past 2nd digit in e.g. "\03033,123" 2019-10-25 17:12:24 +01:00
jesopo
7e6e40965b comma-separate likes/dislikes for youtube videos 2019-10-25 15:07:30 +01:00
jesopo
eff0625c8a add missing space in CHANGELOG.md 2019-10-25 14:39:31 +01:00
jesopo
f0dc033a1a v1.13.0 release 2019-10-25 14:36:43 +01:00
jesopo
9f98da119c update CHANGELOG.md 2019-10-25 14:34:56 +01:00
jesopo
877287291a reason arg of panic() shouldn't be optional, detect current exception 2019-10-25 14:31:09 +01:00
jesopo
b3f43a6721 remove bot.panic() throw kwarg 2019-10-25 14:27:12 +01:00
jesopo
fce791e38b Fix !startvote advice on voting on the started vote 2019-10-25 14:21:47 +01:00
jesopo
b23cc1e1bd Allow !vote to be restricted to voiced-and-above users 2019-10-25 14:21:30 +01:00
jesopo
226ebe1f1f DEBUG log IRCBot.connect failure stacktrace 2019-10-25 14:18:22 +01:00
jesopo
7d4c6b6941 bot.panic() should just call sys.exit() 2019-10-25 14:14:30 +01:00
jesopo
0f0924281c use different exit codes for every error circumstance 2019-10-25 14:13:48 +01:00
jesopo
869e91fc2a 'existing_server' -> 'server' 2019-10-25 13:39:00 +01:00
jesopo
9d1b640db4 re-add list moving CAP objects from capability_queue to capabilities_requested 2019-10-25 11:52:11 +01:00