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
541d97d2a4
test_salmon: use current time to pass signature verification
2017-08-26 15:18:33 -07:00
Ryan Barrett
f7c3a357b2
tests: use new testutil.requests_response()
2017-08-24 09:41:50 -07:00
Ryan Barrett
779b62c837
unify app engine testbed setup/teardown into testutil.TestCase
2017-08-23 23:24:47 -07:00
Ryan Barrett
f6deddeb96
translate incoming webmentions to outgoing salmon slaps
2017-08-23 18:41:21 -07:00
Ryan Barrett
a31bd509ec
finish first pass at converting incoming salmon slaps to webmentions
2017-08-20 11:33:10 -07:00
Ryan Barrett
a089bc78f5
start on salmon; in progress checkpoint
2017-08-20 07:29:26 -07:00
Ryan Barrett
96df69025e
webfinger: add self, salmon links
2017-08-19 19:46:53 -07:00
Ryan Barrett
f0fe11dc9a
webfinger: test that magic keys are persistent
2017-08-19 13:36:52 -07:00
Ryan Barrett
26efa299d6
webfinger: preserve order of u-urls from h-card
2017-08-19 13:34:06 -07:00
Ryan Barrett
b7daa0e4ee
400 when we can't find a representative h-card
2017-08-19 13:31:06 -07:00
Ryan Barrett
d7d503ae29
finish first pass at webfinger
2017-08-19 13:20:53 -07:00
Ryan Barrett
7ddf93adda
from __future__ import unicode_literals
...
makes test asserts easier to read (no diffs btw u' and ')
2017-08-19 13:10:05 -07:00
Ryan Barrett
c1c99c6ca5
minor activitypub bug fix (default http, not https) and test improvements
2017-08-19 12:29:10 -07:00
Ryan Barrett
a0e6d0c5d0
in progress checkpoint for webfinger, halfway done
2017-08-19 09:24:00 -07:00
Ryan Barrett
5499e06a6b
MagicKey: generate data: URI for href value
...
also fix indentation
2017-08-19 09:15:29 -07:00
Ryan Barrett
ba1d49ffa3
add MagicKey datastore model
2017-08-19 08:36:55 -07:00
Ryan Barrett
6ddd1d66d9
start on webfinger
2017-08-19 08:21:05 -07:00
Ryan Barrett
ec348a46bb
add ?endpoint query param to /wm/ proxy
2017-08-15 12:04:38 -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
Ryan Barrett
576410005b
extract out requests.get() and user agent header into new common.py file
2017-08-14 23:07:24 -07:00
Ryan Barrett
94c04d41d3
activitypub inbox: accept POSTs, convert to outbound webmention
2017-08-13 14:49:35 -07:00
Ryan Barrett
60a3f7b1cb
activitypub actor endpoint: fetch mf2, convert to AS
2017-08-13 00:12:16 -07:00