Commit graph

9084 commits

Author SHA1 Message Date
Michael Auerswald c3ba0123ad
feat: Migrate integer primary keys to nanoids (#6345)
* first commit for postgres migration

* (not working)

* sqlite migration

* quicksave

* fix tests

* fix pg test

* fix postgres

* fix variables import

* fix execution saving

* add user settings fix

* change migration to single lines

* patch preferences endpoint

* cleanup

* improve variable import

* cleanup unusued code

* Update packages/cli/src/PublicApi/v1/handlers/workflows/workflows.handler.ts

Co-authored-by: Omar Ajoue <krynble@gmail.com>

* address review notes

* fix var update/import

* refactor: Separate execution data to its own table (#6323)

* wip: Temporary migration process

* refactor: Create boilerplate repository methods for executions

* fix: Lint issues

* refactor: Added search endpoint to repository

* refactor: Make the execution list work again

* wip: Updating how we create and update executions everywhere

* fix: Lint issues and remove most of the direct access to execution model

* refactor: Remove includeWorkflowData flag and fix more tests

* fix: Lint issues

* fix: Fixed ordering of executions for FE, removed transaction when saving execution and removed unnecessary update

* refactor: Add comment about missing feature

* refactor: Refactor counting executions

* refactor: Add migration for other dbms and fix issues found

* refactor: Fix lint issues

* refactor: Remove unnecessary comment and auto inject repo to internal hooks

* refactor: remove type assertion

* fix: Fix broken tests

* fix: Remove unnecessary import

* Remove unnecessary toString() call

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* fix: Address comments after review

* refactor: Remove unused import

* fix: Lint issues

* fix: Add correct migration files

---------

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* remove null values from credential export

* fix: Fix an issue with queue mode where all running execution would be returned

* fix: Update n8n node to allow for workflow ids with letters

* set upstream on set branch

* remove typo

* add nodeAccess to credentials

* fix unsaved run check for undefined id

* fix(core): Rename version control feature to source control (#6480)

* rename versionControl to sourceControl

* fix source control tooltip wording

---------

Co-authored-by: Romain Minaud <romain.minaud@gmail.com>

* fix(editor): Pay 548 hide the set up version control button (#6485)

* feat(DebugHelper Node): Fix and include in main app (#6406)

* improve node a bit

* fixing continueOnFail() ton contain error in json

* improve pairedItem

* fix random data returning object results

* fix nanoId length typo

* update pnpm-lock file

---------

Co-authored-by: Marcus <marcus@n8n.io>

* fix(editor): Remove setup source control CTA button

* fix(editor): Remove setup source control CTA button

---------

Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
Co-authored-by: Marcus <marcus@n8n.io>

* fix(editor): Update source control docs links (#6488)

* feat(DebugHelper Node): Fix and include in main app (#6406)

* improve node a bit

* fixing continueOnFail() ton contain error in json

* improve pairedItem

* fix random data returning object results

* fix nanoId length typo

* update pnpm-lock file

---------

Co-authored-by: Marcus <marcus@n8n.io>

* feat(editor): Replace root events with event bus events (no-changelog) (#6454)

* feat: replace root events with event bus events

* fix: prevent cypress from replacing global with globalThis in import path

* feat: remove emitter mixin

* fix: replace component events with event bus

* fix: fix linting issue

* fix: fix breaking expression switch

* chore: prettify ndv e2e suite code

* fix(editor): Update source control docs links

---------

Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: Alex Grozav <alex@grozav.com>

* fix tag endpoint regex

---------

Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-06-20 19:13:18 +02:00
Milorad FIlipović da330f0648
fix(editor): Fix resource mapper dropdown width and disabled styling (#6493)
* fix(editor): Fix resource mapper dropdown width and disabled styling
* 💄 Tweaking the color for disabled dropdowns
2023-06-20 18:51:51 +02:00
कारतोफ्फेलस्क्रिप्ट™ 1b084bc56b
fix(core): Improve the error returned to users on SSL issues (#6494) 2023-06-20 17:54:05 +02:00
कारतोफ्फेलस्क्रिप्ट™ 7a95e08bfd
fix(HTTP Request Node): "Ignore SSL issues" should also ignore legacy renegotiation issues (#6492) 2023-06-20 17:38:37 +02:00
greyliath f2154fba60
feat(Stripe Trigger Node): Add action required trigger for payment intents (#6490) 2023-06-20 16:16:25 +01:00
Csaba Tuncsik 58e4e56302
build: Check test files (#6455)
* build: Check test files

* build: update test file checker glob pattern

* build: ignore changed files in test folders

* build: fix  gh workflow

* build: update gh events in workflow

* build: fix gh workflow

* build: fix gh workflow action script path

* build: fix gh workflow script

* build: fix gh workflow script

* build: fix gh workflow script

* build: fix gh workflow script

* build: fix gh workflow script

* build: update gh actions

* build: update gh actions

* build: test change file without test

* Revert "build: test change file without test"

This reverts commit 73f5c544c5.

* build: test change file that already has test

* build: fix action script

* Revert "build: test change file that already has test"

This reverts commit 21be611abf.

* build: update script

* build: test checking with test file change

* Revert "build: test checking with test file change"

This reverts commit 995b64f6ba.

* build: change file with no testable content

* build: use typescript to traverse a file

* Revert "build: change file with no testable content"

This reverts commit 05974b67c7.

* build: change file with no testable content

* Revert "build: change file with no testable content"

This reverts commit 187cc57291.

* build: change file with testable content

* Revert "build: change file with testable content"

This reverts commit ce716119b7.

* build: add vue file without test

* Revert "build: add vue file without test"

This reverts commit 756f28a373.

* build: add vue file with test

* Revert "build: add vue file with test"

This reverts commit 8022b112fc.

* build: gather all missing tests at once

* build: allow job to fail

* build: update error message
2023-06-20 13:35:04 +02:00
Alex Grozav 0154a97773
feat(editor): Replace root events with event bus events (no-changelog) (#6454)
* feat: replace root events with event bus events

* fix: prevent cypress from replacing global with globalThis in import path

* feat: remove emitter mixin

* fix: replace component events with event bus

* fix: fix linting issue

* fix: fix breaking expression switch

* chore: prettify ndv e2e suite code
2023-06-20 13:00:53 +03:00
Michael Auerswald 18f588444f
feat(DebugHelper Node): Fix and include in main app (#6406)
* improve node a bit

* fixing continueOnFail() ton contain error in json

* improve pairedItem

* fix random data returning object results

* fix nanoId length typo

* update pnpm-lock file

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-06-20 10:47:15 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6ccab3eaaa
feat(Webhook Node): Stream binary response in lastNode.firstEntryBinary mode (#6463) 2023-06-19 13:54:56 +02:00
Csaba Tuncsik 8b50625fb1
fix(editor): Update git repo URL validation to prevent using https protocol (#6475) 2023-06-19 12:17:45 +02:00
romainminaud d9f646511a
fix(editor): Remove tooltip about SMTP being required to invite user (no-changelog) (#6474)
remove unneccesary tooltip
2023-06-19 12:14:55 +02:00
Jon e0f109fa7e
feat: Add support for large files with declarative nodes (#6461) 2023-06-19 08:41:16 +01:00
कारतोफ्फेलस्क्रिप्ट™ 9978e2760b
fix(core): Fix the url sent in the password-reset emails (#6466) 2023-06-17 10:23:22 +02:00
कारतोफ्फेलस्क्रिप्ट™ 16e0df553c
fix(HTML Node): Prevent XSS in execution-data preview (#6432) 2023-06-16 17:42:13 +02:00
कारतोफ्फेलस्क्रिप्ट™ 4ec755513a
fix(Snowflake Node): Upgrade snowflake-sdk to address CVE-2023-34232 (no-changelog) (#6458)
[GH Advisory](https://github.com/advisories/GHSA-h53w-7qw7-vh5c)
2023-06-16 17:04:21 +02:00
Chris Wu 1111c915f2
refactor(core): Replace lodash's "soft-deprecated" individual packages with lodash to resolve CVE (no-changelog) (#6450)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-16 16:26:35 +02:00
Milorad FIlipović 16f707d5c4
fix(editor): Remove $if, $min and $max from code node autocomplete (#6460)
fix(editor): Remove `$if`, $min` and `$max` from code node autocomplete
2023-06-16 15:36:08 +02:00
Milorad FIlipović ad9fd12615
fix(editor): Fix DNV header disappearing when scrolling the code editor content (#6459)
* fix(editor): Fix DNV header disappearing when scrolling the code editor content
*  Using flex to lay out NDV instead of hard-coded height values
2023-06-16 15:35:56 +02:00
Alex Grozav 3e5f7adcbf
feat: Remove vue-fragment (no-changelog) (#6456)
* feat: remove vue-fragment (no-changelog)

* Update pnpm-lock.yaml

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-16 14:25:12 +03:00
Iván Ovejero 6a7d1aedb1
ci: Prevent e2e failure on commented type review (no-changelog) (#6452) 2023-06-16 12:17:04 +02:00
Jon 529f0e4996
fix(LinkedIn Node): Remove unsupported description from image posts (#6446) 2023-06-16 10:13:54 +01:00
Jan Oberhauser ffd13f4541
fix(Split In Batches Node): Add "done" context to allow simple reset (#6437)
* fix(Split In Batches Nodes): Make "noItemsLeft" work as expected

*  Simplified things and just added "done" context
2023-06-16 11:06:46 +02:00
Michael Kret fddc69ee2c
feat(Gmail Node): Add reply to email (#6453)
Co-authored-by: Matthias Stallmann <feelgood.interface@gmail.com>
2023-06-16 11:44:37 +03:00
Alex Grozav bbe493896c
fix: Remove Vue.component usage and refactor plugins into Vue Plugins (no-changelog) (#6445)
* fix: remove Vue.component usage and refactor plugins into Vue Plugins system (no-changelog)

* fix linting issues

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-16 10:30:57 +03:00
Csaba Tuncsik 5819be5ced
fix(editor): Show confirm on pull only when http response status is 409 (#6451)
* fix(editor): add docs link to translation

* fix(editor): show confirm on pull only when http response status is 409
2023-06-16 08:34:14 +02:00
Tom ee10ac8da9
fix(editor): Update data pinning tooltip to match current behaviour (#6436) 2023-06-16 06:25:52 +02:00
Alex Grozav 618b1aba30
feat: Replace Vue.delete with native alternative (no-changelog) (#6444)
* feat: replace Vue.delete with native alternative (no-changelog)

* fix: fix linting issues
2023-06-15 18:27:35 +03:00
Michael Kret 1dbca44025
feat(Item Lists Node): Improvements (#6190) 2023-06-15 16:52:39 +03:00
Jon ae56ac9a9a
fix: Add .gitattributes to preserve line endings (no-changelog) (#6442) 2023-06-15 14:31:35 +01:00
Alex Grozav 596cf07e42
feat: Replace all Vue.set usages with direct assignment and spread operator (no-changelog) (#6280)
* refactor: replace all Vue.set usages with direct assignment and spread operator

* chore: fix linting issue

* fix: fix updateNodeAtIndex function

* fix: various post-refactoring fixes

* fix: refactor recently added Vue.set directive
2023-06-15 15:30:05 +03:00
Alex Grozav c2afed4ca1
fix: Fix randomly failing scheduler node e2e tests (no-changelog) (#6430)
* fix: fix randomly failing scheduler node e2e tests (no-changelog)

* chore: rename variable name

* fix: update all cy.request calls to use backend base url

* fix: add back mistkenly removed workflowId code

* fix: remove unnecessary .then

* fix: update how workflowId is retrieved
2023-06-15 14:40:23 +03:00
agobrech 109442f38f
feat(AwsS3 Node): Small overhaul of the node with multipart uploading (#6017)
* Create new version for S3

* Update S3 to new aws s3 methods

* Switch from SAOP to Rest api

* Add multipart request

* Seperate stream into chunks and send the multipart

* Fix chunk into buffer

* Fix wrong sha256 mismatch

* Add abort multipart on error

* Complete multipart and list parts

* Change format to xml and add a minmum size of 5MB for each part

* Fix returned data for uploading a file

* Remove console.logs

* Seperate needed headers and multipart headers

* Throw error on aborting, remove console.logs

* Remove soap request from generic function

* Keep buffer

* Add unit test for V2

* fix upload file content body

* removed unused import

* Fix bug where the object was too smal and used only one part

* Fix naming for bucket name

* Fix issue with file name not returning data

* Add parent name

* Remove console.logs

* Add content type

* fix headears for other upload mode

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-06-15 13:19:22 +02:00
Csaba Tuncsik da105f468b
fix(editor): Update version control docs links (#6440)
* fix(editor): Update version control setup docs link

* fix(editor): add setup version control docs link to other places

* fix(editor): making docs link reactive
2023-06-15 12:09:27 +02:00
Michael Auerswald d3b78e291e
fix(editor): Show execution error as message (#6431)
show execution error as message
2023-06-15 11:52:21 +02:00
Csaba Tuncsik 1fe6459569
feat: Audit Logs - add new page to frontend [WIP] (no-changelog) (#6418)
* feat: Audit Logs (WIP)

* feat: Audit Logs license depending contents

* fix(editor): simplify import

* fix(editor): add audit logs to server
2023-06-15 08:33:28 +02:00
कारतोफ्फेलस्क्रिप्ट™ 004d38d82b
ci: Fix docs urls (no-changelog) (#6433) 2023-06-14 21:48:15 +02:00
Michael Kret 32fb419011
fix(Google Sheets Node): Return empty response if no rows updated (#6407) 2023-06-14 18:12:20 +03:00
Jan Oberhauser 90fd926823 Merge tag 'n8n@0.233.0' 2023-06-14 16:45:48 +02:00
github-actions[bot] 93a8236155
🚀 Release 0.233.0 (#6428)
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-06-14 16:28:08 +02:00
Jon cc1b249d58
fix(Zulip Node): Remove trailing slash from the url (#6427) 2023-06-14 15:26:16 +01:00
Jan Oberhauser 10bb5be542 Merge tag 'n8n@0.232.0' 2023-06-14 14:34:12 +02:00
कारतोफ्फेलस्क्रिप्ट™ da7ae2beef
fix(core): Prevent arbitrary code execution via expressions (#6420) 2023-06-14 13:15:27 +02:00
agobrech 2aef9de148
fix(Schedule Trigger Node): Follow the correct Unix cron format for month and days of the week (#6401)
* Handle conversion to correct unix format

* Fix intervals, ranges for months

* fix regex to match 10, 11, 12

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-06-13 18:57:17 +02:00
Csaba Tuncsik 75c0ab03f8
fix(editor): Hide version control main menu component if no feature flag (#6419)
* fix(editor): Hide version control main menu component if no feature flag

* fix(editor): Update unit tes

* test(editor): Test for feature flag
2023-06-13 17:09:17 +02:00
Jon d041602754
fix(LinkedIn Node): Fix issue with posting as user or organization (#6414) 2023-06-13 15:44:35 +01:00
Deborah fecf62296b
docs: Fix Postgres trigger docs URL (#6403)
fix postgres trigger docs URL
2023-06-13 15:06:28 +01:00
Csaba Tuncsik df62e7e8b6
test(editor): Unit test Version control frontend components (#6408)
* test(editor): test n8n-select design system component

* test(editor): test version control settings happy path

* test(editor): test version control settings disconnect
2023-06-12 15:44:47 +02:00
greyliath 14fba6421e
fix: Fist name to First Name in certain nodes (no-changelog) (#6404)
* Update PersonDescription.ts

* Update LeadDescription.ts

* Update PersonDescription.ts
2023-06-08 15:45:47 +01:00
Michael Auerswald cc44af9243
fix(core): Allow all executions to be stopped (#6386)
* allow all executions to be stopped and fix display issue

* limit cancelation and add recover for unknown states
2023-06-08 09:17:59 +02:00
github-actions[bot] 72448229d7
🚀 Release 0.232.0 (#6399)
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-06-07 15:29:04 +03:00