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
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
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
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
031a22514d
feat: implement remote unfollow — wire FederationActionPort through delete_follow handler
2026-05-15 02:46:24 +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
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
58126f195c
feat(activitypub-base): impl fetch_actor_urls_from_collection + resolve_actor_profiles (concurrent, 5s timeout)
2026-05-15 00:33:14 +02:00
99dd89b60d
feat(domain): ActorConnectionSummary, ConnectionType, RemoteActorConnectionRepository, FetchActorConnections event
2026-05-15 00:25:54 +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
1ddb6a3954
feat(activitypub-base): impl fetch_outbox_page; populate all RemoteActor fields in lookup_actor
2026-05-14 22:13:39 +02:00
70fc4fbcd0
feat(domain): RemoteActor fields, RemoteNote, FetchRemoteActorPosts event, fetch_outbox_page port
2026-05-14 22:08:26 +02:00
ed6996e350
fix(activitypub-base): populate also_known_as, profile_url, attachment from fetched actor
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 10m0s
test / unit (pull_request) Failing after 11m10s
test / integration (pull_request) Failing after 17m19s
2026-05-14 21:47:34 +02:00
0c4df36b95
fix(activitypub-base): populate avatar_url, bio, banner from fetched actor JSON
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m46s
test / unit (pull_request) Failing after 11m36s
test / integration (pull_request) Failing after 17m47s
2026-05-14 21:45:55 +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
d5a116e483
feat(activitypub-base): impl actor_json port; return full user@domain handle from lookup
2026-05-14 20:47:41 +02:00
dbd891d60d
fix(activitypub-base): lookup_actor fetches WebFinger via HTTPS directly
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 16m33s
test / integration (pull_request) Failing after 17m33s
2026-05-14 20:25:14 +02:00
baf8b57b6d
fix(activitypub-base): strip leading @ from handle before WebFinger lookup
2026-05-14 20:16:00 +02:00
1d50b54227
fix(activitypub-base): use username as display_name in lookup_actor
2026-05-14 20:02:01 +02:00
fce819be7f
feat(activitypub-base): impl FederationActionPort for ActivityPubService
2026-05-14 19:59:19 +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
d3b7ecad15
fix(ap): add url field to Note, handle Delete(actor) and Tombstone objects
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m12s
test / unit (pull_request) Successful in 15m52s
test / integration (pull_request) Failing after 17m10s
2026-05-14 16:47:17 +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
ed744046f4
refactor(activitypub-base): eliminate double get_local_actor — extract thought_note_json, remove dead broadcast_to_followers methods
2026-05-14 14:36:54 +02:00
931894d77a
refactor(activitypub-base): extract accepted_follower_inboxes helper — eliminate 7x duplicated filtering
2026-05-14 14:23:38 +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
057fc29abc
fix(activitypub-base): validate update Note id URL, add updated field to Update Notes
2026-05-14 13:50:05 +02:00
1fa8389a69
feat(activitypub-base): Announce broadcast + impl OutboundFederationPort for ActivityPubService
2026-05-14 13:46:31 +02:00
114d9f9558
fix(activitypub): re-export NoteType from activitypub-base, drop direct activitypub_federation dep
2026-05-14 12:51:47 +02:00
ebc612a311
feat(activitypub-base): copy from movies-diary with username-based actor URLs
2026-05-14 10:15:34 +02:00
63a7001165
chore: scaffold v2 workspace
2026-05-14 03:07:45 +02:00