f4db518167
feat(domain): add ApiKeyService, EngagementRepository ports; extend UserReader with list_paginated + find_by_ids
2026-05-16 10:59:32 +02:00
0592861edd
refactor: 5 architectural improvements (Tasks 2-5 + Task 6 fix)
...
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m2s
test / unit (pull_request) Successful in 16m19s
test / integration (pull_request) Failing after 17m15s
- feat(domain): Hashtag value object with canonical extract() — unifies two
divergent private implementations; fields pre-compute raw/normalized/url_slug/ap_name
- feat(presentation): Deps<S: FromAppState> extractor — each handler now
declares its exact dependency surface; AppState unchanged; handlers
become unit-testable without mocking all 20 deps
- refactor(feed): replace 5 flat FeedRepository methods with FeedQuery/FeedScope
— single query() method; SQL shared logic lives once; adding feed types
no longer requires 5 edits
- refactor(activitypub): ActivityPubRepository + OutboundFederationPort moved
out of domain::ports into activitypub-base::ap_ports — domain crate no
longer knows about AP IDs, inboxes, or actor URLs
- fix(outbox): OutboxRelay now opens a per-row transaction so FOR UPDATE
SKIP LOCKED actually holds the lock during publish + mark_delivered
2026-05-15 18:54:20 +02:00
6024a65060
feat(infra): transactional outbox — OutboxWriter port, PgOutboxWriter, OutboxRelay, TestOutbox; update create_thought + delete_thought
2026-05-15 18:31:57 +02:00
3f6b91c943
refactor(ports): ActivityPubRepository takes &str instead of url::Url — infra type stays in adapter
2026-05-15 14:06:33 +02:00
189901b778
refactor(ports): CQRS split — FederationActionPort into four focused sub-ports
2026-05-15 13:49:58 +02:00
8ed7f3d5bc
refactor(ports): CQRS split — UserRepository = UserReader + UserWriter supertrait
2026-05-15 13:43:43 +02:00
a902154777
refactor(domain): remove FetchRemoteActorPosts/FetchActorConnections from DomainEvent; add FederationSchedulerPort
2026-05-15 13:28:19 +02:00
e935c8973e
refactor(domain): remove ap_id/inbox_url from User and Thought; use ActivityPubRepository lookups
2026-05-15 13:21:21 +02:00
bf3e336d0f
feat(ports): add get_thought_ap_id and get_actor_ap_urls to ActivityPubRepository
2026-05-15 13:09:37 +02:00
6273635aeb
feat: implement unread notification count and enhance user listing with pagination
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m33s
test / unit (pull_request) Successful in 16m24s
test / integration (pull_request) Failing after 16m52s
2026-05-15 12:04:00 +02:00
ca1ebc4b68
feat(ap): broadcast Update(Actor) when user updates their profile
2026-05-15 05:32:25 +02:00
09bebf7dc9
fix: store in_reply_to on remote notes + use full handle in federation component links/actions
2026-05-15 05:09:44 +02:00
6d365dd3cf
feat(domain): add broadcast_like/broadcast_undo_like to OutboundFederationPort
2026-05-15 04:47:19 +02:00
1b0bb911a0
feat(domain): add federation management methods to FederationActionPort
2026-05-15 03:35:58 +02:00
031a22514d
feat: implement remote unfollow — wire FederationActionPort through delete_follow handler
2026-05-15 02:46:24 +02:00
e83b08fcc8
fix: remote actor display names in thought cards — use last URL segment as username, resolve display_name after intern
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m13s
test / unit (pull_request) Successful in 15m56s
test / integration (pull_request) Failing after 17m29s
2026-05-15 01:04:42 +02:00
99dd89b60d
feat(domain): ActorConnectionSummary, ConnectionType, RemoteActorConnectionRepository, FetchActorConnections event
2026-05-15 00:25:54 +02:00
70fc4fbcd0
feat(domain): RemoteActor fields, RemoteNote, FetchRemoteActorPosts event, fetch_outbox_page port
2026-05-14 22:08:26 +02:00
908789e639
fix: content negotiation for followers/following — resolve AP router conflict
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m28s
test / unit (pull_request) Failing after 11m39s
test / integration (pull_request) Failing after 17m5s
2026-05-14 21:42:38 +02:00
57110f3b75
feat(domain): add actor_json to FederationActionPort
2026-05-14 20:46:10 +02:00
82f8772104
feat(domain): FederationActionPort trait + avatar_url on RemoteActor
2026-05-14 19:55:10 +02:00
8602614e7c
fix(ap): visibility-aware addressing — correct to/cc outbound, parse inbound to/cc
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m25s
test / unit (pull_request) Successful in 16m39s
test / integration (pull_request) Failing after 17m35s
2026-05-14 19:34:43 +02:00
10c4a66de5
Refactor handlers and OpenAPI documentation for improved readability and consistency
...
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 6m49s
test / unit (pull_request) Successful in 16m24s
test / integration (pull_request) Failing after 17m7s
- Reorganized imports in health, notifications, social, thoughts, and users handlers for clarity.
- Updated function signatures in handlers to improve readability by aligning parameters.
- Enhanced JSON response formatting in notifications and thoughts handlers.
- Improved error handling in user-related functions.
- Refactored OpenAPI documentation to maintain consistent formatting and structure.
- Cleaned up unnecessary code and comments across various files.
- Ensured consistent use of `Arc` for shared state in AppState and WorkerHandlers.
2026-05-14 16:28:57 +02:00
970f5a1644
fix: move user_feed to FeedRepository — proper counts and viewer flags for user timelines
2026-05-14 16:06:38 +02:00
cc9658975f
fix: tag feed returns full FeedEntry with author and counts
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m2s
test / unit (pull_request) Successful in 16m3s
test / integration (pull_request) Failing after 16m59s
2026-05-14 15:43:02 +02:00
eb7dbb0aee
feat: GET /users (search/list) and GET /users/count
2026-05-14 15:34:37 +02:00
b0b3c6a59b
feat: BoostRemoved → Undo(Announce) fan-out via OutboundFederationPort
2026-05-14 14:10:11 +02:00
925856f6b8
feat(domain): OutboundFederationPort — thin AP broadcast abstraction
2026-05-14 13:32:23 +02:00
5f8e96b9be
feat(domain): ActivityPubRepository port with federation vocabulary
2026-05-14 10:52:35 +02:00
a3534317de
feat(domain): SearchPort trait with thought and user search
2026-05-14 09:23:22 +02:00
80b656341d
feat(domain): ports, events, test helpers
2026-05-14 03:23:42 +02:00
4b8d1027c1
feat(domain): models
2026-05-14 03:18:49 +02:00