Kavita/API/Entities
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
..
Enums OPDS Support (#526) 2021-08-27 10:19:25 -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 Reading Lists & More (#564) 2021-09-08 12:03:27 -05: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 Bugs, Enhancements, and Performance (#580) 2021-09-15 11:06:29 -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 Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
CollectionTag.cs Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05: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 Bugs, Enhancements, and Performance (#580) 2021-09-15 11:06:29 -07:00
Person.cs Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
ReadingList.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
ReadingListItem.cs Cleanup bookmarks and Reading List Items (#567) 2021-09-08 14:41:41 -07:00
Series.cs Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05: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 Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00