aboutsummaryrefslogtreecommitdiff
path: root/src/utils/irc.py
Commit message (Collapse)AuthorAgeFilesLines
* Minor code styling change in urils.ircGravatar jesopo2018-11-171-2/+2
|
* We do indeed need to see "\x03" even when there's no foreground/backgroundGravatar jesopo2018-11-141-2/+1
| | | | (color reset)
* Don't eat commas when there's no background color or when a comma directlyGravatar jesopo2018-11-141-2/+7
| | | | follows a background color
* Missed a 'message' -> 'ctcp_message'Gravatar jesopo2018-11-141-1/+1
|
* Typo in utils.irc, 'message' -> 'ctcp_message'Gravatar jesopo2018-11-141-2/+2
|
* Stop supporting using ansi bold for brightening colors, support ansi backgroundGravatar jesopo2018-11-141-23/+27
| | | | colors
* Better parsing of CTCP messages, support raw.send.privmsg/raw.send.notice inGravatar jesopo2018-11-141-0/+14
| | | | modules/line_handler.py
* Typo in src/utils/irc.py, 'resplace' -> 'replace'Gravatar jesopo2018-11-141-1/+1
|
* You can join color and bold in to one \033 ansi sequenceGravatar jesopo2018-11-141-2/+3
|
* Support irc format full reset (\x0F) as ansi reset (\033[0m)Gravatar jesopo2018-11-141-1/+7
|
* 'ANSI_RESET' -> 'ANSI_BOLD_RESET' typo, 'ansi_bold' -> 'color_bold'Gravatar jesopo2018-11-141-17/+20
| | | | | clarification, fix issue in color tokenizing that caused bolds to be put in the wrong place
* Add type annotions to irc->ansi color functionsGravatar jesopo2018-11-141-4/+4
|
* Only reset ansi bolding when both color-bold and bold are falseGravatar jesopo2018-11-141-1/+1
|
* Fix bolding/unbolding code in utils.ircGravatar jesopo2018-11-131-2/+3
|
* Add code to tokenize and ansi-replace IRC colors; use this inGravatar jesopo2018-11-131-1/+74
| | | | modules/print_activity.py
* Better constifying of color/font charsGravatar jesopo2018-11-131-20/+15
|
* I was accidentally removing two characters from the start of :nick!user@hostGravatar jesopo2018-11-131-1/+1
|
* Remove unneeded constGravatar jesopo2018-11-121-1/+0
|
* We don't need utils.irc.remove_colon anymore!Gravatar jesopo2018-11-121-7/+1
|
* Support passing unrestricted args between connectionsGravatar jesopo2018-11-081-1/+3
|
* Technically, we only need to unescape non-json message-tag *values*Gravatar jesopo2018-11-081-4/+2
|
* Only mesage-tag unescape non-json tags after we split on ";"Gravatar jesopo2018-11-081-2/+4
|
* Unescape message-tags as per spec Escaping RulesGravatar jesopo2018-11-081-0/+9
|
* Fix issues that were introduced in message-tag parsing when I added support forGravatar jesopo2018-11-081-3/+3
| | | | JSON message tags
* Explicitly denote when an :arbitrary arg is present in an IRCLineGravatar jesopo2018-11-081-4/+8
|
* Fix the order of some connection params, add `alias` as a seperate argument toGravatar jesopo2018-11-051-1/+1
| | | | IRCServer.Server
* Pass connection parameters around in their own object (IRCConnectionParameters)Gravatar jesopo2018-11-051-0/+16
|
* Add missing import of json in utils.ircGravatar jesopo2018-11-051-1/+1
|
* Support JSON messages tags, as per IRCv'3 message-tags-0.3 #318 pull requestGravatar jesopo2018-11-051-4/+10
|
* Add __repr__ to utils.irc.IRCArgsGravatar jesopo2018-11-051-0/+2
|
* Don't set `args` to a split of the data left over when parsing out a command ifGravatar jesopo2018-11-041-2/+5
| | | | there's not a space after the command
* Implement utils.irc.IRCArgs.__len__Gravatar jesopo2018-11-041-2/+7
|
* Fix typo in utils.irc, 'self_args' -> 'self._args'Gravatar jesopo2018-11-041-1/+1
|
* Move definition of IRCArgs above IRCLineGravatar jesopo2018-11-041-8/+8
|
* Fix typo in utils.ircGravatar jesopo2018-11-041-1/+1
|
* Change line parsing to put arbitrary-length args on the end ofGravatar jesopo2018-11-041-6/+14
| | | | | `args` so we can get rid of `last`/`arbitrary` and add IRCArgs (with .get()) to help only getting an arg index if it exists
* utils.irc.color should take `int` for foreground/background, not strGravatar jesopo2018-11-021-1/+1
|
* Fix/refactor issues brought up by type hint lintingGravatar jesopo2018-10-301-6/+6
|
* Add type/return hints throughout src/ and, in doing so, fix some cyclicalGravatar jesopo2018-10-301-21/+25
| | | | references.
* Move src/Utils.py in to src/utils/, splitting functionality out in to modules ofGravatar jesopo2018-10-031-0/+116
related functionality