e935c8973e
refactor(domain): remove ap_id/inbox_url from User and Thought; use ActivityPubRepository lookups
2026-05-15 13:21:21 +02:00
314dad5451
Refactor database error handling across repositories to use IntoDbResult for improved error management
...
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m30s
test / unit (pull_request) Successful in 16m10s
test / integration (pull_request) Failing after 16m44s
- Updated PgNotificationRepository to utilize IntoDbResult for error handling in various methods.
- Refactored PgRemoteActorRepository to replace manual error mapping with IntoDbResult.
- Modified PgRemoteActorConnectionRepository to implement IntoDbResult for error handling.
- Adjusted PgTagRepository to use IntoDbResult for consistent error management.
- Introduced test_helpers module for seeding users and thoughts in tests.
- Enhanced PgThoughtRepository to leverage IntoDbResult for error handling.
- Updated PgTopFriendRepository to utilize IntoDbResult for error management.
- Refactored PgUserRepository to implement IntoDbResult for error handling.
- Added constants for pagination defaults in requests.
- Introduced MAX_TOP_FRIENDS constant for top friends validation.
- Refactored JWT expiration time to use a constant.
- Improved rate limiter configuration with constants for better readability.
- Added utility methods for FollowState and Visibility enums for string conversions.
- Introduced maximum length constants for Username, Email, and Content value objects.
- Cleaned up test modules by removing redundant code and utilizing a shared testing state.
2026-05-15 12:31:25 +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
2a51241bb5
fix(ap): resolve parent ap_id for replies so inReplyTo is set on outbound Notes
2026-05-15 09:59:50 +02:00
6c83c193ed
feat(ap): @mention notification from inbound remote Notes
2026-05-15 05:44:10 +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
e04b08c202
feat(application): federate local likes + locality guard prevents remote boost re-broadcast
2026-05-15 04:58:38 +02:00
6d365dd3cf
feat(domain): add broadcast_like/broadcast_undo_like to OutboundFederationPort
2026-05-15 04:47:19 +02:00
8c6e259133
feat(application): federation management use cases
2026-05-15 04:08:40 +02:00
6e9b1596d8
refactor: move UUID/username routing to application use case — fix handler boundary leak
2026-05-15 03:12:52 +02:00
031a22514d
feat: implement remote unfollow — wire FederationActionPort through delete_follow handler
2026-05-15 02:46:24 +02:00
9757ebdabf
refactor(application): move local/remote follow routing out of presentation handler
2026-05-15 01:58:40 +02:00
344bcf34af
refactor(domain): move DB string conversions out of domain enums
2026-05-15 01:54:32 +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
38a13ad641
feat(worker): handle FetchActorConnections — resolve and cache remote actor connections
2026-05-15 00:40:34 +02:00
dc3afeca26
feat(worker): handle FetchRemoteActorPosts — fetch and store remote outbox notes
2026-05-14 22:23:20 +02:00
24bfda8458
feat: extract and save hashtags on thought creation
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m18s
test / unit (pull_request) Successful in 16m4s
test / integration (pull_request) Failing after 17m16s
2026-05-14 18:01:07 +02:00
68261c4b2b
fix: include own thoughts in home feed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m27s
test / unit (pull_request) Successful in 16m33s
test / integration (pull_request) Failing after 17m15s
2026-05-14 17:47:13 +02:00
550865bad4
fix: resolve all clippy warnings — redundant closures, dead code, collapsible_if, needless borrow
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 16m57s
test / integration (pull_request) Failing after 17m29s
2026-05-14 16:33:34 +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
e6f4a6256f
refactor(application): fix 4 code smells — validate username input, extract ownership guard and dedup helpers
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m12s
test / unit (pull_request) Successful in 16m23s
test / integration (pull_request) Failing after 17m26s
2026-05-14 16:27:03 +02:00
ddd9b17ed7
test(application): fill unit test gaps — api_keys, profile, auth, thoughts, social
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m7s
test / unit (pull_request) Successful in 16m2s
test / integration (pull_request) Failing after 16m57s
2026-05-14 16:19:35 +02:00
d50c13a2db
refactor: wrap direct port calls behind use cases — notifications, search, popular_tags
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m7s
test / unit (pull_request) Successful in 15m51s
test / integration (pull_request) Failing after 17m3s
2026-05-14 16:13:34 +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
ecba9267cf
fix: compute liked_by_viewer/boosted_by_viewer from DB — viewer_id was ignored in all feed queries
2026-05-14 16:03:55 +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
2485869af6
fix(activitypub-base): deterministic announce IDs so Undo(Announce) can reference original activity
2026-05-14 14:16:48 +02:00
b0b3c6a59b
feat: BoostRemoved → Undo(Announce) fan-out via OutboundFederationPort
2026-05-14 14:10:11 +02:00
eaf079069f
fix(application): gate federation broadcast on Public/Unlisted visibility only
2026-05-14 14:03:31 +02:00
83e87e644b
test(application): document user-not-found silent-skip and locality guard in FederationEventService
2026-05-14 13:44:13 +02:00
13282fc88e
feat(application): FederationEventService — content fan-out business logic
2026-05-14 13:40:10 +02:00
10605bbf2f
test(application): add self_boost_creates_no_notification test
2026-05-14 13:37:29 +02:00
2d742bdbe3
feat(application): NotificationEventService — move notification business logic out of worker
2026-05-14 13:35:20 +02:00
1127a5946f
feat: UserUnblocked + UserRegistered events, fix unblock_user and register signatures
2026-05-14 11:06:36 +02:00
f75e796faf
fix: align follow event with accepted state; redact internal error details
2026-05-14 04:10:27 +02:00
adc2102927
feat(application): all use cases
2026-05-14 03:52:36 +02:00
63a7001165
chore: scaffold v2 workspace
2026-05-14 03:07:45 +02:00