Commit Graph

39 Commits

Author SHA1 Message Date
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
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
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
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
कारतोफ्फेलस्क्रिप्ट™
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
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
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
Danny Martini
d6db8cbf23 feat(core): Allow transferring workflows from any project to any team project (#9534) 2024-06-03 16:57:04 +02:00
कारतोफ्फेलस्क्रिप्ट™
08902bf941 refactor(core): Update supertest, and fix some typing errors (no-changelog) (#9527) 2024-05-31 09:40:03 +02:00
Danny Martini
e07de837b9 test(core): Align test names with route names (no-changelog) (#9518) 2024-05-27 20:41:34 +02:00
Csaba Tuncsik
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 Ovejero
7b925ab871 refactor(core): Rename ActiveWorkflowRunner to ActiveWorkflowManager (no-changelog) (#9280) 2024-05-06 17:54:05 +02:00
कारतोफ्फेलस्क्रिप्ट™
c70fa66e76 refactor(core): Use DI for WorkflowRunner (no-changelog) (#8372) 2024-01-26 13:49:39 +01:00
कारतोफ्फेलस्क्रिप्ट™
d6deceacde refactor(core): Remove roleId indirection (no-changelog) (#8413) 2024-01-24 13:38:57 +01:00
Iván Ovejero
c0bc94c78f refactor(core): Finish removing UserManagementHelper (no-changelog) (#8418) 2024-01-23 13:58:31 +01:00
कारतोफ्फेलस्क्रिप्ट™
7cdbb424e3 refactor(core): Move methods from WorkflowHelpers into various workflow services (no-changelog) (#8348) 2024-01-17 10:16:13 +01:00