Kavita/API/Extensions
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
..
ApplicationServiceExtensions.cs Update Notifier (#464) 2021-08-09 08:52:24 -05:00
ChapterListExtensions.cs EPUB Support (#178) 2021-04-28 16:16:22 -05:00
ClaimsPrincipalExtensions.cs Reduce Unauthenticated Errors in Sentry (#238) 2021-06-01 06:57:46 -05:00
ConfigurationExtensions.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
DirectoryInfoExtensions.cs Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
EnumerableExtensions.cs Temp commit to record attempts. Stream APIs are implemented and working. Added some new test cases based on deployed Kavita server testing. 2021-03-17 14:29:50 -05:00
FileInfoExtensions.cs Cover generation issue on first scan flow (#517) 2021-08-22 11:32:38 -07:00
FilterDtoExtensions.cs Bugfix/in progress (#452) 2021-07-29 19:57:06 -05:00
HttpExtensions.cs Fix security issue. SHA1 has collisions, switching to SHA256 2021-03-14 10:23:10 -05:00
IdentityServiceExtensions.cs Update Notifier (#464) 2021-08-09 08:52:24 -05:00
ParserInfoListExtensions.cs PDF Support + MORE!!!! (#416) 2021-07-22 21:13:24 -05:00
SeriesExtensions.cs Feature/performance pdf (#426) 2021-07-24 16:17:13 -05:00
ServiceCollectionExtensions.cs The big one (#396) 2021-07-17 14:03:11 -05:00
VolumeListExtensions.cs Feature/performance pdf (#426) 2021-07-24 16:17:13 -05:00
ZipArchiveExtensions.cs Added a basic cache service to handle interations with the underlying cache implementation. Refactored some code to be more robust. 2021-01-09 16:14:28 -06:00