Wykres commitów

138 Commity (e1856c21a12f170c19a45aacf797fe165c9f7271)

Autor SHA1 Wiadomość Data
Ryan Barrett 92798bc434 webmention: refactor storing Responses so we can do it earlier 2017-10-26 12:31:04 -07:00
Ryan Barrett 07c650b9e1 add /log handler, link to it from /responses
reuses LogHandler newly moved from bridgy to webutil in snarfed/webutil@a49b3af4d1
2017-10-26 09:32:17 -07:00
Ryan Barrett e538f97456 activitypub: prefer id over url for inReplyTo and Like/Announce object
as per tootsuite/mastodon#5500
2017-10-23 21:23:33 -07:00
Ryan Barrett defc9f3b2a webmention => activitypub: on 2xx, return the activitypub status code
useful for mastodon 1.6 202s which usually mean signature verification failed. :(
2017-10-21 16:42:37 -07:00
Ryan Barrett b7007a4521 fetching AS2: handle Content-Type with charset suffix 2017-10-20 17:35:11 -07:00
Ryan Barrett c81a6b8ed2 activitypub: follow HTML link rels that point to AS2 objects
...by reusing common.get_as2(). also lots of misc refactoring.
2017-10-20 12:49:48 -07:00
Ryan Barrett 3922d54359 outbound salmon: fix like and repost support 2017-10-17 18:39:15 -07:00
Ryan Barrett db75bd7589 webmention => activitypub: fix likes and reposts
thanks to @mblaney for finding!
2017-10-16 21:48:41 -07:00
Ryan Barrett 52ee8f8c54 webmention: fix email subject 2017-10-16 17:33:38 -07:00
Ryan Barrett 02ff737dac email me (for now) whenever we get a wm 2017-10-15 17:34:21 -07:00
Ryan Barrett 6190f3bc0c refactor abort() calls to use common.error() 2017-10-15 16:57:33 -07:00
Ryan Barrett ef89af7372 switch to using Response.get_or_create()
also test an incoming activitypub like with an id with a fragment
2017-10-11 18:13:06 -07:00
Ryan Barrett 6a65e2e74a store source post in Response
...so we can use it to render proxy ActivityPub mf2 pages for webmentions
2017-10-09 21:11:40 -05:00
Ryan Barrett d1c54ff223 activitypub: send Update instead of Create for existing responses 2017-10-09 20:12:17 -05:00
Ryan Barrett 19a686edc3 store responses in new Response datastore model 2017-10-09 19:29:50 -05:00
Ryan Barrett c47e07ab94 webfinger: check domain home page too; preserve port in MagicKey domain 2017-10-04 09:12:08 -07:00
Ryan Barrett 63a9e47002 outbound webfinger: use full acct: URIs 2017-10-04 09:12:00 -07:00
Ryan Barrett f6a3ca1848 new incoming webmention UI: expect them to add fed.brid.gy link
...instead of wrapping URL in fed.brid.gy/wm/... to inject webmention Link endpoint.
2017-10-01 21:43:01 -07:00
Ryan Barrett 71f0a4c8d4 AP: add publicKey to actor object
needed for mastodon interop
2017-10-01 07:01:35 -07:00
Ryan Barrett c998901108 update webfinger, AS2, etc for receiving AP 2017-09-28 07:25:21 -07:00
Ryan Barrett b8bdde7cef fix tests for 3dd265d (AS2/AP tweaks for Mastodon) 2017-09-26 07:54:37 -07:00
Ryan Barrett 3dd265d741 more AS2/AP tweaks for Mastodon. likes and reposts aka boosts now work! 2017-09-26 07:36:46 -07:00
Ryan Barrett a27d89091b port activitypub AS2 conversion to granary 2017-09-24 17:03:03 -07:00
Ryan Barrett 601bfde5c7 even more AS2-isms for ActivityPub interop with Mastodon 2017-09-24 16:50:24 -07:00
Ryan Barrett 53cf61c980 more AS2-isms for ActivityPub interop with Mastodon 2017-09-20 18:05:33 -07:00
Ryan Barrett b123088158 activitypub: implement HTTP Signatures using httpsig library
thanks @ahknight!
2017-09-19 09:15:51 -07:00
Ryan Barrett 2320f1ce1e salmon: return 400 if target post has no Atom version 2017-09-14 06:52:18 -07:00
Ryan Barrett dbc009b3ce minor test fixes: MagicKey id is back to domain w/o username 2017-09-12 09:29:24 -07:00
Ryan Barrett 51b92c2d81 hubzilla interop: working locally! 2017-09-06 16:13:17 -07:00
Ryan Barrett 888868513c kroeg interop: handle actor/attributedTo w/inbox but no url 2017-09-04 21:16:40 -07:00
Ryan Barrett 0d4cc32d78 bug fix for attempting interop with quitter
atom author elements don't have email field
2017-09-03 16:01:52 -07:00
Ryan Barrett fb977c5f52 mastodon interop: webmention cleanup, tests 2017-09-03 15:26:41 -07:00
Ryan Barrett 76af3231e7 mastodon interop: got webmention => salmon slap to mastodon working!
TODO: lots of cleanup and tests
2017-09-03 12:20:37 -07:00
Ryan Barrett 00b2cd4a51 activitypub: singular inReplyTo, also cc in reply to url
trying to interoperate with https://distbin.com/ . still not there yet.
2017-08-26 16:04:31 -07:00
Ryan Barrett c9090401b0 misc tweaks after testing against distbin, mastodon, etc
- salmon: use top-level <entry>, not <feed>
- activitypub: actor and attributedTo are objects, not string URLs
- activitypub: cc public audience
- activitypub: use inbox in target post object if available
etc...
2017-08-26 15:20:54 -07:00
Ryan Barrett f6deddeb96 translate incoming webmentions to outgoing salmon slaps 2017-08-23 18:41:21 -07:00
Ryan Barrett 23180c7db0 add /wm/... URL proxy that injects our webmention endpoint 2017-08-15 12:02:02 -07:00
Ryan Barrett 04e65d612d add webmention endpoint and conversion to AP inbox delivery 2017-08-15 08:39:32 -07:00