Kavita/API/Entities
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
..
Enums Custom Cover Images (#499) 2021-08-15 10:36:47 -07:00
Interfaces Added ability to automatically track last modified and created timestamps for entities via an interface. DBContext will automatically update for us. 2021-01-02 10:59:52 -06:00
AppRole.cs Refractor token auth stuff to use identiycore framework 2020-12-21 09:24:21 -06:00
AppUser.cs Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
AppUserBookmark.cs Bookmarking Pages within the Reader (#469) 2021-08-10 18:18:07 -05:00
AppUserPreferences.cs Set dark mode to true and migration (#348) 2021-06-30 12:40:04 -05:00
AppUserProgress.cs Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
AppUserRating.cs Implemented ability to leave a rating (up to 5 stars) and a text review (not UI supported until v0.2). 2021-01-19 17:06:26 -06:00
AppUserRole.cs Refractor token auth stuff to use identiycore framework 2020-12-21 09:24:21 -06:00
Chapter.cs Custom Cover Images (#499) 2021-08-15 10:36:47 -07:00
CollectionTag.cs Bugfix/release cleanup (#512) 2021-08-21 10:03:47 -07:00
FolderPath.cs Refactored DB to be Series->Volumes->Chapters instead. All functionality that previously worked still works. Cleanup still needed. 2021-02-01 09:29:11 -06:00
Genre.cs Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
Library.cs Lots of cleanup 2021-02-07 12:02:47 -06:00
MangaFile.cs Cover generation issue on first scan flow (#517) 2021-08-22 11:32:38 -07:00
Person.cs Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
Series.cs Custom Cover Images (#499) 2021-08-15 10:36:47 -07:00
SeriesMetadata.cs Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
ServerSetting.cs Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
Volume.cs EPUB Support (#178) 2021-04-28 16:16:22 -05:00