aboutsummaryrefslogtreecommitdiff
path: root/src/IRCServer.py
Commit message (Expand)AuthorAgeFilesLines
* 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,•••remove server.cap_started Gravatar jesopo2019-06-161-4/+6
* 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 for•••running=False Gravatar jesopo2019-06-061-0/+4
* 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 events•••related to a line after it is sent Gravatar jesopo2019-06-041-4/+6
* Send PING and PONG as 'immediate' linesGravatar jesopo2019-06-041-2/+2
* Only return definitely-writen lines from IRCSocket._send, refactor in prep for•••lines that request to be sent 'immediately' Gravatar jesopo2019-06-041-4/+6
* 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 using•••utils.iso8601 functions in badges.py Gravatar jesopo2019-04-231-1/+2
* Add IRCServer.send_raw so modules don't have to parse messages before sending•••them Gravatar jesopo2019-04-161-0/+2
* 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 ParsedLine•••objects for PRIVMSG and NOTICE Gravatar jesopo2019-02-231-6/+3
* Move utils.irc.IRCParsedLine to IRCLine.ParsedLine, improve truncation•••mechanism, don't convert sent line from ParsedLine to text to ParsedLine for line_handler handling Gravatar jesopo2019-02-231-8/+9
* Add `target` typehint on IRCServer.send_tagmsg, add send_tagmsg to IRCChannel...Gravatar jesopo2019-02-221-1/+1
* 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
* Put a helper function in utils to do iso8601 formatting. change IRCServer's•••last-read setting to use it. Gravatar jesopo2019-02-171-2/+1
* How did this newline get hereGravatar jesopo2019-02-171-1/+0
* 'src/IRCServer.capabilities' -> 'src/IRCServer.agreed_capabilities'Gravatar jesopo2019-02-161-1/+1
* Send `CAP REQ` in 10-item chunks (src/IRCServer.py)Gravatar jesopo2019-02-161-3/+6
* Don't add a space after a formatted tagmsg in _tag_str (src/IRCServer.py)Gravatar jesopo2019-02-141-3/+5