aboutsummaryrefslogtreecommitdiff
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* Raise a specific exception in utils.http.request for "wrong content type"Gravatar jesopo2019-02-281-1/+4
|
* Treat both `a` and `a=` as None for message-tagsGravatar jesopo2019-02-271-1/+1
|
* Throw ValueError when utils.http.request tries to soup non-html/xml dataGravatar jesopo2019-02-271-3/+6
|
* Don't try to parse non-html/xml stuff with BeautifulSoupGravatar jesopo2019-02-261-1/+4
|
* Pull "is main thread" logic out to utils, force Database to be accessed on mainGravatar jesopo2019-02-251-1/+4
| | | | thread
* Move utils.irc.IRCParsedLine to IRCLine.ParsedLine, improve truncationGravatar jesopo2019-02-233-148/+62
| | | | | mechanism, don't convert sent line from ParsedLine to text to ParsedLine for line_handler handling
* .upper() command in IRCParsedLine.format()Gravatar jesopo2019-02-231-1/+1
|
* Only allow the last arg of a formatted line to be :trailingGravatar jesopo2019-02-231-2/+3
|
* Split line_handler.py out in to different files for different categoriesGravatar jesopo2019-02-221-1/+5
|
* Revert "Treat both `a` and `a=` as having a value of None in message-tags ↵Gravatar jesopo2019-02-211-1/+1
| | | | | | (utils.irc)" This reverts commit e7ec4b5716b560832e6c899dbc14232f8ed6ca34.
* Treat both `a` and `a=` as having a value of None in message-tags (utils.irc)Gravatar jesopo2019-02-201-1/+1
|
* again, `r"\"` isn't valid.Gravatar jesopo2019-02-201-1/+1
|
* `r"\"` isn't valid - use `"\\"` (utils.irc)Gravatar jesopo2019-02-201-1/+1
|
* Remove '\' from post-unescaped message-tagsGravatar jesopo2019-02-201-1/+2
|
* don't replace '\\' with '\\' with message-tag unescapeGravatar jesopo2019-02-201-1/+1
|
* draft/message-tags-0.3 (JSON tags) was rejectedGravatar jesopo2019-02-201-10/+6
|
* Don't pass `None` around as tag default, fix some missing return type argsGravatar jesopo2019-02-192-9/+12
|
* typo, 'utls' -> 'utils' (utils.irc)Gravatar jesopo2019-02-191-1/+1
|
* Add `.message(` and `.notice(` to IRCSendBatchGravatar jesopo2019-02-191-1/+7
|
* Default IRCParsedLine.tags to empty dict, not `None`Gravatar jesopo2019-02-191-2/+2
|
* contextualise JOIN key check, otherwise it doesn't send channel_nameGravatar jesopo2019-02-191-1/+2
|
* copy paste fail, batch end should be "-" not "+"Gravatar jesopo2019-02-191-1/+1
|
* Add batch_start and batch_end to utils.irc.protocolGravatar jesopo2019-02-181-0/+7
|
* Default `tags` to null for utils.irc.protocol's `message` and `notice`Gravatar jesopo2019-02-181-2/+2
|
* utils.irc.protocol.join()'s `keys` param should be typing.OptionalGravatar jesopo2019-02-181-1/+1
|
* Add src/utils/irc/__init__.py that should have been added some commits agoGravatar jesopo2019-02-181-0/+335
|
* Don't try to use `keys` if we try to join a channel without any keysGravatar jesopo2019-02-181-1/+1
|
* Shift formatting protocol data to it's own file: utils.irc.protocolGravatar jesopo2019-02-182-302/+81
|
* Add missing :Gravatar jesopo2019-02-181-1/+1
|
* don't pass around `has_arbitrary` - we don't need it.Gravatar jesopo2019-02-181-11/+10
|
* Put a helper function in utils to do iso8601 formatting. change IRCServer'sGravatar jesopo2019-02-172-3/+7
| | | | last-read setting to use it.
* Fix 'Optional[str]!=str' type hinting issue in utils.irc line parsingGravatar jesopo2019-02-131-1/+1
|
* We were just checking if `arbitrary` was falsey, thus losing empty trailing argsGravatar jesopo2019-02-121-1/+1
| | | | (' :' with nothing after it) (utils.irc)
* Also strip \x01 off the start of CTCP commands, if it's there (utils.irc)Gravatar jesopo2019-02-121-0/+2
|
* Only put a ":" on trailing args when it's requiredGravatar jesopo2019-02-121-0/+6
|
* Change arg types of constant_time_compare to typing.AnyStr (utils.security)Gravatar jesopo2019-02-121-3/+1
|
* Move constant-time compare function to utils.securityGravatar jesopo2019-02-121-1/+6
|
* Put an strf format for ISO8601 in utilsGravatar jesopo2019-02-121-0/+2
|
* Hold on to tags and type for BATCHesGravatar jesopo2019-02-111-0/+7
|
* Return truncted data from encode_truncate and hold it in IRCLine.LineGravatar jesopo2019-02-101-3/+6
|
* add `utils.truncate_encode`, to encode and truncate a string while ↵Gravatar jesopo2019-02-101-0/+10
| | | | respecting utf8 multi-byte encoding
* rename, 'IRCLine' -> 'IRCParsedLine' (utils.irc)Gravatar jesopo2019-02-101-3/+3
|
* Abstract ssl socket wrapping away so we can reuse itGravatar jesopo2019-02-102-1/+24
|
* Return "0s" from utils.to_pretty_time when given 0 secondsGravatar jesopo2019-02-071-0/+3
|
* If a server has a hostname that's not an IP, use it as SNI server nameGravatar jesopo2019-02-061-1/+8
|
* Add a way to force success and force failure of a command permission checkGravatar jesopo2019-01-281-0/+4
| | | | (commands.py)
* output of `len()` needs to have a `-1` on it when matching it against indexesGravatar jesopo2019-01-161-1/+1
| | | | within the given string (src/utils/irc.py)
* Don't ignore a color code when it's right at the end of a messageGravatar jesopo2019-01-161-12/+7
| | | | (src/utils/irc.py)
* Add src/utils/_consts_256_color.py that should have been added 2 commits agoGravatar jesopo2019-01-161-0/+85
|
* Fix regression that caused only foreground to be parsed if there's foregroundGravatar jesopo2019-01-161-1/+2
| | | | AND background formatting (src.utils.irc)