noop: TODO in Protocol.receive_task to use it for web/AP too

pull/642/head
Ryan Barrett 2023-09-19 11:47:43 -07:00
rodzic df95e41a68
commit 8e15a7559d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -973,6 +973,12 @@ def receive_task():
* obj: urlsafe :class:`ndb.Key` of the :class:`Object` to handle
* user: urlsafe :class:`ndb.Key` of the :class:`User` this activity is on
behalf of. This user will be loaded into `g.user`.
TODO: migrate incoming webmentions and AP inbox deliveries to this.
difficulty is that parts of Protocol.receive depend on setup in
Web.webmention and ActivityPub.inbox, eg Object with new/changed, g.user
(which receive now loads), HTTP request details, etc. see stash for attempt
at this for Web.
"""
logger.info(f'Params: {list(request.form.items())}')