Kavita/UI/Web
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
..
e2e The big one (#396) 2021-07-17 14:03:11 -05:00
src Validate Download Claim (#971) 2022-01-20 07:46:59 -08:00
angular.json Up budget on style bundle size (#763) 2021-11-16 06:24:58 -08:00
LICENSE The big one (#396) 2021-07-17 14:03:11 -05:00
package-lock.json Bump follow-redirects from 1.13.0 to 1.14.7 in /UI/Web (#929) 2022-01-13 08:11:57 -08:00
package.json Misc Bugfixes (#637) 2021-10-04 17:18:42 -07:00
README.md The big one (#396) 2021-07-17 14:03:11 -05:00
setupJest.ts The big one (#396) 2021-07-17 14:03:11 -05:00
tsconfig.app.json The big one (#396) 2021-07-17 14:03:11 -05:00
tsconfig.json Bugs, Enhancements, and Performance (#580) 2021-09-15 11:06:29 -07:00
tsconfig.spec.json The big one (#396) 2021-07-17 14:03:11 -05:00
tslint.json The big one (#396) 2021-07-17 14:03:11 -05:00

Kavita Webui

This project was generated with Angular CLI version 11.0.0.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.