n8n/packages/workflow/src
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
..
Extensions refactor: Add lint rule no-unused-param-in-catch-clause (#5868) 2023-03-31 16:44:08 +02:00
NativeMethods feat(editor): Add missing documentation to autocomplete items for inline code editor (#5560) 2023-02-28 07:34:03 +03:00
AugmentObject.ts fix(core): augmentObject should clone Buffer/Uint8Array instead of wrapping them in a proxy (#5902) 2023-04-04 14:34:24 +02:00
Authentication.ts feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
Constants.ts refactor: Remove n8n-core dependency in nodes-base (no-changelog) (#5649) 2023-03-09 18:13:15 +01:00
Cron.ts [N8N-4339] Unify all Cron-specific code. Improve typing, and add tests. (#3887) 2022-08-19 12:45:04 +02:00
DeferredPromise.ts refactor(core): Stop importing LoggerProxy and createDeferredPromise in nodes-base (no-changelog) (#5742) 2023-03-22 14:04:15 +01:00
ErrorReporterProxy.ts fix(core): Error reporter should log all error on an error-chain (no-changelog) (#5342) 2023-02-03 13:53:51 +01:00
ExecutionStatus.ts feat(core): Add execution runData recovery and status field (#5112) 2023-02-17 10:54:07 +01:00
Expression.ts refactor(core): Stronger typing for workflow settings (no-changelog) (#5754) 2023-03-24 13:11:48 +01:00
ExpressionError.ts feat(editor): Completions for extensions in expression editor (#5130) 2023-02-02 12:35:38 +01:00
index.ts fix(core): Remove circular refs from Code and push msg (#5741) 2023-03-21 15:34:30 +01:00
Interfaces.ts feat: Add variables feature (#5602) 2023-04-18 12:41:55 +02:00
LoggerProxy.ts refactor(core): Delete duplicate code across all commands (#5452) 2023-02-10 14:59:20 +01:00
MessageEventBus.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
NodeErrors.ts feat(core): Add execution runData recovery and status field (#5112) 2023-02-17 10:54:07 +01:00
NodeHelpers.ts refactor: Unify binary-data assertion across all nodes (no-changelog) (#5624) 2023-03-06 17:33:32 +01:00
ObservableObject.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
RoutingNode.ts feat(core): Simplify pagination in declarative node design (#5161) 2023-02-01 08:26:13 -06:00
TelemetryHelpers.ts refactor: catch doesn't need to have a param (no-changelog) (#5614) 2023-03-03 18:18:49 +01:00
type-guards.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
types.d.ts fix(workflow): remove a few ts-ignore and eslint-disable (#3958) 2022-09-09 16:34:50 +02:00
utils.ts fix(core): Handle Date and RegExp correctly in jsonStringify (#5812) 2023-03-29 21:10:19 +02:00
VersionedNodeType.ts refactor: rename NodeVersionedType to VersionedNodeType and move it to the workflow package (#4443) 2022-10-25 21:33:12 +02:00
Workflow.ts refactor: Improve typings for webhook methods (no-changelog) (#5713) 2023-03-17 12:25:31 +01:00
WorkflowActivationError.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
WorkflowDataProxy.ts fix(core): Fix paired item returning wrong data (#5898) 2023-04-14 13:33:27 +02:00
WorkflowErrors.ts feat(core): Add execution runData recovery and status field (#5112) 2023-02-17 10:54:07 +01:00
WorkflowHooks.ts fix: Make sure retryOf does not take null value (no-changelog) (#5915) 2023-04-06 13:02:46 +02:00