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 32d9e2bf6c
move common.error() to webutil.flask_util
corresponds to snarfed/webutil@10c088cebd
2021-08-06 11:01:58 -07:00
Ryan Barrett e1aace0655
flask: use new regex URL route converter 2021-07-12 14:25:00 -07:00
Ryan Barrett 371a92a5db
flask: port XrdOrJrdHandler, finish porting webfinger 2021-07-11 16:30:14 -07:00
Ryan Barrett b8be570d66
flask: port activitypub 2021-07-10 08:07:40 -07:00
Ryan Barrett f26aed5cbb
flask: port salmon 2021-07-08 22:50:33 -07:00
Ryan Barrett 8af4571648
handle django-salmon port to pycryptodome
in snarfed/django-salmon@76f31ed25c
2020-10-31 13:23:36 -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 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 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 bb9294ea51 tell common.error() explicitly when to include exc_info 2017-10-17 11:47:01 -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 73ac7ba1e7 unify webmention sending from salmon and activitypub into common 2017-10-16 09:13:55 -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 a11d6745a9 switch incoming salmon/activitypub to overwrite Response 2017-10-12 23:13:54 -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
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 4dd8f7e1a7 mastodon interop: salmon + activitypub + webfinger cleanup, tests 2017-09-03 13:03:31 -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 90c1a60688 fix salmon URL route 2017-08-27 12:20:59 -07:00
Ryan Barrett f6deddeb96 translate incoming webmentions to outgoing salmon slaps 2017-08-23 18:41:21 -07:00
Ryan Barrett 0fe3e7c3d4 salmon: add spec links 2017-08-20 11:35:14 -07:00
Ryan Barrett a31bd509ec finish first pass at converting incoming salmon slaps to webmentions 2017-08-20 11:33:10 -07:00
Ryan Barrett a089bc78f5 start on salmon; in progress checkpoint 2017-08-20 07:29:26 -07:00