Wykres commitów

28 Commity (96dba41c9b860da838624a6a44864814d690f609)

Autor SHA1 Wiadomość Data
Ryan Barrett 96dba41c9b
logging: use separate loggers for each module with their names 2022-02-11 22:38:56 -08:00
Ryan Barrett 4eaf70aa51
add 'ignored' status for AP requests where the target has no webmention endpoint 2022-01-11 22:40:44 -08:00
Ryan Barrett 2f28be09be
convert %-formatted strings with args in logging.* calls to f-strings 2021-12-27 22:45:57 -08:00
Ryan Barrett 40ad6a4afa
move handle_exception and default_modern_headers to webutil
corresponds to snarfed/webutil@cdcaa3e897
2021-07-27 21:58:05 -07:00
Ryan Barrett f26aed5cbb
flask: port salmon 2021-07-08 22:50:33 -07:00
Ryan Barrett df6b0b58ba
unify request handler classes and handle_exception; move away from HOST[_URL]
fixes:
* https://console.cloud.google.com/errors/CN68rO-5sOK9cQ
* https://console.cloud.google.com/errors/CJWCu8b5_ureAg
* https://console.cloud.google.com/errors/CN6W4Zy7irzgOA
* https://console.cloud.google.com/errors/CN278MyjhZbtOQ
2020-01-31 14:40:11 -08:00
Ryan Barrett ee7b324525
bring back HOST_URL override to fed.brid.gy, for URLs emitted into AP 2019-12-26 18:18:44 -08:00
Ryan Barrett 02d36b3b1f
migrate to the app engine standard python 3 runtime!
https://cloud.google.com/appengine/docs/standard/python3/python-differences
https://cloud.google.com/appengine/docs/standard/python/migrate-to-python3/
2019-12-25 22:26:26 -08:00
Ryan Barrett 4b70a89046
handle AP Undo of Follow
needed for eg mastodon when you unfollow and then try to refollow someone. on unfollow, mastodon sends an Undo, and waits for a 200 before it shows success and will let you refollow.
2019-08-01 10:32:50 -07:00
Ryan Barrett 7c10585ad3
/response logs, once more with feeling 2019-04-18 11:18:14 -07:00
Ryan Barrett 7a94537721
/responses: link logs for all requests, not just webmention => fed 2019-04-16 14:19:16 -07:00
Ryan Barrett 2cb0dda2d1
webmention => AP: Create: handle Follower with actor URL instead of object
we don't create these any more, we always fetch and store full actor objects, but we have a few old ones lying around in the prod datastore.

for #33
2018-11-20 08:37:57 -08:00
Ryan Barrett 11c66cfd3e
webmention => AP: fix AP replies etc after big Create refactoring
for #33
2018-11-20 08:24:29 -08:00
Ryan Barrett 2bb418dc72
webmention => AP support for u-follow-of => Follow 2018-10-24 21:28:52 -07:00
Ryan Barrett abc5ecd919
AP Follow: store users' followers in the datastore
#21
2018-10-21 17:37:33 -07:00
Ryan Barrett dcc6b9d23b minor tweak to fix /log 2017-10-26 17:31:40 -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 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 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 19a686edc3 store responses in new Response datastore model 2017-10-09 19:29:50 -05:00
Ryan Barrett 71f0a4c8d4 AP: add publicKey to actor object
needed for mastodon interop
2017-10-01 07:01:35 -07:00
Ryan Barrett 2699de6903 add MagicKey.private_pem() and public_pem() 2017-09-19 09:15:34 -07:00
Ryan Barrett 5bb62f4021 use future unicode string literals, drop u qualifier 2017-09-12 07:31:18 -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