Kavita/API/Controllers
Joseph Milazzo eb7e2781c1
Validate Download Claim (#971)
* Partially complete, got some code to validate your Role. Needs to be applied to all methods and made a filter.

* Cleaned up the code on the backend to validate each call. The reason the RequireDownloadRole doesn't work is that the user still has the claim in their token so the simple validation isn't working. We need explicit checks.

* Don't allow users to download files if they have lost the claim but not refreshed token.

* Don't allow users to download files if they have lost the claim but not refreshed token.
2022-01-20 07:46:59 -08:00
..
AccountController.cs Book Reader Issues (#906) 2022-01-07 06:56:28 -08:00
AdminController.cs Ability to update settings. Take effect on next reboot. 2021-02-04 16:49:48 -06:00
BaseApiController.cs Cleaned up some warnings in the codebase. 2020-12-13 16:26:31 -06:00
BookController.cs Book Reader Issues (#906) 2022-01-07 06:56:28 -08:00
CollectionController.cs Fixed a critical bug where registration was broken for first time flow. Refactored how backup before migrations occured such that it now puts the db in temp. The db will be deleted automatically that night. (#900) 2022-01-05 15:07:54 -08:00
DownloadController.cs Validate Download Claim (#971) 2022-01-20 07:46:59 -08:00
FallbackController.cs .NET 6 Coding Patterns + Unit Tests (#823) 2021-12-05 08:58:53 -08:00
ImageController.cs Bookmark Refactor (#893) 2022-01-05 09:56:49 -08:00
LibraryController.cs .NET 6 Coding Patterns + Unit Tests (#823) 2021-12-05 08:58:53 -08:00
MetadataController.cs Fixed GetTags having wrong return type defined (#954) 2022-01-18 13:30:34 -08:00
OPDSController.cs Implemented Publication Status in SeriesMetadata and the ability to filter it. (#915) 2022-01-08 13:10:03 -08:00
PluginController.cs .NET 6 Coding Patterns + Unit Tests (#823) 2021-12-05 08:58:53 -08:00
ReaderController.cs Unit Tests & New Natural Sort (#941) 2022-01-15 07:39:34 -08:00
ReadingListController.cs .NET 6 Coding Patterns + Unit Tests (#823) 2021-12-05 08:58:53 -08:00
SeriesController.cs Shakeout testing Fixes (#952) 2022-01-18 08:35:59 -08:00
ServerController.cs .NET 6 Coding Patterns + Unit Tests (#823) 2021-12-05 08:58:53 -08:00
SettingsController.cs Misc Fixes and Changes (#927) 2022-01-12 15:00:00 -08:00
UploadController.cs .NET 6 Coding Patterns + Unit Tests (#823) 2021-12-05 08:58:53 -08:00
UsersController.cs .NET 6 Coding Patterns + Unit Tests (#823) 2021-12-05 08:58:53 -08:00