Ryan Barrett
c2f7d65657
docs: drop todos for hosted blog silos
2017-10-07 18:19:31 -05:00
Ryan Barrett
aa48286e73
first pass at full docs
...
also add fragmention.js
2017-10-07 18:00:21 -05:00
Ryan Barrett
41cf159595
activitypub: minor log message bug fix
2017-10-04 16:59:23 -07: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
4f79e6ebd5
incoming activitypub: return 400 for non-replies (likes etc)
...
for #4
2017-10-04 09:07:29 -07:00
Ryan Barrett
a21c94b0f7
mastodon AP interop: add preferredUsername
...
details in https://github.com/tootsuite/mastodon/issues/4906#issuecomment-333680170
2017-10-02 16:53:18 -07:00
Ryan Barrett
1782370f5e
as2: id and type, not @id or @type
...
goes with snarfed/granary@bb6d831c0e
2017-10-01 21:45:00 -07:00
Ryan Barrett
9400b0ee80
mastodon interop: ensure preferredUsername and id
2017-10-01 21:43:18 -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
4284ef830d
only add AP AS2 publicKey field to Person type; add test
2017-10-01 07:10:12 -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
8e2406caa4
add_webmention: unquote input URL
2017-10-01 07:00:32 -07:00
Ryan Barrett
fcef1e84ec
switch from request.host_url to appengine_config.HOST_URL
...
...because for requests that were redirected, request.host_url would sometimes lose port. no clue how or why.
e.g. testing mastodon interop locally with me@www.brid.gy, mastodon would fetch
https://www.brid.gy/.well-known/webfinger?resource=acct:me@www.brid.gy
which would 302 redirect to
http://localhost:8080/.well-known/webfinger?resource=acct:me@www.brid.gy
and in that request, request.host_url would be http://localhost . but if i curled that second webfinger URL directly, request.host_url would be http://localhost:8080 . weird.
2017-09-30 07:56:40 -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
c1aff22a55
don't upload pycrypto, since it's built into app engine
2017-09-20 17:41:11 -07:00
Ryan Barrett
b123088158
activitypub: implement HTTP Signatures using httpsig library
...
thanks @ahknight!
2017-09-19 09:15:51 -07:00
Ryan Barrett
2699de6903
add MagicKey.private_pem() and public_pem()
2017-09-19 09:15:34 -07:00
Ryan Barrett
d5587b3e81
start on user docs
2017-09-14 07:51:50 -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
db8e4249d8
webfinger: discover and return PuSH hub header links
2017-09-13 07:48:32 -07:00
Ryan Barrett
1ff70ffa51
webfinger: use site's own atom feed if available
2017-09-13 07:05:30 -07:00
Ryan Barrett
d265b61f41
drop unnecessary test todos for content-type
2017-09-13 06:48:04 -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
86c6934a98
webfinger: settle on 'me' username, just domain in paths
2017-09-12 09:07:37 -07:00
Ryan Barrett
5bb62f4021
use future unicode string literals, drop u qualifier
2017-09-12 07:31:18 -07:00
Ryan Barrett
b613eaa3b4
friendica interop: got close! details in friendica/friendica#3696
2017-09-12 06:42:09 -07:00
Ryan Barrett
e16c455ec2
update host-meta templates to return webfinger/LRDD links
2017-09-12 06:39:30 -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
bd5243d3ae
readme: add activitypub details for kroeg, mastodon, hubzilla
2017-09-04 18:09:15 -07:00
Ryan Barrett
ac444b0c2c
add ostatus and activitypub logos to right of header
...
i gave up on trying to make a combined logo that looks good :P
2017-09-03 22:50:14 -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
eb774064b3
fix webfinger handler, require username in acct: URI
2017-09-03 15:44:01 -07:00
Ryan Barrett
fb977c5f52
mastodon interop: webmention cleanup, tests
2017-09-03 15:26:41 -07:00
Ryan Barrett
4dd8f7e1a7
mastodon interop: salmon + activitypub + webfinger cleanup, tests
2017-09-03 13:03:31 -07:00
Ryan Barrett
b975d68a72
mastodon interop: webfinger cleanup, tests
2017-09-03 12:35:18 -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
90c1a60688
fix salmon URL route
2017-08-27 12:20:59 -07:00
Ryan Barrett
bbf8839822
webfinger: handle /.well-known/webfinger, salmon link bug fix
2017-08-27 12:18:05 -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
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