aboutsummaryrefslogtreecommitdiff
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* handle git being in a detached head state when getting current commitGravatar jesopo2020-02-081-9/+12
|
* accept "1"/"0" as "true"/"false" for !configGravatar jesopo2020-02-061-2/+2
|
* fix SpecTypeArgumentDate simple()Gravatar jesopo2020-02-061-1/+1
|
* only pull 'charset' from <meta> content-type when it definitely existsGravatar jesopo2020-02-061-1/+3
|
* add command spec type "words" - array of remaining wordsGravatar jesopo2020-02-051-0/+7
|
* is8601_format_now() -> iso8601_now()Gravatar jesopo2020-02-051-1/+1
|
* store timestamp and current git commit when loading a moduleGravatar jesopo2020-02-031-2/+17
|
* also detect encoding for http.request_many()Gravatar jesopo2020-01-311-5/+12
|
* add 'date' command spec typeGravatar jesopo2020-01-302-0/+16
|
* split utils.datetime out in to .parse and .formatGravatar jesopo2020-01-305-64/+75
|
* add utils.datetime.seconds_since(); compare utcnow to datetimeGravatar jesopo2020-01-301-0/+3
|
* SpecArgumentTypeString should return None when no argsGravatar jesopo2020-01-291-1/+3
|
* change "non-consuming spec arg" character from "=" to "-"Gravatar jesopo2020-01-281-1/+1
|
* use dateutil.relativedelta for to_pretty_time, to cover years/monthsGravatar jesopo2020-01-281-22/+22
|
* allow spec arguments to be "non-consuming" (doesn't show up in usage)Gravatar jesopo2020-01-271-5/+14
|
* add 'int' command arg spec typeGravatar jesopo2020-01-273-8/+18
|
* add "additional word" (`aword`) command arument spec typeGravatar jesopo2020-01-271-0/+7
|
* add tstring spec type, string with trimmed consecutive spacesGravatar jesopo2020-01-261-0/+4
|
* fix typehinting issuesGravatar jesopo2020-01-261-3/+4
|
* support command spec literalsGravatar jesopo2020-01-261-25/+63
|
* split utils/parse.py in to multiple filesGravatar jesopo2020-01-263-120/+127
|
* "time" spec arg renamed to "duration"Gravatar jesopo2020-01-251-14/+13
|
* support spec arg "context" (e.g. private only), marked exported as privateGravatar jesopo2020-01-251-9/+28
|
* add utils.parse.argument_spec_human() for usage stringsGravatar jesopo2020-01-251-0/+13
|
* implement default spec argument typesGravatar jesopo2020-01-251-12/+55
|
* support type names of spec argumentsGravatar jesopo2020-01-251-12/+19
|
* change command specs to be compiled at runtime by a decoratorGravatar jesopo2020-01-253-4/+40
|
* fix format_token_replace for $$Gravatar jesopo2020-01-251-2/+2
|
* utils.parse.timed_args() min_args should be optionalGravatar jesopo2020-01-241-1/+1
|
* change utils.irc.strip_font() to remove tokens, no regexGravatar jesopo2020-01-221-7/+5
|
* fix hostmask_match_many typehintGravatar jesopo2020-01-221-1/+1
|
* add an optional mask pattern arg to !clearGravatar jesopo2020-01-221-2/+2
|
* allow requesting utils.irc.color() to not add terminating codeGravatar jesopo2020-01-211-2/+7
|
* .zfill(3) milliseconds in utils.datetime.datetime_humanGravatar jesopo2020-01-201-1/+1
|
* use a TimeSpec system to request milliseconds in utils.datetimeGravatar jesopo2020-01-201-9/+18
|
* fix utils.datetime.iso8601_parse linting errorGravatar jesopo2020-01-171-1/+1
|
* add dateutil as a dependency, use it in utils.datetime.iso8601_parseGravatar jesopo2020-01-171-6/+4
|
* also Accept-Language "en" in HTTP requests (0.5 weight)Gravatar jesopo2020-01-111-1/+1
|
* Revert "explicitly .close() task in http.request_many()"Gravatar jesopo2020-01-061-1/+0
| | | | This reverts commit 7478d62b77a7c7637000670d1c2ed22b1b403745.
* explicitly .close() task in http.request_many()Gravatar jesopo2020-01-061-0/+1
|
* sort variable $names descending so longer ones are caught firstGravatar jesopo2020-01-031-0/+4
|
* add missing closing paren to bitbot's User AgentGravatar jesopo2019-12-291-1/+1
|
* actually replace "$$" with "$"Gravatar jesopo2019-12-271-0/+4
|
* `i` should shift righwards also when finding double sigilGravatar jesopo2019-12-271-2/+2
|
* simplify token replace, catch one-char end-of-string tokensGravatar jesopo2019-12-211-10/+6
|
* implement standardised $token replacement in utils.parseGravatar jesopo2019-12-211-0/+31
|
* we no longer use DECODE_CONTENT_TYPESGravatar jesopo2019-12-181-1/+0
|
* allow Request objects to specify their timeoutGravatar jesopo2019-12-111-1/+3
|
* move sys.exit() codes to an enum in utils.constsGravatar jesopo2019-12-101-1/+9
|
* Revert "add utils.parse.shortencode() and utils.parse.shortdecode - ↵Gravatar jesopo2019-12-061-45/+1
| | | | | | effectively base62" This reverts commit e71f3bbc36eba8abf616d93fde48cba66b3749f1.