Commit graph

3117 commits

Author SHA1 Message Date
Danny Martini e6b2f8e7e6
fix(API): PUT /credentials/:id should move the specified credential, not the first one in the database (#11365) 2024-10-23 14:21:11 +02:00
Tomi Turtiainen f414e90993
refactor: Clean task runner code (#11368) 2024-10-23 14:34:08 +03:00
Val 74fc3889b9
fix(core): Sanitise IdP provided information in SAML test pages (#11171)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-10-23 13:22:15 +02:00
Val 5390061f49
fix: Add config for max task runners payload size (no-changelog) (#11366) 2024-10-23 11:53:21 +01:00
Iván Ovejero 4f1816e03d
fix(core): Fix race condition when resolving post-execute promise (#11360) 2024-10-23 11:56:22 +02:00
Tomi Turtiainen c078a516be
feat(core): Enforce config file permissions on startup (#11328)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
2024-10-23 12:54:53 +03:00
Ricardo Espinoza e4218debd1
fix: Resend invite operation on users list (#11351)
Co-authored-by: Danny Martini <danny@n8n.io>
2024-10-23 10:23:28 +02:00
Iván Ovejero f4958756b4
fix(API): Correct credential schema for response in POST /credentials (#11340) 2024-10-23 09:18:50 +02:00
Iván Ovejero fb3518fcb8
chore(core): Stop reporting to Sentry execution cancellations (#11347) 2024-10-22 17:27:07 +02:00
Iván Ovejero 43f31b86aa
refactor(core): Support multiple log scopes (#11318) 2024-10-22 17:20:14 +02:00
Iván Ovejero c863abd083
fix(core): Account for waiting jobs during shutdown (#11338) 2024-10-22 17:11:53 +02:00
Val cade9b2d91
feat: Add proper INodeTypes polyfill for Task Runner (no-changelog) (#11333) 2024-10-22 15:19:32 +01:00
Tomi Turtiainen 8404282046
feat: Enable running task runners externally (no-changelog) (#11319) 2024-10-22 16:23:59 +03:00
कारतोफ्फेलस्क्रिप्ट™ 0fa2e8ca85
fix(core): Enforce nodejs version consistently (#11323)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-10-21 17:41:56 +02:00
Iván Ovejero 3c93ec88cd
refactor(core): Port generic config (#11316) 2024-10-21 12:57:37 +02:00
Csaba Tuncsik 76724c3be6
fix(editor): Open Community+ enrollment modal only for the instance owner (#11292) 2024-10-21 10:02:18 +02:00
Eugene b4b543d41d
fix(core): Add missing primary key to execution annotation tags table (#11168) 2024-10-18 15:06:15 +02:00
Iván Ovejero 64bddf8653
fix(core): Do not debounce webhooks, triggers and pollers activation (#11306) 2024-10-18 12:24:32 +02:00
Ricardo Espinoza 679fa4a10a
feat(core): introduce JWT API keys for the public API (#11005) 2024-10-18 12:06:44 +02:00
Tomi Turtiainen 0aae47c295
test: Fix flaky task-runner integration test (#11302) 2024-10-18 11:33:08 +03:00
Ricardo Espinoza 25c1c3218c
feat: Run mfa.beforeSetup hook before enabling MFA (#11116)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-10-17 19:47:10 +02:00
Iván Ovejero 44f95160fb
refactor(core): Report potentially unused job processor branch (#11298) 2024-10-17 18:38:06 +02:00
Michael Kret 643d66c0ae
feat(n8n Form Page Node): New node (#10390)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-10-17 14:59:53 +01:00
Iván Ovejero 83ca7f8e90
refactor(core): Remove watchdog interval (#11295) 2024-10-17 13:51:56 +02:00
Iván Ovejero d2266c93a7
chore(core): Add check to help diagnose PAY-2100 (#11282)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-10-17 12:56:37 +02:00
Iván Ovejero be50a9ac44
chore(core): Bring multi-main setup in line with scaling services (#11289) 2024-10-17 10:47:17 +02:00
Iván Ovejero d37acdb873
refactor(core): Make orchestration service smaller (#11275) 2024-10-16 17:34:32 +02:00
github-actions[bot] c090fcb340
🚀 Release 1.64.0 (#11281)
Co-authored-by: michael-radency <88898367+michael-radency@users.noreply.github.com>
2024-10-16 14:26:07 +03:00
Iván Ovejero e7a4b0da01
chore: Add server_type tag to Sentry errors (no-changelog) (#11277) 2024-10-16 11:47:05 +02:00
Val aa3c0dd226
refactor: Move secrets provider imports (no-changelog) (#11272)
Some checks failed
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Has been cancelled
2024-10-15 17:06:39 +01:00
jeanpaul c2fb881d61
fix(core): Wrap nodes for tool use at a suitable time (#11238)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-10-15 17:17:25 +02:00
Iván Ovejero 190665d8e6
refactor(core): Convey error stack from job failure to main (#11261) 2024-10-15 16:55:54 +02:00
Iván Ovejero 76ab780cdd
refactor(core): Remove dead orchestration code (#11266) 2024-10-15 16:47:31 +02:00
Iván Ovejero 05467fd101
refactor(core): Move queueModeId as hostId to InstanceSettings (#11262) 2024-10-15 14:55:13 +02:00
Mutasem Aldmour d3b05f1c54
feat: Add tracking for node errors and update node graph (#11060) 2024-10-15 12:38:17 +02:00
Val ecbe568d69
feat: Enable Task Runners on Scaling mode Workers (no-changelog) (#11253) 2024-10-15 11:03:28 +01:00
Val ee6e7fec85
feat: Fail all tasks for a disconnected Task Runner (no-changelog) (#11254) 2024-10-15 11:03:16 +01:00
Iván Ovejero 963ddeb0cc
refactor(core): Remove deprecated properties from orchestration service (#11251) 2024-10-14 16:52:56 +02:00
Iván Ovejero c0aa28c6cf
fix(core): Override executions mode if regular during worker startup (#11250) 2024-10-14 16:12:41 +02:00
Val b028d81390
feat: Start Task Runner via Launcher (no-changelog) (#11071) 2024-10-14 14:19:17 +01:00
Iván Ovejero 873851b54e
refactor(core): Revamp logs for scaling mode (#11244) 2024-10-14 15:15:42 +02:00
Iván Ovejero e8c87c488f
chore: Stop reporting to Sentry leader key renewals (#11246) 2024-10-14 13:18:31 +02:00
Iván Ovejero 0820cb5ab9
refactor(core): Simplify main pubsub message handler (#11156) 2024-10-11 10:31:33 +02:00
Tomi Turtiainen 1078fa662a
fix: Make sure errors are transferred correctly from js task runner (no-changelog) (#11214)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-10-10 21:01:38 +03:00
Shireen Missi 52dd2c7619
feat(core): Dedupe (#10101)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
Co-authored-by: Jan Oberhauser <jan@n8n.io>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
Co-authored-by: Elias Meire <elias@meire.dev>
2024-10-10 16:12:05 +01:00
कारतोफ्फेलस्क्रिप्ट™ 6823e8f2dd
refactor(core): Remove sse-channel (no-changelog) (#11207) 2024-10-10 16:51:50 +02:00
Alex Grozav 3d2fbcfd93
feat(editor): Improve Sentry ignore definitions for class instance types (no-changelog) (#11208)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-10-10 16:21:58 +02:00
Justin Ellingwood 9431e3029c
fix(HTTP Request Node): Fix typos in JSON validation error message (no-changelog) (#11197)
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2024-10-10 11:32:17 +01:00
Tomi Turtiainen eb2d1ca357
feat: Add configurable require support to js task runner (no-changelog) (#11184) 2024-10-10 12:44:02 +03:00
github-actions[bot] d78ab2983a
🚀 Release 1.63.0 (#11190)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
Co-authored-by: fedme <3295133+fedme@users.noreply.github.com>
2024-10-09 18:30:19 +02:00
Ricardo Espinoza 06f51dc7d2
refactor: Use Ask AI feature through AI services instead of hooks (#11027) 2024-10-09 11:24:33 -04:00
Tomi Turtiainen e94cda3837
feat: Add support for $env in the js task runner (no-changelog) (#11177)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-10-09 17:31:45 +03:00
कारतोफ्फेलस्क्रिप्ट™ 939c0dfc4c
feat(core): Upgrade chokidar, braces, and micromatch to address CVE-2024-4067 & CVE-2024-4068 (no-changelog) (#11182) 2024-10-09 16:23:11 +02:00
Csaba Tuncsik c2adfc8545
feat: Opt in to additional features on community for existing users (#11166) 2024-10-09 13:21:34 +02:00
Iván Ovejero c68782c633
feat(core): Introduce scoped logging (#11127) 2024-10-09 12:56:31 +02:00
Iván Ovejero 518e320404
refactor(core): Remove dead pubsub code (#11180) 2024-10-09 12:56:06 +02:00
कारतोफ्फेलस्क्रिप्ट™ d69842c87d
feat(core): Upgrade all swagger/openapi dependencies (no-changelog) (#11181) 2024-10-09 12:53:20 +02:00
कारतोफ्फेलस्क्रिप्ट™ 121e4c741b
feat(core): Upgrade express and some related packages to address some vulnerabilities (no-changelog) (#11178) 2024-10-09 11:55:51 +02:00
Tomi Turtiainen d4afb0f38b
refactor: Simplify resolveIcon checks and add tests (#11165)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-10-08 17:04:45 +03:00
Tomi Turtiainen 606eedbf1b
fix: Forbid access to files outside source control work directory (#11152) 2024-10-08 15:53:53 +03:00
Iván Ovejero 87d041363c
refactor(core): Change triggers and pollers removal log to debug level (#11163) 2024-10-08 14:46:22 +02:00
Iván Ovejero 1ded08bf7e
refactor(core): Include self-sending and debouncing in pubsub commands (#11149) 2024-10-08 11:18:12 +02:00
Ricardo Espinoza 1ca14946d9
fix(core): Add down method to AddApiKeysTable1724951148974 migration (no-changelog) (#11118) 2024-10-08 10:49:08 +02:00
Csaba Tuncsik 05d267954c
test(core): Add community+ register tracking test (#11133) 2024-10-08 09:40:41 +02:00
Tomi Turtiainen a7823367f1
fix: Fix transaction handling for 'revert' command (#11145)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-10-07 14:43:09 -04:00
Iván Ovejero 4c7caf734c
chore(core): Better debug logs for local dev (#11096) 2024-10-07 16:57:06 +02:00
Iván Ovejero 19fb728da0
perf(core): Optimize worker healthchecks (#11092) 2024-10-07 16:33:34 +02:00
Iván Ovejero 383b4765d2
refactor(core): Simplify worker pubsub message handler (#11086) 2024-10-07 16:19:58 +02:00
Michael Kret 41228b472d
feat: Human in the loop (#10675)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
2024-10-07 16:45:22 +03:00
Csaba Tuncsik 92cf860f9f
feat(editor): Community+ enrollment (#10776) 2024-10-07 13:09:58 +02:00
कारतोफ्फेलस्क्रिप्ट™ 1b84b0e5e7
fix(core): Allow loading nodes from multiple custom directories (#11130) 2024-10-07 12:09:47 +02:00
Iván Ovejero bb59cc71ac
fix(core): Separate error handlers for main and worker (#11091) 2024-10-04 16:38:48 +02:00
कारतोफ्फेलस्क्रिप्ट™ 722f4a8b77
fix(core): Always set startedAt when executions start running (#11098)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-10-04 16:08:52 +02:00
Danny Martini 1d14557461
fix(core): Print errors that happen before the execution starts on the worker instead of just on the main instance (#11099) 2024-10-04 15:36:04 +02:00
Iván Ovejero d537cea363
test(core): Allow Jest to exit cleanly in worker command test (#11095) 2024-10-04 14:44:53 +02:00
Iván Ovejero 6a12f0c5fa
fix(core)!: Bind worker server to IPv4 (#11087) 2024-10-04 12:18:26 +02:00
Michael Kret d974b015d0
fix: Incorrect error message on calling wrong webhook method (#11093) 2024-10-04 11:06:15 +01:00
Iván Ovejero 73a0d48073
refactor(core): Simplify webhook pubsub message handler (#11048) 2024-10-04 09:28:53 +02:00
Michael Kret 90b4bfc472
fix: Show result of waiting execution on canvas after execution complete (#10815)
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
Co-authored-by: Shireen Missi <shireen@n8n.io>
2024-10-03 15:09:37 +03:00
Federico Meini 86c632aabf
chore: Anonymise ip addresses in rudderstack events (#11066) 2024-10-03 10:42:29 +02:00
Tomi Turtiainen 12e54a5eea
fix: Use 127.0.0.1 as n8n uri for task runner process (no-changelog) (#11072) 2024-10-03 09:38:03 +03:00
github-actions[bot] 3c7556542c
🚀 Release 1.62.1 (#11068)
Co-authored-by: netroy <196144+netroy@users.noreply.github.com>
2024-10-02 16:37:44 +02:00
github-actions[bot] 86069321a1
🚀 Release 1.62.0 (#11056)
Co-authored-by: netroy <196144+netroy@users.noreply.github.com>
2024-10-02 16:19:12 +02:00
Tomi Turtiainen 4546649c61
feat: Separate task runner server from main http server (no-changelog) (#11062) 2024-10-02 16:38:42 +03:00
Iván Ovejero 8d9eb162ae
chore: Add verbose removal to breaking changes (#11053) 2024-10-02 14:35:31 +02:00
Tomi Turtiainen 74fa259b37
feat: Make task runners work with n8n from npm (no-changelog) (#11015) 2024-10-02 15:16:02 +03:00
Val ae37035aad
fix: Task Runner Auth CI fail with busy event loop (no-changelog) (#11057) 2024-10-02 14:27:28 +03:00
Val 27d83e0d91
feat: Initial Code Task Runners support (no-changelog) (#10698)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-10-02 09:31:56 +01:00
Iván Ovejero bdaadf10e0
fix(core): Fix ownerless project case in statistics service (#11051) 2024-10-02 10:31:17 +02:00
Iván Ovejero 113a2e7401
refactor(core): Bring job options into scaling service (#11050) 2024-10-02 10:31:07 +02:00
Iván Ovejero 3a9c65e1cb
refactor(core): Modernize logger service (#11031)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-10-01 12:16:09 +02:00
Iván Ovejero cd916480c2
fix(core): Handle Redis disconnects gracefully (#11007)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-09-30 16:36:27 +02:00
oleg b5f4afe12e
fix(Chat Trigger Node): Fix Allowed Origins paramter (#11011) 2024-09-30 15:42:37 +02:00
Ricardo Espinoza e54a396088
refactor: Move api-keys endpoints to their own controller (#11000) 2024-09-30 09:10:22 -04:00
Iván Ovejero 63e6f1fa38
refactor(core): Organize all event maps (#10997) 2024-09-30 10:44:03 +02: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
कारतोफ्फेलस्क्रिप्ट™ 2af0fbf52f
fix(core): Upgrade @n8n/typeorm to address a rare mutex release issue (#10993) 2024-09-27 13:36:43 +02:00
Iván Ovejero afda049491
refactor(core): Separate execution startedAt from createdAt (#10810) 2024-09-27 13:32:12 +02:00
Iván Ovejero bf7392a878
refactor(core): Make all pubsub messages type-safe (#10990) 2024-09-27 12:35:01 +02:00
Benjamin Roedell 5f89e3a01c
fix(API): Fix workflow project transfer (#10651)
Co-authored-by: Benjamin Roedell <2271599+benrobot@users.noreply.github.com>
2024-09-27 10:34:45 +02:00