Commit Graph

117 Commits

Author SHA1 Message Date
Andreas Fitzek
33a2d5de17 chore(core): Use dynamic role resolution for access control (#19400) 2025-09-17 11:15:31 +02:00
Guillaume Jacquart
f757790394 feat(core): Rebuild project roles to load from the database (#17909) 2025-08-28 11:00:31 +02:00
Csaba Tuncsik
98bde4f478 fix(core): Add optional context parameter to track creation source for workflows, credentials, and projects (#18736)
Co-authored-by: r00gm <raul00gm@gmail.com>
2025-08-27 10:50:53 +02:00
Andreas Fitzek
ecad12b77a chore(core): Use roles from database in global roles (#18768) 2025-08-26 17:53:46 +02:00
Andreas Fitzek
a21a03d4b0 Revert "chore(core): Use roles from database in global roles (#17853)" (#18738) 2025-08-25 14:29:28 +02:00
Andreas Fitzek
a8e4387f4d chore(core): Use roles from database in global roles (#17853) 2025-08-22 16:02:01 +02:00
Michael Kret
76230d2640 feat: Table in confirm modal to see all workflows using nodes before updating / uninstalling (#17488) 2025-08-01 09:41:04 +03:00
Iván Ovejero
7c33292483 refactor(core): Move integration test utils for insights (#16693) 2025-06-25 17:32:54 +02:00
Iván Ovejero
9850a560b4 chore(core): Add exemptions to fix intermittent type error on build (#16420) 2025-06-17 13:16:24 +02:00
Iván Ovejero
c229e915ea refactor(core): Move Logger to @n8n/backend-common (#15721) 2025-05-30 12:57:47 +02:00
Charlie Kolb
5c3840583d fix(editor): Correctly show Workflow Breadcrumbs in MainHeader on Registered Community (#15457) 2025-05-19 11:24:48 +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
कारतोफ्फेलस्क्रिप्ट™
8591c2e0d1 refactor(core): Migrate DB setup to use DI (#15324) 2025-05-13 13:28:41 +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
Ricardo Espinoza
715127fa87 feat(core): Add endpoint to transfer folder to another project (no-changelog) (#15005) 2025-05-07 07:51:03 -04: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
Iván Ovejero
20834abb56 refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
Ricardo Espinoza
d2178a13b1 feat(core): Add onlySharedWithMe filter to GET /workflows endpoint (no-changelog) (#14853) 2025-04-28 14:04:33 -04:00
Ricardo Espinoza
dbffcdc2ff feat(core): Allow setting folder destination when transferring workflow ownership (#14935) 2025-04-28 09:35:02 -04:00
Iván Ovejero
b7c5521942 refactor(core): Decouple RoleService from repositories (#14944) 2025-04-28 13:06:34 +02:00
Iván Ovejero
e6381e09e3 refactor(core): Introduce @n8n/decorators package (#14784) 2025-04-23 16:39:49 +02:00
Ricardo Espinoza
bc12f662e7 feat: Resolve parentFolder when retrieving workflow (#14656) 2025-04-16 08:12:39 -04:00
Ricardo Espinoza
3a5cc4ae95 feat(core): Update endpoint to update a workflow, to support updating the workflow parent folder (no-chagelog) (#13906) 2025-03-17 12:06:52 -04:00
Ricardo Espinoza
0c266b3060 feat(core): Add endpoint DELETE /projects/:projectId/folders/:folderId (no-changelog) (#13516) 2025-02-27 16:47:07 -05:00
Iván Ovejero
3ca99194c6 refactor(core): Migrate all errors in cli package to new hierarchy (#13478)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2025-02-27 09:30:55 +02:00
Ricardo Espinoza
461e39a74e feat(core): Update POST /workflows to link folder (no-changelog) (#13449) 2025-02-25 15:29:35 -05: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
Csaba Tuncsik
7bd83d7d33 fix(editor): Optionally share credentials used by the workflow when moving the workflow between projects (#12524)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-02-21 11:05:37 +01:00
Tomi Turtiainen
f001edb2a2 refactor(core): Use IWorkflowBase over WorkflowEntity in most places (#13225) 2025-02-13 10:54:11 +02:00
Danny Martini
a15504329b fix: Sync partial execution version of FE and BE, also allow enforcing a specific version (#12840)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2025-02-03 14:17:31 +01:00
Ricardo Espinoza
b1a40a231b refactor(core): Update tag endpoints to use DTOs and injectable config (#12380) 2025-01-09 14:17:11 -05:00
कारतोफ्फेलस्क्रिप्ट™
1d3cb9f5ac refactor(core): Extract Worfklow import request payload into a DTO (#12441) 2025-01-03 12:19:09 +01:00
Iván Ovejero
f754b22a3f refactor(core): Mark all backend Enterprise Edition files and dirs (#12350) 2024-12-24 13:02:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
471d7b9420 refactor(core): Move Logger to core (no-changelog) (#12310) 2024-12-23 13:46:13 +01:00
Mutasem Aldmour
9f78b16efc chore: Clean up welcome sticky feature (no-changelog) (#11987) 2024-12-02 19:35:54 +01:00
Iván Ovejero
3a9c65e1cb refactor(core): Modernize logger service (#11031) 2024-10-01 12:16:09 +02:00
कारतोफ्फेलस्क्रिप्ट™
6de4dfff87 feat(editor): Setup Sentry integration (#10945) 2024-09-24 17:49:22 +02:00
Danny Martini
2a084f96f8 feat: Implement new partial execution logic for acyclic workflows (no-changelog) (#10256)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-09-18 15:06:36 +02:00
Tomi Turtiainen
5156313074 refactor(core): Enable import/order eslint rule (#10794) 2024-09-12 19:07:18 +03: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
Iván Ovejero
bc958be93b refactor(core): Convert verbose to debug logs (#10574) 2024-08-28 09:32:53 +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
ee03400c25 refactor(core): Decouple emailing and workflow sharing from internal hooks (no-changelog) (#10326) 2024-08-08 12:33:18 +02:00
Iván Ovejero
aa0a470dce refactor(core): Clean up event relays (no-changelog) (#10284) 2024-08-02 16:52:49 +02:00
Iván Ovejero
d8688bd463 refactor(core): Decouple workflow created, saved, deleted events from internal hooks (no-changelog) (#10264) 2024-08-01 13:44:23 +02:00