aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into feature/write-threadGravatar jesopo2019-06-073-20/+22
|\
| * Logging._log()'s `params` arg should be typing.Optiona[]Gravatar jesopo2019-06-071-1/+2
| |
| * typehint for IRCBuffer._linesGravatar jesopo2019-06-071-1/+2
| |
| * Use a deque for temp chathistory storage (src/IRCBuffer.py)Gravatar jesopo2019-06-071-9/+8
| |
| * select.poll, as opposed to select.epoll, uses milliseconds not seconds forGravatar jesopo2019-06-061-1/+2
| | | | | | | | timeout
| * select.epoll -> select.pollGravatar jesopo2019-06-061-10/+10
| |
* | We need to wait for _check to finish so read/writes can be triggered correctlyGravatar jesopo2019-06-071-2/+2
| |
* | "send" event on SentLines should be run on the main threadGravatar jesopo2019-06-072-3/+2
| |
* | Call _check *after* read epoll call - to make sure timeouts are hit accuratelyGravatar jesopo2019-06-071-2/+2
| |
* | Switch to using threading.Condition to trigger write threadGravatar jesopo2019-06-071-19/+15
| |
* | Checking if we should enable write buffer should be in _fill_throttle()Gravatar jesopo2019-06-071-6/+5
| |
* | Remove debug printGravatar jesopo2019-06-061-1/+0
| |
* | Use .trigger (without triggering read/write threads) to call _checkGravatar jesopo2019-06-061-5/+8
| |
* | use trigger_write() instead of a raw .send(b"")Gravatar jesopo2019-06-061-1/+2
| |
* | use _event_queue for _check, don't .disconnect() from outside of respectiveGravatar jesopo2019-06-061-17/+15
| | | | | | | | loops
* | remove _trigger_function code, it's not used any moreGravatar jesopo2019-06-061-12/+2
| |
* | Lambda scopes are irritatingGravatar jesopo2019-06-061-2/+9
| |
* | call timer callbacks and expire cach objects on main threadGravatar jesopo2019-06-061-4/+5
| |
* | Only trigger read/write threads onceGravatar jesopo2019-06-061-2/+17
| |
* | print lines as soon as they're read, don't wait for _post_sendGravatar jesopo2019-06-062-9/+12
| |
* | move immediate-write-trigger to IRCServer.py, trigger _event_loop forGravatar jesopo2019-06-062-3/+12
| | | | | | | | running=False
* | Merge branch 'master' into feature/write-threadGravatar jesopo2019-06-061-1/+1
|\|
| * message-tags are joined by ";", not ","Gravatar jesopo2019-06-061-1/+1
| |
* | Split read/write/process in to 3 different threadsGravatar jesopo2019-06-063-105/+139
|/
* Make `params` arg for logging functions optionalGravatar jesopo2019-06-061-7/+7
|
* message_tag_escape() message-tag values when .format()ing IRCLineGravatar jesopo2019-06-061-2/+3
|
* Make 'circular dependency' WARN more explicitly about 1-to-1 dependenciesGravatar jesopo2019-06-051-1/+1
|
* check_purge() after removing a context as it could make a hook purgableGravatar jesopo2019-06-051-0/+1
|
* labels: Use BatchType to match, pass `lines` not `line`, batch ID isn't a label,Gravatar jesopo2019-06-041-2/+7
| | | | fire event on label response
* Add new BatchType object, to match like how Capability and MessageTag doGravatar jesopo2019-06-041-1/+8
|
* Give SentLine (and preproc.send events) a new event object, to track eventsGravatar jesopo2019-06-044-14/+13
| | | | related to a line after it is sent
* Send PING and PONG as 'immediate' linesGravatar jesopo2019-06-041-2/+2
|
* Only return definitely-writen lines from IRCSocket._send, refactor in prep forGravatar jesopo2019-06-043-20/+29
| | | | lines that request to be sent 'immediately'
* Defer decoding http payload bytestring until after checking ContentTypeGravatar jesopo2019-06-041-2/+5
|
* v1.8.0 releaseGravatar jesopo2019-06-033-9/+9
|
* Hold on to BATCH args, allow event hooks to manipulate batchesGravatar jesopo2019-06-021-2/+3
|
* fix some CAP related type hintsGravatar jesopo2019-06-022-5/+8
|
* Remove IRCSendBatch, fix some batch-related type hintsGravatar jesopo2019-06-022-24/+6
|
* check if we should enable write throttling before writing, clear _recent_sendsGravatar jesopo2019-06-011-3/+6
| | | | when we turn on throttling and only "turn on" throttling once
* add __str__ and __repr__ defs to IRCLine.ParsedLineGravatar jesopo2019-06-011-0/+5
|
* add 'module-blacklist/whitelist' to bot.conf - use that as well as DB settingGravatar jesopo2019-06-011-2/+12
|
* list()-ify `filter()` return, otherwise boolean checks against it are wrongGravatar jesopo2019-06-011-1/+2
|
* available_capability returns `str` - fix type hint for thisGravatar jesopo2019-06-011-1/+1
|
* Only enable write throttling when _write_buffer is emptyGravatar jesopo2019-05-311-3/+8
| | | | closes #59
* More explicitly require `throttle_done()` only for `_queued_lines`Gravatar jesopo2019-05-312-1/+4
|
* Log server name when we see a _send failureGravatar jesopo2019-05-301-1/+7
|
* Make labeled-resposnes it's own module, tag and track every sent lineGravatar jesopo2019-05-302-1/+8
|
* Immutable arg default values leads to weird data persistenceGravatar jesopo2019-05-301-1/+1
|
* Only try to send QUITs on ctrl+c when we're connected - sys.exit otherwiseGravatar jesopo2019-05-291-0/+1
|
* Switch resume.py to use the last `server-time` it saw, not last .recv()Gravatar jesopo2019-05-291-3/+0
|