Commit Graph

12 Commits

Author SHA1 Message Date
d7b22bdcb1 feat: Implement media import functionality with repository and bundle support 2025-11-15 15:24:52 +01:00
8d05bdfd63 Implement authorization service and refactor services to use it
- Added `AuthorizationService` and its implementation `AuthorizationServiceImpl` to handle permission checks across various services.
- Refactored `AlbumServiceImpl`, `MediaServiceImpl`, `PersonServiceImpl`, and `TagServiceImpl` to utilize the new authorization service for permission checks.
- Removed direct permission checks from services and replaced them with calls to the `AuthorizationService`.
- Updated repository interfaces to include new methods for checking media permissions in shared albums.
- Enhanced the `authz` module with new permission types for better granularity in access control.
- Adjusted the `AppState` struct to include the new `authorization_service`.
2025-11-15 14:01:39 +01:00
4675285603 feat: Implement person and tag management services
- Added `Person` and `Tag` models to the core library.
- Created `PersonService` and `TagService` traits with implementations for managing persons and tags.
- Introduced repositories for `Person`, `Tag`, `FaceRegion`, and `PersonShare` with PostgreSQL support.
- Updated authorization logic to include permissions for accessing and editing persons.
- Enhanced the schema to support new models and relationships.
- Implemented database migrations for new tables related to persons and tags.
- Added request and response structures for API interactions with persons and tags.
2025-11-15 11:18:11 +01:00
55cf4db2de feat: implement media metadata management with EXIF and TrackInfo support 2025-11-14 07:41:54 +01:00
60860cf508 feat: Add thumbnail generation feature and update media model
- Updated workspace members to include `libertas_importer`.
- Added a new migration to add `thumbnail_path` column to `media` table.
- Enhanced configuration structures to include `thumbnail_config`.
- Modified `Media` model to include `thumbnail_path`.
- Updated `MediaRepository` trait and its implementation to handle thumbnail path updates.
- Created `ThumbnailPlugin` for generating thumbnails based on media configurations.
- Integrated thumbnail generation into the media processing workflow.
- Updated dependencies in `libertas_worker` and `libertas_importer` for image processing.
2025-11-12 00:28:12 +01:00
eaf4c90fa8 feat: implement media listing with sorting and filtering options 2025-11-04 05:57:04 +01:00
828d8e4a2b feat: add date_taken field to media model and update related functionalities 2025-11-04 05:28:27 +01:00
13bb9e6b3e feat: enhance album and media management with update and delete functionalities 2025-11-02 18:46:26 +01:00
a36b59a5fb feat: implement album sharing functionality with permissions management 2025-11-02 17:39:11 +01:00
f49d9179f5 feat: add user roles and storage quota management 2025-11-02 17:17:13 +01:00
4427428cf6 feat: implement media processing plugins and update repository structure 2025-11-02 15:40:39 +01:00
455e144ffb init 2025-11-02 09:31:01 +01:00