index
:
~steering
/
bitbot.git
this commit
master
Unnamed repository; edit this file 'description' to name the repository.
steering7253
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
utils
Commit message (
Expand
)
Author
Age
Files
Lines
*
split utils.datetime out in to .parse and .format
jesopo
2020-01-30
5
-64
/
+75
*
add utils.datetime.seconds_since(); compare utcnow to datetime
jesopo
2020-01-30
1
-0
/
+3
*
SpecArgumentTypeString should return None when no args
jesopo
2020-01-29
1
-1
/
+3
*
change "non-consuming spec arg" character from "=" to "-"
jesopo
2020-01-28
1
-1
/
+1
*
use dateutil.relativedelta for to_pretty_time, to cover years/months
jesopo
2020-01-28
1
-22
/
+22
*
allow spec arguments to be "non-consuming" (doesn't show up in usage)
jesopo
2020-01-27
1
-5
/
+14
*
add 'int' command arg spec type
jesopo
2020-01-27
3
-8
/
+18
*
add "additional word" (`aword`) command arument spec type
jesopo
2020-01-27
1
-0
/
+7
*
add tstring spec type, string with trimmed consecutive spaces
jesopo
2020-01-26
1
-0
/
+4
*
fix typehinting issues
jesopo
2020-01-26
1
-3
/
+4
*
support command spec literals
jesopo
2020-01-26
1
-25
/
+63
*
split utils/parse.py in to multiple files
jesopo
2020-01-26
3
-120
/
+127
*
"time" spec arg renamed to "duration"
jesopo
2020-01-25
1
-14
/
+13
*
support spec arg "context" (e.g. private only), marked exported as private
jesopo
2020-01-25
1
-9
/
+28
*
add utils.parse.argument_spec_human() for usage strings
jesopo
2020-01-25
1
-0
/
+13
*
implement default spec argument types
jesopo
2020-01-25
1
-12
/
+55
*
support type names of spec arguments
jesopo
2020-01-25
1
-12
/
+19
*
change command specs to be compiled at runtime by a decorator
jesopo
2020-01-25
3
-4
/
+40
*
fix format_token_replace for $$
jesopo
2020-01-25
1
-2
/
+2
*
utils.parse.timed_args() min_args should be optional
jesopo
2020-01-24
1
-1
/
+1
*
change utils.irc.strip_font() to remove tokens, no regex
jesopo
2020-01-22
1
-7
/
+5
*
fix hostmask_match_many typehint
jesopo
2020-01-22
1
-1
/
+1
*
add an optional mask pattern arg to !clear
jesopo
2020-01-22
1
-2
/
+2
*
allow requesting utils.irc.color() to not add terminating code
jesopo
2020-01-21
1
-2
/
+7
*
.zfill(3) milliseconds in utils.datetime.datetime_human
jesopo
2020-01-20
1
-1
/
+1
*
use a TimeSpec system to request milliseconds in utils.datetime
jesopo
2020-01-20
1
-9
/
+18
*
fix utils.datetime.iso8601_parse linting error
jesopo
2020-01-17
1
-1
/
+1
*
add dateutil as a dependency, use it in utils.datetime.iso8601_parse
jesopo
2020-01-17
1
-6
/
+4
*
also Accept-Language "en" in HTTP requests (0.5 weight)
jesopo
2020-01-11
1
-1
/
+1
*
Revert "explicitly .close() task in http.request_many()"
•••
This reverts commit 7478d62b77a7c7637000670d1c2ed22b1b403745.
jesopo
2020-01-06
1
-1
/
+0
*
explicitly .close() task in http.request_many()
jesopo
2020-01-06
1
-0
/
+1
*
sort variable $names descending so longer ones are caught first
jesopo
2020-01-03
1
-0
/
+4
*
add missing closing paren to bitbot's User Agent
jesopo
2019-12-29
1
-1
/
+1
*
actually replace "$$" with "$"
jesopo
2019-12-27
1
-0
/
+4
*
`i` should shift righwards also when finding double sigil
jesopo
2019-12-27
1
-2
/
+2
*
simplify token replace, catch one-char end-of-string tokens
jesopo
2019-12-21
1
-10
/
+6
*
implement standardised $token replacement in utils.parse
jesopo
2019-12-21
1
-0
/
+31
*
we no longer use DECODE_CONTENT_TYPES
jesopo
2019-12-18
1
-1
/
+0
*
allow Request objects to specify their timeout
jesopo
2019-12-11
1
-1
/
+3
*
move sys.exit() codes to an enum in utils.consts
jesopo
2019-12-10
1
-1
/
+9
*
Revert "add utils.parse.shortencode() and utils.parse.shortdecode - effective...
•••
This reverts commit e71f3bbc36eba8abf616d93fde48cba66b3749f1.
jesopo
2019-12-06
1
-45
/
+1
*
add utils.parse.shortencode() and utils.parse.shortdecode - effectively base62
jesopo
2019-12-06
1
-1
/
+45
*
add utils.http.Session object, to preserve cookies across requests
jesopo
2019-12-03
1
-0
/
+14
*
rework permissions module to precompile hostmasks
jesopo
2019-11-30
1
-7
/
+16
*
use ANSI_RESET in utils.irc.parse_format, not all the different resets
jesopo
2019-11-28
1
-9
/
+1
*
utils.http.Response.decode() should default to detected encoding
jesopo
2019-11-28
1
-2
/
+2
*
explicitly use "lxml" for finding page encoding
jesopo
2019-11-26
1
-1
/
+1
*
_find_encoding takes `bytes` and soupifies now
jesopo
2019-11-26
1
-1
/
+2
*
utils.http.request_many() shouldn't decode data for Response
jesopo
2019-11-26
1
-3
/
+2
*
utils.http.Response.data should always be `bytes` - add .decode and .soup
jesopo
2019-11-26
1
-25
/
+7
[next]