8ed7f3d5bc
refactor(ports): CQRS split — UserRepository = UserReader + UserWriter supertrait
2026-05-15 13:43:43 +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
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
5f61a71336
test(activitypub): add missing argument to test case for clarity
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m22s
test / unit (pull_request) Successful in 16m26s
test / integration (pull_request) Failing after 16m58s
2026-05-15 11:52:49 +02:00
cf6eec55da
fix(feed): append @domain to handle when remote_actors stored username-only handle (old data)
2026-05-15 10:17:13 +02:00
44e152783f
fix(feed): join remote_actors to get proper handle and avatar for remote authors
2026-05-15 10:09:14 +02:00
90dbf76753
feat(feed): include remote following posts in home feed
2026-05-15 05:47:26 +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
1a1ba3da63
refactor(domain): remove public_key/private_key from User model — managed by federation adapter
2026-05-15 02:06:06 +02:00
344bcf34af
refactor(domain): move DB string conversions out of domain enums
2026-05-15 01:54:32 +02:00
e3251b6928
fix: migrate thoughts.content VARCHAR(128) → TEXT to allow remote posts of any length
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 16m18s
test / integration (pull_request) Failing after 16m51s
2026-05-15 01:15:09 +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
d62dde67bb
feat(postgres): remote_actor_connections table + PgRemoteActorConnectionRepository
2026-05-15 00:29:33 +02:00
8b3dfffd3b
feat: followers/following links on remote profile; render remote post content as HTML
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m39s
test / unit (pull_request) Failing after 10m48s
test / integration (pull_request) Failing after 16m54s
2026-05-15 00:04:54 +02:00
fcfc1750fc
fix: truncate remote actor username to VARCHAR(32); fix outbox URL by following 'first' link
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) Failing after 10m46s
test / integration (pull_request) Failing after 16m54s
2026-05-14 23:53:33 +02:00
70fc4fbcd0
feat(domain): RemoteActor fields, RemoteNote, FetchRemoteActorPosts event, fetch_outbox_page port
2026-05-14 22:08:26 +02:00
0e45707d7e
fix(postgres): persist and read avatar_url in remote_actor adapter
2026-05-14 19:57:13 +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
a5ea97bbaa
fix: visibility-aware feeds — owner sees all, followers see followers-only, home feed includes non-public posts
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m44s
test / unit (pull_request) Successful in 16m12s
test / integration (pull_request) Failing after 16m59s
2026-05-14 18:18:42 +02:00
5c9acdecc1
fix(postgres): get_thread uses recursive CTE — fetches all nested replies not just direct ones
lint / lint (push) Has been cancelled
test / integration (push) Has been cancelled
test / unit (push) Has been cancelled
lint / lint (pull_request) Failing after 9m18s
test / unit (pull_request) Successful in 16m9s
test / integration (pull_request) Failing after 17m5s
2026-05-14 17:56:03 +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
004bfb427b
feat: implement merge readiness plan to close gaps between v2 and v1
...
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m8s
test / unit (pull_request) Successful in 16m18s
test / integration (pull_request) Failing after 16m59s
- Task 1: Fix feed response hydration by adding `to_thought_response` helper and updating feed handlers to return full `ThoughtResponse`.
- Task 2: Wire follower/following REST routes for user feeds.
- Task 3: Add user listing and count endpoints, including `GET /users` and `GET /users/count`.
- Task 4: Implement popular tags feature with `GET /tags/popular`.
- Task 5: Enhance configuration with HOST, CORS_ORIGINS, and optional rate limiting using tower-governor.
2026-05-14 16:28:18 +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
9b47779e63
feat: GET /tags/popular — top tags by usage count
2026-05-14 15:34:40 +02:00
eb7dbb0aee
feat: GET /users (search/list) and GET /users/count
2026-05-14 15:34:37 +02:00
e0b0a71f1d
feat(postgres): PgActivityPubRepository implementing ActivityPubRepository port
2026-05-14 10:55:58 +02:00
21b6a04f97
feat(postgres-federation): FederationRepository and ApUserRepository
2026-05-14 10:19:57 +02:00
4eeaea2a14
feat(postgres): upgrade FeedRepository search from ILIKE to pg_trgm
2026-05-14 09:28:02 +02:00
6e5d0de636
feat(postgres): pg_trgm extension and GIN search indexes
2026-05-14 09:21:59 +02:00
69608cfc75
feat(postgres): Tag, ApiKey, TopFriend, Notification, RemoteActor, Feed repos
2026-05-14 03:45:11 +02:00
02ce3a49b4
feat(postgres): LikeRepository, BoostRepository
2026-05-14 03:40:15 +02:00
1dab9ffbfb
feat(postgres): FollowRepository, BlockRepository
2026-05-14 03:38:20 +02:00
9dd04541ac
feat(postgres): ThoughtRepository
2026-05-14 03:35:39 +02:00
fe9655ee96
feat(postgres): UserRepository
2026-05-14 03:32:56 +02:00
62ee73e302
feat(postgres): initial migrations
2026-05-14 03:26:42 +02:00
63a7001165
chore: scaffold v2 workspace
2026-05-14 03:07:45 +02:00