6323322d97
feat: add export diary functionality and update API routes
2026-05-09 20:59:30 +02:00
dda8b32e6a
export feature
2026-05-09 20:51:29 +02:00
d75db17ece
Refactor test stubs and consolidate panic implementations
...
- Removed redundant panic repository implementations in `event_handlers.rs` and `extractors.rs`.
- Introduced a single `Panic` struct to serve as a stub for various repository and service traits.
- Simplified test state creation by using a factory function `make_test_state` to reduce code duplication.
- Updated tests to utilize the new panic implementation and streamlined router setup for better readability.
2026-05-09 20:07:44 +02:00
642d7ef3d0
Refactor application context and repository structure
...
- Updated `AppContext` to include separate repositories for movies, reviews, diaries, and stats.
- Modified use cases to utilize the new repository structure, ensuring that the correct repositories are called for their respective operations.
- Introduced `DiaryRepository` and `StatsRepository` traits to encapsulate diary and statistics-related operations.
- Updated all relevant use cases, handlers, and tests to reflect the changes in repository usage.
- Ensured that panic repositories are updated to implement the new traits for testing purposes.
2026-05-09 18:58:29 +02:00
5df26b69a0
refactor: remove unused actor_handler import from ActivityPubService
2026-05-09 18:42:57 +02:00
c3af91ea7b
refactor: standardize user ID route parameter in ActivityPubService
2026-05-09 18:37:55 +02:00
4425c72f36
Implement local follow and unfollow functionality in ActivityPubService
2026-05-09 18:28:44 +02:00
e7e5d9935d
Refactor ActivityPub integration and add SQLite federation support
...
- Removed event-publisher dependency from Cargo.lock and Cargo.toml.
- Introduced sqlite-federation crate with necessary dependencies and implementation.
- Updated activitypub crate to use new ActivityPubPort trait for better abstraction.
- Refactored event handling to utilize domain ports instead of direct dependencies.
- Adjusted presentation layer to accommodate new ActivityPub service structure.
- Removed unused test setup for ActivityPub service in favor of NoopActivityPubService.
- Cleaned up SQLite adapter to remove unnecessary dependencies and streamline functionality.
2026-05-09 18:21:16 +02:00
6d2b415075
activitypub: remove files moved to activitypub-base
2026-05-09 17:27:57 +02:00
bacf7b7252
separation of activitypub
2026-05-09 17:23:06 +02:00
c4b6d52196
federation improvements
2026-05-09 15:45:08 +02:00
0a18992a73
todo: exporter
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-09 14:30:11 +02:00
b0ce316c30
local file system
2026-05-09 14:17:25 +02:00
0d3c2c937d
federation refinement
2026-05-09 13:53:45 +02:00
86909ecede
activity-pub implementation
2026-05-08 21:26:50 +02:00
482575aed0
feat: add favicon to the base template
2026-05-08 14:23:15 +02:00
377ee1d176
fix: windowed pagination — show 1…current±2…last instead of all pages
2026-05-08 13:47:34 +02:00
74fb893751
fix: profile delete redirect and open redirect via //
2026-05-08 13:33:59 +02:00
32b114cecd
fix: guard total_pages division in render_diary_page
2026-05-08 13:28:04 +02:00
bd571b3b51
feat: add page-number navigation to paginated views
2026-05-08 13:20:06 +02:00
f226071cbd
feat: preserve pagination offset after review delete
2026-05-08 13:15:47 +02:00
aaa9cb0a1e
feat: accept date-only watched_at in review form
2026-05-08 13:12:56 +02:00
31dba4ca95
feat(config): add rate limit configuration to AppConfig and update related usages
2026-05-08 10:11:19 +02:00
1b3f906312
feat(tui): update keyring initialization and enhance token handling in main function
2026-05-07 21:24:01 +02:00
465d233ae9
feat(tui): call init_keyring at startup before first keyring operation
2026-05-07 21:10:57 +02:00
1f03889b30
feat(tui): fix keyring import path, add init_keyring() with platform feature flags
2026-05-07 21:09:21 +02:00
4159e60148
chore(tui): add keyring platform feature flags
2026-05-07 21:00:30 +02:00
d66a89059d
refactor: simplify token handling and enhance input rendering in UI
2026-05-07 00:43:08 +02:00
b3c243257d
feat: enhance diary navigation with LoadPrev action and pagination hints
2026-05-07 00:35:03 +02:00
e1f2442e77
tui - client app.
2026-05-07 00:14:47 +02:00
b30a6a102b
feat: per-page titles, OG/SEO tags, HOST/PORT env vars, BASE_URL in config
2026-05-04 22:38:58 +02:00
3135a15cb3
fix: WAL mode + busy_timeout for SQLite, fix rate limiter TOCTOU race
2026-05-04 22:10:19 +02:00
d083f8ae3d
refactor: use constant for minimum password length and API rate limit
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-04 21:41:07 +02:00
874c406d4a
fix: security hardening — SameSite=Strict, Secure cookie flag, password min length, generic registration error, auth rate limiting
2026-05-04 21:38:23 +02:00
cf74b06b4a
fix: use pixel bar heights and show avg rating values in trends chart
2026-05-04 21:22:47 +02:00
317898d51b
fix: count distinct movies per user in users list, not total reviews
2026-05-04 21:10:32 +02:00
790bb6fbb5
fix: read BASE_URL from env for RSS channel link
2026-05-04 21:06:51 +02:00
658df38788
fix: move rss_url after user lookup, extract RSS_FEED_LIMIT constant
2026-05-04 21:05:08 +02:00
cff0f854fa
feat: point RSS nav link to user feed when on profile page
2026-05-04 21:00:31 +02:00
66ade70273
feat: add GET /users/{id}/feed.rss per-user RSS feed handler
2026-05-04 20:58:20 +02:00
cbd2ac5b3e
feat: add rss_url to HtmlPageContext, use it in nav
2026-05-04 20:55:31 +02:00
0433cd4d9b
fix: remove unused feed_title from RssAdapter
2026-05-04 20:54:32 +02:00
b5a8ea2395
feat: add title param to render_feed, use dynamic title in RSS adapter
2026-05-04 20:52:07 +02:00
49b79799c1
feat: add user_id filter to GetDiaryQuery and get_diary use case
2026-05-04 20:49:31 +02:00
f4aba551a2
fix: derive heatmap color from primary instead of hardcoded blue
2026-05-04 20:38:13 +02:00
91df35dbd3
fix: count distinct movies in user stats, not total reviews
2026-05-04 20:35:48 +02:00
623f90e43f
fix: remove timezone-broken future-date check from Review::new
2026-05-04 20:29:11 +02:00
60c25d4c24
fix: update test assertion for new default page limit
2026-05-04 20:18:04 +02:00
22aafe99be
fix: set domain DEFAULT_LIMIT to 5 for pagination
2026-05-04 20:16:18 +02:00
0ff22cca5f
fix: remove email from top bar nav
2026-05-04 20:13:14 +02:00