Kavita/API
Robbie Davis a601942ec5
Cover generation issue on first scan flow (#517)
* Cover generation issue on first scan flow

- Fixed logic around whether a chapter cover image should be generated. New logic adds grouping priority, changes an AND to an OR and adds an additional check to see if the cover image has been lock (custom image uploaded)

* Sonar update

* Refactored out the cover image updating logic to a new call (ShouldUpdateCoverImage) and updated ONLY chapters. Added a blank slate unit test to build out conditions.

* Fixed up unit case

* Fixed some logic on when to update a cover image

* Fixed an issue where 1) we were refreshing metadata anytime we adjusted cover image on a series and 2) Cover generation wasn't properly being handled on first run.

* Cleaned up the code for when a cover image change needs to trigger a refresh metadata task

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
2021-08-22 11:32:38 -07:00
..
Archive Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
Comparators The big one (#396) 2021-07-17 14:03:11 -05:00
Constants Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
Controllers Cover generation issue on first scan flow (#517) 2021-08-22 11:32:38 -07:00
Data Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
DTOs Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
Entities Cover generation issue on first scan flow (#517) 2021-08-22 11:32:38 -07:00
Errors Removed some dead code on the interfaces. Introduced UnitOfWork to simplify repo injection. 2021-01-18 13:07:48 -06:00
Extensions Cover generation issue on first scan flow (#517) 2021-08-22 11:32:38 -07:00
Helpers Bookmarking Pages within the Reader (#469) 2021-08-10 18:18:07 -05:00
Interfaces Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
Middleware EPUB Support (#178) 2021-04-28 16:16:22 -05:00
Parser Parsing out cover images (#513) 2021-08-21 14:44:35 -04: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 Cover generation issue on first scan flow (#517) 2021-08-22 11:32:38 -07:00
SignalR Update Notification Refactor (#511) 2021-08-19 18:49:53 -05:00
.dockerignore EPUB Support (#178) 2021-04-28 16:16:22 -05:00
API.csproj Custom Cover Images (#499) 2021-08-15 10:36:47 -07: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 Misc Polishing (#413) 2021-07-20 21:39:44 -05:00
Startup.cs Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00