]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
PuSH 0.4: No outgoing 'sync' verifications. Feed renewal script. No auto-renewal.
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 2 Nov 2013 19:02:28 +0000 (20:02 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 2 Nov 2013 19:02:28 +0000 (20:02 +0100)
commitab4113168f32c46946b20674c80ec79c19dbccd7
tree7d80757024b503dbc559196c0d9cee3902cd65b6
parent2cecfe8f82b18d18da884ada694b3ffdc9f22850
PuSH 0.4: No outgoing 'sync' verifications. Feed renewal script. No auto-renewal.

Among other things (such as permanent subscriptions), Pubsubhubbub 0.4
removed the "sync" verification method. This means that any incoming
PuSH subscription requests that follow the 0.4 spec won't really
_require_that we handle it as a background process, but if we were to
try direct verification of the subscription - and fail - there's no way
we could  pick up the ball again. So _essentially_ we require background
processing with retries.

This means we must implement something like the "poorman cron" or
similar, so background processing can be handled
on-demand/on-site-visit. This is how Friendica, Drupal etc. handles it
and is necessary for environments where we can't run separate queue
daemons.

When the poorman-cron-ish thing is implemented, auto-renewal will work
for all users.

PuSH 0.4 spec:
    https://pubsubhubbub.googlecode.com/git/pubsubhubbub-core-0.4.html
More on PuSH 0.4 release (incl. breaking changes):
    https://groups.google.com/forum/#!msg/pubsubhubbub/7RPlYMds4RI/2mIHQTdV3aoJ
plugins/OStatus/actions/pushcallback.php
plugins/OStatus/actions/pushhub.php
plugins/OStatus/classes/FeedSub.php
plugins/OStatus/classes/HubSub.php
plugins/OStatus/scripts/renew-feeds.php [new file with mode: 0644]