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 flag to disable encoding detection
jesopo
2019-09-09
1
-5
/
+4
*
'str.split' -> 's.split'
jesopo
2019-09-09
1
-1
/
+1
*
still default to iso-latin-1 if no on-page or in-header content-type is present
jesopo
2019-09-09
1
-1
/
+1
*
only look for <meta>-related tags when there are meta tags
jesopo
2019-09-09
1
-9
/
+11
*
add explicit None return for _find_encoding (mypy)
jesopo
2019-09-09
1
-0
/
+1
*
change utils.http.request to best-effort detect on-page encoding
•••
closes #113
jesopo
2019-09-09
1
-2
/
+34
*
make utils.from_pretty_time() format much stricter
jesopo
2019-09-04
1
-12
/
+11
*
correctly qualify DeadlineExceededException namespace
jesopo
2019-09-03
1
-1
/
+1
*
use utils.deadline() in utils.http.request, not raw sigalrm
jesopo
2019-09-02
1
-18
/
+15
*
move deadline alarm time check inside try/finally
jesopo
2019-09-02
1
-5
/
+5
*
Pass the content of a webpage to HTTPParsingException
jesopo
2019-09-02
1
-2
/
+2
*
use \S+ for url regex (for non-ascii chars), use url_sanitize to catch <>
jesopo
2019-09-02
1
-9
/
+12
*
add per-user fediverse setting
jesopo
2019-09-02
1
-0
/
+9
*
switch to using signal.setitimer so we can restore previous timer
jesopo
2019-08-30
1
-1
/
+7
*
switch utils.deadline to a context manager
jesopo
2019-08-30
1
-5
/
+8
*
add utils.deadline(func, seconds) to put hard limits on code exec time
jesopo
2019-08-30
1
-1
/
+15
*
Add IntRangeSetting, reorder OptionsSetting arg order
jesopo
2019-08-30
1
-1
/
+18
*
round microseconds up to a whole number and zero-pad to 3 chars
jesopo
2019-08-30
1
-1
/
+2
*
Don't use 'Z' for "utc timezone" - actually parse timezone out of datetimes
jesopo
2019-08-30
1
-7
/
+14
*
Remove extraneous space
jesopo
2019-08-07
1
-1
/
+0
*
Allow bypass of content-type check in utils.http.request
jesopo
2019-08-05
1
-3
/
+3
*
not all HTTP responses have content-type
jesopo
2019-08-02
1
-1
/
+1
*
switch to function/module magic being a single object
jesopo
2019-07-26
2
-12
/
+35
*
asyncio.gather -> asyncio.wait (with timeout)
jesopo
2019-07-08
1
-1
/
+1
*
tell asyncio.gather which loop to use
jesopo
2019-07-08
1
-1
/
+1
*
close event loop when we're done with it (request_many())
jesopo
2019-07-08
1
-1
/
+2
*
Don't try/except async http exceptions
jesopo
2019-07-08
1
-5
/
+1
*
switch request_many() to use asyncio.gather
jesopo
2019-07-08
1
-14
/
+18
*
catch async exceptions in utils.http.request_many()
jesopo
2019-07-08
1
-1
/
+6
*
add missing schema in utils.http.sanitise_url, use in rss.py
jesopo
2019-07-08
1
-0
/
+3
*
switch to using asyncio's event loop
jesopo
2019-07-08
1
-6
/
+7
*
implement utils.http.request_many as a tonado ioloop yield
jesopo
2019-07-08
1
-1
/
+19
*
url_validate() -> url_sanitise()
jesopo
2019-07-02
1
-1
/
+1
*
Add utils.http.url_validate() for best-effort url tidying
jesopo
2019-07-02
1
-0
/
+16
*
fixed capabilities
jan6
2019-07-01
1
-1
/
+1
*
Implemnt _options_factory for OptionsSetting to have dynamic options
jesopo
2019-06-29
1
-5
/
+14
*
Automatically format `example` text for OptionsSetting (showing options)
jesopo
2019-06-29
1
-1
/
+15
*
Setting.__init__ call in OptionsSetting ctor needs `self` param
jesopo
2019-06-28
1
-1
/
+1
*
Implement utils.OptionsSetting
jesopo
2019-06-28
1
-0
/
+12
*
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
jesopo
2019-06-28
1
-15
/
+29
*
message arg for HTTPWrongContentTypeException/HTTPParsingException
jesopo
2019-06-28
1
-5
/
+5
*
Give descriptions to utils.http.HTTPException subclasses
jesopo
2019-06-27
1
-2
/
+6
*
add CaseInsensitiveDict.__contains__
jesopo
2019-06-26
1
-0
/
+2
*
add `allow_redirects` kwarg to utils.http.request()
jesopo
2019-06-26
1
-0
/
+2
*
implement @utils.kwarg() magic, use it for command.regex hooks
jesopo
2019-06-26
2
-0
/
+6
*
Implement dependency system for CAPs
jesopo
2019-06-21
1
-1
/
+3
*
Adda system of aliases for CAPs, mostly for changeable draft specs and creating
•••
dependence between moving specs
jesopo
2019-06-21
1
-2
/
+5
*
fix hostmask_match_many type hinting
jesopo
2019-06-20
1
-1
/
+2
*
Implement hostmask_match_any, for more efficient matching of multiple hostmasks
jesopo
2019-06-20
1
-3
/
+9
*
Implement utils.irc.hostmask_match() as regex
jesopo
2019-06-20
1
-2
/
+9
[prev]
[next]