Commit graph

606 commits

Author SHA1 Message Date
Iván Ovejero acbae928f2
refactor(core): Port cache config (no-changelog) (#10286) 2024-08-02 17:10:03 +02:00
Iván Ovejero aa0a470dce
refactor(core): Clean up event relays (no-changelog) (#10284) 2024-08-02 16:52:49 +02:00
कारतोफ्फेलस्क्रिप्ट™ 0faf46f4f8
refactor(core): Move instanceRole to InstanceSettings (no-changelog) (#10242) 2024-08-02 15:18:33 +02:00
Iván Ovejero 7056e50b00
feat(core): Allow filtering executions and users by project in Public API (#10250) 2024-08-02 14:16:17 +02:00
Tomi Turtiainen ae50bb95a8
fix(core): Make execution and its data creation atomic (#10276)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-08-02 13:46:35 +03:00
कारतोफ्फेलस्क्रिप्ट™ 47a68b0220
ci: Fix DB tests (no-changelog) (#10282) 2024-08-02 12:20:34 +02:00
Iván Ovejero 84efbd9b9c
feat(core): Support create, delete, edit role for users in Public API (#10279) 2024-08-02 12:06:17 +02:00
Iván Ovejero 07d7b247f0
feat(core): Allow transferring credentials in Public API (#10259) 2024-08-02 12:02:38 +02:00
Iván Ovejero 489ce10063
feat(core): Support create, read, update, delete projects in Public API (#10269) 2024-08-02 12:02:05 +02:00
कारतोफ्फेलस्क्रिप्ट™ efb71dd9ad
fix(core): Fix oauth2 callback and add integration tests (no-changelog) (#10272) 2024-08-01 11:02:36 +02:00
Iván Ovejero 1608d2527b
refactor(core): Port endpoints config (no-changelog) (#10268) 2024-07-31 17:45:11 +02:00
Tomi Turtiainen 3d23f2f333
test(core): Fix typing issues in tests (no-changelog) (#10244) 2024-07-30 20:24:01 +02:00
Iván Ovejero d719899223
feat(core): Allow filtering workflows by project and transferring workflows in Public API (#10231) 2024-07-30 17:05:48 +02:00
Iván Ovejero af695ebf93
feat: Support create, read, delete variables in Public API (#10241) 2024-07-30 14:58:07 +02:00
Tomi Turtiainen d6770b5fca
fix(core): Flush instance stopped event immediately (#10238) 2024-07-30 14:49:41 +03:00
कारतोफ्फेलस्क्रिप्ट™ 1fca3af335
refactor(core): Use type-safe event emitters (no-changelog) (#10234) 2024-07-30 13:23:01 +02:00
Iván Ovejero 99dc56c7a1
refactor(core): Make instance role clearer (no-changelog) (#10188) 2024-07-30 10:20:21 +02:00
Ricardo Espinoza cf70b06545
feat(core): Show Public API key value only once (no-changelog) (#10126) 2024-07-29 14:13:54 -04:00
Iván Ovejero 7a30d845e9
refactor(core): Port path, host, port, listen_address and protocol config (no-changelog) (#10223) 2024-07-29 14:32:20 +02:00
Iván Ovejero 24ffca7c75
refactor(core): Decouple server started event from internal hooks (no-changelog) (#10221) 2024-07-29 11:41:28 +02:00
Iván Ovejero f1a3791abc
refactor(core): Split out subworkflow policy check from permission checker (no-changelog) (#10168) 2024-07-24 12:51:01 +02:00
Val a51e86f20b
feat: Add scopes and role to create project endpoint (no-changelog) (#10145) 2024-07-23 10:18:58 +01:00
Iván Ovejero b1816db449
fix(core): Respect prefix for all Prometheus metrics (#10130) 2024-07-22 12:01:44 +02:00
Iván Ovejero 9ab29f2181
refactor(core): Port event bus config (no-changelog) (#10111) 2024-07-19 13:25:44 +02: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 222a0862bd
refactor(core): Rename EventsService to WorkflowStatisticsService (no-changelog) (#10107) 2024-07-19 12:12:44 +02:00
Iván Ovejero 5eca7c8e28
refactor(core): More decouplings from internal hooks (no-changelog) (#10099) 2024-07-19 10:33:13 +02:00
Iván Ovejero f876f9ec8b
refactor(core): Decouple source control telemetry from internal hooks (no-changelog) (#10095) 2024-07-18 15:00:24 +02:00
Iván Ovejero 2c710ac7d2
refactor(core): Clean up Prometheus service (no-changelog) (#10068) 2024-07-18 10:27:35 +02:00
Iván Ovejero 14b12f844d
refactor(core): Port version notifications config (no-changelog) (#10087) 2024-07-17 19:11:46 +02:00
Iván Ovejero 8a53d6127e
refactor(core): Port Public API config (no-changelog) (#10082) 2024-07-17 15:36:40 +02:00
Iván Ovejero 8b2f76b92e
refactor(core): Decouple projects telemetry (no-changelog) (#10081) 2024-07-17 11:56:27 +02:00
कारतोफ्फेलस्क्रिप्ट™ 36b314d031
fix(core): Stopping an execution should reject any response promises (#9992) 2024-07-16 19:25:20 +02:00
Iván Ovejero 9c23f7616b
refactor(core): Rename UsageMetrics to LicenseMetrics (no-changelog) (#10053) 2024-07-15 12:42:49 +02:00
Iván Ovejero b42f652f1b
test(core): Add tests for Prometheus metrics service (no-changelog) (#10050) 2024-07-15 12:16:27 +02:00
Danny Martini 2e6b03b2cb
fix(core): Prevent multiple values in the execution metadata for the same key and executionId (#9953) 2024-07-10 12:47:43 +02:00
Danny Martini 0f495986f8
fix(core): Allow owner and admin to edit nodes with credentials that haven't been shared with them explicitly (#9922) 2024-07-09 16:25:50 +02:00
कारतोफ्फेलस्क्रिप्ट™ c7d4b471c4
refactor(core): Move backend config to a separate package (no-changelog) (#9325) 2024-07-05 11:43:27 +02:00
Val 1d5b9836ca
fix: Rename LDAP files to include .ee (no-changelog) (#9943) 2024-07-05 09:51:16 +02:00
Iván Ovejero 757feaf585
refactor(core): Enforce range for shutdown priority (no-changelog) (#9944) 2024-07-04 20:26:11 +02:00
Iván Ovejero c82579bf76
fix(core): Disconnect Redis after pausing queue during worker shutdown (#9928)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-07-04 18:07:47 +02:00
कारतोफ्फेलस्क्रिप्ट™ 86018aa6e0
refactor(core): Remove Ask AI HTTP request feature (no-changelog) (#9931) 2024-07-04 12:09:45 +02:00
कारतोफ्फेलस्क्रिप्ट™ 22990342df
refactor(core): Delete all collaboration related code (no-changelog) (#9929) 2024-07-03 18:46:24 +02:00
Danny Martini ab2a548856
fix(core): Don't allow using credentials that are not part of the same project (#9916) 2024-07-03 11:42:59 +02:00
Iván Ovejero 7c53433191
fix(core): Fix worker logs relay (#9919) 2024-07-03 10:29:25 +02:00
Iván Ovejero e613de28ca
fix(core): Fix execution cancellation in scaling mode (#9841) 2024-06-28 20:05:09 +02:00
Iván Ovejero 44ea4c73eb
refactor: Remove unused lint directives (no-changelog) (#9842) 2024-06-24 12:13:18 +02:00
Mutasem Aldmour b807e6726f
feat: Add RS client to hooks service (#9834) 2024-06-24 10:44:49 +02:00
Val aeeced4d97
fix: Get workflow not returning home project and shared projects (no-changelog) (#9815) 2024-06-20 15:43:23 +01:00
Iván Ovejero 7b396e78c6
refactor(core): Introduce RedisClientService (no-changelog) (#9774) 2024-06-20 12:55:07 +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
Iván Ovejero 283d1ca583
refactor(core): Rename usage metrics method per suggestion (no-changelog) (#9810) 2024-06-20 11:02:30 +02:00
Val adbd0d17ab
fix: Changes to workflow staticData erroneously updating updatedAt (#9790) 2024-06-19 14:44:55 +01:00
कारतोफ्फेलस्क्रिप्ट™ 65c5609ab5
feat(core): Use WebCrypto to generate all random numbers and strings (#9786) 2024-06-19 13:33:57 +02:00
Iván Ovejero cfc4db00e3
refactor(core): Send active workflow IDs during license renewal (#9804) 2024-06-19 12:35:42 +02:00
कारतोफ्फेलस्क्रिप्ट™ 3b70330ff6
refactor(core): Auto-register controllers at startup (no-changelog) (#9781) 2024-06-19 09:57:40 +02:00
कारतोफ्फेलस्क्रिप्ट™ 2d02c73fbd
refactor(core): Refactor cli command tests (no-changelog) (#9731) 2024-06-18 10:50:39 +02:00
कारतोफ्फेलस्क्रिप्ट™ 876bcbb04c
fix(core): Make enterprise trial requests via the backend (no-changelog) (#9784) 2024-06-17 19:56:52 +02:00
Val a1046607bf
feat: Add custom data to public API execution endpoints (#9705) 2024-06-17 12:38:10 +01:00
Iván Ovejero f7352b6a8f
refactor(core): Make PruningService.init and WaitTracker.init consistent (no-changelog) (#9761) 2024-06-17 12:49:40 +02:00
Danny Martini 2cf4364ee0
fix: When editing nodes only show the credentials in the dropdown that the user is allowed to use in that workflow (#9718) 2024-06-14 14:48:49 +02:00
Iván Ovejero 6a43710859
refactor(core): Remove license from execution repository (no-changelog) (#9726) 2024-06-13 11:43:21 +02:00
Iván Ovejero 797342343f
perf(core): Introduce concurrency control for main mode (#9453) 2024-06-12 15:05:43 +02:00
Ricardo Espinoza dda7901398
fix: Introduce HooksService (#8962) 2024-06-11 07:28:45 -04:00
कारतोफ्फेलस्क्रिप्ट™ 6ba789aa6d
ci: Remove unused WaitTracker mocking (no-changelog) (#9694) 2024-06-11 10:28:52 +02:00
Mutasem Aldmour 50bd5b9080
feat: Update NPS Value Survey (#9638)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-06-11 10:23:30 +02:00
Iván Ovejero aaa78435b0
refactor(core): Remove event bus channel (no-changelog) (#9663) 2024-06-11 10:02:23 +02:00
Iván Ovejero 817167cf4b
refactor(core): Merge event bus controllers and remove dead code (no-changelog) (#9688) 2024-06-10 17:38:02 +02:00
Iván Ovejero b8338e3610
refactor(core): Revamp crash recovery mechanism for main mode (#9613) 2024-06-07 16:19:59 +02:00
Cornelius Suermann 44ecab73d7
feat: Release floating entitlements on license:clear command (no-changelog) (#9603)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-06-07 13:13:31 +02:00
Danny Martini 6187cc5762
feat(core): Implement project:viewer role (#9611) 2024-06-06 11:55:48 +02:00
Iván Ovejero 411ffbda7f
fix(core): Ensure ID is a positive integer when fetching execution (#9629) 2024-06-05 13:05:07 +02:00
कारतोफ्फेलस्क्रिप्ट™ 1563bf571d
refactor(core): Move curl endpoint to its own controller (no-changelog) (#9605) 2024-06-05 10:43:09 +02:00
Iván Ovejero 375b347b0f
refactor(core): Restore test for execution pagination in Public API (no-changelog) (#9621) 2024-06-05 10:14:01 +02:00
Danny Martini 202c91e7ed
feat(core): Allow transferring credentials from any project to any team project (#9563) 2024-06-04 13:54:48 +02:00
कारतोफ्फेलस्क्रिप्ट™ 08d9c9a787
fix(core): Start WaitTracker only in the main container (#9600) 2024-06-03 17:43:24 +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
कारतोफ्फेलस्क्रिप्ट™ 7be616e583
feat(core): Allow customizing rate limits on a per-route basis, and add rate limiting to more endpoints (#9522)
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2024-06-03 11:20:51 +02:00
Danny Martini 8da0d6e9ba
fix(core): Fix type errors (no-changelog) (#9571) 2024-05-31 14:06:13 +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
कारतोफ्फेलस्क्रिप्ट™ 08902bf941
refactor(core): Update supertest, and fix some typing errors (no-changelog) (#9527) 2024-05-31 09:40:03 +02:00
Danny Martini a221215b87
test(core): Rename and combine all credential api tests (no-changelog) (#9550) 2024-05-30 18:01:38 +02:00
कारतोफ्फेलस्क्रिप्ट™ 596990bed7
ci: Fix vulnerable dev dependencies (no-changelog) (#9545) 2024-05-30 13:54:29 +02:00
Iván Ovejero dbaac82f79
fix(core): Set source control repository to track remote if ready (#9532) 2024-05-29 10:21:21 +02:00
कारतोफ्फेलस्क्रिप्ट™ ac4e0fbb47
fix(core): Block Public API related REST calls when Public API is not enabled (#9521) 2024-05-28 14:43:22 +02:00
Danny Martini e07de837b9
test(core): Align test names with route names (no-changelog) (#9518) 2024-05-27 20:41:34 +02:00
Iván Ovejero a58be175cc
fix(core): Prevent re-parsing of dynamically loaded options (#9503) 2024-05-24 11:00:15 +02:00
कारतोफ्फेलस्क्रिप्ट™ b585777c79
refactor(core): Use consistent CSRF state validation across oAuth controllers (#9104)
Co-authored-by: Danny Martini <danny@n8n.io>
2024-05-23 19:08:01 +02:00
Danny Martini 3b93aae6dc
feat(core): Print the name of the migration that cannot be reverted when using n8n db:revert (#9473) 2024-05-23 18:16:26 +02:00
Iván Ovejero 75408b0113
refactor: Remove skipped tests (no-changelog) (#9497) 2024-05-23 12:29:20 +02:00
Iván Ovejero 9bdc83a399
perf(core): Optimize executions filtering by metadata (#9477) 2024-05-22 17:20:01 +02:00
Iván Ovejero bc219e0499
refactor(core): Make execution status non-nullable (no-changelog) (#9483) 2024-05-22 16:56:05 +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
Iván Ovejero a217866cef
fix(core): Account for retry of execution aborted by pre-execute hook (#9474) 2024-05-22 15:22:07 +02:00
Omar Ajoue c1eef60ccd
test: Add tests for license manager reinit method (#9471) 2024-05-22 10:26:49 +01:00
Iván Ovejero d21ad15c1f
fix(core): Fix 431 for large dynamic node parameters (#9384) 2024-05-21 19:11:02 +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
Milorad FIlipović cda062bde6
feat(editor): Remove AI Error Debugging (#9337) 2024-05-08 14:13:47 +02:00