aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/UserApi.ts
Commit message (Collapse)AuthorAge
* Upgrade node modulesLibravatar Vijay A2024-03-21
|
* refactor: remove unused code with knip (#1492)Libravatar MCMXC2023-12-22
| | | - remove unused code snippets flagged by `npx knip`
* Add new token request (#1384)Libravatar André Oliveira2023-10-13
| | | | | | | | | | | | | | | | | * Add new token request This exists so that the user generates a new JWT token with the new adonisjs update on the server (that is now stored - hashed and using the adonis5-jwt package - which previously wasn't). This logic enhances security as we can delete the tokens on the jwt_tokens database in order to log-off users in case the APP_KEY is compromised (if we are hacked, for instance). After some time (maybe months after the migration) we can delete the old code on the server side that handles the deprecated JWT tokens (and possibly change the APP_KEY used to sign the old certificates - we can now probably use certs to sign the JWT - to enhance security as well). * Update src/api/server/ServerApi.ts Co-authored-by: MCMXC <16797721+mcmxcdev@users.noreply.github.com> * Update src/stores/UserStore.ts Co-authored-by: MCMXC <16797721+mcmxcdev@users.noreply.github.com> --------- Co-authored-by: MCMXC <16797721+mcmxcdev@users.noreply.github.com>
* refactor: more lint improvementsLibravatar MCMXC2023-07-30
| | | | | | | | | - set parserOptions.ecmaVersion to latest and env to es2024 in eslint config - install missing types libraries - install eslint-plugin-sonar - enable eslint-plugin-sonar recommended rules and declare jsx-runtime for react in eslint config - clean up disabled lint rules which don't inflict problems anymore - disable various lint issues and fix others
* chore: convert various files from JS to TS (#2010)Libravatar Markus Hatvan2021-10-02