Commit Graph

72 Commits

Author SHA1 Message Date
Iván Ovejero
7c33292483 refactor(core): Move integration test utils for insights (#16693) 2025-06-25 17:32:54 +02:00
Iván Ovejero
21ff173070 refactor(core): Move DbConnection to @n8n/db (#16616) 2025-06-24 12:33:01 +02:00
Andreas Fitzek
9607908c04 feat(core): Validate commit content for project admin role (#15687)
Co-authored-by: Guillaume Jacquart <jacquart.guillaume@gmail.com>
2025-06-03 11:33:01 +02:00
Marc Littlemore
4459c7e7b1 feat(API): Add user management endpoints to the Projects Public API (#12329)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Andreas Fitzek <andreas.fitzek@n8n.io>
Co-authored-by: Guillaume Jacquart <jacquart.guillaume@gmail.com>
2025-05-30 12:04:38 +01:00
Danny Martini
eca282d09c fix(core): Fix sorting of executions not working on postgres and mysql (#15423) 2025-05-26 16:23:24 +02:00
Eugene
fa620f2d5b feat(core): Evaluations backend (no-changelog) (#15542)
Co-authored-by: Yiorgis Gozadinos <yiorgis@n8n.io>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2025-05-23 09:05:13 +02:00
Ricardo Espinoza
2a35c19ef9 feat(core): Invalidate all sessions when MFA is enabled/disabled (#15524) 2025-05-21 08:59:22 +02:00
Ria Scholz
a1ee96d560 fix: Remove variable:read as a valid API key scope and make variable:update selectable in the UI (no-changelog) (#15356)
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io>
2025-05-16 13:36:43 -04:00
Iván Ovejero
249b7f8556 refactor(core): Move migrations to @n8n/db (#15362) 2025-05-14 11:46:48 +02:00
Danny Martini
44ecad5883 fix(editor): Don't render now when startedAt is null (#15283) 2025-05-14 10:31:52 +02:00
Iván Ovejero
e122b3f0f9 refactor(core): Move UserRepository and subscribers to @n8n/db (#15352) 2025-05-13 15:24:26 +02:00
Iván Ovejero
52f27a76ac refactor(core): Move workflow repository to @n8n/db (#15260)
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io>
2025-05-13 14:21:59 +02:00
Iván Ovejero
1f6a36e26e refactor(core): Move shared workflow and shared credentials repositories to @n8n/db (#15255) 2025-05-09 17:10:25 +02:00
Iván Ovejero
f2ee990a57 refactor(core): Move third batch of repositories to @n8n/db (#15166) 2025-05-09 09:57:54 +02:00
Jaakko Husso
3a13139f78 feat(core): Change workflow deletions to soft deletes (#14894)
Adds soft‑deletion support for workflows through a new boolean column `isArchived`.

When a workflow is archived we now set `isArchived` flag to true and the workflows
stays in the database and is omitted from the default workflow listing query.

Archived workflows can be viewed in read-only mode, but they cannot be activated.

Archived workflows are still available by ID and can be invoked as sub-executions,
so existing Execute Workflow nodes continue to work. Execution engine doesn't
care about isArchived flag.

Users can restore workflows via Unarchive action at the UI.
2025-05-06 17:48:24 +03:00
Iván Ovejero
32b72011e6 refactor(core): Move second batch of repositories to @n8n/db (#15137) 2025-05-06 16:40:34 +02:00
कारतोफ्फेलस्क्रिप्ट™
2bb190349b refactor(core): Move more code into @n8n/permissions. Add aditional tests and docs (no-changelog) (#15062)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-05-06 15:11:05 +02:00
Iván Ovejero
ade546fb48 refactor(core): Move first batch of repositories to @n8n/db (#15130) 2025-05-06 11:22:43 +02:00
Iván Ovejero
bd258be052 refactor(core): Move final batch of entities to @n8n/db (#15061) 2025-05-02 17:46:05 +02:00
Iván Ovejero
20834abb56 refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
Iván Ovejero
20115a8fa1 refactor(core): Move initial files to @n8n/db (#14953) 2025-04-29 18:14:52 +02:00
Iván Ovejero
70b93f2f53 refactor(core): Split out database types (#14942) 2025-04-28 16:15:20 +02:00
Ricardo Espinoza
e1b9407fe9 feat(core): Add scopes to API Keys (#14176)
Co-authored-by: Charlie Kolb <charlie@n8n.io>
Co-authored-by: Danny Martini <danny@n8n.io>
2025-04-16 09:03:16 -04:00
Alex Grozav
8215e0b59f refactor: Migrate NodeConnectionType to const object type (no-changelog) (#14078)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2025-03-21 14:01:26 +02:00
Guillaume Jacquart
cb5a803f9e feat(core): Store insights data at the end of executions (no-changelog) (#13905)
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2025-03-20 20:25:29 +01:00
Ricardo Espinoza
c3f111275b feat(core): Introduce new query string parameter includeFolders to GET /workflows endpoint (no-changelog) (#13352) 2025-02-21 13:54:15 -05:00
Ricardo Espinoza
ca76ef4bc2 fix(core): Make sure middleware works with legacy API Keys (#13390) 2025-02-20 09:10:54 -05:00
Tomi Turtiainen
6ef9ae1862 refactor: Add dto for POST /credentials endpoint (#13306) 2025-02-19 17:50:42 +02:00
Ricardo Espinoza
82d2fa6e67 feat(core): Add method (getMany) to folder repository to filter, sort, and paginate folders (no-changelog) (#13290) 2025-02-17 09:05:12 -05:00
Ricardo Espinoza
5b82f34773 refactor(core): Update workflowRepository.getMany to use query builder (no-changelog) (#13207) 2025-02-17 08:59:42 -05:00
Tomi Turtiainen
f001edb2a2 refactor(core): Use IWorkflowBase over WorkflowEntity in most places (#13225) 2025-02-13 10:54:11 +02:00
Ricardo Espinoza
9bcbc2c2cc feat: Allow setting API keys expiration (#12954) 2025-02-03 11:16:37 -05:00
Ricardo Espinoza
ad3250ceb0 feat: Allow multi API creation via the UI (#12845) 2025-01-29 07:42:01 -05:00
कारतोफ्फेलस्क्रिप्ट™
5f1adefca7 refactor(core): Port over project request payloads to DTOs (#12528) 2025-01-09 13:47:23 +01:00
कारतोफ्फेलस्क्रिप्ट™
39d5e0ff87 refactor(core): Replace typedi with our custom DI system (no-changelog) (#12389)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2025-01-06 10:21:24 +01:00
कारतोफ्फेलस्क्रिप्ट™
471d7b9420 refactor(core): Move Logger to core (no-changelog) (#12310) 2024-12-23 13:46:13 +01:00
Ricardo Espinoza
679fa4a10a feat(core): introduce JWT API keys for the public API (#11005) 2024-10-18 12:06:44 +02:00
Iván Ovejero
afda049491 refactor(core): Separate execution startedAt from createdAt (#10810) 2024-09-27 13:32:12 +02:00
Ricardo Espinoza
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
Eugene
efc5d859eb chore: Correct naming of annotation-related files (#10946) 2024-09-26 13:15:08 +02:00
Tomi Turtiainen
5156313074 refactor(core): Enable import/order eslint rule (#10794) 2024-09-12 19:07:18 +03:00
Eugene
022ddcbef9 feat(core): Execution curation (#10342)
Co-authored-by: oleg <me@olegivaniv.com>
2024-09-02 15:20:08 +02:00
Iván Ovejero
6485ca0a4b refactor(core): Enforce filename casing in cli package (no-changelog) (#10594) 2024-08-28 17:57:46 +02:00
Iván Ovejero
d7241cfc3a refactor(core): Standardize filename casing for services and Public API (no-changelog) (#10579) 2024-08-28 13:59:27 +02:00
कारतोफ्फेलस्क्रिप्ट™
ab9835126e refactor(core): Use @/databases/ instead of @db/ (no-changelog) (#10573) 2024-08-27 17:24:20 +02:00
Iván Ovejero
fd58a272e1 refactor(core): Standardize filename casing for controllers and databases (no-changelog) (#10564) 2024-08-27 16:44:32 +02:00
Iván Ovejero
f667b384c9 refactor(core): Standardize filenames in cli (no-changelog) (#10484)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-08-22 11:10:37 +02:00
Iván Ovejero
07d7b247f0 feat(core): Allow transferring credentials in Public API (#10259) 2024-08-02 12:02:38 +02:00
Iván Ovejero
489ce10063 feat(core): Support create, read, update, delete projects in Public API (#10269) 2024-08-02 12:02:05 +02:00
Tomi Turtiainen
3d23f2f333 test(core): Fix typing issues in tests (no-changelog) (#10244) 2024-07-30 20:24:01 +02:00