n8n/packages/cli/test/unit
Val 1bb987140a
feat: Add variables feature (#5602)
* feat: add variables db models and migrations

* feat: variables api endpoints

* feat: add $variables to expressions

* test: fix ActiveWorkflowRunner tests failing

* test: a different fix for the tests broken by $variables

* feat: variables licensing

* fix: could create one extra variable than licensed for

* feat: Add Variables UI page and $vars global property (#5750)

* feat: add support for row slot to datatable

* feat: add variables create, read, update, delete

* feat: add vars autocomplete

* chore: remove alert

* feat: add variables autocomplete for code and expressions

* feat: add tests for variable components

* feat: add variables search and sort

* test: update tests for variables view

* chore: fix test and linting issue

* refactor: review changes

* feat: add variable creation telemetry

* fix: Improve variables listing and disabled case, fix resource sorting (no-changelog) (#5903)

* fix: Improve variables disabled experience and fix sorting

* fix: update action box margin

* test: update tests for variables row and datatable

* fix: Add ee controller to base controller

* fix: variables.ee routes not being added

* feat: add variables validation

* fix: fix vue-fragment bug that breaks everything

* chore: Update lock

* feat: Add variables input validation and permissions (no-changelog) (#5910)

* feat: add input validation

* feat: handle variables view for non-instance-owner users

* test: update variables tests

* fix: fix data-testid pattern

* feat: improve overflow styles

* test: fix variables row snapshot

* feat: update sorting to take newly created variables into account

* fix: fix list layout overflow

* fix: fix adding variables on page other than 1. fix validation

* feat: add docs link

* fix: fix default displayName function for resource-list-layout

* feat: improve vars expressions ux, cm-tooltip

* test: fix datatable test

* feat: add MATCH_REGEX validation rule

* fix: overhaul how datatable pagination selector works

* feat: update  completer description

* fix: conditionally update usage syntax based on key validation

* test: update datatable snapshot

* fix: fix variables-row button margins

* fix: fix pagination overflow

* test: Fix broken test

* test: Update snapshot

* fix: Remove duplicate declaration

* feat: add custom variables icon

---------

Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-04-18 12:41:55 +02:00
..
controllers refactor(core): Use injectable classes for db repositories (part-1) (no-changelog) (#5953) 2023-04-12 10:59:14 +02:00
middlewares refactor(core): Add unit tests for all external auth middlewares (no-changelog) (#5386) 2023-02-07 15:49:35 +01:00
repositories refactor(core): Use injectable classes for db repositories (part-1) (no-changelog) (#5953) 2023-04-12 10:59:14 +02:00
services refactor(core): Use injectable classes for db repositories (part-1) (no-changelog) (#5953) 2023-04-12 10:59:14 +02:00
shared refactor(core): Improve instance owner setup and add unit tests (no-changelog) (#5499) 2023-02-17 10:59:09 +01:00
ActiveExecutions.test.ts feat(core): Add execution runData recovery and status field (#5112) 2023-02-17 10:54:07 +01:00
ActiveWorkflowRunner.test.ts feat: Add variables feature (#5602) 2023-04-18 12:41:55 +02:00
CommunityNodeHelpers.test.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
CredentialsHelper.test.ts ci: Refactor cli tests to speed up CI (no-changelog) (#5718) 2023-03-17 17:24:05 +01:00
CredentialTypes.test.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
CurlConverterHelper.test.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
Events.test.ts refactor(core): Use injectable classes for db repositories (part-1) (no-changelog) (#5953) 2023-04-12 10:59:14 +02:00
Helpers.ts ci: Refactor cli tests to speed up CI (no-changelog) (#5718) 2023-03-17 17:24:05 +01:00
License.test.ts refactor: Delete a lot of unused and duplicate code in Server and WebhookServer (#5080) 2023-01-04 11:38:48 +01:00
PermissionChecker.test.ts ci: Refactor cli tests to speed up CI (no-changelog) (#5718) 2023-03-17 17:24:05 +01:00
PostHog.test.ts feat: Support feature flag evaluation server side (#5511) 2023-02-21 11:35:35 +03:00
Telemetry.test.ts refactor(core): Use an IoC container to manage singleton classes [Part-2] (no-changelog) (#5690) 2023-03-16 15:34:13 +01:00
WorkflowCredentials.test.ts refactor: Upgrade typeorm to 0.3.x (#5151) 2023-01-13 18:12:22 +01:00
WorkflowExecuteAdditionalData.test.ts feat: Execution custom data saving and filtering (#5496) 2023-03-23 18:07:46 +01:00
WorkflowHelpers.test.ts refactor: Use string ids on Credentials, Workflows, Tags, and Executions DB entities (#5041) 2023-01-02 17:42:32 +01:00