Ryan Barrett
f940718790
salmon: support incoming likes and shares (reposts)
2017-10-15 16:57:05 -07:00
Ryan Barrett
a11d6745a9
switch incoming salmon/activitypub to overwrite Response
2017-10-12 23:13:54 -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
9a7975bf5d
activitypub: use proxy mf2 URLs for likes and reposts/boosts
...
for #4
2017-10-10 22:42:19 -07:00
Ryan Barrett
2699de6903
add MagicKey.private_pem() and public_pem()
2017-09-19 09:15:34 -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
779b62c837
unify app engine testbed setup/teardown into testutil.TestCase
2017-08-23 23:24:47 -07:00
Ryan Barrett
7ddf93adda
from __future__ import unicode_literals
...
makes test asserts easier to read (no diffs btw u' and ')
2017-08-19 13:10:05 -07:00
Ryan Barrett
5499e06a6b
MagicKey: generate data: URI for href value
...
also fix indentation
2017-08-19 09:15:29 -07:00
Ryan Barrett
ba1d49ffa3
add MagicKey datastore model
2017-08-19 08:36:55 -07:00