Commit graph

25 commits

Author SHA1 Message Date
jesopo
8081a014ce remove now-unneeded "--require-config tls-certificate" from fediverse.py 2019-09-12 11:31:01 +01:00
jesopo
4a97c9eb0d refactor utils.http.requests to support a Request object 2019-09-11 17:44:07 +01:00
jesopo
c697c3bbb2 split out fediverse server to it's own module 2019-09-10 17:32:41 +01:00
jesopo
e96783dfac support webfinger resource not having "acct:" on the front 2019-09-10 16:51:08 +01:00
jesopo
e048f61c73 .strip() client cert to remove needless newlines 2019-09-10 16:42:09 +01:00
jesopo
d2de2cca7d 'index' -> 'inbox' 2019-09-10 16:30:54 +01:00
jesopo
b6f4e9c458 'location' -> 'self_id' 2019-09-10 16:24:11 +01:00
jesopo
eb5b0c25b6 'for_url' -> 'url_for', '_ap_self._id' -> '_ap_self_id' 2019-09-10 16:22:54 +01:00
jesopo
7dac75e566 implement ActivityPub user endpoint 2019-09-10 16:21:31 +01:00
jesopo
6b17c64b15 'resouce' -> 'resource' 2019-09-10 15:51:58 +01:00
jesopo
3993447eeb 'account' is no longer reformatted u@instance 2019-09-10 15:46:25 +01:00
jesopo
90d0452bfd first draft of ActivityPub webfinger 2019-09-10 15:40:01 +01:00
jesopo
a9d11fc7f8 use rpartition, not partition, to avoid splitting on leading @ 2019-09-09 21:35:54 +01:00
jesopo
98931de283 remove redundant (and maybe wrong) GET params from webfinger call
closes #143
2019-09-09 10:30:06 +01:00
jesopo
aa2e7249b2 use default webfinger url when host-meta lookups fail 2019-09-07 21:49:22 +01:00
jesopo
40d98b0034 only strip "@" once from the start of fedi usernames 2019-09-07 17:44:20 +01:00
jesopo
9e43ea1599 add per-user fediverse setting 2019-09-02 08:51:56 +01:00
jesopo
99c16ab4b8 Remove debug prints 2019-08-05 15:44:57 +01:00
jesopo
357abba00d Use host-meta to find webfinger url, indent-flatten by raise calls 2019-08-05 15:41:24 +01:00
jesopo
0b39ed6410 Show error when a fedi user isn't found 2019-08-02 17:15:29 +01:00
jesopo
3a0cd6452c support pleroma-style outbox first 2019-08-02 17:15:16 +01:00
jesopo
a1150b610f 'itme' -> 'item' 2019-08-02 16:26:45 +01:00
jesopo
037f62ad4f 'Note' -> 'Create' for activity type 2019-08-02 16:25:43 +01:00
jesopo
b58c0f8b59 use "id" not "url", support boosts 2019-08-02 16:21:11 +01:00
jesopo
85c1222b54 add fediverse.py 2019-08-02 15:57:53 +01:00