Commit graph

6988 commits

Author SHA1 Message Date
Jan Oberhauser 3ea83d872e
fix(core): Fix execute-once incoming data handling (#5211) 2023-01-23 12:47:07 +01:00
Iván Ovejero fcbf4fd587
fix(core): Make pindata with webhook responding on last node manual-only (#5223)
 Add manual check
2023-01-23 12:22:05 +01:00
Michael Auerswald 4f89fb4d4d
fix(core): Fix onWorkflowPostExecute not being called (#5224)
fix onWorkflowPostExecute
2023-01-23 11:53:00 +01:00
Iván Ovejero 0b123ce05e
fix(core): Fix expression extension misdetection (#5219)
* 🐛 Narrow down check

* fix: converted expression extension check loop into regex

* fix: remove greedy string check

* fix: re-add string spliting regex

Co-authored-by: Valya Bullions <valya@n8n.io>
2023-01-23 11:08:27 +01:00
Omar Ajoue c5245dd387
fix: Add schema to postgres migrations (hotfix) (#5218)
* fix: Add schema to postgres migrations
2023-01-23 10:16:20 +01:00
Csaba Tuncsik 9ce526e784
fix(editor): Making parameter input components label configurable (#5195)
fix(editor): Making parameter input component label configurable
2023-01-20 17:07:28 +01:00
Michael Kret 736e700902
feat(Google Analytics Node): Overhaul for google analytics node 2023-01-20 17:00:47 +02:00
Jonathan Bennetts e810966a3b
fix(Linear Node): Fix issue with single item not being returned (#5193) 2023-01-20 12:59:47 +00:00
Jonathan Bennetts 454375077f
refactor: Update Notion nodes to remove beta from name (#4838) 2023-01-20 12:49:02 +00:00
Michael Auerswald b69f480d4c
refactor(editor): Decouple REST calls from views (no-changelog) (#5202)
* decouple rest calls

* remove console.log
2023-01-20 12:08:40 +01:00
Iván Ovejero 7aa65315cc
test: Skip some syslog tests (no-changelog) (#5206)
:test: Skip some syslog tests
2023-01-20 11:02:53 +01:00
Marcus 11da863a21
fix(Notion (Beta) Node): Fix create database page fails if relation param is empty/undefined (#5182)
* 🐛 fix create database page fails if relation param is empty/undefined

*  uuid validation

*  uuid error handling

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-01-19 18:01:56 +01:00
agobrech 6e391755e4
fix(core): Fix url in error handelling for the error Trigger (#5201)
* Add workflow id to url in error message

* fix mock message for manual execution

* Fix url missing 's'
2023-01-19 17:56:31 +01:00
Jan Oberhauser 3eed566e9b 🔖 Release n8n@0.212.0 2023-01-19 14:10:40 +00:00
Jan Oberhauser 69ab256301 ⬆️ Set n8n-editor-ui@0.178.0 and n8n-nodes-base@0.210.0 on n8n 2023-01-19 14:10:39 +00:00
Jan Oberhauser 4c59dd206d 🔖 Release n8n-editor-ui@0.178.0 2023-01-19 14:07:34 +00:00
Jan Oberhauser f8f8ca1cf7 🔖 Release n8n-nodes-base@0.210.0 2023-01-19 14:06:01 +00:00
Michael Kret e667df783c
fix(core): Revert rule @typescript-eslint/prefer-nullish-coalescing 2023-01-19 14:37:19 +02:00
Michael Auerswald 9b032d68bc
feat(core): Add Prometheus metrics for n8n events and api invocations (experimental) (#5177)
* create prometheus metrics from events

* feat(core): Add more Prometheus metrics (experimental) (#5187)

* refactor(core): Add Prometheus labels to relevant metrics

* feat(core): Add more Prometheus metrics (experimental)

* add 'v' prefix to value of version label

Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2023-01-19 12:11:31 +01:00
Michael Kret 8f49f494ae
fix(HTTP Request Node): Bug - node requires string instead of json 2023-01-19 11:34:36 +02:00
Sven Ziegler e275306c64
fix(GitLab Node): Update credential test endpoint (#5166) 2023-01-19 09:20:58 +00:00
Iván Ovejero b718464b1f
fix(editor): Allow special chars in node selector completion (#5196)
🐛 Widen regex
2023-01-19 09:42:00 +01:00
Mutasem Aldmour a89c9c68d1
test: Add tests for pinning data (#5157)
* test: add tests for pinning

* test: add test for value

* test: add pinned data tests

* test: refactor into ndv

* refactor: move to ndv

* refactor: rename node

* test: fix test

* test: fix refactor

* test: remove unused id

* test: update test

* test: chain rename input

* test: refactor invoking text

* test: fix ndv tests

* test: move test id

* test: update selectors
2023-01-18 15:48:36 +01:00
Cornelius Suermann e36112a6d4
fix(core): Fix migration (no-changelog) (#5186)
* fix(core): Fix migration (no-changelog)

* revert previous fix and apply correct one
2023-01-18 15:42:09 +01:00
Michael Kret 8dbe6159d0
fix(HTTP Request Node): Response format to text is ignored for JSON responses 2023-01-18 15:31:39 +02:00
Marcus 026f3a532d
fix(Gmail Trigger Node): Filter by labels not working (#5173)
️added missing getLabels loadOptions
2023-01-18 10:47:26 +01:00
Michael Kret 5426690791
feat(Item Lists Node): Table tranformation 2023-01-17 18:40:28 +02:00
Jan Oberhauser 9ede87da02 🔖 Release n8n@0.211.2 2023-01-17 15:14:55 +00:00
Jan Oberhauser f593eacea3 ⬆️ Set n8n-nodes-base@0.209.2 on n8n 2023-01-17 15:14:55 +00:00
Jan Oberhauser 141834edbf 🔖 Release n8n-nodes-base@0.209.2 2023-01-17 15:12:30 +00:00
Iván Ovejero c0268f572f
fix(core): Restore community nodes installation (#5180)
🐛 Fix check for community nodes not installing
2023-01-17 16:04:58 +01:00
Michael Kret e839a81cc5
feat: (Google Sheets Trigger Node): Trigger for Google Sheets 2023-01-17 15:21:16 +02:00
Jan Oberhauser 26be3963a8 🔖 Release n8n@0.211.1 2023-01-16 14:47:16 +00:00
Jan Oberhauser 1513fb824f ⬆️ Set n8n-core@0.151.1, n8n-editor-ui@0.177.1, n8n-nodes-base@0.209.1 and n8n-workflow@0.133.1 on n8n 2023-01-16 14:47:15 +00:00
Jan Oberhauser 514338d096 🔖 Release n8n-editor-ui@0.177.1 2023-01-16 14:42:02 +00:00
Jan Oberhauser b0ae6ee387 ⬆️ Set n8n-design-system@0.51.1 and n8n-workflow@0.133.1 on n8n-editor-ui 2023-01-16 14:42:01 +00:00
Jan Oberhauser a4eacd0cab 🔖 Release n8n-design-system@0.51.1 2023-01-16 14:41:24 +00:00
Jan Oberhauser d4ee21bef3 🔖 Release n8n-nodes-base@0.209.1 2023-01-16 14:38:59 +00:00
Jan Oberhauser 1efaa4c063 ⬆️ Set n8n-core@0.151.1 and n8n-workflow@0.133.1 on n8n-nodes-base 2023-01-16 14:38:59 +00:00
Jan Oberhauser e9e2dd1e39 🔖 Release n8n-node-dev@0.90.1 2023-01-16 14:38:29 +00:00
Jan Oberhauser 3f3bc8750e ⬆️ Set n8n-core@0.151.1 and n8n-workflow@0.133.1 on n8n-node-dev 2023-01-16 14:38:28 +00:00
Jan Oberhauser 73d09acd9e 🔖 Release n8n-core@0.151.1 2023-01-16 14:38:05 +00:00
Jan Oberhauser 6e22d2e689 ⬆️ Set n8n-workflow@0.133.1 on n8n-core 2023-01-16 14:38:05 +00:00
Jan Oberhauser 3b34139969 🔖 Release n8n-workflow@0.133.1 2023-01-16 14:37:37 +00:00
Valya 98017dc36f
fix: Extension deep compare not quite working for some primitives (#5172)
fix: extension deep compare not quite working for some primitives
2023-01-16 14:15:19 +00:00
OlegIvaniv 582865c7e9
feat(editor): Supress validation errors for freshly added nodes (#5149)
* feat(editor): Supress validation errors when node is added from node creator

* Supress initial errors also for resource locator inputs

* Use nodeMetadata prop to store node's `pristine` state

* Revert `setNodeParameters` check for `nodeMetadata`

* Rename getIsNodePristine to isNodePristine
2023-01-16 14:55:58 +01:00
Mutasem Aldmour 96d773f82d
test: Update unit tests to remove hash (#5152)
* test: update unit tests to remove hash

* chore: update callout component
2023-01-16 14:16:12 +01:00
Jonathan Bennetts dfff982662
feat(Google Ads Node): Update api version to v11 (#4427) 2023-01-16 13:12:58 +00:00
Valya f634f0dc59
fix: Extend date functions clobbering plus/minus (#5170)
* fix: extended date functions clobbering plus/minus

* fix: minus extension doing plus instead
2023-01-16 13:01:58 +00:00
Marcus 9958c324db
feat(Google Drive Trigger Node): Use resource locator component (#5148)
* ♻️ move GoogleDrive.node.ts search methods to SearchFuntions.ts

* ️parameter Folder RLC

* ️parameter File RLC

* 🎨 File RLC placeholder use 'drive.google.com/xxx' urls
2023-01-16 10:45:44 +01:00
Csaba Tuncsik c53ce1e5b7
refactor(editor): Remove old execution view route and its dependants (#4651)
* fix(editor): Remove old execution view header

* fix(editor): Remove old execution route
2023-01-16 10:11:15 +01:00
कारतोफ्फेलस्क्रिप्ट™ 97969fc815
fix: Upgrade jsonwebtoken to address CVE-2022-23540 (#5116) 2023-01-13 18:24:59 +01:00
कारतोफ्फेलस्क्रिप्ट™ 0a5ab560b1
refactor: Upgrade typeorm to 0.3.x (#5151) 2023-01-13 18:12:22 +01:00
Michael Kret 6608e69457
refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944) 2023-01-13 18:11:56 +01:00
Jan Oberhauser a223e6b9f7 🔖 Release n8n@0.211.0 2023-01-13 16:20:25 +00:00
Jan Oberhauser e4e761825e ⬆️ Set n8n-core@0.151.0, n8n-editor-ui@0.177.0, n8n-nodes-base@0.209.0 and n8n-workflow@0.133.0 on n8n 2023-01-13 16:20:24 +00:00
Jan Oberhauser b0b3cca628 🔖 Release n8n-editor-ui@0.177.0 2023-01-13 16:18:18 +00:00
Jan Oberhauser 54f8a16d58 ⬆️ Set n8n-design-system@0.51.0 and n8n-workflow@0.133.0 on n8n-editor-ui 2023-01-13 16:18:17 +00:00
Jan Oberhauser 4031f0356b 🔖 Release n8n-design-system@0.51.0 2023-01-13 16:18:00 +00:00
Jan Oberhauser e5b455d0c5 🔖 Release n8n-nodes-base@0.209.0 2023-01-13 16:16:53 +00:00
Jan Oberhauser d7ed4a0ab2 ⬆️ Set n8n-core@0.151.0 and n8n-workflow@0.133.0 on n8n-nodes-base 2023-01-13 16:16:53 +00:00
Jan Oberhauser 6174eacb8f 🔖 Release n8n-node-dev@0.90.0 2023-01-13 16:16:43 +00:00
Jan Oberhauser 6a793cadb3 ⬆️ Set n8n-core@0.151.0 and n8n-workflow@0.133.0 on n8n-node-dev 2023-01-13 16:16:42 +00:00
Jan Oberhauser da45b87db4 🔖 Release n8n-core@0.151.0 2023-01-13 16:16:33 +00:00
Jan Oberhauser 820e962cb9 ⬆️ Set n8n-workflow@0.133.0 on n8n-core 2023-01-13 16:16:33 +00:00
Jan Oberhauser 03b2bcaa88 🔖 Release n8n-workflow@0.133.0 2023-01-13 16:16:21 +00:00
Ricardo Espinoza e140ecbc2c
fix(PayPal Trigger Node): Omit verification on sandbox env (#5150) 2023-01-13 15:43:03 +00:00
Jan Oberhauser c9e158e458
fix(core): Throw error in UI on expression referencing missing node but do not fail execution (#5158)
fix(core): Throw error in UI on expression referencing missing node but
do not fail execution
2023-01-13 16:22:37 +01:00
Jonathan Bennetts 146bc3bff5
fix(Zoom Node): Add notice about deprecation of Zoom JWT app support (#5156) 2023-01-13 15:01:28 +00:00
Michael Auerswald e845eb33f9
fix(core): Remove threads pkg, rewrite log writer worker (#5134) 2023-01-13 15:39:25 +01:00
कारतोफ्फेलस्क्रिप्ट™ b7faf4a0df
fix: Don't throw error on expressions referring to nodes that don't exist in the workflow (#5155) 2023-01-13 15:14:03 +01:00
Csaba Tuncsik d10ca530cf
fix(editor): Hide data pinning discoverability tooltip in execution view (#5145)
* fix(editor): remove unused prop

* fix(editor): Prevent data pinning discoverability tooltip displayed in executions view
2023-01-13 12:43:51 +01:00
Csaba Tuncsik 665eaef925
fix(editor): Execution page bug fixes (#5122)
* fix(editor): Global exec list adding tooltips

* fix(editor): Global exec list fix indefinite waiting status display

* fix(editor): Global exec list fix indefinite waiting status display

* fix(editor): Global exec list remove ellipsis menu from running execs
2023-01-13 12:42:34 +01:00
Mutasem Aldmour 14454243e7
fix: Handle memory issues gracefully (#5147)
* fix: add lost connection error

* fix: stop exec, open in new tab

* fix: only hosw if error failed

* fix: fix typo

* chore: eslint issue
2023-01-13 12:33:42 +01:00
Alex Grozav d2d481f12e
feat(editor): Update callout component design (#5126)
feat(design-system): Update callout component design
2023-01-13 13:31:15 +02:00
Mutasem Aldmour c2eb519398
feat: Add demo experiment to help users activate (#5141)
* feat: enable posthog for dev process

* feat: inject sticky in demo

* feat: update url

* feat: update pos

* feat: add demo button

* feat: add callout

* feat: hide behind exp

* fix: fix zoom to fit

* fix: fix zoom reset when moving to new view

* fix: use constant for test

* feat: add tracking

* feat: fix tracking

* feat: fix tracking

* fix canvas centering

* feat: update time

* feat: update bg color

* feat: update copy

* feat: update btm padding

* feat: replace thumbnail

* feat: increase height of sticky

* chore: clean up props

* fix: revert canvas change

* chore: address feedback

* chore: remove extra space

* test: fix unit tests
2023-01-13 11:56:29 +01:00
Valya 94be3b61cb
fix: Test failing for toDate from string extension test (no-changelog) (#5142) 2023-01-12 16:06:34 +01:00
Csaba Tuncsik c724de6be2
fix(editor): Setting NDV session ID (#5144) 2023-01-12 15:23:58 +01:00
Valya 9dca984c0c
fix: First/last being extended on proxy objects (#5140)
* fix: first/last being extended on proxy objects

* fix: better method that won't require changes later
2023-01-12 14:04:49 +00:00
कारतोफ्फेलस्क्रिप्ट™ 14a61f6ab1
fix: Upgrade class-validator to address CVE-2019-18413 (#5139) 2023-01-12 13:06:18 +01:00
Csaba Tuncsik 6deb55126e
fix(editor): Mapping tooltip dismiss (#5128)
fix(editor): not using local storage directly in computed prop
2023-01-12 10:43:45 +01:00
कारतोफ्फेलस्क्रिप्ट™ 0dbba6d57f
fix(editor): Do not overwrite window.onerror in production (#5135) 2023-01-11 22:22:12 +01:00
कारतोफ्फेलस्क्रिप्ट™ a9fb393e1a
fix: DB revert command shouldn't run full migrations before each revert (#5131) 2023-01-11 18:29:31 +01:00
कारतोफ्फेलस्क्रिप्ट™ 62cce2e518
fix: Run every DB migration inside a transaction (#5129)
* always each DB migrations in a transaction

* `VACUUM` isn't allowed inside transactions.

* `PRAGMA foreign_keys` are automatically toggled before and after every down migration
2023-01-11 18:29:05 +01:00
कारतोफ्फेलस्क्रिप्ट™ a573db2ef7
fix: Report app startup and DB migration errors to Sentry (#5127) 2023-01-11 18:28:35 +01:00
Csaba Tuncsik 3c109ffab1
refactor(editor): Overhaul workflow level executions list (#5089)
* fix(editor): update texts and styles

* fix(editor): update texts and styles

* fix(editor): move 'No execution found' to sidebar

* fix(editor): change empty state title in executions

* fix(editor): workflow execution list delete item

* fix(editor): workflow execution always show sidebar

* fix(editor): workflow execution unify date display mode

* fix(editor): workflow execution empty list
2023-01-11 15:08:00 +01:00
Michael Auerswald 62d06b1e6e
fix(core): Fixes event msg confirmations if no subscribers present (#5118)
* adds ExecutionEvents view modal to ExecutionList

* fix time rendering and remove wf column

* checks for unfinished executions and fails them

* prevent re-setting stoppedAt for execution

* removing UI changes but keeping eventbus fixes

* remove comment
2023-01-11 14:09:09 +01:00
Iván Ovejero 044b153275
refactor(core): Diverge syntax error handling in expressions (#5124)
*  Diverge syntax error handling in expressions

* ✏️ Expand comment
2023-01-11 12:15:42 +01:00
Iván Ovejero af55ecd64b
fix(editor): Recover from unsaved finished execution (#5121)
* 🐛 Recover from unsaved fixed execution

* 🔥 Remove logging

* ✏️ Use i18n
2023-01-11 10:52:32 +01:00
Csaba Tuncsik 819c4adb3c
feat(editor): Executions page (#4997)
* fix(editor): Create executions page

* fix(editor): lint fix

* fix(editor): Reuse execution list in both modal and page

* fix(editor): fix ts issues

* fix(editor): Reorganizing exec list components for easier redesign (everything is in its new place now)

* fix(editor): Exec list item restyling

* fix(editor): Exec list add back stripes

* fix(editor): Exec list formatting dates and times

* fix(editor): Exec list revert accidental searc and replace

* fix(editor): Exec list translations and execution IDs

* fix(editor): Exec list playing with table cell sizing

* fix(editor): Exec list playing with table cell sizing

* fix(editor): Exec list drop Element UI Table

* fix(editor): Exec list adding sticky header and View button on row hover

* fix(editor): Exec list open execution in new tab, add ellipsis menu to all rows with Delete action

* fix(editor): Global exec list update translations snd fix tabindex

* fix(editor): Global exec list redesign selection

* fix(editor): Global exec list fix scrolling container

* fix(editor): Global exec list fix running status

* fix(editor): Global exec list fix waiting status
2023-01-10 16:28:15 +01: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
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
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 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 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 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 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
Jan Oberhauser f3ca96b70f 🔖 Release n8n-nodes-base@0.208.0 2023-01-05 13:18:30 +00:00
Jan Oberhauser b859ecd25b ⬆️ Set n8n-core@0.150.0 and n8n-workflow@0.132.0 on n8n-nodes-base 2023-01-05 13:18:30 +00:00
Jan Oberhauser ec1e47a6ad 🔖 Release n8n-node-dev@0.89.0 2023-01-05 13:18:18 +00:00
Jan Oberhauser 68a2638684 ⬆️ Set n8n-core@0.150.0 and n8n-workflow@0.132.0 on n8n-node-dev 2023-01-05 13:18:18 +00:00
Jan Oberhauser 22976d1699 🔖 Release n8n-core@0.150.0 2023-01-05 13:18:08 +00:00
Jan Oberhauser 4916d26404 ⬆️ Set n8n-workflow@0.132.0 on n8n-core 2023-01-05 13:18:07 +00:00
Jan Oberhauser 828ff6b521 🔖 Release n8n-workflow@0.132.0 2023-01-05 13:17:57 +00:00
Jan Oberhauser 93da026c0d
fix(core): Fix OAuth credential creation via API (#5064)
* fix(core): Fix OAuth credential creation via API

* Fix tests
2023-01-05 07:06:37 -06:00
Tom 62b2fc37c3
fix(Slack Node): Add missing channels:read OAuth2 scope (#5092) 2023-01-05 14:02:16 +01:00
Iván Ovejero d548161632
feat(core): Security audit (#5034)
*  Implement security audit

*  Use logger

* 🧪 Fix test

*  Switch logger with stdout

* 🎨 Set new logo

*  Fill out Public API schema

* ✏️ Fix typo

*  Break dependency cycle

*  Add security settings values

* 🧪 Test security settings

*  Add publicly accessible instance warning

*  Add metric to CLI command

* ✏️ Fix typo

* 🔥 Remove unneeded path alias

* 📘 Add type import

* 🔥 Remove inferrable output type

*  Set description at correct level

*  Rename constant for consistency

*  Sort URLs

*  Rename local var

*  Shorten name

* ✏️ Improve phrasing

*  Improve naming

*  Fix casing

* ✏️ Add docline

* ✏️ Relocate comment

*  Add singular/plurals

* 🔥 Remove unneeded await

* ✏️ Improve test description

*  Optimize with sets

*  Adjust post master merge

* ✏️ Improve naming

*  Adjust in spy

* 🧪 Fix outdated instance test

* 🧪 Make diagnostics check consistent

*  Refactor `getAllExistingCreds`

*  Create helper `getNodeTypes`

* 🐛 Fix `InternalHooksManager` call

* 🚚 Rename `execution` to `nodes` risk

*  Add options to CLI command

*  Make days configurable

* :revert: Undo changes to `BaseCommand`

*  Improve CLI command UX

*  Change no-report return value

Empty array to trigger empty state on FE.

*  Add empty check to `reportInstanceRisk`

* 🧪 Extend Jest `expect`

* 📘 Augment `jest.Matchers`

* 🧪 Set extend as setup file

* 🔧 Override lint rule for `.d.ts`

*  Use new matcher

*  Update check

* 📘 Improve typings

*  Adjust instance risk check

* ✏️ Rename `execution` → `nodes` in Public API schema

* ✏️ Add clarifying comment

* ✏️ Fix typo

*  Validate categories in CLI command

* ✏️ Improve naming

* ✏️ Make audit reference consistent

* 📘 Fix typing

*  Use `finally` in CLI command
2023-01-05 13:28:40 +01:00
freya 59004fe7bb
fix(core): Fixes issue with workflow lastUpdated field (#5015)
Fixed issue causing workflow updated field to be affected by statistics data
2023-01-05 12:16:40 +00:00
Jan Oberhauser 7954025eb2
fix(Respond to Webhook Node): Fix issue that content-type header gets overwritten (#5088)
fix(Respond To Webhook Node): Fix issue that content-type header gets overwritten
2023-01-05 05:43:32 +01:00
कारतोफ्फेलस्क्रिप्ट™ 5d746c4a83
fix: Apply credential overwrites recursively (#5072)
This ensures that overwrites defined for a parent credential type also applies to all credentials extending it.
2023-01-04 18:16:48 +01:00
Michael Kret f1184ccab5
fix(Google Sheets Node): Fix exception when no Values to Send are set 2023-01-04 15:54:24 +02:00
Michael Kret 9615253155
feat(Compare Datasets Node): Fuzzy compare option 2023-01-04 14:37:54 +02:00
कारतोफ्फेलस्क्रिप्ट™ 54126b2c87
refactor(Google Drive Node): Use node streams for uploading and downloading files (#5017)
* use streams to upload files to google drive

* use streams to download files from google drive

* use resumable uploads api for google drive

* avoid dangling promises, and reduce memory usage in error logging
2023-01-04 12:29:56 +01:00
कारतोफ्फेलस्क्रिप्ट™ 8b19fdd5f0
refactor: Delete a lot of unused and duplicate code in Server and WebhookServer (#5080)
* store n8n version string in a const and use that everywhere

* reduce code duplication between Server and WebhookServer

* unify redis checks

* fix linting
2023-01-04 11:38:48 +01:00
Michael Auerswald b67f803cbe
feat: Add global event bus (#4860)
* fix branch

* fix deserialize, add filewriter

* add catchAll eventGroup/Name

* adding simple Redis sender and receiver to eventbus

* remove native node threads

* improve eventbus

* refactor and simplify

* more refactoring and syslog client

* more refactor, improved endpoints and eventbus

* remove local broker and receivers from mvp

* destination de/serialization

* create MessageEventBusDestinationEntity

* db migrations, load destinations at startup

* add delete destination endpoint

* pnpm merge and circular import fix

* delete destination fix

* trigger log file shuffle after size reached

* add environment variables for eventbus

* reworking event messages

* serialize to thread fix

* some refactor and lint fixing

* add emit to eventbus

* cleanup and fix sending unsent

* quicksave frontend trial

* initial EventTree vue component

* basic log streaming settings in vue

* http request code merge

* create destination settings modals

* fix eventmessage options types

* credentials are loaded

* fix and clean up frontend code

* move request code to axios

* update lock file

* merge fix

* fix redis build

* move destination interfaces into workflow pkg

* revive sentry as destination

* migration fixes and frontend cleanup

* N8N-5777 / N8N-5789 N8N-5788

* N8N-5784

* N8N-5782 removed event levels

* N8N-5790 sentry destination cleanup

* N8N-5786 and refactoring

* N8N-5809 and refactor/cleanup

* UI fixes and anonymize renaming

* N8N-5837

* N8N-5834

* fix no-items UI issues

* remove card / settings label in modal

* N8N-5842 fix

* disable webhook auth for now and update ui

* change sidebar to tabs

* remove payload option

* extend audit events with more user data

* N8N-5853 and UI revert to sidebar

* remove redis destination

* N8N-5864 / N8N-5868 / N8N-5867 / N8N-5865

* ui and licensing fixes

* add node events and info bubbles to frontend

* ui wording changes

* frontend tests

* N8N-5896 and ee rename

* improves backend tests

* merge fix

* fix backend test

* make linter happy

* remove unnecessary cfg / limit  actions to owners

* fix multiple sentry DSN and anon bug

* eslint fix

* more tests and fixes

* merge fix

* fix workflow audit events

* remove 'n8n.workflow.execution.error' event

* merge fix

* lint fix

* lint fix

* review fixes

* fix merge

* prettier fixes

* merge

* review changes

* use loggerproxy

* remove catch from internal hook promises

* fix tests

* lint fix

* include review PR changes

* review changes

* delete duplicate lines from a bad merge

* decouple log-streaming UI options from public API

* logstreaming -> log-streaming for consistency

* do not make unnecessary api calls when log streaming is disabled

* prevent sentryClient.close() from being called if init failed

* fix the e2e test for log-streaming

* review changes

* cleanup

* use `private` for one last private property

* do not use node prefix package names.. just yet

* remove unused import

* fix the tests

because there is a folder called `events`, tsc-alias is messing up all imports for native events module.
https://github.com/justkey007/tsc-alias/issues/152

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-01-04 09:47:48 +01:00