Commit graph

2188 commits

Author SHA1 Message Date
jesopo
2b430839f9 .on doesn't take kwargs - .call does 2019-02-22 11:26:48 +00:00
jesopo
6177d5c984 Typo, 'channels' -> 'channel' 2019-02-22 11:25:04 +00:00
jesopo
47c2cbb0fa Split line_handler.py out in to different files for different categories 2019-02-22 11:23:36 +00:00
jesopo
7469ff5bd6 Remove unused threading import in line_handler.py 2019-02-22 10:26:31 +00:00
jesopo
1ac8bf6ec1 Support echo-message TAGMSG 2019-02-22 10:14:23 +00:00
jesopo
fde0838fdc Remove code duplication for checking if a PRIVMSG/NOTICE was sent by us 2019-02-22 10:13:49 +00:00
jesopo
46fc552972 Add a require_access attribute to !ghwebhook 2019-02-21 21:18:07 +00:00
jesopo
0fc2dd8754 You can't minus a set from a list (auto_mode.py) 2019-02-21 21:14:57 +00:00
jesopo
1da66fb72d Only give users auto_modes they don't already have (auto_mode.py) 2019-02-21 21:14:09 +00:00
jesopo
827832b2d2 Add channel_access attributes to auto_mode.py commands 2019-02-21 21:10:06 +00:00
jesopo
e28885f746 Don't handle pull_request_review events when they've not been submitted 2019-02-21 11:19:36 +00:00
jesopo
62eab40968 Revert "Treat both a and a= as having a value of None in message-tags (utils.irc)"
This reverts commit e7ec4b5716.
2019-02-21 07:29:19 +00:00
jesopo
e7ec4b5716 Treat both a and a= as having a value of None in message-tags (utils.irc) 2019-02-20 22:26:31 +00:00
jesopo
deedab7248 Add IRCServer.send_joins, a nicer interface than manually ",".joining 2019-02-20 17:08:30 +00:00
jesopo
ddb69685d3 again, r"\" isn't valid. 2019-02-20 16:53:40 +00:00
jesopo
e343bf3e6a Check throttle space when queueing more data not whether there's no queued data 2019-02-20 16:52:45 +00:00
jesopo
98215f66eb r"\" isn't valid - use "\\" (utils.irc) 2019-02-20 16:52:14 +00:00
jesopo
c1881fbafb Remove '\' from post-unescaped message-tags 2019-02-20 16:34:14 +00:00
jesopo
47841ed154 don't replace '\\' with '\\' with message-tag unescape 2019-02-20 16:33:48 +00:00
jesopo
7f2b19cee3 Only send TAGMSG when it's definitely supported (message_tracking.py) 2019-02-20 16:10:37 +00:00
jesopo
ebd02dbfa9 IRCv3 message-tags has been ratified 2019-02-20 15:59:33 +00:00
jesopo
81d82413d4 draft/message-tags-0.3 (JSON tags) was rejected 2019-02-20 14:46:40 +00:00
jesopo
807021ecc4 Pass key through to _get_settings (rest_api.py) 2019-02-19 19:49:13 +00:00
jesopo
a3a75f3480 Remove copy-pasted ":" (rest_api.py) 2019-02-19 19:47:14 +00:00
jesopo
2691fa52e6 Do database-related work on UI thread (rest_api.py) 2019-02-19 19:45:26 +00:00
Evelyn
2093640f07
Merge pull request #42 from Zarthus/patch-1
quit: Fix style
2019-02-19 17:06:54 +00:00
Jos Ahrens
850c717925
quit: Fix style but better
Positions the colon consistently, but better.
2019-02-19 18:06:24 +01:00
Jos Ahrens
7a7ae615da
quit: Fix style
Positions the colon consistently.
2019-02-19 18:02:24 +01:00
jesopo
577fae7cea Don't pass None around as tag default, fix some missing return type args 2019-02-19 15:57:00 +00:00
jesopo
3f8ac871ed typo, 'utls' -> 'utils' (utils.irc) 2019-02-19 15:44:23 +00:00
jesopo
114d1054a5 Add .message( and .notice( to IRCSendBatch 2019-02-19 15:41:17 +00:00
jesopo
bc772ef5cc Default IRCParsedLine.tags to empty dict, not None 2019-02-19 15:40:56 +00:00
Evelyn
8879e6416e How can you govern a country that has two hundred and forty-six varieties of cheese? 2019-02-19 15:03:31 +00:00
jesopo
53e5a7fe7e contextualise JOIN key check, otherwise it doesn't send channel_name 2019-02-19 09:32:17 +00:00
jesopo
9f946e236d copy paste fail, batch end should be "-" not "+" 2019-02-19 08:25:25 +00:00
jesopo
81ae0cc889 Add make_batch and send_batch to IRCServer 2019-02-18 23:16:47 +00:00
jesopo
b76b153672 Add batch_start and batch_end to utils.irc.protocol 2019-02-18 23:11:36 +00:00
jesopo
509a7ff42e Default tags to null for utils.irc.protocol's message and notice 2019-02-18 23:06:41 +00:00
jesopo
07cb14d98c utils.irc.protocol.join()'s keys param should be typing.Optional 2019-02-18 23:03:21 +00:00
jesopo
cfdb48b3e7 Use IRCRecvBatch in line_handler.py 2019-02-18 23:01:25 +00:00
jesopo
3bb917b619 Add src/utils/irc/__init__.py that should have been added some commits ago 2019-02-18 23:00:50 +00:00
jesopo
bf696b32ee '##bitbot' -> '#bitbot' in README.md 2019-02-18 16:30:11 +00:00
jesopo
cd97a653cc Don't try to use keys if we try to join a channel without any keys 2019-02-18 15:00:05 +00:00
jesopo
186b6b82a2 Shift formatting protocol data to it's own file: utils.irc.protocol 2019-02-18 14:58:27 +00:00
jesopo
d937145f93 Add missing : 2019-02-18 13:54:09 +00:00
jesopo
cae6d970ca Sometimes lastfm doesn't give us a list of tracks (lastfm.py) 2019-02-18 13:22:12 +00:00
jesopo
6da35a899b don't pass around has_arbitrary - we don't need it. 2019-02-18 12:42:52 +00:00
jesopo
3a3b197309 Default cap_done to True, there's only one scenario were it is false (resume.py) 2019-02-17 16:00:33 +00:00
jesopo
dc7cdf31d0 Use '&lt;' for '<' in README (permissions) 2019-02-17 14:29:50 +00:00
jesopo
5809ff8490 Add section about identifying (permissions README.md) 2019-02-17 14:28:59 +00:00