aboutsummaryrefslogtreecommitdiff
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* Minor code styling change in urils.ircGravatar jesopo2018-11-171-2/+2
|
* Typo in utils.__init__, 'number' -> 'number_str'Gravatar jesopo2018-11-161-1/+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-142-24/+31
| | | | 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
|
* Use extended ANSI colors to avoid using bold to make colors lighterGravatar jesopo2018-11-141-8/+8
|
* 'ANSI_RESET' -> 'ANSI_BOLD_RESET' typo, 'ansi_bold' -> 'color_bold'Gravatar jesopo2018-11-142-21/+24
| | | | | 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
|
* Bold reset is 22, not 21Gravatar jesopo2018-11-131-1/+1
|
* Fix bolding/unbolding code in utils.ircGravatar jesopo2018-11-131-2/+3
|
* Apparently '39' is 'font reset' for ansi colorsGravatar jesopo2018-11-131-1/+1
|
* Visual tweak; align "="s in utils.constsGravatar jesopo2018-11-131-25/+25
|
* Add code to tokenize and ansi-replace IRC colors; use this inGravatar jesopo2018-11-131-1/+74
| | | | modules/print_activity.py
* Better constifying of COLORsGravatar jesopo2018-11-131-17/+31
|
* Better constifying of color/font charsGravatar jesopo2018-11-132-20/+47
|
* I was accidentally removing two characters from the start of :nick!user@hostGravatar jesopo2018-11-131-1/+1
|
* That shouldn't be thereGravatar jesopo2018-11-131-1/+0
|
* Return new user's id in Database.users.addGravatar jesopo2018-11-131-1/+2
|
* Return new server_id from Database.servers.addGravatar jesopo2018-11-131-2/+3
|
* Move logic for adding a server to the database out to utils.cli and add aGravatar jesopo2018-11-132-1/+20
| | | | --add-server flag for start.py, to add new server
* Remove unneeded constGravatar jesopo2018-11-121-1/+0
|
* We don't need utils.irc.remove_colon anymore!Gravatar jesopo2018-11-121-7/+1
|
* Fix type annotations for utils.parse.keyvalueGravatar jesopo2018-11-111-2/+3
|
* Filter out empty items in utils.parse.keyvalueGravatar jesopo2018-11-081-1/+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
|
* Clarify `items` and `var_items` typing in src.utils.parseGravatar jesopo2018-11-051-3/+4
|
* Add src.utils.parse.keyvalue, mostly for IRCv3 CAP negotiationGravatar jesopo2018-11-051-0/+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