Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dispatcher to use Outbox (#1186)
* rename dispatcher * Simple dispatcher based on the Outbox-Collection This is a simple rewrite of the current dispatcher system, to use the Outbox instead of the Scheduler. This is a first draft and will be improved over time, to better handle: * Re-tries * Errors * Logging * Batch processing * update changelog * mark post as `publish` after federation id done * show only published activities * fix missing rename * use pending instead of draft * do not check for post_status * fix tests props @obenland * Send `Update`s to Blog Actor in dual mode * Update includes/class-dispatcher.php Co-authored-by: Konstantin Obenland <[email protected]> * Update includes/class-dispatcher.php Co-authored-by: Konstantin Obenland <[email protected]> * Update includes/rest/class-outbox-controller.php Co-authored-by: Konstantin Obenland <[email protected]> * Check if Activity should be sent to followers * the unique check will be done `send_activity_to_followers` * fix tests * fix PHPCS * move scheduler behind action * Add `private` visibility * Add Announce activity * Announce the full object! * fix indent * Update includes/transformer/class-base.php Co-authored-by: Konstantin Obenland <[email protected]> * add doc-block * only boost content not profile updates * Also handle `Delete` when bundling Blog Actor inboxes * Update docs * Avoid activitypub_actor_mode bleeding into other tests * Fix comments tests * Account for inheritance in Activity objects * Move hook to the right place * fix typo! * trigger scheduler * Fix tests --------- Co-authored-by: Matt Wiebe <[email protected]> Co-authored-by: Konstantin Obenland <[email protected]>
- Loading branch information