Wykres commitów

74 Commity (55d5206188603b3a4e9904e8fffa4ca50a109462)

Autor SHA1 Wiadomość Data
Stephen Paul Weber 38ff56e3cc Use the acct: URI for this domain, if in h-card
This allows users to choose their own username for their webfinger ID.

Closes #3
2018-04-16 11:10:03 -05:00
Ryan Barrett d0ac9246a8 granary-demo.appspot.com 2017-11-25 15:42:53 -08: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 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 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 c47e07ab94 webfinger: check domain home page too; preserve port in MagicKey domain 2017-10-04 09:12:08 -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 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 86c6934a98 webfinger: settle on 'me' username, just domain in paths 2017-09-12 09:07:37 -07:00
Ryan Barrett b613eaa3b4 friendica interop: got close! details in friendica/friendica#3696 2017-09-12 06:42:09 -07:00
Ryan Barrett 51b92c2d81 hubzilla interop: working locally! 2017-09-06 16:13:17 -07:00
Ryan Barrett eb774064b3 fix webfinger handler, require username in acct: URI 2017-09-03 15:44:01 -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 bbf8839822 webfinger: handle /.well-known/webfinger, salmon link bug fix 2017-08-27 12:18:05 -07:00
Ryan Barrett 96df69025e webfinger: add self, salmon links 2017-08-19 19:46:53 -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 a0e6d0c5d0 in progress checkpoint for webfinger, halfway done 2017-08-19 09:24:00 -07:00
Ryan Barrett 6ddd1d66d9 start on webfinger 2017-08-19 08:21:05 -07:00