Commit Graph
128 Commits
Author SHA1 Message Date
Mutasem AldmourandGitHub abc851c0cf fix: Load workflows with unconnected Switch outputs (#12020) 2024-12-04 13:44:25 +01:00
EugeneandGitHub 11f9212eda chore: Add test run entity (no-changelog) (#11832) 2024-11-27 14:33:28 +01:00
EugeneandGitHub 459e6aa9bc chore: Add new table for test metrics (no-changelog) (#11848) 2024-11-25 10:38:51 +01:00
कारतोफ्फेलस्क्रिप्ट™andGitHub e1dacb4d57 ci: Fix mysql tests (no-changelog) (#11799) 2024-11-20 09:56:14 +01:00
EugeneandGitHub 76262ef899 chore: Migrate test definition PK to string nanoid (no-changelog) (#11742) 2024-11-14 18:47:57 +01:00
EugeneandGitHub d9259a2d93 chore: Add description field to test definition (no-changelog) (#11691) 2024-11-14 14:45:02 +01:00
5c69ba2c44 chore: Create table and typeorm entity for test definitions (no-changelog) (#11505)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-11-06 14:35:45 +01:00
Shireen MissiandGitHub 7a71cff4d7 fix(core): Change dedupe value column type from varchar(255) to text (#11357) 2024-10-23 14:16:48 +01:00
EugeneandGitHub b4b543d41d fix(core): Add missing primary key to execution annotation tags table (#11168) 2024-10-18 15:06:15 +02:00
52dd2c7619 feat(core): Dedupe (#10101)
Co-authored-by: Jan Oberhauser <jan@n8n.io>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
Co-authored-by: Elias Meire <elias@meire.dev>
2024-10-10 16:12:05 +01:00
Ricardo EspinozaandGitHub 1ca14946d9 fix(core): Add down method to AddApiKeysTable1724951148974 migration (no-changelog) (#11118) 2024-10-08 10:49:08 +02:00
Iván OvejeroandGitHub afda049491 refactor(core): Separate execution startedAt from createdAt (#10810) 2024-09-27 13:32:12 +02:00
a13a4f7442 refactor: Move API keys into their own table (no-changelog) (#10629)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-09-26 08:58:49 -04:00
6a35812f92 ci: Setup biome and pre-commit hooks for formatting (no-changelog) (#10795)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-09-17 15:10:22 +03:00
Tomi TurtiainenandGitHub 5156313074 refactor(core): Enable import/order eslint rule (#10794) 2024-09-12 19:07:18 +03:00
022ddcbef9 feat(core): Execution curation (#10342)
Co-authored-by: oleg <me@olegivaniv.com>
2024-09-02 15:20:08 +02:00
Iván OvejeroandGitHub 6485ca0a4b refactor(core): Enforce filename casing in cli package (no-changelog) (#10594) 2024-08-28 17:57:46 +02:00
कारतोफ्फेलस्क्रिप्ट™andGitHub ab9835126e refactor(core): Use @/databases/ instead of @db/ (no-changelog) (#10573) 2024-08-27 17:24:20 +02:00
Iván OvejeroandGitHub fd58a272e1 refactor(core): Standardize filename casing for controllers and databases (no-changelog) (#10564) 2024-08-27 16:44:32 +02:00
Iván OvejeroandGitHub dc7dc995d5 perf(core): Make execution queries faster (#9817) 2024-08-22 13:27:45 +02:00
f667b384c9 refactor(core): Standardize filenames in cli (no-changelog) (#10484)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-08-22 11:10:37 +02:00
कारतोफ्फेलस्क्रिप्ट™andGitHub 9fe6a71690 feat(core): Logout should invalidate the auth token (no-changelog) (#10335) 2024-08-22 09:33:06 +02:00
Danny MartiniandGitHub 4547a49db1 fix(core): Metadata inserts using existing IDs and failing with postgres (#10108) 2024-07-23 10:31:04 +02:00
Danny MartiniandGitHub 2e6b03b2cb fix(core): Prevent multiple values in the execution metadata for the same key and executionId (#9953) 2024-07-10 12:47:43 +02:00
कारतोफ्फेलस्क्रिप्ट™andGitHub c7d4b471c4 refactor(core): Move backend config to a separate package (no-changelog) (#9325) 2024-07-05 11:43:27 +02:00
कारतोफ्फेलस्क्रिप्ट™andGitHub db29e84666 fix(core): Fix AddActivatedAtUserSetting migration on MariaDB (#9910) 2024-07-02 15:25:49 +02:00
Iván OvejeroandGitHub 44ea4c73eb refactor: Remove unused lint directives (no-changelog) (#9842) 2024-06-24 12:13:18 +02:00
50bd5b9080 feat: Update NPS Value Survey (#9638)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-06-11 10:23:30 +02:00
Iván OvejeroandGitHub bc219e0499 refactor(core): Make execution status non-nullable (no-changelog) (#9483) 2024-05-22 16:56:05 +02:00
+6 596c472ecc feat: RBAC (#8922)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Val <68596159+valya@users.noreply.github.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Valya Bullions <valya@n8n.io>
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Danny Martini <despair.blue@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: oleg <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: Elias Meire <elias@meire.dev>
Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Ayato Hayashi <go12limchangyong@gmail.com>
2024-05-17 10:53:15 +02:00
Iván OvejeroandGitHub 7b925ab871 refactor(core): Rename ActiveWorkflowRunner to ActiveWorkflowManager (no-changelog) (#9280) 2024-05-06 17:54:05 +02:00
Iván OvejeroandGitHub cf435c3311 fix(core): Support MySQL in MoveSshKeysToDatabase migration (#9120) 2024-04-11 11:00:20 +02:00
Iván OvejeroandGitHub ae3f164c5c test(core): Fix multiple parallel private key checks (no-changelog) (#9012) 2024-04-05 17:45:21 +02:00
Iván OvejeroandGitHub b8ab049932 refactor(core, editor): Remove legacy nodesAccess (no-changelog) (#9016) 2024-04-05 13:17:34 +02:00
Iván OvejeroandGitHub ddc0f57116 refactor(core): Store SSH key pair for source control in DB settings (#8965) 2024-03-26 19:09:46 +01:00
372d5c7d01 ci: Upgrade eslint, prettier, typescript, and some other dev tooling (no-changelog) (#8895)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-03-26 14:22:57 +01:00
Iván OvejeroandGitHub 69807a5efb refactor(core): Unify failed and error execution status (no-changelog) (#8943) 2024-03-25 17:52:07 +01:00
कारतोफ्फेलस्क्रिप्ट™andGitHub 4fed68ee34 fix(core): Fix DropRoleMapping migration (#8521) 2024-02-02 12:22:09 +01:00
कारतोफ्फेलस्क्रिप्ट™andGitHub d6deceacde refactor(core): Remove roleId indirection (no-changelog) (#8413) 2024-01-24 13:38:57 +01:00
9a1cc56806 fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) (#8363)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-01-17 17:08:50 +02:00
कारतोफ्फेलस्क्रिप्ट™andGitHub ffaa30ddc4 fix(core): Handle empty executions table in pruning in migrations (#8121)
In case someone manually prunes their executions table before upgrading
to 1.x, `MigrateIntegerKeysToString` should gracefully handle that,
instead of crashing the application.

## Review / Merge checklist
- [x] PR title and summary are descriptive
2023-12-21 14:52:42 +01:00
Iván OvejeroandGitHub c08c5cc37b refactor(core): Switch plain errors in cli to ApplicationError (#7857)
Ensure all errors in `cli` are `ApplicationError` or children of it and
contain no variables in the message, to continue normalizing all the
errors we report to Sentry

Follow-up to: https://github.com/n8n-io/n8n/pull/7839
2023-11-29 12:25:10 +01:00
ValandGitHub 865192adf0 feat: Add global admin role (no-changelog) (#7781)
Github issue / Community forum post (link here to close automatically):
2023-11-23 13:38:11 +00:00
Csaba TuncsikandGitHub e128b23a2b build: Upgrade to Vite 5 (#7784) 2023-11-23 11:55:02 +01:00
कारतोफ्फेलस्क्रिप्ट™andGitHub 4441ed5116 fix(core): Fix named parameter resolution in migrations (#7688)
Fixes #7628
2023-11-15 10:31:08 +01:00
कारतोफ्फेलस्क्रिप्ट™andGitHub b6de910cbe refactor(core): Abstract away InstanceSettings and encryptionKey into injectable services (no-changelog) (#7471)
This change ensures that things like `encryptionKey` and `instanceId`
are always available directly where they are needed, instead of passing
them around throughout the code.
2023-10-23 13:39:35 +02:00
ValandGitHub a80abad3af fix(core): Change WorkflowHistory nodes/connections columns to be json (#7282)
Github issue / Community forum post (link here to close automatically):
2023-09-28 10:37:33 +02:00
कारतोफ्फेलस्क्रिप्ट™andGitHub 0132514f8b fix(core): Use consistent timezone-aware timestamps in postgres (#6948)
Fixes:
* ENG-51 / N8N-2490
* PAY-397
* #2178
* #2810
* #3855

Supersedes #2813

[DB
Tests](https://github.com/n8n-io/n8n/actions/runs/6000780146/job/16273596338)
2023-09-27 18:44:47 +02:00
Mutasem AldmourandGitHub 01e9340621 feat: Add onboarding flow (#7212)
Github issue / Community forum post (link here to close automatically):
2023-09-25 15:49:36 +02:00
8a28e98ec8 fix(core): Disallow orphan executions (#7069)
Until https://github.com/n8n-io/n8n/pull/7061 we had an edge case where
a manual unsaved workflow when run creates an orphan execution, i.e. a
saved execution not pointing to any workflow. This execution is only
ever visible to the instance owner (even if triggered by a member), and
is wrongly stored as unfinished and crashed. This PR enforces that the
DB disallows any such executions from making it into the DB.

This is needed also for the S3 client, which will include the
`workflowId` in the path-like filename.

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-09-04 16:57:10 +02:00