Commit graph

4330 commits

Author SHA1 Message Date
jesopo
30b8684eb5 Add missing ":" to CHANGELOG 2019-06-08 11:04:25 +01:00
jesopo
55fb9cee3b v1.9.1 release 2019-06-08 11:03:18 +01:00
jesopo
36538646dc Update CHANGELOG 2019-06-08 11:02:44 +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
37c74da0f8 v1.9.0 release 2019-06-07 17:13:53 +01:00
jesopo
089da1e09b Wrap commands in backticks 2019-06-07 17:11:34 +01:00
jesopo
066ab6cfe7 CHANGELOG -> CHANGELOG.md 2019-06-07 17:10:00 +01:00
jesopo
dbb0408a4e Update CHANGELOG 2019-06-07 17:09:34 +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
accd7a8941 Logging._log()'s params arg should be typing.Optiona[] 2019-06-07 13:35:20 +01:00
jesopo
ea924df883 typehint for IRCBuffer._lines 2019-06-07 13:34:30 +01:00
jesopo
bc4a6debb5 Use a deque for temp chathistory storage (src/IRCBuffer.py) 2019-06-07 13:31:51 +01:00
jesopo
2199069629 Better formating for pull_request ready_for_review event 2019-06-07 11:29:11 +01:00
jesopo
38a41a6404 We need to wait for _check to finish so read/writes can be triggered correctly 2019-06-07 11:05:55 +01:00
jesopo
09fbbae5e3 "send" event on SentLines should be run on the main thread 2019-06-07 11:05:43 +01:00
jesopo
b3b4d07e63 Call _check *after* read epoll call - to make sure timeouts are hit accurately 2019-06-07 10:39:31 +01:00
jesopo
f3b6d6df0a Switch to using threading.Condition to trigger write thread 2019-06-07 10:39:19 +01:00
jesopo
1f1b63ea6d Checking if we should enable write buffer should be in _fill_throttle() 2019-06-07 08:02:22 +01:00
jesopo
c89bd74a48 select.poll, as opposed to select.epoll, uses milliseconds not seconds for
timeout
2019-06-06 23:45:33 +01:00
jesopo
23d2993b9f Remove debug print 2019-06-06 23:25:03 +01:00
jesopo
6d44f12193 Use .trigger (without triggering read/write threads) to call _check 2019-06-06 23:23:46 +01:00
jesopo
24ca7ed97f use trigger_write() instead of a raw .send(b"") 2019-06-06 23:19:57 +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
ef0c2c65e0 use _event_queue for _check, don't .disconnect() from outside of respective
loops
2019-06-06 22:36:56 +01:00
jesopo
ae6c65d743 remove _trigger_function code, it's not used any more 2019-06-06 21:43:21 +01:00
jesopo
d281f5ef17 Remove +draft/typing TAGMSG - that was for testing 2019-06-06 21:16:39 +01:00
jesopo
d9de4fdec2 Lambda scopes are irritating 2019-06-06 21:03:25 +01:00
jesopo
53262d4f36
Merge pull request #65 from jesopo/feature/poll
select.epoll -> select.poll
2019-06-06 20:31:52 +01:00
jesopo
539bebafea select.epoll -> select.poll 2019-06-06 20:26:05 +01:00
jesopo
0f7b040165 call timer callbacks and expire cach objects on main thread 2019-06-06 20:22:56 +01:00
jesopo
5b7d8dea91 Only trigger read/write threads once 2019-06-06 19:21:18 +01:00
jesopo
05fcb33ff7 print lines as soon as they're read, don't wait for _post_send 2019-06-06 19:15:34 +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
35b97f836a Merge branch 'master' into feature/write-thread 2019-06-06 17:20:30 +01:00
jesopo
59eeee1030 message-tags are joined by ";", not "," 2019-06-06 17:19:27 +01:00
jesopo
a1ebe8035e Split read/write/process in to 3 different threads 2019-06-06 17:05:44 +01:00
jesopo
2ca4fd48f7 Make params arg for logging functions optional 2019-06-06 12:59:47 +01:00
jesopo
5299f816af assign local var "modes" 2019-06-06 11:22:45 +01:00
jesopo
4c6a398f53 Ask for our own modes when we get a 001 2019-06-06 11:16:47 +01:00
jesopo
eb7d90bb00 message_tag_escape() message-tag values when .format()ing IRCLine 2019-06-06 09:29:17 +01:00
jesopo
d1a35fa18c Change README.md license to use backtick blockquote 2019-06-05 21:06:11 +01:00
jesopo
495ce67271 Put minimum python version in README.md 2019-06-05 21:05:54 +01:00