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
/
modules
/
rest_api.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
update !apikey to use command spec
jesopo
2020-02-05
1
-33
/
+17
*
add on_pause() and on_resume() for module - use in rest_api.py
jesopo
2019-11-04
1
-6
/
+16
*
major security fix: adding api keys should be admin-only
jesopo
2019-10-18
1
-0
/
+1
*
combine find_setting() and find_setting_prefix() on user/channel/server/bot
jesopo
2019-10-07
1
-1
/
+1
*
expand `apikey` command to list, add, remove and info
•••
closes #123
jesopo
2019-10-04
1
-16
/
+67
*
'path' -> 'args' on REST API events
jesopo
2019-09-20
1
-1
/
+1
*
add missing ")"
jesopo
2019-09-20
1
-1
/
+1
*
support path-arg variables in url_for
jesopo
2019-09-20
1
-4
/
+10
*
url_for was moved to _module._url_for
jesopo
2019-09-16
1
-1
/
+1
*
expose url-for logic on Exports too
jesopo
2019-09-16
1
-20
/
+23
*
allow configuring REST API Host, have default public and local ports
jesopo
2019-09-15
1
-6
/
+17
*
default REST API port to 5001, not 5000
jesopo
2019-09-13
1
-1
/
+1
*
remove TLS code from rest_api.py and force it to listen on localhost.
•••
this is to force people to put something like nginx proxy_pass between the wider internet and bitbot's rest api as the python stdlib http.server is not production-secure.
jesopo
2019-09-13
1
-8
/
+1
*
force content-length on to REST API responses
jesopo
2019-09-11
1
-0
/
+1
*
Revert "call self.finish() in rest_api.py in hopes it will force-close connec...
•••
This reverts commit 5d6b2ff083142f71e845d3f543fee8e6f70f6fd2.
jesopo
2019-09-10
1
-1
/
+0
*
call self.finish() in rest_api.py in hopes it will force-close connections
jesopo
2019-09-10
1
-0
/
+1
*
"%s", not "%d", cuz `port` is a str
jesopo
2019-09-10
1
-1
/
+1
*
get REST API port from settings if it's not in Host header
jesopo
2019-09-10
1
-2
/
+6
*
'get_params' -> 'get_params_str'
jesopo
2019-09-10
1
-1
/
+1
*
CaseInsensitiveDict does not implement .get() yet
jesopo
2019-09-10
1
-5
/
+5
*
first draft of ActivityPub webfinger
jesopo
2019-09-10
1
-1
/
+14
*
don't bother sorting json keys when the json is minified
jesopo
2019-09-10
1
-1
/
+1
*
duplicate 'rest-api' setting - copypaste issue for rest-api-minify
jesopo
2019-09-10
1
-1
/
+1
*
move more REST API code on to the main thread
jesopo
2019-09-10
1
-17
/
+19
*
'code' -> 'response.code'
jesopo
2019-09-10
1
-1
/
+2
*
set response.code=200 as soon as we know there's a hook waiting for it
jesopo
2019-09-10
1
-0
/
+1
*
'event_response' -> 'obj' (copypaste error)
jesopo
2019-09-10
1
-3
/
+2
*
refactor REST API to use a Response object
jesopo
2019-09-10
1
-23
/
+48
*
Change REST API to listen on IPv6
jesopo
2019-08-13
1
-2
/
+5
*
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
jesopo
2019-06-28
1
-6
/
+4
*
'call_unsafe_for_result' -> 'call_for_result_unsafe'
jesopo
2019-06-26
1
-1
/
+1
*
Add `depends-on` hashflags to relevant modules
jesopo
2019-05-25
1
-0
/
+3
*
Add usage examples for all settings
jesopo
2019-05-23
1
-2
/
+2
*
Add 'api-port' setting to bot.conf and use it in rest_api.py
jesopo
2019-03-13
1
-1
/
+2
*
move `code` in to the string format arg for log functions
jesopo
2019-03-13
1
-1
/
+1
*
Show returned status code when _handle finishes
jesopo
2019-03-13
1
-2
/
+2
*
Remove default logging, show request path in our own _handle logging
jesopo
2019-03-11
1
-4
/
+5
*
Show ip and port as "ip:port" in _handle logging
jesopo
2019-03-11
1
-4
/
+4
*
DEBUG log when REST API _handle starts and finishes
jesopo
2019-03-11
1
-0
/
+5
*
Change HTTP request logging from INFO to DEBUG
jesopo
2019-02-28
1
-1
/
+1
*
Pass `key` through to _get_settings (rest_api.py)
jesopo
2019-02-19
1
-3
/
+2
*
Remove copy-pasted ":" (rest_api.py)
jesopo
2019-02-19
1
-1
/
+1
*
Do database-related work on UI thread (rest_api.py)
jesopo
2019-02-19
1
-2
/
+8
*
Don't require client cert validation (rest_api.py)
jesopo
2019-02-10
1
-1
/
+1
*
Typo, 'wrap_scket' -> 'ssl_wrap' (rest_api.py)
jesopo
2019-02-10
1
-1
/
+1
*
Use newly abstracted away ssl_wrap (rest_api.py)
jesopo
2019-02-10
1
-3
/
+5
*
need to `.items()` a dict to tuple-iterate it (rest_api.py)
jesopo
2019-02-08
1
-1
/
+1
*
Abstract away sending response to REST API request (rest_api.py)
jesopo
2019-02-08
1
-4
/
+15
*
Return `path` from `_path_data()` (rest_api.py)
jesopo
2019-02-08
1
-2
/
+2
*
Typo, 'utils.parse' -> 'urllib.parse' (rest_api.py)
jesopo
2019-02-08
1
-1
/
+1
[next]