Commit Graph

443 Commits

Author SHA1 Message Date
Iván Ovejero
249b7f8556
refactor(core): Move migrations to @n8n/db (#15362) 2025-05-14 11:46:48 +02:00
Iván Ovejero
3176f6fc89
refactor(core): Move dependencies of Logger to standalone packages (#15338) 2025-05-13 16:55:42 +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
कारतोफ्फेलस्क्रिप्ट™
8591c2e0d1
refactor(core): Migrate DB setup to use DI (#15324) 2025-05-13 13:28:41 +02:00
Iván Ovejero
b2d8a1cb10
refactor(core): Move webhook repository to @n8n/db (#15318) 2025-05-12 17:30:59 +02:00
कारतोफ्फेलस्क्रिप्ट™
41179f71c1
refactor(core): Move settings repository to @n8n/db (#15310) 2025-05-12 15:21:13 +02:00
Jaakko Husso
15e62e6dfa
fix(editor): Correct WF counts on folder with archived filter (no-changelog) (#15195) 2025-05-10 11:38:36 +03:00
Jaakko Husso
403f08b6e3
feat(core): Archive workflows when removing folders without transfer (#15057) 2025-05-10 11:37:42 +03: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
90f662e229
chore(core): Remove role table (#15172) 2025-05-07 13:11:36 +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
Ricardo Espinoza
e01bab58a5
feat(core): Add onlySharedWithMe filter to GET /credentials endpoint (no-changelog) (#14885)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-05-02 13:08:30 -04: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
Ricardo Espinoza
b86fabf047
feat(core): Only show credentials shared with you in the overview section (no-changelog) (#14855)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-04-30 09:44:58 -04: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
1de95ead0d
refactor(core): Move leaf entities to @n8n/db (#15010) 2025-04-30 10:31:28 +02:00
Iván Ovejero
20115a8fa1
refactor(core): Move initial files to @n8n/db (#14953) 2025-04-29 18:14:52 +02:00
Marc Littlemore
7f89244304
feat(core): Add production root executions (#14845)
Co-authored-by: Guillaume Jacquart <jacquart.guillaume@gmail.com>
Co-authored-by: Danny Martini <danny@n8n.io>
2025-04-29 11:32:47 +01:00
Iván Ovejero
70b93f2f53
refactor(core): Split out database types (#14942) 2025-04-28 16:15:20 +02:00
Iván Ovejero
b7c5521942
refactor(core): Decouple RoleService from repositories (#14944) 2025-04-28 13:06:34 +02:00
Iván Ovejero
a767ce3d8e
refactor(core): Decouple NodeTypes from migrations (#14941) 2025-04-28 12:49:22 +02:00
Ricardo Espinoza
f835c66d98
fix(core): ID quoting in add scopes migration (#14788) 2025-04-22 10:59:02 -04: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
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
Danny Martini
7fb6eb1488
ci: Also run MySQL and PG tests when modules have changes in repos or entities (#14170) 2025-03-25 16:41:48 +01: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
d4e7a2cd96
feat(core): Allow transferring folder to project root with delete operation (no-changelog) (#14074) 2025-03-20 08:43:03 -04:00
Guillaume Jacquart
24d8eac85d
feat(API): Fix generation strategy for mysql/mariadb (#14028) 2025-03-18 17:53:58 +01:00
Ricardo Espinoza
03f70b5079
feat(core): Update list folders endpoint to support filter excludeFolderIdAndDescendants (no-changelog) (#13880) 2025-03-13 09:56:12 -04:00
Ricardo Espinoza
c7bcdc544d
feat(core): Transfer folder structure when deleting user (no-changelog) (#13845) 2025-03-12 10:34:51 -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
0d7894f06a
feat(core): Add endpoint GET /projects/:projectId/folders (no-changelog) (#13519) 2025-03-12 08:04:55 -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
6e8c401ff1
refactor(core): Rename workflowsCount to workflowCount (no-changelog) (#13470) 2025-02-26 07:57:30 -05:00
Ricardo Espinoza
27852e35ed
feat(core): Update PATCH /projects/:projectId/folders/:folderId to support tags (no-changelog) (#13456) 2025-02-26 07:30:59 -05:00
Juuso Tapaninen
3aa679e4ac
feat(core): Add metric for active workflow count (#13420) 2025-02-26 14:16:38 +02:00
Ricardo Espinoza
461e39a74e
feat(core): Update POST /workflows to link folder (no-changelog) (#13449) 2025-02-25 15:29:35 -05:00
Danny Martini
f8a7fb38cc
feat(core): Add tables for reporting dashboard (no-changelog) (#13336) 2025-02-25 11:35:52 +01:00
Ricardo Espinoza
c850cca648
feat(core): Add endpoint POST /projects/:projectId/folders (no-changelog) (#13446) 2025-02-24 09:54:47 -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
Eugene
d0968a10d5
fix(core): Fix DB migrations for MySQL (#13261) 2025-02-18 13:16:46 +01:00