Kavita/API.Tests/Services
Joe Milazzo 3f24dc7392
Reading List Fixes (#1784)
* Add ability to save readinglist comicinfo fields in Chapter.

* Added the appropriate fields and migration for Reading List generation.

* Started the reading list code

* Started building out the CBL import code with some initial unit tests.

* Fixed first unit test

* Started refactoring control code into services and writing unit tests for ReadingLists. Found a logic issue around reading list title between create/update. Will be corrected in this branch with unit tests.

* Can't figure out how to mock UserManager, so had to uncomment a few tests.

* Tooltip for total pages read shows the full number

* Tweaked the math a bit for average reading per week.

* Fixed up the reading list unit tests. Fixed an issue where when inserting chapters into a blank reading list, the initial reading list item would have an order of 1 instead of 0.

* Cleaned up the code to allow the reading list code to be localized easily and fixed up a bug in last PR.

* Fixed a sorting issue on reading activity

* Tweaked the code around reading list actionables not showing due to some weird filter.

* Fixed edit library settings not opening on library detail page

* Fixed a bug where reading activity dates would be out of order due to a bug in how charts works. A temp hack has been added.

* Disable promotion in edit reading list modal since non-admins can (and should have) been able to use it.

* Fixed a bug where non-admins couldn't update their OWN reading lists. Made uploading a cover image for readinglists now check against the user's reading list access to allow non-admin's to set images.

* Fixed an issue introduced earlier in PR where adding chapters to reading list could cause order to get skewed.

* Fixed another regression from earlier commit

* Hooked in Import CBL flow. No functionality yet.

* Code is a mess. Shifting how the whole import process is going to be done. Commiting so I can pivot drastically.

* Very rough code for first step is done.

* Ui has started, I've run out of steam for this feature.

* Cleaned up the UI code a bit to make the step tracker nature easier without a dedicated component.

* Much flow implementation and tweaking to how validation checks and what is sent back.

* Removed import via cbl code as it's not done. Pushing to next release.
2023-02-12 08:20:51 -08:00
..
Test Data Reading List Fixes (#1784) 2023-02-12 08:20:51 -08:00
ArchiveServiceTests.cs v0.6.1 Hotfix RC (#1635) 2022-11-05 06:56:48 -07:00
BackupServiceTests.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
BookmarkServiceTests.cs Misc Polish (#1569) 2022-10-04 17:40:34 -07:00
BookServiceTests.cs v0.6.1 Hotfix RC (#1635) 2022-11-05 06:56:48 -07:00
CacheServiceTests.cs File Dimension API (#1690) 2022-12-11 06:54:34 -08:00
CleanupServiceTests.cs UTC Dates + CDisplayEx API Enhancements (#1781) 2023-02-11 04:01:24 -08:00
CollectionTagServiceTests.cs Auto Collection Bugfixes (#1769) 2023-02-01 08:22:02 -08:00
DeviceServiceTests.cs Automatic Collection Creation (#1768) 2023-01-30 19:57:46 -08:00
DirectoryServiceTests.cs v0.6.1 Hotfix RC (#1635) 2022-11-05 06:56:48 -07:00
FileSystemTests.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
MetadataServiceTests.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
ParseScannedFilesTests.cs WebP Covers + Series Detail Enhancements (#1652) 2022-11-14 06:43:19 -08:00
ReaderServiceTests.cs Swipe Issues (#1745) 2023-01-12 17:24:58 -08:00
ReadingListServiceTests.cs Reading List Fixes (#1784) 2023-02-12 08:20:51 -08:00
ScannerServiceTests.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
SeriesServiceTests.cs Scanner Performance Improvements (#1774) 2023-02-03 04:52:51 -08:00
SiteThemeServiceTests.cs Scan Loop Last Write Time Change (#1492) 2022-08-30 08:29:09 -07:00
TachiyomiServiceTests.cs Tachiyomi unit tests and fixes (#1549) 2022-09-20 09:46:46 -07:00
WordCountAnalysisTests.cs [skip ci] Misc stuff (#1766) 2023-01-30 12:36:45 -08:00