Commit Graph

78 Commits

Author SHA1 Message Date
Ricardo Espinoza
6432555082 feat(core): Allow filtering workflows by availableInMCP (#18646) 2025-09-02 16:21:12 -04: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
Iván Ovejero
f3ef0a713c refactor(core): Lintfix cli package (#17125) 2025-07-08 19:32:02 +02:00
Iván Ovejero
7c33292483 refactor(core): Move integration test utils for insights (#16693) 2025-06-25 17:32:54 +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
6466e76c06 fix(core): Don't allow creating more projects than allowed by exploiting a race condition (#15218) 2025-05-27 15:50:44 +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
Iván Ovejero
3079059e96 refactor(core): Tear down OrchestrationService (#15100) 2025-05-09 09:45:27 +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
कारतोफ्फेलस्क्रिप्ट™
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
20834abb56 refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
Iván Ovejero
442cd094ee refactor(core): Separate list query entities from request types (#15015) 2025-04-30 13:34:50 +02:00
Iván Ovejero
20115a8fa1 refactor(core): Move initial files to @n8n/db (#14953) 2025-04-29 18:14:52 +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
eb465763cf feat: Only show workflows shared with you in the overview page (#14773) 2025-04-28 13:42:05 -04:00
Iván Ovejero
70b93f2f53 refactor(core): Split out database types (#14942) 2025-04-28 16:15:20 +02: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
Ricardo Espinoza
bc12f662e7 feat: Resolve parentFolder when retrieving workflow (#14656) 2025-04-16 08:12:39 -04:00
Ricardo Espinoza
cade309d3b feat: Add nested search in folders (#14372)
Co-authored-by: Milorad FIlipović <milorad@n8n.io>
2025-04-11 19:17:28 -04:00
Ricardo Espinoza
adbfb44c26 fix(core): Detach workflow from parent folder in source project when transferring ownership (#14414) 2025-04-05 14:31:55 -04:00
Ricardo Espinoza
305ea0fb32 feat(core): Allow moving workflow to project root (no-changelog) (#14075) 2025-03-20 09:45:10 -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
0066bf890f feat(core): Add subFolderCount to GET /workflows and /folders (no-changelog) (#13548) 2025-03-12 08:33:37 -04:00
Ricardo Espinoza
6e8c401ff1 refactor(core): Rename workflowsCount to workflowCount (no-changelog) (#13470) 2025-02-26 07:57:30 -05: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
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
b60011a180 feat(core): Add sorting to GET /workflows endpoint (#13029) 2025-02-04 10:52:35 -05:00
Ricardo Espinoza
b1a40a231b refactor(core): Update tag endpoints to use DTOs and injectable config (#12380) 2025-01-09 14:17:11 -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
Milorad FIlipović
9117718cc9 feat(editor): Add support for project icons (#12349) 2024-12-27 19:00:40 +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
Danny Martini
efafeed334 fix(core): Return homeProject when filtering workflows by project id (#12077) 2024-12-08 19:45:41 +01:00
Csaba Tuncsik
136d491325 fix(editor): Allow resources to move between personal and team projects (#10683)
Co-authored-by: Danny Martini <danny@n8n.io>
2024-09-27 15:12:31 +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
कारतोफ्फेलस्क्रिप्ट™
ab9835126e refactor(core): Use @/databases/ instead of @db/ (no-changelog) (#10573) 2024-08-27 17:24:20 +02:00