aboutsummaryrefslogtreecommitdiff
path: root/src/IRCServer.py
Commit message (Collapse)AuthorAgeFilesLines
* move socket creation to it's own function, send event just prior to .connectGravatar jesopo2019-07-281-0/+1
|
* "paramatered" -> "parametered"Gravatar jesopo2019-07-041-1/+1
|
* Refactor EventManager to only hold hooks on a root objectGravatar jesopo2019-06-261-1/+1
|
* until_read_timeout is a func - read_timed_out has always been returning falseGravatar jesopo2019-06-221-1/+1
|
* remove remove_own_mode( check - deferred_read.py better solves the issue.Gravatar jesopo2019-06-221-5/+1
| | | | | | | the issue was getting a MODE line on irc.com prior to 001, thus we didn't know what our nickname was thus we didn't know that the MODE was for us. not dying when we saw +x was easy to do with this check but I think it's more correct to actually parse that MODE after 001 so we know we have +x.
* WARN log when we try to remove a mode from ourselves that we didn't haveGravatar jesopo2019-06-211-0/+3
|
* check we have a mode before trying to remove itGravatar jesopo2019-06-211-1/+2
|
* Only `panic()` when a server connection is part of bot init. closes #69Gravatar jesopo2019-06-171-2/+4
|
* Tell servers objects when they are the result of a reconnectionGravatar jesopo2019-06-171-0/+1
|
* Return all caps through received.cap.ls|new and check if valid in line_handler,Gravatar jesopo2019-06-161-4/+6
| | | | remove server.cap_started
* Change `send_*()` function return hints to be typing.OptionalGravatar jesopo2019-06-101-24/+31
|
* Add `.assure()` to ParsedLine, to make it immune from `.valid()`Gravatar jesopo2019-06-101-2/+2
|
* Allow preprocess.send callbacks to request a line not be sent at allGravatar jesopo2019-06-101-8/+11
|
* IRCServer.statusmsg type hintGravatar jesopo2019-06-081-1/+1
|
* We should look at ISUPPORT's STATUSMSG token instead of PREFIXGravatar jesopo2019-06-081-0/+1
|
* Only request a CAP once. closes #66Gravatar jesopo2019-06-081-1/+11
|
* "send" event on SentLines should be run on the main threadGravatar jesopo2019-06-071-0/+1
|
* print lines as soon as they're read, don't wait for _post_sendGravatar jesopo2019-06-061-8/+11
|
* move immediate-write-trigger to IRCServer.py, trigger _event_loop forGravatar jesopo2019-06-061-0/+4
| | | | running=False
* Split read/write/process in to 3 different threadsGravatar jesopo2019-06-061-10/+8
|
* Give SentLine (and preproc.send events) a new event object, to track eventsGravatar jesopo2019-06-041-4/+6
| | | | 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-041-4/+6
| | | | lines that request to be sent 'immediately'
* fix some CAP related type hintsGravatar jesopo2019-06-021-1/+2
|
* Remove IRCSendBatch, fix some batch-related type hintsGravatar jesopo2019-06-021-13/+1
|
* available_capability returns `str` - fix type hint for thisGravatar jesopo2019-06-011-1/+1
|
* Make labeled-resposnes it's own module, tag and track every sent lineGravatar jesopo2019-05-301-1/+5
|
* 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
|
* Remove mention of `ipv4` - detect address family automaticallyGravatar jesopo2019-05-211-1/+0
|
* `has_capability` -> `has_capability_str`, add new `has_capability`Gravatar jesopo2019-05-201-1/+3
|
* ParsedLine already deals with preventing newlinesGravatar jesopo2019-05-201-1/+0
|
* Implement utils.irc.hostmask_match for glob-like hostmask matchingGravatar jesopo2019-05-191-0/+4
|
* Catch server version string, from RPL_MYINFOGravatar jesopo2019-05-151-0/+1
|
* Revamp how CAPs are tracked through REQ and ACK/NAK etcGravatar jesopo2019-05-111-15/+6
|
* Tokenize IRC data as soon as it comes out of IRCServerGravatar jesopo2019-05-091-1/+2
|
* Add IRCServer.has_user_id, to check if we've seen a user beforeGravatar jesopo2019-05-051-0/+3
|
* IRCServer.alias is no longer optionalGravatar jesopo2019-04-241-6/+2
|
* change utils.iso8601_format to default to no milliseconds, switch to usingGravatar jesopo2019-04-231-1/+2
| | | | utils.iso8601 functions in badges.py
* Add IRCServer.send_raw so modules don't have to parse messages before sendingGravatar jesopo2019-04-161-0/+2
| | | | them
* add IRCServer.send_enabled, to prevent sending after QUIT in signals.pyGravatar jesopo2019-03-051-0/+5
|
* Add IRCServer.has_capability and use it throughout line_handlerGravatar jesopo2019-03-031-0/+2
|
* Rename IRCLine.Line to IRCLine.SentLine, for clarityGravatar jesopo2019-02-241-26/+27
|
* Fire preprocess.send per-command - use this to only strip colors from ParsedLineGravatar jesopo2019-02-231-6/+3
| | | | objects for PRIVMSG and NOTICE
* Move utils.irc.IRCParsedLine to IRCLine.ParsedLine, improve truncationGravatar jesopo2019-02-231-8/+9
| | | | | mechanism, don't convert sent line from ParsedLine to text to ParsedLine for line_handler handling
* Add `target` typehint on IRCServer.send_tagmsg, add send_tagmsg to ↵Gravatar jesopo2019-02-221-1/+1
| | | | IRCChannel/IRCUser
* Add IRCServer.send_joins, a nicer interface than manually `",".join`ingGravatar jesopo2019-02-201-0/+4
|
* Don't pass `None` around as tag default, fix some missing return type argsGravatar jesopo2019-02-191-2/+3
|
* Add `make_batch` and `send_batch` to IRCServerGravatar jesopo2019-02-181-0/+11
|
* Shift formatting protocol data to it's own file: utils.irc.protocolGravatar jesopo2019-02-181-68/+36
|