Commit graph

6692 commits

Author SHA1 Message Date
Mike Arvela 31391a5b19
feat(eslint-config): add custom eslint rule 'no-uncaught-json-parse' (#4087)
feat(eslint-config): add custom eslint rule 'no-uncaugh-json-parse'

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-26 11:08:59 +03:00
Michael Kret 7aa40bf95d
refactor: migrate away from querystring (#4180)
refactor: migrate away from querystring
2022-09-23 16:48:45 +02:00
Alex Grozav 27e2ce0470
feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061)
* feat: Added vite.js dependencies.

* chore: Removed tests folder to follow same structure as design-system

* chore: Removed unused testing config.

* chore: Created vite.js index.html

* refactor: Updated scss structure and imports.

* refactor: Updated workflow building.

* fix: Cleared up all workflow dependency cycles. Added proper package.json imports config.

* feat: Got a working build using Vite. Need to fix issues next.

* fix: Progress! Getting process.env error.

* fix: Changed process.env to import.meta.env.

* fix: Fixed circular imports that used require(). Fixed monaco editor.

* chore: Removed commented code.

* chore: Cleaned up package.json

* feat: Made necessary changes to replace base path in css files.

* feat: Serve CSS files for `editor-ui` Vite migration (#4069)

 Serve CSS files for Vite migration

* chore: Fixed package-lock.json.

* fix: Fixed build after centralized tsconfig update.

* fix: Removed lodash-es replacement.

* fix: Commented out vitest test command.

* style: Fixed linting issues.

* fix: Added lodash-es hotfix back.

* chore: Updated package-lock.json

* refactor: Renamed all n8n scss variables to no longer be defined as private.

* feat(editor): add application-wide el-button replacement.

* fix(editor): Fix import in page alert after merge.

* chore(editor): update package-lock.json.

* fix: Case sensitive lodash-es replacement for vue-agile.

* fix: add alias for lodash-es camelcase import.

* fix: add patch-package support for fixing quill

* feat: add patch-package on postinstall

* fix: update quill patch path.

* refactor: rename quill patch

* fix: update quill version.

* fix: update quill patch

* fix: fix linting rules after installing eslint in design-system

* fix: update date picker button to have primary color

* test: update callout component snapshots

* fix(editor): fix linting issues in editor after enabling eslint

* fix(cli): add /assets/* to auth ignore endpoints in server

* chore: update package-lock.json

* chore: update package-lock.json

* fix(editor): fix linting issues

* feat: add vite-legacy support

* fix: update workflow package interface imports to type imports.

* chore: update package-lock.json

* fix(editor) fix importing translations other than english

* fix(editor): remove test command until vitest is added

* fix: increase memory allocation for vite build

* fix: add patch-package patches to n8n-custom docker build

* fix: add performance and load time improvements

* fix: add proper typing to setNodeType

* chore: update package-lock.json

* style: use generic type for reduce in setNodeType

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-23 17:14:28 +03:00
Csaba Tuncsik e709cb5fe2
fix(design-system): add missing event handler to accordion component (#4179) 2022-09-23 12:57:48 +02:00
Jan Oberhauser 6ab8e4d56a 📚 Update CHANGELOG.md and main package.json to 0.195.5 2022-09-23 12:11:49 +02:00
Jan Oberhauser 9ca2ac1dc4 🔖 Release n8n@0.195.5 2022-09-23 10:04:57 +00:00
Jan Oberhauser 867e495a8a ⬆️ Set n8n-core@0.135.2, n8n-editor-ui@0.161.3, n8n-nodes-base@0.193.3 and n8n-workflow@0.117.2 on n8n 2022-09-23 10:04:57 +00:00
Jan Oberhauser e1dcbec23a 🔖 Release n8n-editor-ui@0.161.3 2022-09-23 10:03:34 +00:00
Jan Oberhauser e6e6d6bcc9 ⬆️ Set n8n-workflow@0.117.2 on n8n-editor-ui 2022-09-23 10:03:34 +00:00
Jan Oberhauser 0433c53df3 🔖 Release n8n-nodes-base@0.193.3 2022-09-23 10:02:41 +00:00
Jan Oberhauser 425ca51e5a ⬆️ Set n8n-core@0.135.2 and n8n-workflow@0.117.2 on n8n-nodes-base 2022-09-23 10:02:41 +00:00
Jan Oberhauser 67ebd46673 🔖 Release n8n-node-dev@0.74.2 2022-09-23 10:02:33 +00:00
Jan Oberhauser d55f90a823 ⬆️ Set n8n-core@0.135.2 and n8n-workflow@0.117.2 on n8n-node-dev 2022-09-23 10:02:33 +00:00
Jan Oberhauser 2f26c14e80 🔖 Release n8n-core@0.135.2 2022-09-23 10:02:25 +00:00
Jan Oberhauser 9eb7bd1bba ⬆️ Set n8n-workflow@0.117.2 on n8n-core 2022-09-23 10:02:25 +00:00
Jan Oberhauser 1edc26f820 🔖 Release n8n-workflow@0.117.2 2022-09-23 10:02:13 +00:00
Mutasem Aldmour 46f95622e3
fix(resource locator): add back extract value logic (#4178)
add back extract value logic
2022-09-23 11:56:57 +02:00
कारतोफ्फेलस्क्रिप्ट™ 87e6877f1d
ci: adapt workflow tests to work with updated github actions (#4176)
ci: update workflow test action to work with updated github actions
2022-09-23 09:58:10 +02:00
Jan Oberhauser b665388717 📚 Update CHANGELOG.md and main package.json to 0.195.4 2022-09-22 19:11:48 +02:00
Jan Oberhauser 2790494316 🔖 Release n8n@0.195.4 2022-09-22 17:09:46 +00:00
Jan Oberhauser d452657e1b ⬆️ Set n8n-core@0.135.1, n8n-editor-ui@0.161.2, n8n-nodes-base@0.193.2 and n8n-workflow@0.117.1 on n8n 2022-09-22 17:09:46 +00:00
Jan Oberhauser 5f950abcae 🔖 Release n8n-editor-ui@0.161.2 2022-09-22 17:08:23 +00:00
Jan Oberhauser 2f5fcf3f7a ⬆️ Set n8n-design-system@0.35.1 and n8n-workflow@0.117.1 on n8n-editor-ui 2022-09-22 17:08:23 +00:00
Jan Oberhauser c7cd5336fd 🔖 Release n8n-design-system@0.35.1 2022-09-22 17:08:12 +00:00
Jan Oberhauser acc625307c 🔖 Release n8n-nodes-base@0.193.2 2022-09-22 17:07:32 +00:00
Jan Oberhauser a30a8d9cce ⬆️ Set n8n-core@0.135.1 and n8n-workflow@0.117.1 on n8n-nodes-base 2022-09-22 17:07:32 +00:00
Jan Oberhauser 0b381ca8a1 🔖 Release n8n-node-dev@0.74.1 2022-09-22 17:07:24 +00:00
Jan Oberhauser 2bb4d22099 ⬆️ Set n8n-core@0.135.1 and n8n-workflow@0.117.1 on n8n-node-dev 2022-09-22 17:07:23 +00:00
Jan Oberhauser cff1143360 🔖 Release n8n-core@0.135.1 2022-09-22 17:07:15 +00:00
Jan Oberhauser 556a590332 ⬆️ Set n8n-workflow@0.117.1 on n8n-core 2022-09-22 17:07:15 +00:00
Jan Oberhauser 580f710e5d 🔖 Release n8n-workflow@0.117.1 2022-09-22 17:07:06 +00:00
Mutasem Aldmour 469c391fee
fix(core): Fix resolve RL values in expressions (#4173)
* update interface

* update expression resolving

* 🔥 remove ExtractValue functions

* add flags

* update resolving

* update expr

* fix for list mode

* clean up

* Fix up

* update guard

* fix bug with switching

* update to handle expr referencing

* fix legacy expression

* fix when switching

* update spacing

Co-authored-by: Valya Bullions <valya@n8n.io>
2022-09-22 19:04:26 +02:00
OlegIvaniv d01f7d4d93
feat(editor-ui): Resizable main panel (#3980)
* Introduce node deprecation (#3930)

 Introduce node deprecation

* 🚧 Scaffold out Code node

* 👕 Fix lint

* 📘 Create types file

* 🚚 Rename theme

* 🔥 Remove unneeded prop

*  Override keybindings

*  Expand lintings

*  Create editor content getter

* 🚚 Ensure all helpers use `$`

*  Add autocompletion

* ♻️ Refactore Resize UI lib component, allow to use it in different than n8n-sticky context

* 🚧 Use variable width for node settings and allow for resizing

*  Use store to keep track of wide and regular main panel widths

* ♻️ Extract Resize wrapper from the Sticky and create a story for it

* 🐛 Fixed cherry-pick conflicts

*  Filter out welcome note node

*  Convey error line number

*  Highlight error line

*  Restore logging from node

*  More autocompletions

*  Streamline completions

* 💄 Fix drag-button border

* ✏️ Update placeholders

*  Update linter to new methods

*  Preserve main panel width in local storage

* 🐛 Fallback to max size size if window is too big

* 🔥 Remove `$nodeItem` completions

*  Re-update placeholders

* 🎨 Fix formatting

* 📦 Update `package-lock.json`

*  Refresh with multi-line empty string

* ♻️ Refactored DraggablePanels to use relative units and implemented independent resizing, cleaned store

* 🐛 Re-implement dragging indicators and move border styles to NDVDraggablePanels component

* 🚨 Fix semis

* 🚨 Remove unsused UI state props

* ♻️ Use only relative left position and calculate right based on it, fix quirks

* 🚨Fix linting error

* ♻️ Store and retrieve main panel dimensions from store to make them persistable in the same app mount session

* 🐛 Prevent resizing of unknown nodes

* ♻️ Add typings for `nodeType` prop, remove unused `convertRemToPixels` import

* 🏷️ Add typings for `nodeType` prop in NodeSettings.vue

* 🐛 Prevent the main panel resize below 280px

* 🐛 Fix inputless panel left position

*  Resize resource locator on main panel size change

* 🐛 Resize resource locator on window resize

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-22 17:41:15 +02:00
Jan Oberhauser 8eeed77edb 📚 Update CHANGELOG.md and main package.json to 0.195.3 2022-09-22 13:42:14 +02:00
Jan Oberhauser 70371a4f8d 🔖 Release n8n@0.195.3 2022-09-22 11:38:59 +00:00
Jan Oberhauser ad7f211eb7 ⬆️ Set n8n-editor-ui@0.161.1 and n8n-nodes-base@0.193.1 on n8n 2022-09-22 11:38:59 +00:00
Jan Oberhauser c007bbff3d 🔖 Release n8n-editor-ui@0.161.1 2022-09-22 11:38:01 +00:00
Jan Oberhauser 563fe1aa18 🔖 Release n8n-nodes-base@0.193.1 2022-09-22 11:37:12 +00:00
Mutasem Aldmour 19d08e6418
fix: fix expressions bug with numbers and booleans (#4169) 2022-09-22 12:31:49 +02:00
Jan Oberhauser 81ea20b03c 📚 Update CHANGELOG.md and main package.json to 0.195.2 2022-09-22 08:08:35 +02:00
Jan Oberhauser ec88c3d671 🔖 Release n8n@0.195.2 2022-09-22 08:06:25 +02:00
Shao Yu-Lung (Allen) 89d2d10c52
fix(MSSQL Node): Support tdsVersion option 2022-09-21 20:41:44 -04:00
Jonathan Bennetts 0aeb55dcfd
fix: mysql migration using incorrect syntax on insert (#4166)
fix: mysql migration using incorrect on insert
2022-09-21 21:58:43 +02:00
Jan Oberhauser 708796e17f 📚 Update CHANGELOG.md and main package.json to 0.195.1 2022-09-21 20:43:43 +02:00
Jan Oberhauser 37023cc96d 🔖 Release n8n@0.195.1 2022-09-21 20:41:20 +02:00
Omar Ajoue 2598ec8a3e
fix: postgres migration missing schema name (#4164) 2022-09-21 19:06:12 +02:00
Jan Oberhauser 11cbfa6960 📚 Update CHANGELOG.md and main package.json to 0.195.0 2022-09-21 17:41:02 +02:00
Jan Oberhauser ccf036be1d 🔖 Release n8n@0.195.0 2022-09-21 15:32:45 +00:00
Jan Oberhauser 730c108414 ⬆️ Set n8n-core@0.135.0, n8n-editor-ui@0.161.0, n8n-nodes-base@0.193.0 and n8n-workflow@0.117.0 on n8n 2022-09-21 15:32:45 +00:00
Jan Oberhauser d82af801c2 🔖 Release n8n-editor-ui@0.161.0 2022-09-21 15:31:14 +00:00