Ryan Barrett
|
f8dca4c7d1
|
upgrade Jinja2 from 2.6 to 2.10 for a security patch
thanks for reporting @VersionEye!
https://www.versioneye.com/user/projects/5a1c7e860fb24f21d9970c00
|
2018-01-04 11:03:33 -08:00 |
Ryan Barrett
|
78064865c0
|
don't email me on webmentions from localhost :P
|
2017-12-26 20:15:28 -08:00 |
Ryan Barrett
|
be2ea6ad28
|
webmention: if u-url is missing, default to source url
AS2 id, which is required for ActivityPub, comes from u-url, so we always need one.
fixes #20
|
2017-12-12 18:07:12 -08:00 |
Ryan Barrett
|
a67e44f110
|
add requirements.freeze.text for requires.io
|
2017-11-28 13:43:21 -08:00 |
Ryan Barrett
|
d0ac9246a8
|
granary-demo.appspot.com
|
2017-11-25 15:42:53 -08:00 |
Ryan Barrett
|
da4873fc64
|
activitypub: cc all original recipients (in to and cc)
|
2017-11-05 15:50:23 -08:00 |
Ryan Barrett
|
2c2654d1f8
|
docs: details on advertising websub hub in atom
|
2017-10-27 07:27:57 -07:00 |
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 |