Commit graph

141 commits

Author SHA1 Message Date
कारतोफ्फेलस्क्रिप्ट™ 83505cb0d4
ci(core): Add unit tests for "me" controller (no-changelog) (#5479) 2023-02-15 09:00:41 +01:00
कारतोफ्फेलस्क्रिप्ट™ b25c10a0e1
ci: Update the "Check Documentation URLs" workflow (no-changelog) (#5473)
* ci: Update the "Check Documentation URLs" workflow (no-changelog)

* fix the documentation url for HtmlExtract node
2023-02-14 13:00:15 +01:00
Jan Oberhauser 856238721a 📚 Update CHANGELOG.md and main package.json to 0.215.2 2023-02-14 11:14:00 +01:00
Jan Oberhauser e705701cb0 📚 Update CHANGELOG.md and main package.json to 0.215.1 2023-02-11 09:58:35 -06:00
Jan Oberhauser 21e9af09a7 📚 Update CHANGELOG.md and main package.json to 0.215.0 2023-02-10 09:56:06 -06:00
Jan Oberhauser 69f5d6a9fd Merge branch 'n8n_0.214.3' 2023-02-09 12:44:36 -06:00
Jan Oberhauser 1c6a93feec 📚 Update CHANGELOG.md and main package.json to 0.214.3 2023-02-09 12:40:53 -06:00
कारतोफ्फेलस्क्रिप्ट™ 172472664d
ci: Upgrade dev tooling (no-changelog) (#5424)
* Typescript
* Jest
* Turborepo
* pnpm
2023-02-09 13:52:41 +01:00
Valya 9c1f827dad
feat(core): Live reload node/credential descriptions in development (no-changelog) (#4939) 2023-02-08 19:26:07 +01: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 9efcf19082 📚 Update CHANGELOG.md and main package.json to 0.214.2 2023-02-06 12:35:55 -06:00
Jan Oberhauser 5dd291cd00 📚 Update CHANGELOG.md and main package.json to 0.214.1 2023-02-06 07:18:13 -06:00
Jan Oberhauser 8a224c0c89 📚 Update CHANGELOG.md and main package.json to 0.214.0 2023-02-03 08:42:50 -06:00
OlegIvaniv 766501723b
refactor(editor): Upgrade to jsPlumb 5 (#4989)
* WIP: Nodeview

* Replace types

* Finish N8nPlus endpoint type

* Working on connector

* Apply prettier

* Fixed prettier issues

* Debugging rendering

* Fixed connectorrs position recalc

* Fix snapping and output labels, WIP dragging

* Fix N8nPlus endpoint rendering issues

* Cleanup

* Fix undo/redo and canvas add button position, cleanup

* Cleanup

* Revert accidental CLI changes

* Fix pnpm-lock

* Address bugs that came up during review

* Reset CLI package from master

* Various fixes

* Fix run items label toggling

* Linter fixes

* Fix stalk size for larger run items label

* Remove comment

* Correctly reset workspace after renaming the node

* Fix canvas e2e tests

* Fix undo/redo tests

* Fix stalk positioning and triggering of endpoint overlays

* Repaint connections on pin removal

* Limit repaintings

* Unbind jsPlumb events on deactivation

* Fix jsPlumb managment of Sticky and minor memort managment improvments

* Address rest of PR points

* Lint fix

* Copy patches folder to docker

* Fix e2e tests

* set allowNonAppliedPatches to allow build

* fix(editor): Handling router errors when navigation is canceled by user (#5271)

* 🔨 Handling router errors in main sidebar, removing unused code
* 🔨 Handling router errors in modals

* ci(core): Fix docker nightly/custom image build (no-changelog) (#5284)

* ci(core): Copy patches dir to Docker (no-changelog)

* Update patch

* Update package-lock

* reapply the patch

* skip patchedDependencies after the frontend is built

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>

* Fix connector hover state on success

* Remove allowNonAppliedPatches from package.json

---------

Co-authored-by: Milorad FIlipović <milorad@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-01-30 18:20:50 +01:00
Jan Oberhauser 731ce96621 📚 Update CHANGELOG.md and main package.json to 0.213.0 2023-01-27 10:19:06 -06:00
कारतोफ्फेलस्क्रिप्ट™ 92ae9885ce
ci: Use the same version of prettier across the repo (no-changelog) (#5269) 2023-01-27 12:44:31 +01:00
कारतोफ्फेलस्क्रिप्ट™ 08a90d7e09
fix(editor): Re-enable the element-ui memory-leak fix (no-changelog) (#5262)
add a reference back to the element-ui patch

it accidentally got deleted here https://github.com/n8n-io/n8n/pull/4631/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L60
2023-01-27 11:17:41 +01:00
Iván Ovejero 0a7ea89633
fix: Fix formatting/linting for CI (no-changelog) (#5264)
* ⬆️ Upgrade Prettier

* 📦 Update `pnpm-lock.yaml`

* 🎨 Format all packages

* 🔧 Specify `prettierPath`
2023-01-27 10:18:15 +01:00
Jan Oberhauser 726b573eab 📚 Update CHANGELOG.md and main package.json to 0.212.1 2023-01-23 11:18:15 -06:00
Jan Oberhauser 537816a336 📚 Update CHANGELOG.md and main package.json to 0.212.0 2023-01-19 08:21:20 -06:00
Jan Oberhauser b7aa45536b 📚 Update CHANGELOG.md and main package.json to 0.211.2 2023-01-17 09:20:29 -06:00
Jan Oberhauser b9f2acd25f 📚 Update CHANGELOG.md and main package.json to 0.211.1 2023-01-16 08:52:42 -06:00
कारतोफ्फेलस्क्रिप्ट™ 97969fc815
fix: Upgrade jsonwebtoken to address CVE-2022-23540 (#5116) 2023-01-13 18:24:59 +01:00
Jan Oberhauser d7732ea150 📚 Update CHANGELOG.md and main package.json to 0.211.0 2023-01-13 10:26:04 -06: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 acfb3518ad 📚 Update CHANGELOG.md and main package.json to 0.210.1 2023-01-05 11:24:31 -06:00
Jan Oberhauser 636363071c 📚 Update CHANGELOG.md and main package.json to 0.210.0 2023-01-05 07:34:04 -06: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
Jan Oberhauser f405327885 📚 Update CHANGELOG.md and main package.json to 0.209.4 2022-12-28 19:39:31 -06:00
Jan Oberhauser cc9879d334 📚 Update CHANGELOG.md and main package.json to 0.209.3 2022-12-27 09:28:14 -06:00
Jan Oberhauser 2b1eb94906 📚 Update CHANGELOG.md and main package.json to 0.209.2 2022-12-23 11:03:54 -06:00
Jan Oberhauser ff810794ef 📚 Update CHANGELOG.md and main package.json to 0.209.1 2022-12-22 12:38:49 -06:00
कारतोफ्फेलस्क्रिप्ट™ 17f13b3b6e
ci: Setup eslint-import-resolver-typescript for improved TS linting (#4996)
* Setup stricter linting for typescript

* make `import/no-unresolved` an error everywhere

* use prettier to format `.vscode/settings.default.json`

* address PR comments
2022-12-22 09:55:39 +01:00
Jan Oberhauser 4da9c3918d 📚 Update CHANGELOG.md and main package.json to 0.209.0 2022-12-21 10:42:32 -06:00
Jan Oberhauser 3754c49f0c 📚 Update CHANGELOG.md and main package.json to 0.208.1 2022-12-19 08:25:46 -06:00
Jan Oberhauser 6350abc898 📚 Update CHANGELOG.md and main package.json to 0.208.0 2022-12-16 14:30:25 +01:00
कारतोफ्फेलस्क्रिप्ट™ d5b06ab3d6
ci: Block all external network calls in tests (no-changelog) (#4930)
* setup nock to prevent tests from making any external requests

* mock all calls to posthog sdk
2022-12-14 15:28:41 +01:00
Jan Oberhauser 1b07505603 📚 Update CHANGELOG.md and main package.json to 0.207.1 2022-12-13 09:45:04 -06:00
Jan Oberhauser 61aafc9873 📚 Update CHANGELOG.md and main package.json to 0.207.0 2022-12-12 09:03:33 -06:00
कारतोफ्फेलस्क्रिप्ट™ f4481e24e8
ci: Upgrade pnpm and turborepo (no-changelog) (#4878) 2022-12-09 17:16:26 +01:00
Jan Oberhauser c60e883640 📚 Update CHANGELOG.md and main package.json to 0.206.1 2022-12-07 12:51:55 +01:00
Jan Oberhauser b7a18c5750 📚 Update CHANGELOG.md and main package.json to 0.206.0 2022-12-06 20:56:27 +01:00
Jan Oberhauser 8ef675332d 📚 Update CHANGELOG.md and main package.json to 0.205.0 2022-12-02 10:23:01 +01:00
Iván Ovejero 59771c80ea
feat(editor): Overhaul expression editor modal (#4631)
* feat(editor): Integrate CodeMirror into expression editor modal (#4563)

*  Initial setup

* 👕 Fix lint

*  Extract segments

*  Implement var insertion

* 👕 Ignore `.d.cts`

*  Refactor to simplify

*  Add brace handler

*  Fully replace input and output

* feat(editor): Adjust resolved expression to match parameter input hint (#4600)

*  Initial adjustments

* 🐛 Prevent empty decorations

*  Adjust resolved expression to match param input hint

* ✏️ Improve comment

* 👕 Remove lint rule

* ✏️ Fix typo

* ✏️ Fix closing brace

*  Clean up `displayableSegments()`

* feat(editor): Apply styling to expression editor modal (#4607)

🎨 Apply styling

* feat(core): Improve errors in evaluated expression (#4619)

* 🐛 Fix env var access for FE

* 🔥 Remove excess closing bracket

* 🚧 Set up TODO

* ✏️ Update copy

*  Deny env vars access to FE

* 👕 Remove unneeded lint exception

* 📘 Remove unneeded typing

* feat(editor): Dynamically delay evaluation resolution (#4625)

* ✏️ Update copy

*  Dynamically delay evaluation resolution

* 🔥 Remove unneeded computed property

* refactor(editor): Pre-review cleanup (#4627)

* 🔥 Remove `ExpressionInput` component

* 🔥 Remove Quill

* ✏️ Rename i18n key

* 🎨 Place border on correct element

* 🐛 Handle syntax errors

*  Add sample autocompletions

* 🐛 Fix auto-extending behavior

* feat(editor): Improve escaping behavior (#4641)

* 🎨 Hide hint on small screen

*  Improve escaping

* refactor(editor): Apply styling feedback to expression editor modal (#4660)

* 🎨 Restyle hint

* 🎨 Restyle param input hint

* 🔥 Remove `e.g.`

*  Tweak delay

* 🎨 Restyle output

* 🎨 Tweak theme

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.22 (#4697)

* 🎨 Change background color

*  Focus on mount

*  Account for preexisting braces on injection

* 🐛 Fix `$workflow` showing as not saved

* ✏️ Tweak copy

* 🐛 Fix readonly focus

*  Focus input on paste

*  Sync inputs with modal

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.23 (#4705)

*  Allow newlines

*  Set cursor at end of content

*  Do not defocus on paste on Chrome

*  Fix import

* 🧪 Add e2e tests

*  Cleanup

*  Add telemetry

* 🔥 Remove log

*  Expose error properties

* 🧪 Rename test

*  Move `getCurrentWorkflow()` call

*  Revert highlighting removal per feedback

*  Add i18n keys

* 🚚 Move computed property to local state

* 🎨 Use CSS vars

*  Update `pnpm-lock.yaml`

*  Apply readonly state

*  Use prop

*  Complete fix
2022-12-01 13:26:22 +01:00
OlegIvaniv c486ffcf2d
refactor(editor): Patch ElementUI tooltip memory leak (#4769)
* refactor(editor): Fix ElementUI tooltip memory leak

* fix(editor): Remove patch console.logs and revert node-creator test
2022-11-30 17:27:41 +01:00
Alex Grozav 622118f983
feat: Make use of db:reset in all test suites (no-changelog) (#4739)
* feat: Make use of db:reset in all test suites

* refactor: Rename task to no longer use db: prefix

* feat: wrap cypress tasks into commands

* refactor: rename resetDatabase to resetAll

* fix: update test:e2e:all to use --headless
2022-11-28 18:11:33 +01:00
कारतोफ्फेलस्क्रिप्ट™ e409813ea9
ci: Setup cypress tasks for resetting DB, and setting up an owner (#4717)
* ci: Setup cypress tasks for resetting DB, and setting up an owner

* address Ivan's comments
2022-11-24 18:32:00 +01:00
Jan Oberhauser 602b1e56d6 📚 Update CHANGELOG.md and main package.json to 0.204.0 2022-11-24 16:53:37 +01:00
Mutasem Aldmour 6c14308dc6
test: Add e2e ui command (#4711)
test: add ui command
2022-11-24 12:54:11 +01:00