Commit Graph

139 Commits

Author SHA1 Message Date
b2a2aa4262 movie detail page + importer architecture fix 2026-05-10 23:59:26 +02:00
f2f1317660 importer feature 2026-05-10 21:23:56 +02:00
8678bbf391 nats adapter 2026-05-10 13:42:28 +02:00
05b44e17a1 background worker 2026-05-10 11:12:52 +02:00
9be7af50d2 feat: admin role 2026-05-10 01:15:48 +02:00
be30a1d77c feat: show profile RSS in footer when viewing another user's profile 2026-05-10 00:46:51 +02:00
66f9ef887e feat: ux improvements 2026-05-10 00:41:43 +02:00
9f894ebdf2 feat: feed ux improvements 2026-05-10 00:16:29 +02:00
d89d373a91 feat: implement CSRF protection across forms and routes 2026-05-09 22:09:19 +02:00
dcfc17f542 export feature 2026-05-09 20:51:29 +02:00
89e78a0d1f 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
69f6587623 federation improvements 2026-05-09 15:45:08 +02:00
6cd332f758 todo: exporter 2026-05-09 14:30:11 +02:00
470b29c9e1 federation refinement 2026-05-09 13:53:45 +02:00
df71748897 activity-pub implementation 2026-05-08 21:26:50 +02:00
afb012ffde feat(config): add rate limit configuration to AppConfig and update related usages 2026-05-08 10:11:19 +02:00
b5cd932bfb feat: per-page titles, OG/SEO tags, HOST/PORT env vars, BASE_URL in config 2026-05-04 22:38:58 +02:00
5852af0b05 refactor: use constant for minimum password length and API rate limit 2026-05-04 21:41:07 +02:00
6cb3cf072a 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
549b0bbe09 feat: add rss_url to HtmlPageContext, use it in nav 2026-05-04 20:55:31 +02:00
72ce31ded2 feat: add title param to render_feed, use dynamic title in RSS adapter 2026-05-04 20:52:07 +02:00
f53a129331 feat: add user_id filter to GetDiaryQuery and get_diary use case 2026-05-04 20:49:31 +02:00
94e3b12dca fix: add missing trait stubs to test mock impls 2026-05-04 19:23:56 +02:00
af945bcd54 fix: adjust domain accessors and template adapter for Askama compatibility 2026-05-04 19:03:48 +02:00
d95d65c943 fix: validate view param, document V1 history load 2026-05-04 18:53:26 +02:00
0d2ca3ab6c feat: add activity feed/users/profile use cases and port methods 2026-05-04 18:48:16 +02:00
f5fe8aeaff feat: implement feed/stats/history/trends SQLite queries 2026-05-04 18:42:45 +02:00
7e7c1ee1f4 Refactor movie review logging and resolution strategies
- Introduced `MovieResolver` and associated strategies for resolving movie data based on external metadata ID, manual title, or manual entry.
- Updated `log_review` use case to utilize the new `MovieResolver` for fetching movie details.
- Simplified the `LogReviewData` structure and its conversion to `LogReviewCommand`.
- Enhanced error handling for date parsing in review forms and requests.
- Updated dependencies in `Cargo.toml` and `Cargo.lock` to include necessary crates for async operations.
- Added tests for new functionality in `movie_resolver.rs` to ensure correct behavior of resolution strategies.
2026-05-04 15:08:04 +02:00
7c704f39b3 feat(template): add user_id to HtmlPageContext and delete button to diary 2026-05-04 14:31:12 +02:00
de84bb7331 feat(application): add DeleteReviewCommand and delete_review use case 2026-05-04 14:17:13 +02:00
657e9d443d feat(ports): extend HtmlRenderer with page context and new render methods 2026-05-04 13:20:30 +02:00
5fffdc93c7 feat(application): derive Clone on SyncPosterCommand 2026-05-04 12:35:10 +02:00
992a1a2674 feat(rss): implement RSS feed adapter and integrate with application state 2026-05-04 12:03:17 +02:00
bd160e3861 feat(log_review): add manual title resolution for movie lookup 2026-05-04 11:24:18 +02:00
e78216b404 feat(metadata): Implement OMDB metadata provider and refactor metadata client
- Added `OmdbProvider` to fetch movie metadata from the OMDB API.
- Refactored `MetadataClient` to use `MetadataSearchCriteria` for fetching movie metadata.
- Updated `MetadataClientImpl` to support fetching metadata using OMDB.
- Modified `log_review` use case to utilize the new metadata fetching mechanism.
- Updated tests and presentation layer to accommodate changes in metadata handling.
- Added dependencies for `reqwest` and `async-trait` in relevant `Cargo.toml` files.
2026-05-04 11:19:51 +02:00
1f8b24fec2 feat(auth): implement JWT authentication and user registration
- Added JWT authentication with token generation and validation.
- Introduced user registration functionality with email and password.
- Integrated Argon2 for password hashing.
- Created SQLite user repository for user data persistence.
- Updated application context to include user repository and configuration settings.
- Added environment variable support for JWT secret and registration allowance.
- Enhanced error handling for unauthorized access and validation errors.
- Updated presentation layer to handle login and registration requests.
2026-05-04 10:43:07 +02:00
0d7a0cc712 presentation wiring 2026-05-04 09:30:20 +02:00
b026a184c2 application layer 2026-05-04 01:19:59 +02:00
810bad1126 init domain 2026-05-04 00:26:10 +02:00