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
*
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
*
remove `parser` from utils.http.Request, add Request.soup()
jesopo
2019-11-26
1
-15
/
+6
*
utils.datetime.datetime_utcnow() -> utils.datetime.utcnow()
jesopo
2019-11-25
1
-2
/
+2
*
add `cookies` and `.json()` to utils.http.Response objects
jesopo
2019-11-25
1
-7
/
+13
*
change utils.http.Request to be a dataclass
jesopo
2019-11-25
1
-38
/
+30
*
give bitbot a unique User-Agent
•••
closes #206
jesopo
2019-11-20
1
-6
/
+5
*
consecutive HASH_STOP chars at start shouldn't count as a stop
jesopo
2019-11-19
1
-1
/
+4
*
HASH_STOP should still be respected if last character
jesopo
2019-11-19
1
-1
/
+1
*
move "+5m" syntax parsing out to utils.parse
jesopo
2019-11-18
1
-0
/
+11
*
switch some utils.irc functions to use f-strings
jesopo
2019-11-18
1
-4
/
+3
*
truncate nickname hash operations to 64bit
jesopo
2019-11-18
1
-1
/
+1
*
implement weechat-style djb2 colour hashing
jesopo
2019-11-18
1
-3
/
+11
*
`import` missing comma, 'Events'->'Event'
jesopo
2019-11-18
1
-2
/
+2
*
remove unused imports in src/utils/__init__.py
jesopo
2019-11-18
1
-2
/
+2
*
"EventsResultsError"->"EventResultsError", move errors to utils.error
jesopo
2019-11-18
2
-12
/
+14
*
move utils.consts.BITBOT_MAGIC to utils.decorators
jesopo
2019-11-15
2
-6
/
+5
*
move all datetime-related code from utils/__init__ to utils.datetime
jesopo
2019-11-15
2
-125
/
+127
*
dont expose has_magic/get_magic in utils/__init__.py, ref directly
jesopo
2019-11-15
1
-2
/
+2
*
split some stuff out of utils/__init__.py
jesopo
2019-11-15
4
-181
/
+191
*
show first-words datestamp on !words output
jesopo
2019-11-15
1
-0
/
+3
*
add typehinting for foreground/background
jesopo
2019-11-13
1
-2
/
+2
*
only set color_finished=True when is_background, otherwise next char sets it
jesopo
2019-11-13
1
-13
/
+12
*
hash_colorize code should first be looked up in HASH_COLORS
jesopo
2019-11-11
1
-2
/
+2
[next]