Add display_name field to DbActor, populated from AP Person.name in from_json. Expose LookedUpActor type and lookup_actor_by_handle method on ActivityPubService — uses the existing signed webfinger_https path so strict instances (Threads, etc.) return full actor data.
29 lines
733 B
Rust
29 lines
733 B
Rust
pub mod activities;
|
|
pub mod actor_handler;
|
|
pub mod actors;
|
|
pub mod content;
|
|
pub mod data;
|
|
pub mod error;
|
|
pub mod federation;
|
|
pub mod followers_handler;
|
|
pub mod inbox;
|
|
pub mod nodeinfo;
|
|
pub mod outbox;
|
|
pub mod repository;
|
|
pub mod service;
|
|
pub(crate) mod urls;
|
|
pub mod user;
|
|
pub mod webfinger;
|
|
|
|
pub use urls::AS_PUBLIC;
|
|
pub use activitypub_federation::kinds::object::NoteType;
|
|
pub use content::ApObjectHandler;
|
|
pub use data::FederationData;
|
|
pub use error::Error;
|
|
pub use federation::ApFederationConfig;
|
|
pub use repository::{
|
|
BlockedDomain, FederationRepository, Follower, FollowerStatus, FollowingStatus, RemoteActor,
|
|
};
|
|
pub use service::ActivityPubService;
|
|
pub use user::{ApProfileField, ApUser, ApUserRepository, LookedUpActor};
|