Kavita/API.Tests/Services
Joe Milazzo 442af965c6
Restricted Profiles (#1581)
* Added ReadingList age rating from all series and started on some unit tests for the new flows.

* Wrote more unit tests for Reading Lists

* Added ability to restrict user accounts to a given age rating via admin edit user modal and invite user. This commit contains all basic code, but no query modifications.

* When updating a reading list's title via UI, explicitly check if there is an existing RL with the same title.

* Refactored Reading List calculation to work properly in the flows it's invoked from.

* Cleaned up an unused method

* Promoted Collections no longer show tags where a Series exists within them that is above the user's age rating.

* Collection search now respects age restrictions

* Series Detail page now checks if the user has explicit access (as a user might bypass with direct url access)

* Hooked up age restriction for dashboard activity streams.

* Refactored some methods from Series Controller and Library Controller to a new Search Controller to keep things organized

* Updated Search to respect age restrictions

* Refactored all the Age Restriction queries to extensions

* Related Series no longer show up if they are out of the age restriction

* Fixed a bad mapping for the update age restriction api

* Fixed a UI state change after updating age restriction

* Fixed unit test

* Added a migration for reading lists

* Code cleanup
2022-10-10 10:59:20 -07:00
..
Test Data Fallback to other locations when ComicInfo.xml not at root of archive (#1551) 2022-09-22 14:44:01 -07:00
ArchiveServiceTests.cs Fallback to other locations when ComicInfo.xml not at root of archive (#1551) 2022-09-22 14:44:01 -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 Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
CacheServiceTests.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
CleanupServiceTests.cs Misc Polish and Fixes (#1542) 2022-09-18 10:24:30 -07:00
DeviceServiceTests.cs Disable Animations + Lots of bugfixes and Polish (#1561) 2022-09-26 10:40:25 -07:00
DirectoryServiceTests.cs Scan Loop Fortification (#1573) 2022-10-09 09:23:41 -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 Misc Polish (#1569) 2022-10-04 17:40:34 -07:00
ReaderServiceTests.cs Tachiyomi unit tests and fixes (#1549) 2022-09-20 09:46:46 -07:00
ReadingListServiceTests.cs Restricted Profiles (#1581) 2022-10-10 10:59:20 -07:00
ScannerServiceTests.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
SeriesServiceTests.cs Scan Loop Fixes (#1572) 2022-10-05 19:30:37 -07: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