Commit Graph

537 Commits

Author SHA1 Message Date
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
7e3fb22d3a docs: add server actions conversion plan 2026-02-28 10:39:28 +01:00
546f3769c2 refactor: remove unused read-progress API route 2026-02-28 10:36:58 +01:00
03cb46f81b refactor: use Server Actions for read progress updates
- Create src/app/actions/read-progress.ts with updateReadProgress and deleteReadProgress
- Update mark-as-read-button and mark-as-unread-button to use Server Actions
- Update usePageNavigation hook to use Server Action
- Use revalidateTag with 'min' profile for cache invalidation
2026-02-28 10:34:26 +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
7523ec06e1 fix: optimistic favorites
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 3m53s
2026-02-28 09:38:22 +01:00
2908172777 feat: books fetch on SSR in book reader
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 17s
2026-02-28 08:50:57 +01:00
2669fb9865 docs: update plan optim
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 2s
2026-02-27 17:01:32 +01:00
fcbd9d0533 chore: next upgrade 2026-02-27 17:01:14 +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
bcfd602353 refactor: simplify CoverClient component 2026-02-27 09:41:58 +01:00
38c7e59366 fix: use fullTextSearch in body for series search API 2026-02-27 09:14:53 +01:00
b9c8b05bc8 fix: resolve komga api errors 2026-02-27 09:02:11 +01:00
Julien Froidefond
034aa69f8d feat: update service worker to version 2.5 and enhance caching strategies for network requests, including cache bypass for refresh actions in LibraryClientWrapper, SeriesClientWrapper, and HomeClientWrapper components
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 5m3s
2026-01-04 11:44:50 +01:00
Julien Froidefond
060dfb3099 fix: adjust thumbnail size and optimize image loading in BookDownloadCard component
Some checks are pending
Deploy with Docker Compose / deploy (push) Has started running
2026-01-04 11:41:13 +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
0d33462349 feat: update service worker to version 2.4, enhance caching strategies for pages, and add service worker reinstallation functionality in CacheSettings component
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m57s
2026-01-04 07:39:07 +01:00
Julien Froidefond
b8a0b85c54 refactor: rename Image import to ImageIcon for clarity in CacheSettings component and remove unused React import in collapsible component 2026-01-04 07:18:22 +01:00
Julien Froidefond
2c8c0b5eb0 feat: enhance service worker functionality with improved caching strategies, client communication, and service worker registration options
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 3m42s
2026-01-04 06:48:17 +01:00
Julien Froidefond
b497746cfa feat: enhance home and library pages by integrating new data fetching methods, improving error handling, and refactoring components for better structure
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m17s
2026-01-04 06:19:45 +01:00
Julien Froidefond
489e570348 feat: enrich library data by fetching book counts from the API and handling errors gracefully 2026-01-04 05:57:22 +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
0d7d27ef82 refactor: streamline image handling by implementing direct streaming in BookService and ImageService, and update .gitignore to include temp directory 2026-01-03 22:03:35 +01:00
Julien Froidefond
e903b55a46 refactor: implement abort controller for fetch requests in multiple components to prevent memory leaks and improve error handling 2026-01-03 21:51:07 +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
acd26ea427 chore: optimize Dockerfile by removing PNPM_HOME environment variable and using cache mount for pnpm store during dependency installation
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 5m36s
2025-12-13 12:15:40 +01:00
Julien Froidefond
4fac95a1d8 fix: update next
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m11s
2025-12-13 07:24:45 +01:00
Julien Froidefond
8f0e343e8e chore: fix DATABASE_URL in docker-compose.yml to use the correct absolute path for SQLite database
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 8s
2025-12-11 11:07:33 +01:00
Julien Froidefond
853518e1fd chore: update DATABASE_URL in docker-compose.yml to use the correct path for SQLite database
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 9s
2025-12-11 11:06:38 +01:00
Julien Froidefond
b8e7c5a005 chore: update docker-compose.yml to change default path for Prisma data volume to a relative path
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 8s
2025-12-11 11:05:49 +01:00
Julien Froidefond
03c74d96c4 chore: update docker-compose.yml to correct the default path for Prisma data volume
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 8s
2025-12-11 11:02:37 +01:00
Julien Froidefond
5da6f9f991 chore: update docker-compose.yml to specify absolute path for Prisma data volume
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 7s
2025-12-11 11:01:09 +01:00
Julien Froidefond
de505cc8f6 chore: add PRISMA_DATA_PATH environment variable to deployment workflow for improved Prisma data management
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 12s
2025-12-11 10:59:03 +01:00
Julien Froidefond
c49c3d7fc4 chore: update docker-compose configuration to rename app service, adjust volume path for Prisma data, and set DATABASE_URL for SQLite
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 55s
2025-12-11 10:52:06 +01:00
Julien Froidefond
f9a4e596d4 chore: update deployment workflow to enable Docker BuildKit and set environment variables for production
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 10s
2025-12-11 08:54:54 +01:00
Julien Froidefond
0c1b8287d1 refactor: enhance ServerCacheService to support dynamic cache key generation for improved cache management
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-11 08:33:32 +01:00
Julien Froidefond
87ac116b9b feat: implement recursive file deletion in ServerCacheService to remove matching JSON cache files based on prefix key 2025-12-07 19:35:12 +01:00
Julien Froidefond
90b213a407 refactor: improve readability of BookGrid and BookList components by formatting props for better clarity 2025-12-07 18:49:31 +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
6b6fed34fb feat: integrate user preferences for unread series and books in PaginatedSeriesGrid and PaginatedBookGrid components 2025-12-07 18:49:04 +01:00
Julien Froidefond
feb8444b35 refactor: streamline book and series services by removing deprecated methods and enhancing API calls for fetching books and series data 2025-12-07 13:09:29 +01:00
Julien Froidefond
10b903a136 refactor: update API service parameters to support multiple values and enhance filtering logic for library and series services 2025-12-07 12:58:34 +01:00
Julien Froidefond
e242b919ac Revert "refactor: implement caching for user preferences using ServerCacheService to reduce database calls and improve performance"
This reverts commit 1fa4024f91.
2025-12-07 11:57:20 +01:00
Julien Froidefond
1fa4024f91 refactor: implement caching for user preferences using ServerCacheService to reduce database calls and improve performance 2025-12-07 11:40:10 +01:00
Julien Froidefond
daeb90262a refactor: optimize ServerCacheService TTL settings for paginated lists and static data to enhance caching efficiency 2025-12-07 11:37:20 +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
c4ae6a1b2f refactor: disable service worker caching for API data, transitioning to server-side caching with ServerCacheService to simplify cache management 2025-12-07 11:36:00 +01:00
Julien Froidefond
0bbc92b0e4 refactor: enhance library and series services to improve API data fetching and caching mechanisms, including client-side filtering for deleted items and unread status 2025-12-07 11:12:47 +01:00
Julien Froidefond
4c4ebf2b06 Revert "feat: enhance ClientSeriesPage to utilize initial series and books props for improved data handling and loading state management"
This reverts commit 239ea19ac3.
2025-12-07 10:10:55 +01:00