a02ae3e662
fix(db): in_reply_to_id FK ON DELETE SET NULL — deleting a thought no longer blocks if it has replies
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m40s
test / unit (pull_request) Successful in 16m10s
test / integration (pull_request) Failing after 17m4s
2026-05-15 16:29:57 +02:00
c092b9e658
feat(postgres): failed_events table and PgFailedEventStore for dead-letter queue
2026-05-15 16:23:21 +02:00
340886fcfe
fix(nats): explicit consumer config, ack timeouts, unknown-event acking, delivery_count
2026-05-15 16:20:31 +02:00
75e8d349e3
fix(auth): validate JWT secret length, equalize login timing, reduce TTL to 24h
2026-05-15 16:16:58 +02:00
6dd4e3366c
fix(search): viewer-aware SQL in search_thoughts — ViewerContext now real instead of hardcoded false
2026-05-15 15:24:55 +02:00
48b57abf92
refactor(adapters): update FeedEntry construction to use EngagementStats + ViewerContext
2026-05-15 15:21:48 +02:00
988f5c75aa
fix(tests): use distinct usernames in notification tests
2026-05-15 14:11:58 +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
c76894e527
refactor(domain): remove AP delivery fields (inbox_url, public_key) from domain RemoteActor
2026-05-15 14:02:53 +02:00
f697267828
fix(domain): from_db_str returns Result — unknown DB values are errors not silent defaults
2026-05-15 13:57:38 +02:00
5a64dd361c
refactor(domain): algebraic NotificationKind — invalid states now unrepresentable
2026-05-15 13:53:53 +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
711b3ec63b
fix(ap): protocol compliance — actor verification, on_unlike, Move, bto/bcc
...
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m31s
test / unit (pull_request) Successful in 16m12s
test / integration (pull_request) Failing after 16m53s
- Add verify() to Accept/Reject (actor must match Follow target)
- Add verify() to Create/Update (actor must match attributedTo)
- Add verify() to Delete (actor domain must match object domain)
- Fix UpdateActivity passing wrapper id instead of object id to on_update
- Implement on_unlike (was no-op stub) — publishes LikeRemoved event
- BlockActivity now removes remote actor as follower, not just following
- Add MoveActivity (account migration) to InboxActivities enum
- Add bto/bcc fields to CreateActivity for blind DM support
- http_signature_compat(true) restricted to debug mode only
- Announce of non-local object logs debug instead of silent drop
- postgres-federation: get_followers/get_following_page/count_following
now consistently filter by status='accepted'
2026-05-15 12:52: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
a040a38036
fix(service): remove unused followers and following route handlers
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m20s
test / unit (pull_request) Successful in 16m27s
test / integration (pull_request) Failing after 16m54s
2026-05-15 12:08:45 +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
7b1e26fa9e
fix(ap): propagate sharedInbox through DbActor — was hardcoded None everywhere
2026-05-15 11:51:57 +02:00
bd1dd89f78
refactor(bootstrap): use ap_service.router() as single source of truth for AP routes
2026-05-15 11:47:37 +02:00
db1625dc0d
fix(ap): use Note id (not Create activity id) in CreateActivity::receive — fixes Delete sync
2026-05-15 10:58:13 +02:00
159a8ca43b
fix(ap): store avatar_url from fetched actor in remote_actors when following
2026-05-15 10:27:26 +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
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
d360e506db
feat(ap): handle Undo(Like) inbound activity
2026-05-15 05:28:52 +02:00
f008564c32
feat(ap): add hashtag tag array to outbound Notes
2026-05-15 05:26:56 +02:00
82f2a3aaa0
fix(ap): wrap outbound Note content in HTML paragraph tags
2026-05-15 05:25:20 +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
a7527c50be
feat(activitypub): implement on_like and on_announce_received in ThoughtsObjectHandler
2026-05-15 04:55:50 +02:00
e691b20a05
feat(activitypub-base): broadcast_like/undo_like + LikeActivity inbox handler
2026-05-15 04:52:03 +02:00
0cf34184d9
feat(activitypub-base): LikeActivity struct + on_like/on_announce_received trait methods
2026-05-15 04:49:20 +02:00
6d365dd3cf
feat(domain): add broadcast_like/broadcast_undo_like to OutboundFederationPort
2026-05-15 04:47:19 +02:00
2e3b81de17
fix: full fediverse handle display + follower count includes remote
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Has been cancelled
test / unit (pull_request) Has been cancelled
test / integration (pull_request) Has been cancelled
2026-05-15 04:35:04 +02:00
75c1870891
feat(activitypub-base): implement federation management port methods
2026-05-15 04:05:31 +02:00
1b0bb911a0
feat(domain): add federation management methods to FederationActionPort
2026-05-15 03:35:58 +02:00
b5427cab7d
fix: force HTTPS for WebFinger in follow/unfollow — library uses HTTP in debug mode
2026-05-15 03:03:51 +02:00
f7350847c5
fix: allow dots in usernames; BCrypt fallback in password verifier for v1 migrations
2026-05-15 02:56:18 +02:00
031a22514d
feat: implement remote unfollow — wire FederationActionPort through delete_follow handler
2026-05-15 02:46:24 +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
27e94d64b0
fix: fetch_actor_urls_from_collection follows 'first' page link like outbox does
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Has been cancelled
test / unit (pull_request) Has been cancelled
test / integration (pull_request) Has been cancelled
2026-05-15 01:18:28 +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
83af9b2256
feat: show media attachment notice for unsupported post types (photos/videos)
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m20s
test / unit (pull_request) Successful in 16m15s
test / integration (pull_request) Failing after 17m1s
2026-05-15 01:12:44 +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