Kavita/API/Data/Migrations
Joseph Milazzo e7619e6b0a
Local Metadata Integration Part 1 (#817)
* Started with some basic plumbing with comic info parsing updating Series/Volume.

* We can now get chapter title from comicInfo.xml

* Hooked in the ability to store people into the chapter metadata.

* Removed no longer used imports, fixed up some foreign key constraints on deleting series with person linked.

* Refactored Summary out of the UI for Series into SeriesMetadata. Updated application to .net 6. There is a bug in metadata code for updating.

* Removed the parallel.ForEach with a normal foreach which lets us use async. For I/O heavy code, shouldn't change much.

* Refactored scan code to only check extensions with comic info, fixed a bug on scan events not using correct method name, removed summary field (still buggy)

* Fixed a bug where on cancelling a metadata request in modal, underlying button would get stuck in a disabled state.

* Changed how metadata selects the first volume to read summary info from. It will now select the first non-special volume rather than Volume 1.

* More debugging and found more bugs to fix

* Redid all the migrations as one single one. Fixed a bug with GetChapterInfo returning null when ChapterMetadata didn't exist for that Chapter.

Fixed an issue with mapper failing on GetChapterMetadata. Started work on adding people and a design for people.

* Fixed a bug where checking if file modified now takes into account if file has been processed at least once. Introduced a bug in saving people to series.

* Just made code compilable again

* Fixed up code. Now people for series and chapters add correctly without any db issues.

* Things are working, but I'm not happy with how the management of Person is. I need to take into account that 1 person needs to map to an image and role is arbitrary.

* Started adding UI code to showcase chapter metadata

* Updated workflow to be .NET 6

* WIP of updating card detail to show the information more clearly and without so many if statements

* Removed ChatperMetadata and store on the Chapter itself. Much easier to use and less joins.

* Implemented Genre on SeriesMetadata level

* Genres and People are now removed from Series level if they are no longer on comicInfo

* PeopleHelper is done with unit tests. Everything is working.

* Unit tests in place for Genre Helper

* Starting on CacheHelper

* Finished tests for ShouldUpdateCoverImage. Fixed and added tests in ArchiveService/ScannerService.

* CacheHelper is fully tested

* Some DI cleanup

* Scanner Service now calls GetComicInfo for books. Added ability to update Series Sort name from metadata files (mainly epub as comicinfo doesn't have a field)

* Forgot to move a line of code

* SortName now populates from metadata (epub only, ComicInfo has no tags)

* Cards now show the chapter title name if it's set on hover, else will default back to title.

* Fixed a major issue with how MangaFiles were being updated with LastModified, which messed up our logic for avoiding refreshes.

* Woohoo, more tests and some refactors to be able to test more services wtih mock filesystem. Fixed an issue where SortName was getting set as first chapter, but the Series was in a group.

* Refactored the MangaFile creation code into the DbFactory where we also setup the first LastModified update.

* Has file changed bug is now finally fixed

* Remove dead genres, refactor genre to use title instead of name.

* Refactored out a directory from ShouldUpdateCoverImage() to keep the code clean

* Unit tests for ComicInfo on BookService.

* Refactored series detail into it's own component

* Series-detail now received refresh metadata events to refresh what's on screen

* Removed references to Artist on PersonRole as it has no metadata mapping

* Security audit

* Fixed a benchmark

* Updated JWT Token generator to use new methods in .NET 6

* Updated all the docker and build commands to use net6.0

* Commented out sonar scan since it's not setup for net6.0 yet.
2021-12-02 09:02:34 -08:00
..
20201213205325_AddUser.cs Added User with ability to login and register. By default, user is not an admin. DTO expects an integer and will convert to Boolean. 2020-12-13 16:07:25 -06:00
20201213205325_AddUser.Designer.cs Added User with ability to login and register. By default, user is not an admin. DTO expects an integer and will convert to Boolean. 2020-12-13 16:07:25 -06:00
20201215195007_AddedLibrary.cs Lots of changes to get code ready to add library. 2020-12-17 11:27:19 -06:00
20201215195007_AddedLibrary.Designer.cs Lots of changes to get code ready to add library. 2020-12-17 11:27:19 -06:00
20201218173135_ManyToManyLibraries.cs Added new many to many migration for libraries and users. Add Library now works and you can get Library (entity) objects from a user. LibraryDto project is upcoming. 2020-12-18 12:01:45 -06:00
20201218173135_ManyToManyLibraries.Designer.cs Added new many to many migration for libraries and users. Add Library now works and you can get Library (entity) objects from a user. LibraryDto project is upcoming. 2020-12-18 12:01:45 -06:00
20201221141047_IdentityAdded.cs Forgot to add migrations 2020-12-21 11:18:51 -06:00
20201221141047_IdentityAdded.Designer.cs Forgot to add migrations 2020-12-21 11:18:51 -06:00
20201224155621_MiscCleanup.cs Added Hangfire with LiteDB for a task running system. At the most basic, this allows us to monitor tasks running on the system (during dev only) and run tasks on a reoccuring or ad-hoc basis. 2020-12-26 14:03:35 -06:00
20201224155621_MiscCleanup.Designer.cs Added Policy for getUsers and moved some APIs. 2020-12-24 10:13:22 -06:00
20201229190216_SeriesAndVolumeEntities.cs Rough version of Saving Series, Volumes, and MangaFiles to the DB. Relies on Cascaded delete rather than manually handling updating of file changes. 2020-12-30 11:30:12 -06:00
20201229190216_SeriesAndVolumeEntities.Designer.cs Rough version of Saving Series, Volumes, and MangaFiles to the DB. Relies on Cascaded delete rather than manually handling updating of file changes. 2020-12-30 11:30:12 -06:00
20210101180935_AddedCoverImageToSeries.cs Fixed a bug in ScanLibrary that caused duplicated Volumes. Implemented APIs for navigating down to Volume for webui. 2021-01-01 14:04:31 -06:00
20210101180935_AddedCoverImageToSeries.Designer.cs Fixed a bug in ScanLibrary that caused duplicated Volumes. Implemented APIs for navigating down to Volume for webui. 2021-01-01 14:04:31 -06:00
20210102165536_EntityTimestamps.cs 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
20210102165536_EntityTimestamps.Designer.cs 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
20210102173326_VolumeNumberRefactor.cs Refactored Volume to have Name and Number (int) so that we can properly sort and still handle possible split volumes. 2021-01-02 12:21:36 -06:00
20210102173326_VolumeNumberRefactor.Designer.cs Refactored Volume to have Name and Number (int) so that we can properly sort and still handle possible split volumes. 2021-01-02 12:21:36 -06:00
20210103201043_RemoveUserIsAdmin.cs Added migration for removing IsAdmin column since we use IdentityService Roles instead. 2021-01-03 14:16:06 -06:00
20210103201043_RemoveUserIsAdmin.Designer.cs Added migration for removing IsAdmin column since we use IdentityService Roles instead. 2021-01-03 14:16:06 -06:00
20210103230812_SeriesCoverImage.cs adding initial coverimage functionality 2021-01-03 19:50:10 -06:00
20210103230812_SeriesCoverImage.Designer.cs adding initial coverimage functionality 2021-01-03 19:50:10 -06:00
20210104011624_VolumeCoverImage.cs adding initial coverimage functionality 2021-01-03 19:50:10 -06:00
20210104011624_VolumeCoverImage.Designer.cs adding initial coverimage functionality 2021-01-03 19:50:10 -06:00
20210109205034_CacheMetadata.cs Refactored ScanLibrary to produce page numbers on the Manga File, Format and to update existing series/volumes rather than always create new entries. 2021-01-09 15:27:04 -06:00
20210109205034_CacheMetadata.Designer.cs Refactored ScanLibrary to produce page numbers on the Manga File, Format and to update existing series/volumes rather than always create new entries. 2021-01-09 15:27:04 -06:00
20210111231840_VolumePages.cs Refactored volume to contain pages and removed /reader/info API endpoint. 2021-01-11 17:36:11 -06:00
20210111231840_VolumePages.Designer.cs Refactored volume to contain pages and removed /reader/info API endpoint. 2021-01-11 17:36:11 -06:00
20210114214506_UserProgress.cs Very messy code that implements read status tracking. Needs major cleanup. 2021-01-17 15:05:27 -06:00
20210114214506_UserProgress.Designer.cs Very messy code that implements read status tracking. Needs major cleanup. 2021-01-17 15:05:27 -06:00
20210117180406_ReadStatusModifications.cs Very messy code that implements read status tracking. Needs major cleanup. 2021-01-17 15:05:27 -06:00
20210117180406_ReadStatusModifications.Designer.cs Very messy code that implements read status tracking. Needs major cleanup. 2021-01-17 15:05:27 -06:00
20210117181421_SeriesPages.cs Very messy code that implements read status tracking. Needs major cleanup. 2021-01-17 15:05:27 -06:00
20210117181421_SeriesPages.Designer.cs Very messy code that implements read status tracking. Needs major cleanup. 2021-01-17 15:05:27 -06:00
20210119213837_AppUserRatingAndReviews.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
20210119213837_AppUserRatingAndReviews.Designer.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
20210121180051_AddedServerSettings.cs Implemented ability to have server settings. Currently cache directory is there but it is not configurable (or used in this commit) 2021-01-23 09:01:10 -06:00
20210121180051_AddedServerSettings.Designer.cs Implemented ability to have server settings. Currently cache directory is there but it is not configurable (or used in this commit) 2021-01-23 09:01:10 -06:00
20210121215532_ServerSettingsAdjustment.cs Implemented ability to have server settings. Currently cache directory is there but it is not configurable (or used in this commit) 2021-01-23 09:01:10 -06:00
20210121215532_ServerSettingsAdjustment.Designer.cs Implemented ability to have server settings. Currently cache directory is there but it is not configurable (or used in this commit) 2021-01-23 09:01:10 -06:00
20210122165809_ServerSettingsChange.cs Implemented ability to have server settings. Currently cache directory is there but it is not configurable (or used in this commit) 2021-01-23 09:01:10 -06:00
20210122165809_ServerSettingsChange.Designer.cs Implemented ability to have server settings. Currently cache directory is there but it is not configurable (or used in this commit) 2021-01-23 09:01:10 -06:00
20210122172455_ServerSettingsPrimaryKey.cs Implemented ability to have server settings. Currently cache directory is there but it is not configurable (or used in this commit) 2021-01-23 09:01:10 -06:00
20210122172455_ServerSettingsPrimaryKey.Designer.cs Implemented ability to have server settings. Currently cache directory is there but it is not configurable (or used in this commit) 2021-01-23 09:01:10 -06:00
20210128143348_SeriesVolumeChapterChange.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
20210128143348_SeriesVolumeChapterChange.Designer.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
20210128201832_MangaFileChapterRelationship.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
20210128201832_MangaFileChapterRelationship.Designer.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
20210203164258_ServerSettingsKey.cs Ability to update settings. Take effect on next reboot. 2021-02-04 16:49:48 -06:00
20210203164258_ServerSettingsKey.Designer.cs Ability to update settings. Take effect on next reboot. 2021-02-04 16:49:48 -06:00
20210205220227_UserPreferences.cs Fixed a deployment bug where we weren't listening on port properly. New way will force firewall exception dialog on Windows and work across board. Implemented user preferences and ability to update them. 2021-02-06 13:08:48 -06:00
20210205220227_UserPreferences.Designer.cs Fixed a deployment bug where we weren't listening on port properly. New way will force firewall exception dialog on Windows and work across board. Implemented user preferences and ability to update them. 2021-02-06 13:08:48 -06:00
20210207231256_SeriesNormalizedName.cs A hefty refactor of the ScanLibrary code. There were significant fallouts due to duplicate entities getting created and SingleOrDefaults failing. 2021-02-08 12:03:52 -06:00
20210207231256_SeriesNormalizedName.Designer.cs A hefty refactor of the ScanLibrary code. There were significant fallouts due to duplicate entities getting created and SingleOrDefaults failing. 2021-02-08 12:03:52 -06:00
20210225150830_AddLocalizedName.cs Implemented the ability to correct a match from UI and further scans will show that new Series name. 2021-03-08 09:33:35 -06:00
20210225150830_AddLocalizedName.Designer.cs Implemented the ability to correct a match from UI and further scans will show that new Series name. 2021-03-08 09:33:35 -06:00
20210315134028_SearchIndexAndProgressDates.cs Hangfire now dies gracefully when using CTRL+C rather than Stop button in Rider. Implemented one stream method for testing. Regenerated a few migrations due to oversight in index not taking account of library. 2021-03-15 08:43:43 -05:00
20210315134028_SearchIndexAndProgressDates.Designer.cs Hangfire now dies gracefully when using CTRL+C rather than Stop button in Rider. Implemented one stream method for testing. Regenerated a few migrations due to oversight in index not taking account of library. 2021-03-15 08:43:43 -05:00
20210322212724_MangaFileToPages.cs Some code cleanup 2021-03-23 12:22:47 -05:00
20210322212724_MangaFileToPages.Designer.cs Some code cleanup 2021-03-23 12:22:47 -05:00
20210323213507_LastModifiedOnMangaFiles.cs When we scan a library, store the last write time for a file so we can skip page calculation if there were no modifications. 2021-03-23 17:28:48 -05:00
20210323213507_LastModifiedOnMangaFiles.Designer.cs When we scan a library, store the last write time for a file so we can skip page calculation if there were no modifications. 2021-03-23 17:28:48 -05:00
20210330134414_IsSpecialOnChapters.cs Special Grouping (#134) 2021-03-31 12:10:26 -05:00
20210330134414_IsSpecialOnChapters.Designer.cs Special Grouping (#134) 2021-03-31 12:10:26 -05:00
20210419222000_BookReaderPreferences.cs EPUB Support (#178) 2021-04-28 16:16:22 -05:00
20210419222000_BookReaderPreferences.Designer.cs EPUB Support (#178) 2021-04-28 16:16:22 -05:00
20210419234652_BookReaderPreferencesFontSize.cs EPUB Support (#178) 2021-04-28 16:16:22 -05:00
20210419234652_BookReaderPreferencesFontSize.Designer.cs EPUB Support (#178) 2021-04-28 16:16:22 -05:00
20210423132900_CustomChapterTitle.cs EPUB Support (#178) 2021-04-28 16:16:22 -05:00
20210423132900_CustomChapterTitle.Designer.cs EPUB Support (#178) 2021-04-28 16:16:22 -05:00
20210504184715_TapToPaginatePref.cs Tap to Paginate User Pref (#197) 2021-05-04 17:01:27 -05:00
20210504184715_TapToPaginatePref.Designer.cs Tap to Paginate User Pref (#197) 2021-05-04 17:01:27 -05:00
20210509014029_SiteDarkModePreference.cs Implemented Dark Mode (#203) 2021-05-09 08:44:12 -05:00
20210509014029_SiteDarkModePreference.Designer.cs Implemented Dark Mode (#203) 2021-05-09 08:44:12 -05:00
20210519215934_CollectionTag.cs Don't log exceptions to Sentry when debugging locally. Fixed a constraint issue with collection tags that prevented deleting series. Ensure when we scan we add SeriesMetadata objects to existing series. (#265) 2021-06-04 17:49:19 -05:00
20210519215934_CollectionTag.Designer.cs Collection Support (#234) 2021-05-30 17:24:23 -05:00
20210528150353_CollectionCoverImage.cs Collection Support (#234) 2021-05-30 17:24:23 -05:00
20210528150353_CollectionCoverImage.Designer.cs Collection Support (#234) 2021-05-30 17:24:23 -05:00
20210530201541_CollectionSummary.cs Collection Support (#234) 2021-05-30 17:24:23 -05:00
20210530201541_CollectionSummary.Designer.cs Collection Support (#234) 2021-05-30 17:24:23 -05:00
20210603133957_BookReadingDirectionPref.cs Added book reader reading direction preference (#249) 2021-06-03 09:05:07 -05:00
20210603133957_BookReadingDirectionPref.Designer.cs Added book reader reading direction preference (#249) 2021-06-03 09:05:07 -05:00
20210603212429_BookScrollIdProgress.cs Book Reading Progress Enhancement (#259) 2021-06-03 18:33:13 -05:00
20210603212429_BookScrollIdProgress.Designer.cs Book Reading Progress Enhancement (#259) 2021-06-03 18:33:13 -05:00
20210622164318_NewUserPreferences.cs Manga Redesign (#321) 2021-06-24 19:31:42 -05:00
20210622164318_NewUserPreferences.Designer.cs Manga Redesign (#321) 2021-06-24 19:31:42 -05:00
20210722223304_AddedSeriesFormat.cs PDF Support + MORE!!!! (#416) 2021-07-22 21:13:24 -05:00
20210722223304_AddedSeriesFormat.Designer.cs PDF Support + MORE!!!! (#416) 2021-07-22 21:13:24 -05:00
20210809210326_BookmarkPages.cs Bookmarking Pages within the Reader (#469) 2021-08-10 18:18:07 -05:00
20210809210326_BookmarkPages.Designer.cs Bookmarking Pages within the Reader (#469) 2021-08-10 18:18:07 -05:00
20210813010210_CoverImageLockFieldsPart1.cs Custom Cover Images (#499) 2021-08-15 10:36:47 -07:00
20210813010210_CoverImageLockFieldsPart1.Designer.cs Custom Cover Images (#499) 2021-08-15 10:36:47 -07:00
20210814215831_CoverImageLockedFieldsPart2.cs Custom Cover Images (#499) 2021-08-15 10:36:47 -07:00
20210814215831_CoverImageLockedFieldsPart2.Designer.cs Custom Cover Images (#499) 2021-08-15 10:36:47 -07:00
20210817152226_ProgressConcurencyCheck.cs Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
20210817152226_ProgressConcurencyCheck.Designer.cs Misc Bugfixes and Enhancements (#507) 2021-08-17 14:15:32 -07:00
20210826203258_userApiKey.cs OPDS Support (#526) 2021-08-27 10:19:25 -07:00
20210826203258_userApiKey.Designer.cs OPDS Support (#526) 2021-08-27 10:19:25 -07:00
20210901150310_ReadingLists.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
20210901150310_ReadingLists.Designer.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
20210901200442_ReadingListsAdditions.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
20210901200442_ReadingListsAdditions.Designer.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
20210902110705_ReadingListsExtraRealationships.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
20210902110705_ReadingListsExtraRealationships.Designer.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
20210906140845_ReadingListsChanges.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
20210906140845_ReadingListsChanges.Designer.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
20210916142418_EntityImageRefactor.cs Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
20210916142418_EntityImageRefactor.Designer.cs Foundational Cover Image Rework (#584) 2021-09-21 19:15:29 -05:00
20211001113608_LastScannedLibrary.cs Polishing and Bugfixes (#613) 2021-10-01 08:13:55 -07:00
20211001113608_LastScannedLibrary.Designer.cs Polishing and Bugfixes (#613) 2021-10-01 08:13:55 -07:00
20211127200244_MetadataFoundation.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
20211127200244_MetadataFoundation.Designer.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
20211129231007_RemoveChapterMetadata.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
20211129231007_RemoveChapterMetadata.Designer.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
20211130134642_GenreProvider.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
20211130134642_GenreProvider.Designer.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
20211201230003_GenreTitle.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
20211201230003_GenreTitle.Designer.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
DataContextModelSnapshot.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00