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
Andreas Fitzek
3b46dec616
chore(core): Hide invite URL in users list if not an admin ( #17101 )
2025-07-09 15:58:20 +02:00
Iván Ovejero
7c33292483
refactor(core): Move integration test utils for insights ( #16693 )
2025-06-25 17:32:54 +02:00
Andreas Fitzek
c0d1ff6e4c
feat(core): Extend user list to allow expanding the user list to projects ( #16314 )
...
Co-authored-by: Guillaume Jacquart <jacquart.guillaume@gmail.com >
Co-authored-by: Csaba Tuncsik <csaba@n8n.io >
Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com >
2025-06-18 22:26:50 +02:00
Iván Ovejero
c229e915ea
refactor(core): Move Logger to @n8n/backend-common ( #15721 )
2025-05-30 12:57:47 +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
1f6a36e26e
refactor(core): Move shared workflow and shared credentials repositories to @n8n/db ( #15255 )
2025-05-09 17:10:25 +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
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
Iván Ovejero
70b93f2f53
refactor(core): Split out database types ( #14942 )
2025-04-28 16:15:20 +02:00
Iván Ovejero
e6381e09e3
refactor(core): Introduce @n8n/decorators package ( #14784 )
2025-04-23 16:39:49 +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
Ricardo Espinoza
5633502c63
feat(core): Allow transferring user's data to team project when deleting them (no-changelog) ( #13941 )
2025-03-18 15:25:40 -04:00
Ricardo Espinoza
c7bcdc544d
feat(core): Transfer folder structure when deleting user (no-changelog) ( #13845 )
2025-03-12 10:34:51 -04:00
Danny Martini
967ee4b89b
feat: Synchronize deletions when pulling from source control ( #12170 )
...
Co-authored-by: r00gm <raul00gm@gmail.com >
2025-01-20 16:53:55 +01:00
कारतोफ्फेलस्क्रिप्ट™
371a09de96
refactor(core): Port 3 more controllers to use DTOs (no-changelog) ( #12375 )
2024-12-26 16:09:42 +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
Iván Ovejero
3a9c65e1cb
refactor(core): Modernize logger service ( #11031 )
2024-10-01 12:16:09 +02:00
कारतोफ्फेलस्क्रिप्ट™
769ddfdd1d
refactor(core): Move some request DTOs to @n8n/api-types (no-changelog) ( #10880 )
2024-09-20 21:14:06 +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
कारतोफ्फेलस्क्रिप्ट™
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
42a0b594d6
fix(core): Fix user telemetry bugs ( #10293 )
2024-08-05 13:24:26 +02:00
Iván Ovejero
c0f3693e8a
refactor(core): Decouple user events from internal hooks (no-changelog) ( #10292 )
2024-08-05 12:07:42 +02:00
Iván Ovejero
aa0a470dce
refactor(core): Clean up event relays (no-changelog) ( #10284 )
2024-08-02 16:52:49 +02:00
Tomi Turtiainen
d6770b5fca
fix(core): Flush instance stopped event immediately ( #10238 )
2024-07-30 14:49:41 +03:00
Iván Ovejero
aba1c64500
refactor(core): Rename EventRelay to EventService (no-changelog) ( #10110 )
2024-07-19 12:55:38 +02:00
Iván Ovejero
199dff4fb3
refactor(core): Decouple event bus from internal hooks (no-changelog) ( #9724 )
2024-06-20 12:32:22 +02:00
कारतोफ्फेलस्क्रिप्ट™
5887ed6498
refactor(core): Extract all Auth-related User columns into a separate entity ( #9557 )
...
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io >
2024-05-31 09:40:19 +02:00
कारतोफ्फेलस्क्रिप्ट™
fc83005ba0
fix(core): Do not allow admins to delete the instance owner ( #9489 )
2024-05-22 16:23:40 +02:00
कारतोफ्फेलस्क्रिप्ट™
88b9a4070b
fix(core): Do not allow admins to generate password-reset links for instance owner ( #9488 )
2024-05-22 16:13:56 +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
कारतोफ्फेलस्क्रिप्ट™
5025d209ca
fix(core): All calls to plainToInstance should exclude extraneous values (no-changelog) ( #9338 )
2024-05-08 15:49:41 +02:00
Iván Ovejero
7b925ab871
refactor(core): Rename ActiveWorkflowRunner to ActiveWorkflowManager (no-changelog) ( #9280 )
2024-05-06 17:54:05 +02:00
कारतोफ्फेलस्क्रिप्ट™
db4a419c8d
refactor(core): Enforce authorization by default on all routes (no-changelog) ( #8762 )
2024-02-28 17:02:18 +01:00
कारतोफ्फेलस्क्रिप्ट™
2811f77798
refactor(core): Rename RequireGlobalScope to GlobalScope (no-changelog) ( #8760 )
2024-02-28 14:40:02 +01:00
कारतोफ्फेलस्क्रिप्ट™
56c8791aff
refactor(core): Remove all legacy auth middleware code (no-changelog) ( #8755 )
2024-02-28 13:12:28 +01:00
कारतोफ्फेलस्क्रिप्ट™
d6deceacde
refactor(core): Remove roleId indirection (no-changelog) ( #8413 )
2024-01-24 13:38:57 +01:00
Cornelius Suermann
d597c2ab29
feat: Extend collection of usage metrics during license renewal (no-changelog) ( #8369 )
...
Co-authored-by: Iván Ovejero <ivov.src@gmail.com >
2024-01-22 12:29:28 +01:00
Tomi Turtiainen
9a1cc56806
fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) ( #8363 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in >
2024-01-17 17:08:50 +02:00
Iván Ovejero
23a4ac96c0
refactor(core): Continue moving typeorm operators to repositories (no-changelog) ( #8212 )
...
Follow-up to: https://github.com/n8n-io/n8n/pull/8186
2024-01-05 13:06:24 +01:00
कारतोफ्फेलस्क्रिप्ट™
cfe9525dd4
fix(core): Better input validation for the changeRole endpoint ( #8189 )
...
also refactored the code to
1. stop passing around `scope === 'global'`, since this code can be used
only for changing globalRole.
2. leak less details when input validation fails.
## Review / Merge checklist
- [x] PR title and summary are descriptive
- [x] Tests included
2024-01-03 09:33:35 +01:00
Iván Ovejero
40c1eeeddd
refactor(core): Continue moving typeorm operators to repositories (no-changelog) ( #8186 )
...
Follow-up to: #8163
2024-01-02 17:53:24 +01:00