Kavita/API/Services
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
..
Clients Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
HostedServices Update Notifier (#464) 2021-08-09 08:52:24 -05:00
Tasks Cover generation issue on first scan flow (#517) 2021-08-22 11:32:38 -07:00
ArchiveService.cs Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
BookService.cs Filtering Bugs (#447) 2021-07-28 14:11:49 -05:00
CacheService.cs Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
ComicInfo.cs Manga Redesign (#321) 2021-06-24 19:31:42 -05:00
DirectoryService.cs Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
ImageService.cs Feature/bookmark feedback (#508) 2021-08-18 17:16:05 -07:00
MetadataService.cs Cover generation issue on first scan flow (#517) 2021-08-22 11:32:38 -07:00
TaskScheduler.cs Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
TokenService.cs Implemented download log files (not in service). Refactored backupservice to handle log file splitting. Improved a few interfaces and added some unit tests around them. 2021-02-24 11:59:16 -06:00
WarmupServiceStartupTask.cs Lots of Hangfire attempts to solve the lock issue. Not sure how to fix it. Added some APIs for streams. 2021-03-15 13:49:13 -05:00