n8n/packages/cli/test/integration
Iván Ovejero e4f041815a
perf(core): Cache roles (#6803)
* refactor: Create `RoleService`

* refactor: Refactor to use service

* refactor: Move `getUserRoleForWorkflow`

* refactor: Clear out old `RoleService`

* refactor: Consolidate utils into service

* refactor: Remove unused methods

* test: Add tests

* refactor: Remove redundant return types

* refactor: Missing utility

* chore: Remove commented out bit

* refactor: Make `Db.collections.Repository` inaccessible

* chore: Cleanup

* feat: Prepopulate cache

* chore: Remove logging

* fix: Account for tests where roles are undefined

* fix: Restore `prettier.prettierPath`

* test: Account for cache enabled and disabled

* fix: Restore `Role` in `Db.collections`

* refactor: Simplify by removing `orFail`

* refactor: Rename for clarity

* refactor: Use `cacheKey` for readability

* refactor: Validate role before creation

* refacator: Remove redundant `cache` prefix

* ci: Lint fix

* test: Fix e2e
2023-08-03 08:58:36 +02:00
..
audit refactor(core): Use mixins to delete redundant code between Entity classes (no-changelog) (#6616) 2023-07-27 11:53:37 +02:00
commands refactor: Remove all references to the resetPasswordToken field (no-changelog) (#6751) 2023-07-27 11:53:25 +02:00
environments feat: Environments release using source control (#6653) 2023-07-26 09:25:01 +02:00
ldap refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
publicApi refactor: Remove all references to the resetPasswordToken field (no-changelog) (#6751) 2023-07-27 11:53:25 +02:00
saml refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
shared perf(core): Cache roles (#6803) 2023-08-03 08:58:36 +02:00
auth.api.test.ts refactor: Remove all references to the resetPasswordToken field (no-changelog) (#6751) 2023-07-27 11:53:25 +02:00
auth.mw.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
credentials.ee.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
credentials.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
eventbus.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
license.api.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
me.api.test.ts refactor: Remove all references to the resetPasswordToken field (no-changelog) (#6751) 2023-07-27 11:53:25 +02:00
nodes.api.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
owner.api.test.ts refactor: Remove all references to the resetPasswordToken field (no-changelog) (#6751) 2023-07-27 11:53:25 +02:00
passwordReset.api.test.ts ci: Fix tests on postgres (no-changelog) 2023-07-25 00:11:33 +02:00
tags.api.test.ts fix: Add missing indices on sqlite (#6673) 2023-07-20 10:34:45 +01:00
users.api.test.ts fix(core): Use JWT as reset password token (#6714) 2023-07-24 17:40:17 -04:00
variables.test.ts fix(core): Change VariablesService to DI and use caching (#6827) 2023-08-02 14:51:09 +02:00
webhooks.api.test.ts refactor(core): Parse Webhook request bodies on-demand (#6394) 2023-08-01 17:32:30 +02:00
workflows.controller.ee.test.ts feat: Environments release using source control (#6653) 2023-07-26 09:25:01 +02:00
workflows.controller.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00