Commit Graph

1514 Commits

Author SHA1 Message Date
Eli Bosley
7ceac1b184 feat: switch to nest-commander 2025-01-27 13:34:32 -05:00
mdatelle
3348a47470 feat: add command to package.json scripts 2025-01-27 13:34:32 -05:00
mdatelle
85cdb8f525 feat: add description flag, remove console log, and update readme 2025-01-27 13:34:32 -05:00
mdatelle
796cb09c61 feat: create key cli command logic and add to index command list 2025-01-27 13:34:32 -05:00
Eli Bosley
a554bde5c2 feat: initial setup of permissions on keys (#1068)
* feat: initial setup of permissions on keys

* fix: remove API keys

* test: update me resolver, findByIdWithSecret, findByKey and saveApiKey tests

* test: update and fix the rest of the failing api key tests

* fix: add reflect-metadata to test setup in vite config

* fix: revert myservers.cfg to original

* fix: update User type on me resolver

* fix: make permissions nullable and rerun codegen

* fix: update import syntax in me resolver

* refactor: move create-local-connect-api-key to api key service and handle in onModuleInit

* test: add tests for createLocalApiKeyForConnectIfNecessary

* refactor: add validation to me resolver

* refactor: address code rabbit suggestions

* refactor: update me resolver tests and fix hasOwnProperty error

* refactor: remove console log

* test: add additional coverage for me resolver tests

* test: fix failing test

* refactor: address review comments, add new api-key service test, and remove deprecated keys

* refactor: address review comments

---------

Co-authored-by: mdatelle <mike@datelle.net>
2025-01-23 15:37:15 -05:00
Pujit Mehrotra
3acc0dc9c0 fix: integration of unraid-ui tailwind config in web (#1074)
* fix: integration of unraid-ui tailwind config in web

* chore(ci): inline unraid-ui build
2025-01-21 15:48:25 -05:00
Pujit Mehrotra
c163998175 fix(api): retry mothership connection up to 3x before logout (#1069)
* fix(api): retry mothership connection up to 3x before logout

* refactor: add variable for max # of retry attempts
2025-01-16 16:15:58 -05:00
renovate[bot]
4fbbbd7f6a chore(deps): update dependency tailwindcss to v3.4.17 2025-01-16 10:44:52 -05:00
renovate[bot]
203c2b88ac chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.10 2025-01-16 10:44:34 -05:00
renovate[bot]
746d1a8aaa chore(deps): update dependency typescript to v5.7.3 2025-01-16 10:44:14 -05:00
renovate[bot]
c0d3cf5782 fix(deps): update dependency @apollo/client to v3.12.6 2025-01-16 10:44:05 -05:00
renovate[bot]
64d3765a9a fix(deps): update dependency @floating-ui/dom to v1.6.13 2025-01-16 10:43:53 -05:00
Pujit Mehrotra
5dd36d1836 feat(api): graphql sandbox on unraid servers (#1047)
Enables a sandbox at /graphql for developers wanting to interact with the unraid api.

* chore(api): enable introspection by default in deploy-dev script

* refactor(api): load emhttp state during init

so emhttp settings are always available, even at module load time.

* feat(api): add csrf token to graphql playground

* Revert "refactor(api): load emhttp state during init"

* feat(api): use custom apollo plugin to render sandbox
2025-01-16 10:17:09 -05:00
renovate[bot]
4264557789 chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.4.1 2025-01-15 12:49:39 -05:00
renovate[bot]
344b023503 fix(deps): update graphql-tools monorepo 2025-01-15 12:49:23 -05:00
renovate[bot]
0331e24a74 fix(deps): update dependency uuid to v11.0.5 2025-01-15 11:45:04 -05:00
renovate[bot]
2b597f9f02 fix(deps): update nest monorepo to v10.4.15 2025-01-15 11:44:43 -05:00
renovate[bot]
bd31e09bcf fix(deps): update nest-graphql monorepo to v12.2.2 2025-01-15 11:44:34 -05:00
renovate[bot]
6c73cbf4ad chore(deps): update dependency @nuxt/devtools to v1.7.0 2025-01-15 11:44:17 -05:00
renovate[bot]
4b4aadb5f1 chore(deps): update dependency @nuxtjs/tailwindcss to v6.13.1 2025-01-15 11:43:49 -05:00
renovate[bot]
5ddecce21c chore(deps): update dependency @vue/tsconfig to ^0.7.0 2025-01-15 11:43:37 -05:00
Michael Datelle
6669a963af refactor: unraid ui cleanup and migration (#998)
Co-authored-by: Eli Bosley <ekbosley@gmail.com>
Co-authored-by: Pujit Mehrotra <pujit@lime-technology.com>
Co-authored-by: mdatelle <mike@datelle.net>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zack Spear <zackspear@users.noreply.github.com>
2025-01-15 11:15:52 -05:00
Eli Bosley
8d386043ae chore: comment to detail archived count 2025-01-14 18:14:42 -05:00
Eli Bosley
16f00a0d8c feat: update based on review feedback 2025-01-14 18:14:42 -05:00
Eli Bosley
a4e2a77410 feat: sidebar notification count 2025-01-14 18:14:42 -05:00
renovate[bot]
91a9949a5c fix(deps): update dependency @apollo/client to v3.12.6 2025-01-14 16:46:15 -05:00
renovate[bot]
235746c0ba chore(deps): update dependency @types/node to v20.17.13 2025-01-14 16:46:07 -05:00
renovate[bot]
e366cad0a4 fix(deps): update dependency pm2 to v5.4.3 2025-01-14 16:45:59 -05:00
renovate[bot]
83344e05c1 fix(deps): update dependency radix-vue to v1.9.12 2025-01-14 16:45:50 -05:00
renovate[bot]
61ec04cb87 fix(deps): update dependency node-window-polyfill to v1.0.4 2025-01-14 15:20:05 -05:00
renovate[bot]
a947ff14fa fix(deps): update dependency express to v4.21.2 2025-01-14 15:19:55 -05:00
renovate[bot]
5dfd6d5ded fix(deps): update dependency focus-trap to v7.6.4 2025-01-14 15:19:45 -05:00
renovate[bot]
71e2b70678 fix(deps): update dependency got to v14.4.5 2025-01-14 15:19:30 -05:00
renovate[bot]
4daa54cfb5 fix(deps): update dependency graphql-ws to v5.16.2 2025-01-14 15:19:19 -05:00
renovate[bot]
7ef3729769 fix(deps): update dependency openid-client to v6.1.7 2025-01-14 15:18:57 -05:00
renovate[bot]
46a368e1b5 fix(deps): update dependency p-retry to v6.2.1 2025-01-14 15:18:45 -05:00
Pujit Mehrotra
b53bb3f197 fix(api): pm2 start script & limit auto restarts (#1040)
* fix(api): limit auto restarts to 10

so persistent errors (e.g. during server boot) don't cause an infinite
loop that's difficult for users to see

* fix(api): invoke js directly from pm2 instead of npm script

npm script wraps it in a child process, so we lose ipc.

* fix(api): update api key service test for ensureDir change

* chore: increase max_restart threshold to 10s per cycle
2025-01-14 14:27:00 -05:00
renovate[bot]
1935ba1a7f chore(config): migrate config renovate.json 2025-01-14 13:15:34 -05:00
Eli Bosley
14abc13cc8 fix: mock ensureDirSync 2025-01-14 11:07:46 -05:00
renovate[bot]
c3548d5122 chore(deps): update dependency @types/node to v22.10.6 2025-01-13 16:17:24 -05:00
renovate[bot]
6c54fa14b1 fix(deps): update dependency execa to v9.5.2 2025-01-13 16:17:12 -05:00
Eli Bosley
8b93bcea08 feat: always ensureDirectory for keys exists 2025-01-13 15:58:43 -05:00
Eli Bosley
a6cd74dc5c fix: ensure directory exists before making connect key 2025-01-13 15:56:17 -05:00
Eli Bosley
aa1ef1bd4c feat: disable casbin logging 2025-01-13 15:41:09 -05:00
renovate[bot]
2cdc02f64a chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.4.1 2025-01-13 13:20:48 -05:00
Pujit Mehrotra
d0819b8d02 fix(web): flash of disconnected api state on page load
Changes initial unraidApiStatus to connecting instead of offline. This
prevents a flash of the offline state on page loads and navigation.
2025-01-13 13:20:32 -05:00
renovate[bot]
74b3e29c74 fix(deps): update dependency chokidar to v4.0.3 2025-01-13 13:20:18 -05:00
renovate[bot]
b32f84b105 fix(deps): update dependency dotenv to v16.4.7 2025-01-13 13:20:09 -05:00
renovate[bot]
806bd633ac fix(deps): update dependency @nestjs/schedule to v4.1.2 2025-01-13 13:05:26 -05:00
renovate[bot]
e5e1c43bb3 fix(deps): update dependency @floating-ui/vue to v1.1.6 2025-01-13 11:56:11 -05:00