Commit Graph

70 Commits

Author SHA1 Message Date
0548215096 refactor: convert Komga config to Server Action
- Add src/app/actions/config.ts with saveKomgaConfig
- Update KomgaSettings to use Server Action
- Remove POST from api/komga/config route (keep GET)
2026-02-28 10:56:52 +01:00
6180f9abb1 refactor: convert library scan to Server Action
- Add src/app/actions/library.ts with scanLibrary
- Update ScanButton to use Server Action
- Remove POST from api/komga/libraries/[libraryId]/scan route
2026-02-28 10:53:41 +01:00
7308c0aa63 refactor: convert favorites to Server Actions
- Add src/app/actions/favorites.ts with addToFavorites and removeFromFavorites
- Update SeriesHeader to use Server Actions instead of fetch
- Keep API route GET only (POST/DELETE removed)
2026-02-28 10:46:03 +01:00
546f3769c2 refactor: remove unused read-progress API route 2026-02-28 10:36:58 +01:00
ecce0a9738 fix: invalidate home cache when updating read progress
- Add cache tags support to BaseApiService
- Tag home data with 'home-data' tag in HomeService
- Use revalidateTag('home-data', 'max') after read progress updates
- With 'max' profile: serve stale while fetching fresh in background
2026-02-28 10:16:12 +01:00
0c3a54c62c feat: perf optimisation
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 2s
2026-02-27 16:23:05 +01:00
b9c8b05bc8 fix: resolve komga api errors 2026-02-27 09:02:11 +01:00
Julien Froidefond
ad11bce308 revert: restore page-by-page download method (old method works better) 2026-01-04 11:39:55 +01:00
Julien Froidefond
1ffe99285d feat: add fflate library for file decompression and implement file download functionality in BookOfflineButton component
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 5m18s
2026-01-04 11:32:48 +01:00
Julien Froidefond
117ad2d0ce fix: enhance error handling in read progress update by validating request body and returning appropriate error responses
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 10m22s
2026-01-03 22:06:28 +01:00
Julien Froidefond
512e9a480f refactor: remove caching-related API endpoints and configurations, update preferences structure, and clean up unused services
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 7m22s
2026-01-03 18:55:12 +01:00
Julien Froidefond
181240cd5f feat: add cache invalidation for series after updating or deleting read progress, and enhance BookGrid and BookList components with refresh functionality 2025-12-07 18:49:16 +01:00
Julien Froidefond
c76d960dca refactor: remove HTTP Cache-Control headers and revalidate settings from API routes to streamline caching strategy and avoid conflicts with server-side caching 2025-12-07 11:36:50 +01:00
Julien Froidefond
39e3328123 chore: update various components and services for improved functionality and consistency, including formatting adjustments and minor refactors 2025-12-07 09:54:05 +01:00
Julien Froidefond
8ccd13465f refactor: improve request deduplication by returning buffer and content type for better response handling 2025-10-31 13:13:22 +01:00
Julien Froidefond
349448ef69 feat: implement request deduplication and concurrency management in image loading for improved performance 2025-10-31 13:07:37 +01:00
Julien Froidefond
52350a43d9 feat: add logging enhancements by integrating pino and pino-pretty for improved error tracking and debugging across the application 2025-10-26 06:15:47 +01:00
Julien Froidefond
0c080bd525 feat: implement image caching mechanism with configurable cache duration and flush functionality 2025-10-19 10:36:19 +02:00
Julien Froidefond
7d9bac5c51 feat: add scan library functionality and related error handling in LibraryHeader and services 2025-10-19 09:55:07 +02:00
Julien Froidefond
e923343f08 feat: implement random book background feature in ClientLayout, allowing dynamic background images from selected Komga libraries 2025-10-18 22:37:59 +02:00
Julien Froidefond
816abe2b90 feat: add cache entries API and enhance CacheSettings component with server and service worker cache previews 2025-10-18 13:45:15 +02:00
Julien Froidefond
b7704207ec feat: add caching debug logs and configurable max concurrent requests for Komga API to enhance performance monitoring 2025-10-18 09:08:41 +02:00
Julien Froidefond
ae4b766085 feat: implement caching strategy for API responses and adjust loading timeout in CoverClient for improved performance 2025-10-17 23:20:42 +02:00
Julien Froidefond
592aadf4ab feat: refactor book page to use ClientBookPage component and enhance data fetching with next book information 2025-10-17 16:18:38 +02:00
Julien Froidefond
c370b8372a feat: implement DELETE API endpoints for cache invalidation in libraries and series, updating ClientLibraryPage and ClientSeriesPage to utilize these endpoints 2025-10-17 10:28:56 +02:00
Julien Froidefond
946b495ce2 feat: implement DELETE API endpoint for cache invalidation in HomeService and update ClientHomePage to utilize it 2025-10-17 10:12:50 +02:00
Julien Froidefond
e396503ddb refactor: simplify HomePage and LibraryPage components by integrating ClientHomePage and ClientLibraryPage, enhancing data fetching and error handling 2025-10-17 08:46:19 +02:00
Julien Froidefond
bf94c29bc6 fix: handle missing Komga configuration gracefully by returning an empty array instead of an error in API routes 2025-10-17 08:37:08 +02:00
Julien Froidefond
f636a7b112 feat: add cache size retrieval functionality and display in CacheSettings component 2025-10-17 08:23:27 +02:00
Julien Froidefond
0a126540fd feat: validate favorite series existence in Komga and remove non-existent entries from favorites 2025-10-16 12:54:45 +02:00
Julien Froidefond
f9102444ef feat: enhance cache clearing process with revalidation of important paths and improve logging in BaseApiService 2025-10-07 21:34:39 +02:00
Julien Froidefond
3e1f446e8b fix: slug in routes 2025-03-02 15:06:04 +01:00
Julien Froidefond
e60b48d549 fix: types of nj15 2025-03-02 14:40:15 +01:00
Julien Froidefond
a4b521fe2e fix: lint type import 2025-03-02 14:02:23 +01:00
Julien Froidefond
a3d0094cec feat: local store read progress for later sync 2025-03-01 11:37:34 +01:00
Julien Froidefond
13492cea84 feat: Clearing cache automatically after quitting e read session 2025-02-28 17:44:22 +01:00
Julien Froidefond
279f6c6e88 refacto: error and types 2025-02-27 21:59:14 +01:00
Julien Froidefond
246c0c650a refacto: massive use of getMessageError 2025-02-27 14:26:48 +01:00
Julien Froidefond
3c46afb294 refacto: types big review 2025-02-27 08:29:08 +01:00
Julien Froidefond
a690a5af6f refacto: errors in apis 2025-02-25 08:40:06 +01:00
Julien Froidefond
e80c26136a feat(pref): better form for Komga conf 2025-02-24 21:34:13 +01:00
Julien Froidefond
980a6daca2 fix(secu): don't store komga pwd but authstring 2025-02-24 08:28:43 +01:00
Julien Froidefond
54d8a0684c fix: cache file KO if reload 2025-02-23 16:03:07 +01:00
Julien Froidefond
995ec455f7 fix: delete read progress for real 2025-02-23 07:52:44 +01:00
Julien Froidefond
f04202a4ee feat(series): mark as unread 2025-02-22 17:05:13 +01:00
Julien Froidefond
222eeced12 fix: lints 2025-02-19 21:43:26 +01:00
Julien Froidefond
aed35ce2b9 feat : File caching option 2025-02-19 16:33:21 +01:00
Julien Froidefond
ba725bb1a3 refacto: tentative de refacto 2025-02-17 16:37:48 +01:00
Julien Froidefond
7ee99ac31a refacto(images): component cover dans refacto services and routes 2025-02-17 09:14:57 +01:00
Julien Froidefond
4ae606ea09 reacto: images not called directly in routes 2025-02-17 08:17:31 +01:00