Commit graph

3461 commits

Author SHA1 Message Date
Michael Kret b5948cbe13
test(XML Node): Unit tests (no-changelog) 2023-02-09 12:23:25 +02:00
Marcus 74fc1414d7
test(Spreadsheet File Node): Unit tests (no-changelog) (#5385)
* ️test setup

* ️fix  'testData' implicitly has an 'any' type.

*  test github action file binary data reading

*  checking for output binary equality

*  writing files to different formats

*  reading spreadsheet with different options

* ️improve workflow file path replacement

* 🐛 fixing string.at() not supported in node 14.

* 🐛 trying to fix github action test error

*  fix for empty binary

*  switch for binary test

* ️test helpers now return/compare json and binary (if not empty))

*  removed commented console log

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-02-09 09:00:29 +01:00
कारतोफ्फेलस्क्रिप्ट™ 94f2b2a26f
feat(Edit Image Node): Allow WebP as an image format (#5420) 2023-02-08 23:08:50 +01:00
Marcus 1f924e3c3d
test(Set Node): Add tests for Set Node (no-changelog) (#5409)
* ️move test files

*  set node test workflow

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-02-08 18:04:11 +01:00
Marcus 269691aa1b
test(IF Node): Unit tests (no-changelog) (#5404)
* ️move test files

* ️IF boolean tests

* ️IF string tests

*  IF number tests

*  IF date-time tests

* 🎨 update Test name to make more sense
2023-02-08 15:20:17 +01:00
Giulio Andreini 389e4af4d9
docs(Spreadsheet File Node): Update descriptions and Alias (no-changelog) (#5357) 2023-02-08 12:39:07 +00:00
Kirill 333a817a8e
fix(ActiveCampaign Node): Fix additional fields not being sent when updating account contacts (#5216) 2023-02-08 12:37:15 +00:00
Bram Kn aeaa663620
feat(HubSpot Trigger Node): Add conversation events (#5408) 2023-02-08 12:36:05 +00:00
Giulio Andreini b16d9d0f8c
docs(Google Sheets Node): Description updates for fields (no-changelog) (#5277) 2023-02-08 12:33:57 +00:00
Jonathan Bennetts ce732b42c8
test(Execute Command Node): Unit tests (no-changelog) (#5374) 2023-02-08 12:17:02 +00:00
Jonathan Bennetts e82bc50fd1
test(Switch Node): Add test for switch node (no-changelog) (#5378) 2023-02-08 12:16:17 +00:00
Jonathan Bennetts f44b4b1314
test(Split In Batches Node): Add test for Split in Batches node (no-changelog) (#5381) 2023-02-08 12:15:36 +00:00
Michael Kret 4d87711ace
test(Merge Node): Unit tests (no-changelog) 2023-02-07 19:32:25 +02:00
कारतोफ्फेलस्क्रिप्ट™ 7e2f2f7453
refactor(core): Add unit tests for all external auth middlewares (no-changelog) (#5386) 2023-02-07 15:49:35 +01:00
Michael Kret 26b69b5ffc
test(Item Lists Node): Unit tests (no-changelog) 2023-02-07 11:27:37 +02:00
Jan Oberhauser bdaad556ca 🔖 Release n8n-nodes-base@0.212.2 2023-02-06 17:56:11 +00:00
Valya 9a7f3da4a3
test: Automatically load workflow nodes in node tests (#5380)
test: automatically load workflow nodes in node tests
2023-02-06 15:14:57 +00:00
Jan Oberhauser 4c115f4353 🔖 Release n8n-nodes-base@0.212.1 2023-02-06 13:12:55 +00:00
agobrech 4df69428f1
feat(Slack Node): Revamp the node with more functionalities in a new version (#4587)
* 🔥 Remove useless tooltips

* Slack change additional fields to Options in node

* 🥅 Add error handeling for out of Scope request

* ♻️ Refactor channel visibility

* ♻️ refactor user ressource

* Update user profile

* 🔥 remove JSON parameter

* 🔥 remove attchmant json and block json

* 🎨 refactors message post

* 🎨 refactor ts property into timestamps

* 🎨 change action name for messages

*  add new operation to message ressouce

*  add search backend logic + channel RLC

* 🎨 improve timestamp description and plaecholder

* 🎨 change timestamp disaplay name

*  add RLC for channels

*  add versioning

* 🐛 Fix imports for versioning

*  Add RLC for users when sending messages

*  RLC for user presence

*  Add json builder for slack blocks

* 🐛 Fix option in search query

* Add loadoption for search in channels

* Fix indentation issue

*  Add more scopes to Oauth2

* 🐛 Fix lint issue

* 🐛 oauth fix

*  Merge user and user profile

*  Improve reactions and star resource

* ️Merges ephemeral operation into one

* ️Merge image and emoji in profile picture

* 🐛Fix bug for replying to messages

* ️Add username type to User Rlc

* 🐛 Fix typo

* 🎨 Improves tooltip and naming for ephemeral messages

* 🎨 Improve display name and description

* ️Add the ability to delete within username channel

* 🎨 Add informations on how to use the emojis and add doc

* 🎨 Fix typos and improve display names

*  Improve FE validation for timestamp

* 🎨 Change block description

* 🚨 Fix linting

* 🚨 More lint fixes

* 🐛 Fix timestamps bug

* 🐛 Fix timestamp not showing up

* 🐛 More small fixes

* 🐛 Fix logic error

* Add searchable to slack rlc channels and users

* Fix lint rules

* ️Message Search -> fix limit request using qs count

* ️Message Search -> sort by relevance use qs score

* Fix messages by username rlc

* 🐛 fix messages search all operation

* Add error when using username with ephemeral message

* 🎨 fix linting errors

* 🎨 send message ephemeral error message improvement

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-02-03 17:04:37 +01:00
Jan Oberhauser bbfdb0b6b8 🔖 Release n8n-nodes-base@0.212.0 2023-02-03 14:35:29 +00:00
Jan Oberhauser 078c868018 ⬆️ Set n8n-core@0.153.0 and n8n-workflow@0.135.0 on n8n-nodes-base 2023-02-03 14:35:29 +00:00
Iván Ovejero 8b09e98654
feat(editor): Adjust HTML editor component for use in params (#5285)
*  Adjust HTML editor component

* ♻️ Apply feedback

* ♻️ Apply feedback

* 🔥 Remove unused ndv store refs
2023-02-02 14:00:16 +01:00
Paras Daryanani 3b5e1d127f
fix(Invoice Ninja Node): Fix line items not being correctly set for quotes and invoices (#5304) 2023-02-02 12:26:56 +00:00
Ashish Ahuja 04c058a34e
feat(OpenAI Node): Add frequency-penalty and presence-penalty (#5137) 2023-02-02 12:18:11 +00:00
Iván Ovejero 0f228a60ba
refactor(Code Node): Remove disallowed syntax checks (#5332)
🔥 Remove disallowed syntax checks in Code node
2023-02-02 10:11:36 +01:00
Jonathan Bennetts f9ecc34b10
fix(Linear Node): Fix pagination issue for get all issues (#5324) 2023-02-02 08:32:35 +00:00
कारतोफ्फेलस्क्रिप्ट™ 8f5f1c3aa5
fix(Mailchimp Trigger Node): Fix webhook recreation (#5328) 2023-02-02 01:00:24 +01:00
agobrech 78bbe2ba27
fix(Schedule Trigger Node): Change scheduler behaviour for intervals days and hours (#5133)
* 🐛Fix scheduler for intervals days and week

* ♻️ Simplify and move recurrency rules outside trigger node

* Remove async and promise from recurency rule

* Update correctly the Static data when using recurrency Rule

* Fix logic when recurrency is activated

* 🎨 Remove useless staticData fix(passed by reference)

* 🐛 remove duplicted hour cronJob leading to 2 executions

* More fixes, handles multiple execution

* 🐛 fixing dayOfYear recurency check

* 🐛 fix recurency check for hours/days should not equal lastExecution

* Add month interval to the scheduler

* Fix flawed logic for comparing interval

* 🚨 Fix lint issue type

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-02-01 22:53:05 +01:00
Ricardo Espinoza 59f290fe85
feat(Salesforce Node): Add HasOptedOutOfEmail field to lead resource (#5235) 2023-02-01 17:34:53 +00:00
कारतोफ्फेलस्क्रिप्ट™ 3bb1690086
feat(YouTube Node): Switch upload operation over to streaming and resumable uploads api (#5320) 2023-02-01 14:49:49 +01:00
Jonathan Bennetts 2b579871b2
fix(YouTube Node): Update description for channel id (no-changelog) (#5321)
update description for channel id
2023-02-01 14:49:17 +01:00
agobrech 409a9ea357
fix: Add paired item to the most used nodes (#5220)
* PairedItem for N8n training

* Add paired item to ftp node

* Add paired item to rocketChat

* Add pairedItem to pushOver

* Add paired item to Matrix

* Add pairedItem to theHive

* Add paired item to Snowflake

* Add paired item to PhilipsHue

* Add pairedItem to supabase

* Add paired item to Odoo

* fix odoo & add paired item to grist

* add pairedItem to Linkedin

* add pairedItem Zulip

* add pairedItem PhatomBuster

* add pairedItem to TodoistV2

* Add pairedItem HomeAssistant

* Add pairedItem to DropContact

* Add pairedItem to Aws SES

* Add pairedItem to microsoftOutlook

* Add pairedItem to AwsS3

* Add pairedItem to Aws DynamoDB

* 🐛 fix Dropcontact enrich operation paired item support

* 🐛 fix Dropcontact insert/update operation paired items

* 🐛 fix Supabase paired item support

* 🐛 fix Supabase paired item support

* 🐛 fix N8nTrainingCustomerDatastore paired item support

* 🎨 remove unused imports

* 🐛 fix MicrosoftOutlook paired item support

* 🐛 fix AwsS3 paired item support

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-01-31 20:39:20 +01:00
कारतोफ्फेलस्क्रिप्ट™ d87ff130a4
feat(Write Binary File Node): Stream binary data for writes (#5306) 2023-01-31 16:12:21 +01:00
कारतोफ्फेलस्क्रिप्ट™ 6f7421f970
feat(SSH Node): Stream binary data for uploads and downloads (#5305) 2023-01-31 14:03:31 +01:00
कारतोफ्फेलस्क्रिप्ट™ 448c295314
feat(FTP Node): Stream binary data for uploads and downloads (#5296) 2023-01-31 13:23:04 +01:00
Milorad FIlipović 1d85e232e5
refactor(core): Luxon dependency update (#5301)
* ⬆️ Updating Luxon version to 3.1
* ⬆️ Updating `pnpm-lock` file
2023-01-31 10:44:45 +01:00
Ricardo Espinoza 36b1e6ef15
feat(Notion Node): Add image block (#5237) 2023-01-31 09:17:45 +00:00
agobrech 6c8570adcc
docs(Postgres Node): Remove overkill notice for postgres & paireditem (#5291)
📝 Remove notice about pairedItem
2023-01-30 17:23:46 +01:00
कारतोफ्फेलस्क्रिप्ट™ e125e6764c
fix(n8n Trigger Node): Use the new icon for N8N Trigger node (no-changelog) (#5290) 2023-01-30 17:04:15 +01:00
Mutasem Aldmour 6092f6c41e
feat(editor): Add mapping support for data paths (#5191)
* feat: add data path flag

* chore: update types

* feat: use path for data

* feat: add support for multiple values

* fix: handle if not prev node

* fix: update node

* fix: handle multi part path

* feat: add support for multiple vals for field

* feat: add support for table transforms

* feat: use dot notation

* feat: fix bug where brackets removed

* fix: handle dots, fix unit tests

* test: update snapshot

* test: fix tests

* test: add test for edge case
2023-01-30 14:42:08 +03:00
agobrech 5b9c650e55
test: Add unit testing to nodes (no-changelog) (#4890)
* 🧪 Add base for building unit testing within nodes

* Improve helper functions

* 🧪 If node test

* 🧪 Airtable node test

* 🧪 If node test improvements

* 🧪 Airtable node test improvements

* ♻️ cleanup node unit tests

* ♻️ refactor getting node result data to use helper method

*  removed unused variables

* ♻️ Helper to read json files

---------

Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: Michael Kret <michael.k@radency.com>
2023-01-30 12:20:33 +01:00
Jan Oberhauser da19e50f83 🔖 Release n8n-nodes-base@0.211.0 2023-01-27 15:27:20 +00:00
Jan Oberhauser db496f5aaf ⬆️ Set n8n-core@0.152.0 and n8n-workflow@0.134.0 on n8n-nodes-base 2023-01-27 15:27:20 +00:00
Sven Ziegler cedf2e012c
feat(GitLab Node): Add file operations (create, delete, edit, get, list) (#5167) 2023-01-27 13:58:32 +00:00
Iván Ovejero b03e358a12
refactor: Integrate consistent-type-imports in nodes-base (no-changelog) (#5267)
* 👕 Enable `consistent-type-imports` for nodes-base

* 👕 Apply to nodes-base

*  Undo unrelated changes

* 🚚 Move to `.eslintrc.js` in nodes-base

*  Revert "Enable `consistent-type-imports` for nodes-base"

This reverts commit 529ad72b05.

* 👕 Fix severity
2023-01-27 12:22:44 +01:00
कारतोफ्फेलस्क्रिप्ट™ 277bed2a5c
ci: Run pnpm format and pnpm lintfix (no-changelog) (#5265) 2023-01-27 11:01:31 +01:00
कारतोफ्फेलस्क्रिप्ट™ 266c50fb1e
refactor(Telegram Node): Stream binary data for uploads and downloads (#5261) 2023-01-27 10:30:10 +01:00
Marcus 8ce85e3759
fix(Notion (Beta) Node): Fix create database page with multiple relation ids not working (#5260)
🐛 fix
2023-01-27 08:30:49 +01:00
agobrech 54333398ce
docs(Postgres Node): Add a notice for the use of PairedItem with mutliple query mode (#5256)
 Add a notice to the postgres execute query about paireditem
2023-01-26 10:24:29 +01:00
Iván Ovejero 74e6f5d190
feat: HTML node (#5107)
*  Create HTML templating node PoC

* ♻️ Apply feedback

* 🐛 Scope CSS selectors

* ✏️ Adjust description

* ✏️ Adjust placeholder

*  Replace two custom files with package output

*  Add `codemirror-lang-html-n8n`

* 👕 Appease linter

* 🧪 Skip event bus tests

*  Revert "Skip event bus tests"

This reverts commit 5702585d0d.

* ✏️ Update codex

* 🧹 Cleanup

* 🐛 Restore original for `continueOnFail`

*  Improve `getResolvables`
2023-01-26 10:03:13 +01:00