aboutsummaryrefslogtreecommitdiff
path: root/src/utils
Commit message (Expand)AuthorAgeFilesLines
* 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 for•••JSON message tags Gravatar jesopo2018-11-081-3/+3
* 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 to•••IRCServer.Server Gravatar jesopo2018-11-051-1/+1
* 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 if•••there's not a space after the command Gravatar jesopo2018-11-041-2/+5
* 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 of•••`args` so we can get rid of `last`/`arbitrary` and add IRCArgs (with .get()) to help only getting an arg index if it exists Gravatar jesopo2018-11-041-6/+14
* utils.irc.color should take `int` for foreground/background, not strGravatar jesopo2018-11-021-1/+1
* Fix some non-explicit None returns, add type hints to important variablesGravatar jesopo2018-10-311-0/+3
* Fix/refactor issues brought up by type hint lintingGravatar jesopo2018-10-303-11/+11
* Add type/return hints throughout src/ and, in doing so, fix some cyclical•••references. Gravatar jesopo2018-10-305-115/+124
* Typo in utils.parse_docstring, 'multiple_items' -> 'var_items'Gravatar jesopo2018-10-281-1/+1
* Support multiple items for docstring kwargs in utils.parse_docstringGravatar jesopo2018-10-281-3/+11
* signal.signal timer callback takes 2 argsGravatar jesopo2018-10-251-1/+1
* Standardise "Failed to load results" errors!Gravatar jesopo2018-10-201-0/+3
* Add utils.EventError, utilise it for stderr in commands.py/coins.pyGravatar jesopo2018-10-161-0/+3
* Use decimal.Decimal in utils.parse_numberGravatar jesopo2018-10-121-9/+12
* Actually pass format args to ValueErrors in utils.parse_numberGravatar jesopo2018-10-121-2/+2
* int(number) after we've checked .isdigit() in utils.parse_numberGravatar jesopo2018-10-121-0/+1
* Add utils.parse_number, to turn 1k/1m/1b in to 1_000/1_000_000/1_000_000_000Gravatar jesopo2018-10-121-0/+19
* Add fallback_encoding to utils.http.get_url, in case a page has no implicit•••encoding Gravatar jesopo2018-10-101-2/+3
* .decode data prior to json.loads in utils.http.get_urlGravatar jesopo2018-10-101-2/+1
* Fix syntax error for throwing a timeout when signal.alarm firesGravatar jesopo2018-10-101-1/+3
* .decode plaintext returns from utils.http.get_urlGravatar jesopo2018-10-101-0/+1
* Use signal.alarm to Deadline utils.http.get_url and throw useful exceptionsGravatar jesopo2018-10-101-16/+28
* Set a max size of 100mb for utils.http.get_urlGravatar jesopo2018-10-101-3/+7
* Change utils.http to use requestsGravatar jesopo2018-10-101-83/+30
* Remove debug print in src.utils.httpGravatar jesopo2018-10-091-1/+0
* Return response code from utils.http.get_url when code=True and soup=TrueGravatar jesopo2018-10-091-4/+11
* Support post_data in utils.http.get_urlGravatar jesopo2018-10-081-2/+7
* Support multiple types of comments in utils.get_hashflagsGravatar jesopo2018-10-071-3/+11
* Typo in utils, 'line.replace[3:]' -> 'line[3:]'Gravatar jesopo2018-10-041-1/+1
* Checking for the presence of the seperator in the return from .partition is a•••more "correct" way of doing this Gravatar jesopo2018-10-041-2/+2
* Non-present hashflag values should be None, not empty stringGravatar jesopo2018-10-041-1/+1
* Simplify hashflag parsingGravatar jesopo2018-10-041-6/+1
* Move 'top 10' logic to utils, add !wordiest to modules/words.pyGravatar jesopo2018-10-041-0/+11
* Use docstring key, not value, as a key.Gravatar jesopo2018-10-031-3/+3