Commit graph

16 commits

Author SHA1 Message Date
jesopo
c4c076137d fallback ActivityPub data encoding to utf8 2019-10-26 22:43:11 +01:00
jesopo
fa97f12689 support AP Notes with content outside of HTML tags (e.g. pleroma) 2019-10-15 16:44:28 +01:00
jesopo
f739064d10 show first toot if it's a boost, fix Note boost formatting 2019-10-15 15:13:28 +01:00
jesopo
af1fd37003 actually explicitly strip "unknown" html tags from fedi notes 2019-10-14 10:46:15 +01:00
jesopo
84ec6d812f format multi-line toots on a single line using things like double space 2019-10-09 16:44:54 +01:00
jesopo
44a635b708 prefer url over id as it's usually a more user-friendly url 2019-10-08 16:07:35 +01:00
jesopo
472b5ba9f0 support !fedi with a URL to a Note 2019-10-04 13:06:29 +01:00
jesopo
bb2590734b add missing "import urllib.parse" to ap_utils.py 2019-09-23 11:28:14 +01:00
jesopo
f84b48adbe pass full Response from ap_utils.activity_request, use it for Actor 404 2019-09-17 17:41:15 +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
050bf0a848 use json_body=True for ActivityPub requests 2019-09-16 10:57:46 +01:00
jesopo
55d5692856 refactor AP Note stringifying out to ap_utils.py 2019-09-16 10:51:59 +01:00
jesopo
433e3cdcfb data -> post_data 2019-09-15 15:21:26 +01:00
jesopo
ca68b27ccd actually pass signature and related headers to activity_request() 2019-09-15 14:27:34 +01:00
jesopo
b22ab564be actually use method arg on activity_request() 2019-09-15 12:18:03 +01:00
jesopo
54ee1b3594 re-merge fediverse an fediverse_server, so they can share utils 2019-09-15 10:43:46 +01:00