feat: v2 rewrite — hexagonal arch, ActivityPub federation, NATS, deployment-ready #1

Merged
GKaszewski merged 334 commits from v2 into master 2026-05-16 09:42:43 +00:00
Showing only changes of commit a040a38036 - Show all commits

View File

@@ -16,7 +16,6 @@ use crate::{
content::ApObjectHandler, content::ApObjectHandler,
data::FederationData, data::FederationData,
federation::ApFederationConfig, federation::ApFederationConfig,
followers_handler::{followers_handler, following_handler},
inbox::inbox_handler, inbox::inbox_handler,
nodeinfo::{nodeinfo_handler, nodeinfo_well_known_handler}, nodeinfo::{nodeinfo_handler, nodeinfo_well_known_handler},
outbox::outbox_handler, outbox::outbox_handler,
@@ -275,8 +274,6 @@ impl ActivityPubService {
.route("/inbox", post(inbox_handler)) .route("/inbox", post(inbox_handler))
.route("/users/{id}/inbox", post(inbox_handler)) .route("/users/{id}/inbox", post(inbox_handler))
.route("/users/{id}/outbox", get(outbox_handler)) .route("/users/{id}/outbox", get(outbox_handler))
.route("/users/{id}/followers", get(followers_handler))
.route("/users/{id}/following", get(following_handler))
.layer(self.federation_config.middleware()) .layer(self.federation_config.middleware())
} }