Wykres commitów

141 Commity (dcc6b9d23b9e046825cc828fb99a23f87384032c)

Autor SHA1 Wiadomość Data
Ryan Barrett dcc6b9d23b minor tweak to fix /log 2017-10-26 17:31:40 -07:00
Ryan Barrett 29fb93ca92 change username from 'me' to web site domain
for #3, tootsuite/mastodon#5523
2017-10-26 17:07:57 -07:00
Ryan Barrett 92798bc434 webmention: refactor storing Responses so we can do it earlier 2017-10-26 12:31:04 -07:00
Ryan Barrett 98cc01d6ae fix /responses template for jinja 2.6
...since that's what's on app engine. https://cloud.google.com/appengine/docs/standard/python/tools/built-in-libraries-27
2017-10-26 11:10:29 -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 22ca3e64a6 add /responses page with links to raw logs
log handler itself is next.
2017-10-25 18:33:11 -07:00
Ryan Barrett cf1f4122ec log more json response bodies 2017-10-24 18:31:13 -07:00
Ryan Barrett a1a66c2f24 fix logging for failed outbound HTTP requests
also disable logging full parsed mf2 in activitypub actor handler.
2017-10-24 18:27:07 -07:00
Ryan Barrett 786173d270 activitypub: point actor ids to bridgy fed, not source web site
...since we want to serve them as AS2.

for tootsuite/mastodon#5500
2017-10-23 21:57:08 -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 7dcbd9f107 minor fixes to a couple log msges 2017-10-23 21:02:07 -07:00
Ryan Barrett 93e5a79ba9 minor doc tweaks 2017-10-22 21:29:08 -07:00
Ryan Barrett 2cbef9f755 docs: example post links, mastodon and hubzilla details 2017-10-22 20:39:41 -07:00
Ryan Barrett f2a422fa0b when we can't fetch AS2, demote log level to INFO 2017-10-22 15:59:51 -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 530969da1b use non-unicode strings for Content-Type values
...because App Engine's wsgi.py requires header values to be str, not unicode.

also improve logic for whether to log HTTP response bodies.
2017-10-20 18:05:51 -07:00
Ryan Barrett b7007a4521 fetching AS2: handle Content-Type with charset suffix 2017-10-20 17:35:11 -07:00
Ryan Barrett c76cb22569 misc README updates 2017-10-20 17:34:53 -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 e985516dc3 return parsed JSON from common.get_as2(); use it in activitypub 2017-10-20 07:13:04 -07:00
Ryan Barrett 527ca5585b add common.get_as2() 2017-10-20 07:01:38 -07:00
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