Commit Graph

284 Commits

Author SHA1 Message Date
ec2760fd48 chore: drop unused deps 2026-10-25 23:19:19 +01:00
980de9697a refactor: rename application AppConfig to AppSettings 2026-10-25 23:19:18 +01:00
80072eb463 docs: update for new crate layout 2026-10-25 22:58:46 +01:00
a1c3f7760d test: move http-axum tests to tests/
Drop bootstrap dev-dep. Extractor + api handler + app-context tests (need full AppState via build_deps) -> bootstrap/tests/http_handlers/. forms tests -> http-axum/tests/log_review_form_test.rs.
Federation collection tests now go through public federation::html_routes().
Kept inline (private fns): api/social social_actor_to_dto (4), federation/blocklist_api social_actor_to_blocked_dto (1), html/social social_actor_to_template (1), router slow_down/api_governor (2).
2026-10-25 22:52:41 +01:00
07c8b011d8 fake user store: list_with_stats sorted by email 2026-10-25 22:52:41 +01:00
52bbb85980 test: move importer tests to tests/ (via DocumentParser) 2026-10-25 22:48:30 +01:00
760acb1f9f test: move image-converter tests to tests/ 2026-10-25 22:48:29 +01:00
74674b157c test: move small adapter tests to tests/
event-publisher, export, rss, media-server, object-storage, nats(config).
Kept inline (private fn, no public path): nats src/subject.rs
tests::{review_logged_subject,review_updated_subject,movie_discovered_subject,
consumer_subject_filter_appends_wildcard} - event_to_subject/consumer_subject_filter private.
object-storage build_local_store tests rewritten via StorageConfig::from_config.
2026-10-25 22:47:54 +01:00
ec22ac1d75 test: move sqlite-federation tests to tests/
No inline exceptions.
2026-10-25 22:41:31 +01:00
5118bf4700 test: move activitypub tests to tests/
Assert via serialized JSON (fields pub(crate)); normalize_hashtag covered via review tags. No inline exceptions.
2026-10-25 22:41:26 +01:00
f6383d6c04 test: move sqlite tests to tests/
No inline exceptions; migrate via sqlite::migrate, renamed diary/social tests.
2026-10-25 22:40:53 +01:00
5256c6e851 test: refusing fakes, failure-path tests, shared panic stubs 2026-10-25 22:25:36 +01:00
06eec2feae test: cascading in-memory store 2026-10-25 22:19:24 +01:00
51d92e08a7 test: shared factories and command builders 2026-10-25 22:08:17 +01:00
2ac1d4e0cf refactor: Upload extractor, 429 refusal test, stricter contract test 2026-10-25 21:59:31 +01:00
c8d9138349 refactor: single refusal shape with openapi contract test 2026-10-25 21:55:38 +01:00
614aec8df9 refactor: http-axum split into api/html/federation modules, router.rs, templates per page group 2026-10-25 21:46:03 +01:00
a931fb548f refactor: presentation becomes http-axum adapter, absorbs templates 2026-10-25 21:34:09 +01:00
b5bfdadcd9 refactor: merge media-server parsers, move poster sync and event payload 2026-10-25 21:22:59 +01:00
a00a5dc655 fix: config empty values unset, drop adapter from_vars 2026-10-25 21:18:16 +01:00
9bf9342fc0 refactor: bootstrap crate, thin server/worker binaries 2026-10-25 21:16:38 +01:00
04f9c13625 refactor: adapters configured from config crate 2026-10-25 21:07:19 +01:00
ab4e4c3138 refactor: sqlite repositories per aggregate 2026-10-25 20:55:33 +01:00
67597ec9a6 refactor: merge sqlite adapter family into one crate 2026-10-25 20:48:30 +01:00
1ece8032ff test: track pre_merge.db fixture 2026-10-25 20:44:46 +01:00
f8fe49f739 test: pin migration ledger 2026-10-25 20:44:10 +01:00
933400e1c2 refactor: drop postgres backend 2026-10-25 20:34:07 +01:00
59238a36d8 refactor: typed errors in rss/import ports 2026-10-25 20:30:28 +01:00
18c179e14c chore: gate test helpers, code style, stricter clippy 2026-10-25 20:26:50 +01:00
2ce7db12c2 fix(rss): absolute item/channel links, atom self, application/xml
Some checks failed
CI / Check / Test (push) Failing after 30m12s
2026-10-25 19:59:07 +01:00
4f3d99ec8e feature/spoiler-flag (#25)
Some checks failed
CI / Check / Test (push) Has been cancelled
Reviewed-on: #25
2026-10-25 18:52:11 +00:00
e303ae7f08 insights-correlations (#22)
Some checks failed
CI / Check / Test (push) Has been cancelled
Reviewed-on: #22
2026-10-12 18:56:55 +00:00
4d221e60de feat: favorite actors top-5 stat in profile trends
All checks were successful
CI / Check / Test (push) Successful in 1h5m14s
2026-08-09 20:59:18 +02:00
c9715baab8 structural refactor and codebase improvements 2026-08-09 14:58:14 +02:00
813778dc7e fix: users table has avatar_path not avatar_url, resolve to full URL
Some checks failed
CI / Check / Test (push) Has been cancelled
2026-07-27 13:08:45 +02:00
063bab910b ADR-0003: local follows bypass AP, unified FollowCommand/FollowQuery ports, FederationRepos struct, base_url normalization
Some checks failed
CI / Check / Test (push) Has been cancelled
2026-07-27 12:56:30 +02:00
839cababe4 bump k-ap 0.5.0, decompose repo traits, LocalObject, ActivityStreamsType enum, split follow modules
Some checks failed
CI / Check / Test (push) Has been cancelled
2026-07-27 11:46:24 +02:00
e30e785936 bump k-ap to 0.4.6, add nodeinfo metadata 2026-07-16 09:56:54 +02:00
10be024bdf fix: update k-ap dependency version to 0.4.4
All checks were successful
CI / Check / Test (push) Successful in 1h5m51s
2026-07-11 10:45:43 +02:00
1e33c6d184 fix: update k-ap dependency version to 0.4.4
Some checks failed
CI / Check / Test (push) Has been cancelled
2026-07-11 10:40:53 +02:00
96168cfc7b fix: update k-ap dependency version to 0.4.3
Some checks failed
CI / Check / Test (push) Has been cancelled
2026-07-11 10:21:28 +02:00
587dcc04de feat: richer profile stats, wrapup min-count filter, watch medium distribution
Some checks failed
CI / Check / Test (push) Has been cancelled
- filter wrapup top directors/actors with count < 2
- add watch_medium to wrapup report + adapters
- profile trends: genre breakdown, rating histogram, watch medium dist
- fix unused StarDisplay import in movie detail
2026-07-10 21:38:08 +02:00
2de6690401 fix: import remote outbox on outbound follow accept (k-ap 0.4.2)
k-ap now emits OutboundFollowAccepted when remote accepts our follow.
Bridge maps it to FollowAccepted domain event. Worker handler looks up
the actor's outbox URL and calls import_remote_outbox. Previously the
accept was silent — no backfill happened, feed stayed empty.
2026-07-10 17:02:14 +02:00
12378c3649 fmt 2026-07-10 16:32:07 +02:00
46b8488b09 refactor: Feed uses SocialIdentity matching, deps From impl, remove get_accepted_following_urls
Feed builds FollowingFilter by matching SocialIdentity::Local/Remote
instead of URL-prefix heuristic. Removed get_accepted_following_urls
from SocialQuery (no longer needed). Added From<&AppState> for deps
structs — 20 construction sites collapsed to one-liners.
2026-07-10 16:31:05 +02:00
7e02f15a85 refactor: consolidate 11 social use cases → SocialCmd/SocialQry enum dispatch
-280 net lines. 11 one-file use cases replaced by execute_command/
execute_query with enum dispatch. Added FollowRejected event (reject
was silently dropping). Command→event mapping now explicit in one match.
2026-07-10 16:26:57 +02:00
d60c47199c fix: FollowTarget enum — actor_url no longer lies about holding a handle
FollowCommand.target is now FollowTarget (Identity|Handle) instead of
SocialIdentity. actor_url field always holds a URL; handles go through
FollowTarget::Handle. Adapter resolves handles explicitly. Type system
prevents misuse in future commands.
2026-07-10 16:18:57 +02:00
2484f1e603 fmt 2026-07-10 16:03:36 +02:00
44d7df33a2 refactor: remove SocialQueryPort — replaced by SocialQuery + FederationAdminQuery
-319 lines. Legacy SocialQueryPort trait, NoopSocialQueryPort,
PanicSocialQueryPort all deleted. Federation repos now implement
FederationAdminQuery (single method). get_users uses FederationAdminQuery.
All other consumers use unified SocialQuery.
2026-07-10 16:02:27 +02:00
7cfa234902 refactor: SocialActor rich queries, migrate remaining handlers, slim SocialQueryPort
SocialQuery returns SocialActor (identity+handle+display_name+avatar_url)
instead of bare SocialIdentity. Migrated get_following_page,
get_followers_page, get_blocked_actors_page to use cases. Moved
get_activity_feed + get_profile from SocialQueryPort to SocialQuery.
Legacy SocialQueryPort remains only for get_users listing.
2026-07-10 15:52:37 +02:00