Commit graph

2988 commits

Author SHA1 Message Date
Michael Kret 56721468df
fix(Google Drive Node): Fix regex in file RLC (#6607) 2023-07-05 23:15:13 +03:00
Michael Kret 8abb03d7cf
feat(HTML Node): 'Convert to table operation (#6540) 2023-07-05 22:27:49 +03:00
Jon 7ffe3cb36a
fix(Salesforce Node): Fix typo for adding a contact to a campaign (#6598) 2023-07-05 11:37:34 +01:00
ZergRael 7495e31a5b
feat(Strava Node): Add hide_from_home field in Activity Update (#5883) 2023-07-04 15:48:33 +01:00
Romeo Balta 225e849960
feat(Notion Node): Add option to update icon when updating a page (#5670) 2023-07-04 15:43:53 +01:00
कारतोफ्फेलस्क्रिप्ट™ 4c854f4f23
refactor: Setup node context API, and consolidate code between Webhook and Wait nodes (no-changelog) (#6464) 2023-07-04 16:17:50 +02:00
Adrián Martínez 54444fa388
fix(Strapi Node): Fix issue with pagination (#4991) 2023-07-03 16:05:28 +01:00
Michael Kret 22a950aa22
refactor(Item Lists Node): Refactoring (#6575) 2023-07-03 15:01:01 +03:00
perseus-algol 238a78f058
feat: Add crowd.dev node and trigger node (#6082) 2023-07-03 08:31:06 +01:00
Marcus e63b3982d2
fix(Brevo Node): Rename SendInBlue node to Brevo node (#6521)
* rename sendinblue to brevo

* refactor sendinblue node files/folders to brevo

* update codex node, documentation urls and api baseUrls

* adding comments to original node names
2023-06-29 17:11:00 +02:00
Jan Oberhauser cdd215f642
fix(XML Node): Fix issue with not returning valid data (#6565) 2023-06-29 14:30:39 +01:00
Marcus b17b4582a0
feat(HTTP Request Node): New http request generic custom auth credential (#5798) 2023-06-29 15:27:02 +02:00
Giulio Andreini 42721dba80
feat(Twitter Node): Node overhaul (#4788)
* First node set up.

* Progress: all Resources and Operations updated

* Upsates to all resources.

* Updated tooltip for Tweet > Search > Tweet fields.

* Upodate to resource locator items in User > Search.

* Added e.g. to placeholders and minor copy tweaks.

* Fixed Operations sorting.

* Added a couple of operations back.

* Removed 'Authorized API Call'.

* Remove authorization header when empty

* Import pkce

* Add OAuth2 with new grant type to Twitter

* Add pkce logic auto assign authorization code if pkce not defined

* Add pkce to ui and interfaces

* Fix scopes for Oauth2 twitter

* Deubg + pass it through header

* Add debug console, add airtable cred

* Remove all console.logs, make PKCE in th body only when it exists

* Remove invalid character ~

* Remove more console.logs

* remove body inside query

* Remove useless grantype check

* Hide oauth2 twitter waiting for overhaul

* Remove redundant header removal

* Remove more console.logs

* Add V2 twitter

* Add V1

* Fix description V1, V2

* Fix description for V1

* Add Oauth2 request

* Add user lookup

* Add search username by ID

* Search tweet feat

* Wip create tweet

* Generic function for returning ID

* Add like and retweet feat

* Add delete tweet feat

* Fix Location tweets

* Fix type

* Feat List add members

* Add scopes for dm and list

* Add direct message feature

* Improve response data

* Fix regex

* Add unit test to Twitter v2

* Fix unit test

* Remove console.logs

* Remove more console.logs

* Handle @ in username

* Minor copy tweaks.

* Add return all logic

* Add error for api permission error

* Update message api error

* Add error for date error

* Add notice for TwitterOAuth2 api link

* Fix display names location

* fix List RLC

* Fix like endpoint

* Fix error message check

* fix(core): Fix OAuth2 callback for grantType=clientCredentials

* Improve fix for callback

* update pnpm

* Fix iso time for end time

* sync oauth2Credential

* remove unused codeVerifer in Server.ts

* Add location and attachments notice

* Add notice to oauth1

* Improve notice for twitter

* moved credentials notice to TwitterOAuth1Api.credentials.ts

---------

Co-authored-by: agobrech <ael.gobrecht@gmail.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Marcus <marcus@n8n.io>
2023-06-28 12:19:25 +02:00
Alberto Pasqualetto b19833d673
feat(Microsoft To Do Node): Add an option to set a reminder when creating a task (#5757) 2023-06-28 08:55:40 +01:00
Marten Steketee 2e8dfb86d4
fix(Sendy Node): Fix issue with brand id not being sent (#6530) 2023-06-27 16:22:39 +01:00
Michael Kret d70a1cb0c8
feat(Google Drive Node): Overhaul (#5941) 2023-06-27 11:51:41 +03:00
Jon 8b76e98085
feat(Matrix Node): Allow setting filename if the binary data has none (#6536) 2023-06-26 16:37:40 +01:00
Michael Kret d9ed0b31b5
fix(Google Drive Node): URL parsing (#6527) 2023-06-23 17:12:54 +03:00
Michael Kret c82c7f1912
fix(Merge Node): Enrich input 2 fix (#6526) 2023-06-23 16:21:42 +03:00
Michael Kret 806d134602
fix(Google Sheets Node): Incorrect read of 0 and false (#6525) 2023-06-23 14:24:31 +03:00
Michael Kret 38dc784d2e
fix(Notion Node): Version fix (#6531) 2023-06-23 14:21:08 +03:00
Jon fdf8a428ed
feat: Add missing input panels to some trigger nodes (#6518) 2023-06-23 11:29:24 +01:00
Marcus ddfb24b325
fix(Postgres Trigger Node): Improve triggerMode property names and descriptions (no-changelog) (#6517)
💄update TiggerMode names and descriptions
2023-06-22 17:46:46 +02:00
Marcus 4a4bcbca29
fix(Edit Image Node): Fix transparent operation (#6513)
fix missing transparent operation
2023-06-22 17:46:01 +02:00
Iván Ovejero beedfb609c
feat(editor): SQL editor overhaul (#6282)
* Draft setup
*  Implemented expression evaluation in Postgres node, minor SQL editor UI improvements, minor refacring
*  Added initial version of expression preview for SQL editor
*  Linking npm package for codemirror sql grammar instead of a local file
*  Moving expression editor wrapper elements to the component
*  Using expression preview in SQL editor
* Use SQL parser skipping whitespace
*  Added support for custom skipped segments specification
*  Fixing highlight problems with dots and expressions that resolve to zero
* 👕 Fixing linting error
*  Added current item support
*  Added expression support to more nodes with sql editor
*  Added expression support for other nodes
*  Implemented different SQL dialect support
* 🐛 Fixing hard-coded parameter names for editors
*  Fixing preview for nested queries, updating query when input data changes, adding keyboard shortcut to toggle comments
*  Adding a custom automcomplete notice for different editors
*  Updating SQL autocomplete notice
*  Added unit tests for SQL editor
*  Using latest grammar
* 🐛 Fixing code node editor rendering
* 💄 SQL preview dropdown matches editor width. Removing unnecessary css
*  Addressing PR review feedback
* 👌 Addressing PR review feedback pt2
* 👌 Added path alias for utils in nodes-base package
* 👌 Addressing more PR review feedback
*  Adding tests for `getResolvables` utility function
* Fixing lodash imports
* 👌 Better focus handling, adding more plugins to the editor, other minor imrovements
*  Not showing SQL autocomplete suggestions inside expressions
*  Using npm package for sql grammar
*  Removing autocomplete notice, adding line highlight on syntax error
* 👌 Addressing code review feedback
---------
Co-authored-by: Milorad Filipovic <milorad@n8n.io>
2023-06-22 16:47:28 +02:00
Michael Kret d431117c9e
feat(HTTP Request Node): Notice about dev console (#6516) 2023-06-22 16:30:04 +03:00
Jon 772ed7ff10
fix(Zendesk Node): Fix issue with group assignment not working (#6501) 2023-06-21 16:19:29 +01:00
Jon 1cf36e1ed6
docs(DebugHelper Node): Update codex for debughelper (no-changelog) (#6499) 2023-06-21 10:53:56 +01:00
agobrech fc7261aca6
feat(core): Add PKCE for OAuth2 (#6324)
* Remove authorization header when empty

* Import pkce

* Add OAuth2 with new grant type to Twitter

* Add pkce logic auto assign authorization code if pkce not defined

* Add pkce to ui and interfaces

* Fix scopes for Oauth2 twitter

* Deubg + pass it through header

* Add debug console, add airtable cred

* Remove all console.logs, make PKCE in th body only when it exists

* Remove invalid character ~

* Remove more console.logs

* remove body inside query

* Remove useless grantype check

* Hide oauth2 twitter waiting for overhaul

* Remove redundant header removal

* Remove more console.logs

* Add comment for code verifier

* Remove uneeded scopes

* Restore client id in callback

* Revert "Add OAuth2 with new grant type to Twitter"

This reverts commit 1c3b331aa1.

* Remove oauth2 from twitter

* Remove properties linked to oauth2

* Fix lodash imports

* remove redundant check

* remove redundant codeVerifier

* patch pkce-challenge to avoid generating `code_verifier` with `~`

* store `codeVerifier` on the DB like `csrfSecret`

* remove unrelated changes

---------

Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-21 10:54:32 +02:00
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
greyliath f2154fba60
feat(Stripe Trigger Node): Add action required trigger for payment intents (#6490) 2023-06-20 16:16:25 +01: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
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
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
Michael Kret 1dbca44025
feat(Item Lists Node): Improvements (#6190) 2023-06-15 16:52:39 +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
कारतोफ्फेलस्क्रिप्ट™ 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
Jon cc1b249d58
fix(Zulip Node): Remove trailing slash from the url (#6427) 2023-06-14 15:26:16 +01: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
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
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
Jon 9396e7eb58
fix(Ldap Node): Add DN field to update operation (#6371) 2023-06-07 10:31:35 +01:00
agobrech 4488f93c39
feat: New trigger PostgreSQL (#5495)
* Boilerplate for PostgresTrigger

* Create trigger function as a query

* Add additional fields to customize trigger query

* Add customizable channel name && operation name

* Add concat () for function name

* Add hints and placeholders

* Add resource Locator to trigger postgres

* Add the ability for knowing trigger event

* Throw error for same function name

* Remove console.logs

* Remove schema from Chanel notifcation mode

* Add UUID and save trigger in workflow static data drop function

* Fix bug where wrongfully casted result in pgl

* Correctly drops the resources when manually executing the trigger

* Remove manual execution with special interaction

* Remove console.logs

* ♻️ Move related trigger functions to new file

* fix target using 'schema."tableName"' in quotes

To support targets with Uppercase table names

* Remove static Data and use node id for uuid

* Update deleting of the trigger and function

* Fix regex expression for channel name

* Change to drop cascade the trigger function

* Replace functions on restart if no name has been defined

* Parse payload result

* Improve handling with hyphens in names

* Remove duplicate code and clean up

* Add payload on delete

* Fix rlc

* fixing uppercase tableName

* fix multiple triggers/connections issues

* fixing rlc pgp.end() issues

* unify pgp init db method

* drop trigger only in createTrigger mode

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-06-07 11:01:57 +02:00
Michael Auerswald eaa8648f2b
fix(Date & Time Node): Reset responseData at end of loop (#6385)
reset responseData at end of loop
2023-06-06 20:58:15 +02:00
Michael Kret 05c4229cd7
refactor(core): Google service account remove duplicated functions (no-changelog) (#6368) 2023-06-06 19:19:24 +03:00
Jon 3a6af3b2a2
refactor(LoneScale List Node)!: Rename to LoneScale (#6337) 2023-06-06 16:13:58 +01:00