Ryan Barrett
7ca72a1b36
fix error handling in common.requests_*()
...
it can't use common.error() because it doesn't have a handler object.
2017-10-18 22:47:03 -07:00
Ryan Barrett
3922d54359
outbound salmon: fix like and repost support
2017-10-17 18:39:15 -07:00
Ryan Barrett
bb9294ea51
tell common.error() explicitly when to include exc_info
2017-10-17 11:47:01 -07:00
Ryan Barrett
fff036b5e6
docs: remove extra slash from nginx redirect
...
fixes #15
2017-10-17 10:47:39 -07:00
Ryan Barrett
3fa976a197
docs: add fedsocnet supported versions
2017-10-17 10:45:30 -07:00
Ryan Barrett
8b99b5b9b5
docs: move "which sites are supported?" up
2017-10-17 07:21:23 -07:00
Ryan Barrett
86928f1be9
add docs on how to follow and be followed in fedsocnets
...
fixes #14
2017-10-17 07:14:45 -07:00
Ryan Barrett
a520fe8462
pass 4xx and 5xx responses from fedsocnets through to client
...
cc @mblaney
2017-10-16 22:27:54 -07:00
Ryan Barrett
bf0897ba81
activitypub and salmon: return 501 on unsupported activity type
2017-10-16 22:21:13 -07:00
Ryan Barrett
02f1e67cf9
salmon: return 400 on bad XML
...
also handle URL path with just domain, e.g. /snarfed.org/salmon
2017-10-16 22:02:37 -07:00
Ryan Barrett
ad01716fda
fix /ACCT/salmon URL routing regexp in app.yaml
2017-10-16 21:54:58 -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
c35df19a2b
home page: add fedsocnet logos
...
just mastodon and hubzilla for now
2017-10-16 18:05:15 -07:00
Ryan Barrett
52ee8f8c54
webmention: fix email subject
2017-10-16 17:33:38 -07:00
Ryan Barrett
c5c05f3acb
mastodon and hubzilla logotype images
...
from:
https://joinmastodon.org/press-kit.zip
https://hackernoon.com/m-for-mastodon-4269c0bf6c8b
https://github.com/tootsuite/mastodon/issues/962
https://github.com/redmatrix/hubzilla/tree/master/images
2017-10-16 17:33:13 -07:00
Ryan Barrett
1456b9c85d
home page: drop Get Started button, show docs immediately
2017-10-16 15:09:35 -07:00
Ryan Barrett
73ac7ba1e7
unify webmention sending from salmon and activitypub into common
2017-10-16 09:13:55 -07:00
Ryan Barrett
38b7eb3807
docs: fix typo
2017-10-15 17:43:41 -07:00
Ryan Barrett
02ff737dac
email me (for now) whenever we get a wm
2017-10-15 17:34:21 -07:00
Ryan Barrett
9ba00d3b30
drop alpha warning banner on home page. open for business!
2017-10-15 17:34:12 -07:00
Ryan Barrett
6190f3bc0c
refactor abort() calls to use common.error()
2017-10-15 16:57:33 -07:00
Ryan Barrett
f940718790
salmon: support incoming likes and shares (reposts)
2017-10-15 16:57:05 -07:00
Ryan Barrett
f119b02f18
render: support atom
2017-10-15 10:50:01 -07:00
Ryan Barrett
c2a3444ba2
update tests for granary converting AS1 displayName to AS2 name
2017-10-12 23:16:32 -07:00
Ryan Barrett
f2fa44bfff
activitypub: fetch and include source actor if necessary
...
e.g. for likes and reposts, so that we can render them in our proxy page.
2017-10-12 23:14:46 -07:00
Ryan Barrett
269602d36b
misc doc tweaks
2017-10-12 23:14:10 -07:00
Ryan Barrett
a11d6745a9
switch incoming salmon/activitypub to overwrite Response
2017-10-12 23:13:54 -07:00
Ryan Barrett
dce33bde16
/render: fix app.yaml routing
2017-10-12 08:34:26 -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
d74e6f02dd
convert # to __ in source, target URLs in Response key ids
...
...since some fedsocnet like ids (eg Mastodon) include fragments, which webmention receivers (eg wordpress) strip from source before fetching, even when they're URL-encoded in bridgy fed proxy URLs.
also add Response.get_or_create() that handles concatenating source and target.
2017-10-11 18:08:52 -07:00
Ryan Barrett
6ef3cec71d
minor doc tweaks
2017-10-11 07:26:52 -07:00
Ryan Barrett
9a7975bf5d
activitypub: use proxy mf2 URLs for likes and reposts/boosts
...
for #4
2017-10-10 22:42:19 -07:00
Ryan Barrett
98465907ff
add new /render endpoint for rendering Responses as HTML
2017-10-10 07:42:10 -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
c34103b41a
automatically show docs if there's a fragment (ie fragmention)
2017-10-08 15:39:40 -05:00
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