Phase 3-5 of ActivityPub integration: - Federation handlers: post.published, calendar_entry.created, product.listed → publish_activity() for AP outbox - AP delivery handler: federation.activity_created → sign + POST to follower inboxes with HTTP Signatures - IPFS storage wired into publish_activity() (best-effort) - Anchoring utility: merkle trees + OpenTimestamps Bitcoin timestamping Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
516 B
Python
11 lines
516 B
Python
"""Shared event handlers (replaces glue.setup.register_glue_handlers)."""
|
|
|
|
|
|
def register_shared_handlers():
|
|
"""Import handler modules to trigger registration. Call at app startup."""
|
|
import shared.events.handlers.container_handlers # noqa: F401
|
|
import shared.events.handlers.login_handlers # noqa: F401
|
|
import shared.events.handlers.order_handlers # noqa: F401
|
|
import shared.events.handlers.federation_handlers # noqa: F401
|
|
import shared.events.handlers.ap_delivery_handler # noqa: F401
|