Commit graph

12 commits

Author SHA1 Message Date
jesopo
5923602f0a make fediverse module rely on REST API
I didn't want to do this unless we had to but Mastodon is introducing requirming
signed requests soon, so even if a user doesn't use bitbot as an instance, we'll
still need to be able to serve Actor (and key) over the REST API
2019-09-25 16:11:57 +01:00
jesopo
13b21b205d only show non-replies with ,fedi 2019-09-25 16:11:18 +01:00
jesopo
ea1698499f through error when fediverse server is configured but crypto is missing 2019-09-18 10:18:49 +01:00
jesopo
441a58125a Show error when actor.load() fails 2019-09-17 17:41:40 +01:00
jesopo
ec4501c018 pass exports to ap_server.py 2019-09-16 14:23:06 +01:00
jesopo
69032ea476 push inbox POSTs on to a background thread 2019-09-16 14:18:58 +01:00
jesopo
cefbbe7c5f return content warning from ap_utils.format_note and show it
closes #118
2019-09-16 11:10:49 +01:00
jesopo
55d5692856 refactor AP Note stringifying out to ap_utils.py 2019-09-16 10:51:59 +01:00
jesopo
f8d24bc422 throw on_start() exceptions when tls key/certificate are not present 2019-09-15 17:11:45 +01:00
jesopo
89072de213 ap_server needs ap_utils import, pass bot instance to it too 2019-09-15 11:19:50 +01:00
jesopo
71896f8081 move AP server event/exports to __init__.py 2019-09-15 11:06:00 +01:00
jesopo
54ee1b3594 re-merge fediverse an fediverse_server, so they can share utils 2019-09-15 10:43:46 +01:00