Commit graph

7647 commits

Author SHA1 Message Date
Deborah 57e515dd4b
docs: Update the contribution guidelines for node creation (#5120)
update contributing guide re. node creation
2023-01-10 15:18:01 +00:00
Valya 3d05acf313
feat: Expression extension framework (#4372)
*  Introduce a framework for expression extension

* 💡 Add some inline comments

*  Introduce hash alias for encrypt

*  Introduce a manual granular level approach to shadowing/overrideing extensions

* 🔥 Cleanup comments

*  Introduce a basic method of extension for native functions

*  Add length to StringExtension

*  Add number type to extension return types

*  Temporarily introduce DateTime with extension

*  Cleanup comments

*  Organize imports

* ♻️ Fix up some typings

*  Fix typings

* ♻️ Remove unnecessary resolve of expression

*  Extensions Improvement

* ♻️ Refactor EXPRESSION_EXTENSION_METHODS

* ♻️ Refactor EXPRESSION_EXTENSION_METHODS

* ♻️ Update extraArgs types

* ♻️ Fix tests

* ♻️ Fix bind type issue

* ♻️ Fixing duration type issue

* ♻️ Refactor to allow overrides on native methods

* ♻️ Temporarily remove Date Extensions to pass tests

* feat(dt-functions): introduce date expression extensions (#4045)

* 🎉 Add Date Extensions into the mix

*  Introduce additional date extension methods

*  Add Date Expression Extension tests

* 🔧 Add ability to debug tests

* ♻️ Refactor extension for native types

* 🔥 Move sayHi method to String Extension class

* ♻️ Update scope when binding member methods

*  Add String Extension tests

* feat(dt-functions): introduce array expression extensions (#4044)

*  Introduce Array Extensions

*  Add Array Expression tests

* feat(dt-functions): introduce number expression extensions (#4046)

* 🎉 Introduce Number Extensions

*  Support more shared extensions

*  Improve handling of name collision

*  Update tests

* Fixed up tests

* 🔥 Remove remove markdown

* :recylce: Replace remove-markdown dependencies with implementation

* ♻️ Replace remove-markdown dependencies with implementation

*  Update tests

* ♻️ Fix scoping and cleanup

* ♻️ Update comments and errors

* ♻️ Fix linting errors

*  Remove unused dependencies

* fix: expression extension not working with multiple extensions

* refactor: change extension transform to be more efficient

* test: update most test to work with new extend function

* fix: update and fix type error in config

* refactor: replace babel with recast

* feat: add hashing functions to string extension

* fix: removed export

* test: add extension parser and transform tests

* fix: vite tests breaking

* refactor: remove commented out code

* fix: parse dates passed from $json in extend function

* refactor: review feedback changes for date extensions

* refactor: review feedback changes for number extensions

* fix: date extension beginningOf test

* fix: broken build from merge

* fix: another merge issue

* refactor: address review feedback (remove ignores)

* feat: new extension functions and tests

* feat: non-dot notation functions

* test: most of the other tests

* fix: toSentenceCase for node versions below 16.6

* feat: add $if and $not expression extensions

* Fix test to work on every timezone

* lint: fix remaining lint issues

Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-01-10 14:06:12 +01:00
Michael Auerswald 871a1d7dad
fix(editor): Fixes event bus test (#5119)
* create webhook instead of sentry destination

* remove wait()
2023-01-10 11:45:51 +01:00
OlegIvaniv 885177861a
refactor(TelegramTrigger Node, ShopifyTrigger Node): Standardize node triggers actions (#5117)
* feat(Telegram Trigger node, Shopify Trigger node): Change display name of Telegram and Shopify trigger nodes

* Remove trigger on tooltips for Telegram and Shopify trigger nodes

* Add telegram action override and make sure recommended category actions are overwritable
2023-01-10 11:20:53 +01:00
OlegIvaniv ab4785ab31
feat(editor): Remove prevent-ndv-auto-open feature flag (#5114)
feature(editor): Remove `prevent-ndv-auto-open` feature flag
2023-01-10 09:39:37 +01:00
कारतोफ्फेलस्क्रिप्ट™ 0e955760a1
refactor: On workflow deletion, cascade delete all entities associated with it (#5102) 2023-01-10 09:23:44 +01:00
Mutasem Aldmour 7df0728999
test: Fix default owner test to be able to reach setup page (#5113)
test: fix default owner test
2023-01-09 17:23:39 +01:00
कारतोफ्फेलस्क्रिप्ट™ b4a5ff2430
refactor: Reduce custom docker image size by about 30% (#5104)
frontend dependencies are not needed after the image has been built.
2023-01-09 16:42:53 +01:00
Alex Grozav 56951e83c0
fix(editor): Disable data pinning on multiple output node types (#5111)
* fix: Disable data pinning on Compare Datasets node

* feat: update pin data mixin to automatically determine if multiple outputs node

* fix: remove unused node type constant
2023-01-09 17:15:48 +02:00
Jan Oberhauser c3422b1f84 📚 Update CHANGELOG.md and main package.json to 0.210.2 2023-01-09 07:28:50 -06:00
Jan Oberhauser e950192a19 🔖 Release n8n@0.210.2 2023-01-09 13:23:18 +00:00
Jan Oberhauser ec6aac1795 ⬆️ Set n8n-core@0.150.1, n8n-editor-ui@0.176.2, n8n-nodes-base@0.208.2 and n8n-workflow@0.132.1 on n8n 2023-01-09 13:23:18 +00:00
Jan Oberhauser 92babf3feb 🔖 Release n8n-editor-ui@0.176.2 2023-01-09 13:21:19 +00:00
Jan Oberhauser 7eb1e7eb86 ⬆️ Set n8n-workflow@0.132.1 on n8n-editor-ui 2023-01-09 13:21:19 +00:00
Jan Oberhauser f63d6308b8 🔖 Release n8n-nodes-base@0.208.2 2023-01-09 13:20:19 +00:00
Jan Oberhauser 7465e3ed27 ⬆️ Set n8n-core@0.150.1 and n8n-workflow@0.132.1 on n8n-nodes-base 2023-01-09 13:20:19 +00:00
Jan Oberhauser 3b4ca75661 🔖 Release n8n-node-dev@0.89.1 2023-01-09 13:20:08 +00:00
Jan Oberhauser 970498c14a ⬆️ Set n8n-core@0.150.1 and n8n-workflow@0.132.1 on n8n-node-dev 2023-01-09 13:20:08 +00:00
Jan Oberhauser 1ce9c4de5c 🔖 Release n8n-core@0.150.1 2023-01-09 13:19:56 +00:00
Jan Oberhauser cc0741cb90 ⬆️ Set n8n-workflow@0.132.1 on n8n-core 2023-01-09 13:19:55 +00:00
Jan Oberhauser be038db695 🔖 Release n8n-workflow@0.132.1 2023-01-09 13:19:44 +00:00
Alex Grozav a79c253345
feat: Add source to all View Plans links (no-changelog) (#5097)
feat: Add source to all View Plans links
2023-01-09 14:57:51 +02:00
Omar Ajoue a43e3e4112
fix: Do not attempt to save statistics data for unsaved workflows (#5106)
* fix: Do not attempt to save data for unsaved workflows
2023-01-09 12:49:27 +01:00
Deborah 47e32e4268
fix: Update links for user management and SMTP help (#5109)
new links for UM and SMTP help
2023-01-09 10:54:39 +00:00
Iván Ovejero 320e646380
fix(editor): Omit pairedItem from proxy completions (#5098)
*  Omit `pairedItem` from proxy completions

* 🧪 Fix tests
2023-01-09 11:44:52 +01:00
Iván Ovejero bae1487a53
test: Fix e2e tests for inline expression editor (#5108)
🧪 Fix e2e tests for inline expression editor
2023-01-09 11:44:15 +01:00
Iván Ovejero 9e7a9bfe20
fix(editor): Prevent refresh on submit in credential edit modal (#5091)
🐛 Prevent refresh on submit in credential edit modal
2023-01-09 11:43:59 +01:00
कारतोफ्फेलस्क्रिप्ट™ 6d0f2bff7f
fix: Remove anonymous ID from tracking calls (#5099) 2023-01-06 15:35:30 +01:00
कारतोफ्फेलस्क्रिप्ट™ 1acc7fea89
refactor(core): Add more overloads for string-type node parameters (no-changelog) (#5101)
* refactor(core): Add more overloads for string-type node parameter (no-changelog)

continued from https://github.com/n8n-io/n8n/pull/4797

* include binaryPropertyOutput
2023-01-06 15:09:32 +01:00
कारतोफ्फेलस्क्रिप्ट™ c97f3cad59
fix(Read Binary File Node): Do not crash the execution when the source file does not exist (#5100)
This issue was introduced in https://github.com/n8n-io/n8n/pull/5069
2023-01-06 14:15:46 +01:00
कारतोफ्फेलस्क्रिप्ट™ c4df2049a8
fix: Stop OOM crashes in Execution Data pruning (#5095)
* fix: Stop OOM crashed in Execution Data pruning

Currently while pruning execution data, we are loading all the data in memory. For instances where there are thousands of executions, this causes the container to run out of memory.
Since ids is all we need, we should only query for ids.

* query for Executions only when ids are actually needed for pruning binary data

in default mode the binary data is in the database, and will get pruned along with the executions.
2023-01-06 11:42:58 +01:00
Iván Ovejero f4140d011f
feat(editor): Introduce proxy completions to expressions (#5075)
*  Introduce proxy completions to expressions

* 🧪 Add tests

*  Replace snippet with alphabetic char completions

*  Tighten `DateTime` check

* 🧹 Clean up `n8nLang`

* 🔥 Remove duplicate

* 👕 Remove non-null assertion

*  Confirm that `overlay` is needed

* 🔥 Remove comment

* 🔥 Remove more unneeded code

* 🔥 Remove unneded Pinia setup

*  Simplify syntax
2023-01-06 10:07:36 +01:00
Michael Kret 77031a2950
fix(Google Sheets Node): Fix for auto-range detection 2023-01-06 00:25:28 +02:00
Jan Oberhauser acfb3518ad 📚 Update CHANGELOG.md and main package.json to 0.210.1 2023-01-05 11:24:31 -06:00
Jan Oberhauser 6e8fadb361 🔖 Release n8n@0.210.1 2023-01-05 17:20:20 +00:00
Jan Oberhauser 26e4f653f9 ⬆️ Set n8n-editor-ui@0.176.1 and n8n-nodes-base@0.208.1 on n8n 2023-01-05 17:20:19 +00:00
Jan Oberhauser 7aff80f5da 🔖 Release n8n-editor-ui@0.176.1 2023-01-05 17:18:17 +00:00
Jan Oberhauser 686a95afd2 ⬆️ Set n8n-design-system@0.50.1 on n8n-editor-ui 2023-01-05 17:18:17 +00:00
Jan Oberhauser e778b12d7a 🔖 Release n8n-design-system@0.50.1 2023-01-05 17:17:56 +00:00
Jan Oberhauser e5c7b8ca6e 🔖 Release n8n-nodes-base@0.208.1 2023-01-05 17:16:47 +00:00
कारतोफ्फेलस्क्रिप्ट™ d77523bd31
fix: Pass in the correct server reference to external hooks (no-changelog) (#5094)
* fix: Pass in the correct server reference to external hooks (no-changelog)

* use the correct reference
2023-01-05 16:56:27 +01:00
Michael Kret b5e70d45bf
fix(Google Sheets Node): Append or Update fails for numeric values 2023-01-05 17:31:47 +02:00
Alex Grozav 2327563c44
feat: Add user management invite links without SMTP set up (#5084)
* feat: update n8n-users-list to no longer use preset list of actions

* feat: prepared users settings for invite links feature

* refactor: Return invite link URLs when inviting users (#5079)

* refactor: Return invite link URLs when inviting users

* test: Refactor and add tests to mailer

* feat: Add FE inviteAcceptUrl integration (#5085)

* feat: update n8n-users-list to no longer use preset list of actions

* feat: prepared users settings for invite links feature

* feat: add integration with new inviteAcceptUrl changes

* feat: Add inviteAcceptUrl to user list for pending users

Co-authored-by: Alex Grozav <alex@grozav.com>

* fix conflicts

* fix lint issue

* test: Make sure inviteAcceptUrl is defined

* feat: update smtp setup suggestion

* feat: add invite link summary when inviting multiple users

* refactor: Add telemetry flag for when email is sent

* fix: add email_sent correctly to telemetry event

* feat: move SMTP info-tip to invite modal

Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-01-05 17:10:08 +02:00
Omar Ajoue 11a46a4cbc
fix: Remove annonymous ID (no-changelog) (#5093) 2023-01-05 14:59:21 +01:00
Jan Oberhauser 636363071c 📚 Update CHANGELOG.md and main package.json to 0.210.0 2023-01-05 07:34:04 -06:00
Jan Oberhauser 4d9b9e1b7e 🔖 Release n8n@0.210.0 2023-01-05 13:21:41 +00:00
Jan Oberhauser d4d6779e22 ⬆️ Set n8n-core@0.150.0, n8n-editor-ui@0.176.0, n8n-nodes-base@0.208.0 and n8n-workflow@0.132.0 on n8n 2023-01-05 13:21:40 +00:00
Jan Oberhauser ca41844299 🔖 Release n8n-editor-ui@0.176.0 2023-01-05 13:19:50 +00:00
Jan Oberhauser beb2786483 ⬆️ Set n8n-design-system@0.50.0 and n8n-workflow@0.132.0 on n8n-editor-ui 2023-01-05 13:19:50 +00:00
Jan Oberhauser b9b1b643ba 🔖 Release n8n-design-system@0.50.0 2023-01-05 13:19:27 +00:00