Kavita/API
Joseph Milazzo 82b5b599e0
Foundational Cover Image Rework (#584)
* Updating wording on card item when total pages is 0, to be just "Cannot Read" since it could be a non-archive file

* Refactored cover images to be stored on disk. This first commit has the extraction to disk and the metadata service to handle updating when applicable.

* Refactored code to have the actual save to cover image directory done by ImageService.

* Implemented the ability to override cover images.

* Some cleanup on Image service

* Implemented the ability to cleanup old covers nightly

* Added a migration to migrate existing covers to new cover image format (files).

* Refactored all CoverImages to just be the filename, leaving the Join with Cover directory to higher level code.

* Ensure when getting user progress, we pick the first.

* Added cleanup cover images for deleted tags. Don't pull any cover images that are blank.

* After series update, clear out cover image. No change on UI, but just keeps things clear before metadata refresh hits

* Refactored image formats for covers to ImageService.

* Fixed an issue where after refactoring how images were stored, the cleanup service was deleting them after each scan.

* Changed how ShouldUpdateCoverImage works to check if file exists or not even if cover image is locked.

* Fixed unit tests

* Added caching back to cover images.

* Caching on series as well

* Code Cleanup items

* Ensure when checking if a file exists in MetadataService, that we join for cover image directory. After we scan library, do one last filter to delete any series that have 0 pages total.

* Catch exceptions so we don't run cover migration if this is first time run.

* After a scan, only clear out the cache directory and not do a deep clean.

* Implemented the ability to backup custom locked covers only.

* Fixed unit tests

* Trying to figure out why GA crashes when running MetadataServiceTests.cs

* Some debugging on GA tests not running

* Commented out tests that were causing issues in GA.

* Fixed an issue where series cover images wouldn't migrate

* Fixed the updating of links to actually do all series and not just locked
2021-09-21 19:15:29 -05:00
..
Archive Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
Comparators Bugs, Enhancements, and Performance (#580) 2021-09-15 11:06:29 -07:00
Constants Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
Controllers Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
Data Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
DTOs Continuous Reading for Webtoons & I Just Couldn't Stop Coding (#574) 2021-09-11 11:47:12 -07:00
Entities Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
Errors Removed some dead code on the interfaces. Introduced UnitOfWork to simplify repo injection. 2021-01-18 13:07:48 -06:00
Extensions Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
Helpers Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
Interfaces Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
Middleware OPDS Support (#526) 2021-08-27 10:19:25 -07:00
Parser WebP Support (#581) 2021-09-15 17:25:18 -07:00
Properties Added new API for getting Member (aka Users but for use in FE). User is just used for login/registering. 2020-12-14 14:33:09 -06:00
Services Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
SignalR Bugs, Enhancements, and Performance (#580) 2021-09-15 11:06:29 -07:00
.dockerignore EPUB Support (#178) 2021-04-28 16:16:22 -05:00
API.csproj Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
API.csproj.DotSettings Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
appsettings.Development.json Update Notifier (#464) 2021-08-09 08:52:24 -05:00
Dockerfile Sentry Integration (#212) 2021-05-11 14:45:18 -05:00
Program.cs Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
Startup.cs Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00