Commit Graph

18 Commits

Author SHA1 Message Date
7f07169064 feat: Implement album and person sharing with user search and a dedicated share dialog. 2025-12-04 00:58:10 +01:00
94b184d3b0 feat: Implement person management features
- Added hooks for listing, creating, updating, deleting, sharing, and merging people.
- Introduced a new route for person details and media.
- Implemented clustering faces functionality.
- Created services for person-related API interactions.

feat: Introduce tag management functionality

- Added hooks for listing, adding, and removing tags from media.
- Created services for tag-related API interactions.

feat: Enhance user authentication handling

- Added a hook to fetch current user details.
- Updated auth storage to manage user state more effectively.

feat: Update album management features

- Enhanced album service to return created album details.
- Updated API handlers to return album responses upon creation.
- Modified album repository to return created album.

feat: Implement media management improvements

- Added media details fetching and processing of media URLs.
- Enhanced media upload functionality to return processed media.

feat: Introduce face management features

- Added services for listing faces for media and assigning faces to persons.

fix: Update API client to clear authentication state on 401 errors.
2025-11-16 02:24:50 +01:00
f41a3169e9 feat: add functionality to remove media from album, including API integration and UI context menu 2025-11-16 01:47:36 +01:00
07b797b82b feat: implement add media to album functionality with dialog and API integration 2025-11-16 01:38:04 +01:00
d444871829 feat: Implement face clustering and media retrieval for persons 2025-11-15 23:39:51 +01:00
0f3e098d6d feat: Add thumbnail management for albums and people, implement face embedding functionality 2025-11-15 22:50:53 +01:00
e6c941bf28 feat: Add media serving functionality with optional metadata stripping 2025-11-15 18:36:34 +01:00
ccb9f09d4a feat: Implement pagination for user media retrieval and update related structures 2025-11-15 18:06:09 +01:00
b80c4e0895 feat: Implement merge person functionality with associated request and repository methods 2025-11-15 17:46:36 +01:00
8a735c7c26 feat: Add media thumbnail retrieval functionality and update MediaResponse structure 2025-11-15 17:37:39 +01:00
a9805b5eb1 feat: Add public album routes and enhance authorization checks for media and albums 2025-11-15 17:18:14 +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
3c3b51a2a7 feat: enhance media management with EXIF data extraction, metadata filtering, and storage path generation
refactor: update configuration handling to use environment variables and improve code organization
2025-11-14 11:22:51 +01:00
eaf4c90fa8 feat: implement media listing with sorting and filtering options 2025-11-04 05:57:04 +01:00
13bb9e6b3e feat: enhance album and media management with update and delete functionalities 2025-11-02 18:46:26 +01:00
596313b8c5 feat: add media file retrieval functionality and update dependencies 2025-11-02 16:22:09 +01:00
455e144ffb init 2025-11-02 09:31:01 +01:00