Commit graph

9040 commits

Author SHA1 Message Date
OlegIvaniv f89ef83c76
feat(editor): Prevent saving of workflow when canvas is loading (#6497)
* feat(editor): Prevent saving of pristine workflow

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* Prevent saving if loading

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* Fix 7-workflow-actions spec

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* Restrict delay intercept to GET only

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* Wait for WF patch

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* Add helper to remove all active WFs in e2e

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* Use META_KEY env var

* Remove cy.wait

* Delete debugging DB reset console log

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* Fix clashin mixins `isReadOnly` property

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-06-27 13:05:20 +02:00
Michael Kret d70a1cb0c8
feat(Google Drive Node): Overhaul (#5941) 2023-06-27 11:51:41 +03:00
Iván Ovejero 52e9882a32 refactor: Remove triggers and actions experiment (no-changelog) (#6512)
* refactor: Remove triggers and actions experiment

* fix: Use `value` for computed property

* test: Fix e2e
2023-06-27 10:33:21 +02:00
कारतोफ्फेलस्क्रिप्ट™ 5b3c6829f4 ci: Automate no-changelog removal in generated changelog (no-changelog) (#6511) 2023-06-27 10:33:21 +02:00
Milorad FIlipović 3a4a7b8790 feat(editor): Ensure we use v1.0.1 for @n8n/codemirror-lang-sql (no-changelog) (#6535)
chore(editor):  Ensure we use `v1.0.1` for `@n8n/codemirror-lang-sql` (no-changelog)
2023-06-27 10:33:21 +02:00
Michael Kret 18aa9f3c62 fix(Google Drive Node): URL parsing (#6527) 2023-06-27 10:33:21 +02:00
Michael Kret 70822ce988 fix(Merge Node): Enrich input 2 fix (#6526) 2023-06-27 10:33:21 +02:00
Michael Kret b6202b5585 fix(Google Sheets Node): Incorrect read of 0 and false (#6525) 2023-06-27 10:33:21 +02:00
Michael Kret d3d8522e8f fix(Notion Node): Version fix (#6531) 2023-06-27 10:33:21 +02:00
कारतोफ्फेलस्क्रिप्ट™ 988c4a6354 ci: executeBatch should compare JSON after serialization, to avoid inconsistencies between main and own mode 2023-06-27 10:33:21 +02:00
Ricardo Espinoza e43924da36
refactor(editor): Update endpoint to retrieve limits (no-changelog) (#6539)
update endpoint to retrieve limits
2023-06-26 22:08:17 -04:00
Csaba Tuncsik e1a02c7625
fix(editor): Add default author name and email to source control settings (#6543) 2023-06-26 20:17:44 +02:00
Jon 8b76e98085
feat(Matrix Node): Allow setting filename if the binary data has none (#6536) 2023-06-26 16:37:40 +01:00
Iván Ovejero b66d151066
refactor: Remove triggers and actions experiment (no-changelog) (#6512)
* refactor: Remove triggers and actions experiment

* fix: Use `value` for computed property

* test: Fix e2e
2023-06-26 13:33:31 +02:00
Michael Auerswald 186271e939
fix(editor): Change default branchColor and remove label (#6541)
change default branchColor and remove label
2023-06-26 12:43:53 +02:00
कारतोफ्फेलस्क्रिप्ट™ e239730715
ci: Automate no-changelog removal in generated changelog (no-changelog) (#6511) 2023-06-26 12:04:21 +02:00
Sandra Ashipala f0ab023c33
fix: Minor grammar adjustments (no-changelog) (#6489) 2023-06-26 11:05:05 +02:00
Milorad FIlipović 665710f432
feat(editor): Ensure we use v1.0.1 for @n8n/codemirror-lang-sql (no-changelog) (#6535)
chore(editor):  Ensure we use `v1.0.1` for `@n8n/codemirror-lang-sql` (no-changelog)
2023-06-23 18:25:44 +02:00
Michael Auerswald 9294e2da3c
fix(core): Add empty credential value marker to show empty pw field (#6532)
add empty credential value marker to show empty pw field
2023-06-23 18:23:28 +02: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
Michael Auerswald b06462f441
fix(core): Rename to credential_stubs and variable_stubs.json (#6528)
rename to credential_stubs and variable_stubs.json
2023-06-23 12:32:00 +02:00
Jon fdf8a428ed
feat: Add missing input panels to some trigger nodes (#6518) 2023-06-23 11:29:24 +01:00
Jan Oberhauser b8458a53f6
feat(core)!: Change data processing for multi-input-nodes (#4238)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-23 12:07:52 +02:00
कारतोफ्फेलस्क्रिप्ट™ 9194d8bb0e
refactor: Remove executeSingle (no-changelog) (#4853) 2023-06-23 10:50:08 +02:00
Ricardo Espinoza 3db2707b8e
fix: Show error when referencing node that exist but has not been executed (#6496)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-23 01:45:54 +02:00
कारतोफ्फेलस्क्रिप्ट™ 0e071724ee
ci: Refactor e2e tests to delete boilerplate code (no-changelog) (#6524) 2023-06-23 00:38:12 +02:00
कारतोफ्फेलस्क्रिप्ट™ abe7f71627 refactor: Remove pre-setup prompt on owner setup (#6495) 2023-06-22 21:11:38 +02:00
Jan Oberhauser 0287d5becd feat(core): Change node execution order (most top-left one first) (#6246)
* feat(core): Change node execution order (most top-left one first)

*  Fix issue with multi-output-nodes

*  Remove not needed meta-entry in test

* fix the e2e test

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-22 21:11:29 +02:00
Iván Ovejero 0fe415add2 feat(editor): Add v1 banner (#6443) 2023-06-22 21:05:04 +02:00
Iván Ovejero 85372aabdf fix(core)!: Make date extensions outputs match inputs (#6435) 2023-06-22 21:05:04 +02:00
Omar Ajoue 632ea275b7 refactor: Removal of request lib from the code (#6413)
* refactor: Removal of request lib from the code
2023-06-22 21:05:04 +02:00
Iván Ovejero 1197811a1e fix(core)!: Allow syntax errors and expression errors to fail executions (#6352)
* fix: Unify expression error behavior for v1

* fix: Add `package.json` to `tsconfig.build.json`

* fix: Make `isFrontend` a constant

* fix: Use CommonJS require to read version

* fix: Use `JSON.parse()` and `fs.readFileSync()`

* feat(editor): Make WF name a link on /executions (#6354)

* make wf name a link in exec view

* link color

* make wf name a link in exec view

* link color

---------

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

* fix: Try restoring inclusions in tsconfig files

* fix: Try with copy

* refactor: Switch base branch and remove global toggle

* chore: Remove unrelated changes

* chore: Restore lockfile

* fix: Ensure all expression errors fail executions

* uncaught ExpressionErrors should not fail e2e tests

---------

Co-authored-by: romainminaud <romain.minaud@gmail.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-22 21:04:59 +02:00
Iván Ovejero 8c008f5d22 refactor(core)!: Remove basic-auth, external-jwt-auth, and no-auth options (#6362)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-22 20:03:47 +02:00
कारतोफ्फेलस्क्रिप्ट™ a45a2c8c41 feat(core)!: Stop loading community nodes from node_modules (#6396)
All custom/community nodes should be installed in `~/.n8n/nodes`.
2023-06-22 19:58:05 +02:00
कारतोफ्फेलस्क्रिप्ट™ f024d8be5a ci!: Update docker images for v1 release (#6365)
* ci: Remove debian and rhel7 images

* include libc6-compat in all alpine images

* run all n8n docker containers as the user `node` instead of `root`

* upgrade the default version of npm bundled in all containers

* consolidate docker entrypoints
2023-06-22 19:57:59 +02:00
कारतोफ्फेलस्क्रिप्ट™ f6366160a4 feat(core): Remove conditional defaults in V1 release (#6363) 2023-06-22 19:54:32 +02:00
कारतोफ्फेलस्क्रिप्ट™ e152cfe27c
fix(core): All migrations should run in a transaction (#6519) 2023-06-22 17:51:17 +02: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
कारतोफ्फेलस्क्रिप्ट™ d255b094dd
fix(core): Fix import:credential on postgres (no-changelog) (#6515)
Since we switched to string ids, we don't need to update the `_seq` values for postgres.

We removed this bit for the `import:workflow` [here](https://github.com/n8n-io/n8n/pull/6345/files#diff-ff45b1d8db8d3dc67d19aa34e4d066e4156ddcd311c0b8d75a3d082009065197L230), but missed updating this file.
2023-06-22 16:54:05 +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
github-actions[bot] f32d5f637e
🚀 Release 0.234.0 (#6509)
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-06-22 09:58:30 +02:00
कारतोफ्फेलस्क्रिप्ट™ 8dc828b704
fix(core): Fix the db:revert command (no-changelog) (#6506) 2023-06-22 09:06:31 +02:00
कारतोफ्फेलस्क्रिप्ट™ 42a9e20e32
fix(core): Add additional path-traversal guards on res.sendFile calls (no-changelog) (#6505) 2023-06-21 22:20:47 +02:00
Jon 772ed7ff10
fix(Zendesk Node): Fix issue with group assignment not working (#6501) 2023-06-21 16:19:29 +01:00
Omar Ajoue 044c710a8e
fix: Make MySQL migration for nano id change compatible with version 5.7 (#6498)
* fix: Make migration for MySQL compatible with version 5.7

* fix: Correct syntax

* fix: Syntax for primary key creation

* fix: Remove unnecessary constraint statement

* fix: Name columns for sqlite migration to prevent issues

* ci: Always run DB tests with table-prefix and alt-schema

* add tablePrefix to migrations (mysql not fixed)

* fix character_set on mysql migrations

* fix mysql collation version difference

* cater for mariadb collations

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
2023-06-21 17:10:47 +02:00