Kavita/API/Extensions
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
..
ApplicationServiceExtensions.cs Send To Device Support (#1557) 2022-09-23 15:41:29 -07:00
ChapterListExtensions.cs Scan Loop Fortification (#1573) 2022-10-09 09:23:41 -07:00
ClaimsPrincipalExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
ConfigurationExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
DateTimeExtensions.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
EnumerableExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
FileInfoExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
FilterDtoExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
HttpExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
IdentityServiceExtensions.cs Auth Email Rework (#1567) 2022-10-01 08:23:35 -05:00
ParserInfoListExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
PathExtensions.cs Unit Tests & New Natural Sort (#941) 2022-01-15 07:39:34 -08:00
QueryableExtensions.cs Restricted Profiles (#1581) 2022-10-10 10:59:20 -07:00
SeriesExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
StringExtensions.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
VolumeListExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00
ZipArchiveExtensions.cs Logging Enhancements (#1521) 2022-09-12 17:25:48 -07:00