कारतोफ्फेलस्क्रिप्ट™
97f87ae0fc
refactor(core): Add addColumns
and dropColumns
to the migrations DSL (no-changelog) ( #7073 )
2023-09-01 15:19:49 +02:00
कारतोफ्फेलस्क्रिप्ट™
2432dcc661
fix(core): Prevent bots from scanning the application (no-changelog) ( #7066 )
...
N8N-6878
2023-09-01 13:54:35 +02:00
कारतोफ्फेलस्क्रिप्ट™
a693b29134
ci: Fix prettier auto-formatting (no-changelog) ( #7063 )
2023-09-01 13:29:31 +02:00
कारतोफ्फेलस्क्रिप्ट™
d3f635657c
fix(MongoDB Node): Upgrade mongodb package to address CVE-2021-32050 ( #7054 )
...
[GH Advisory](https://github.com/advisories/GHSA-vxvm-qww3-2fh7 )
2023-08-31 12:29:43 +02:00
कारतोफ्फेलस्क्रिप्ट™
dfe0fa65f8
fix(Code Node): Switch over to vm2 fork ( #7018 )
...
[Fork is here](https://github.com/n8n-io/vm2 ). Currently there are no
modifications in it.
2023-08-30 11:17:04 +02:00
Iván Ovejero
a7785b2c5d
refactor: Upgrade to TypeScript 5.2 (no-changelog) ( #7026 )
...
https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-08-28 15:03:07 +02:00
कारतोफ्फेलस्क्रिप्ट™
8bdb07d33d
fix(core): Setup websocket keep-live messages ( #6866 )
...
fixes #6757
2023-08-28 10:26:27 +02:00
Alex Grozav
ed927d34b2
feat: External Secrets storage for credentials ( #6477 )
...
Github issue / Community forum post (link here to close automatically):
---------
Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
Co-authored-by: Valya Bullions <valya@n8n.io>
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-08-25 10:33:46 +02:00
Ricardo Espinoza
2b7ba6fdf1
feat(core): Add MFA ( #4767 )
...
https://linear.app/n8n/issue/ADO-947/sync-branch-with-master-and-fix-fe-e2e-tets
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-08-23 22:59:16 -04:00
Iván Ovejero
f32e993227
fix(editor): Fix parsing for single quoted resolvables ( #6982 )
...
Ref: https://github.com/n8n-io/codemirror-lang-n8n-sql/pull/6
<img width="574" alt="Capture 2023-08-21 at 10 08 53@2x"
src="https://github.com/n8n-io/n8n/assets/44588767/e1f88041-3577-41f3-b990-dbbf02741492 ">
2023-08-22 13:18:35 +02:00
Csaba Tuncsik
6422078a5d
fix(editor): Revert Fix telemetry initialization (no-changelog) ( #6968 )
...
Reverts commit b312f2ee54
and
808a92809e
2023-08-18 13:06:13 +02:00
Iván Ovejero
7ce5d8fd90
refactor: Upgrade to Prettier 3 (no-changelog) ( #6947 )
...
Supersedes https://github.com/n8n-io/n8n/pull/6937
Excluding fixtures and test workflow JSONs to avoid having to update
tests.
2023-08-16 17:13:57 +02:00
Csaba Tuncsik
808a92809e
fix(editor): Disable telemetry in dev mode and in E2E tests ( #6869 )
...
* fix(editor): Disable telemetry in dev mode and in E2E tests
* fix(editor): add external js to rollup config
* fix(editor): using vite plugin to control external script loading
* fix(editor): update lock file version
* fix(editor): block telemetry host
2023-08-11 14:42:25 +02:00
Jon
0e075c9cb5
fix: Fix issue with key formatting introduced in 1.2.0 ( #6896 )
2023-08-09 16:23:35 +01:00
Iván Ovejero
b82cf5603a
ci: Upgrade nodelinter to 1.16.0 (no-changelog) ( #6879 )
...
ci: Upgrade nodelinter to 1.16.0
2023-08-09 10:10:08 +02:00
Michael Kret
72814d1f0f
fix(Email Trigger (IMAP) Node): UTF-8 attachments are not correctly named ( #6856 )
2023-08-07 13:33:06 +03:00
कारतोफ्फेलस्क्रिप्ट™
75be1a9c0d
feat(core): Create a dsl for writing db agnostic migrations ( #6853 )
2023-08-04 17:49:02 +02:00
कारतोफ्फेलस्क्रिप्ट™
a5667e6c42
fix(core): Update packages to address CVE-2023-2142 and CVE-2020-28469 ( #6844 )
...
GH Advisories:
[ CVE-2023-2142](https://github.com/advisories/GHSA-x77j-w7wf-fjmw )
[CVE-2020-28469](https://github.com/advisories/GHSA-ww39-953v-wcq6 )
---------
Co-authored-by: Marcus <marcus@n8n.io>
2023-08-03 16:31:55 +02:00
Michael Auerswald
3cad60e918
feat(core): Make Redis available for backend communication ( #6719 )
...
* support redis cluster
* cleanup, fix config schema
* set default prefix to bull
* initial commit
* improve logging
* improve types and refactor
* list support and refactor
* fix redis service and tests
* add comment
* add redis and cache prefix
* use injection
* lint fix
* clean schema comments
* improve naming, tests, cluster client
* merge master
* cache returns unknown instead of T
* update cache service, tests and doc
* remove console.log
* do not cache null or undefined values
* fix merge
* lint fix
2023-08-02 12:51:25 +02:00
कारतोफ्फेलस्क्रिप्ट™
0ac3d47f26
ci: Fix linting (no-changelog) ( #6831 )
2023-08-02 11:05:24 +02:00
कारतोफ्फेलस्क्रिप्ट™
34df8b6238
refactor: Consolidate tsconfig and eslintrc files (no-changelog) ( #6816 )
...
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2023-08-01 17:32:43 +02:00
कारतोफ्फेलस्क्रिप्ट™
31d8f478ee
refactor(core): Parse Webhook request bodies on-demand ( #6394 )
...
Also,
1. Consistent CORS support ~on all three webhook types~ waiting webhooks never supported CORS. I'll fix that in another PR
2. [Fixes binary-data handling when request body is text, json, or xml](https://linear.app/n8n/issue/NODE-505/webhook-binary-data-handling-fails-for-textplain-files ).
3. Reduced number of middleware that each request has to go through.
4. Removed the need to maintain webhook endpoints in the auth-exception list.
5. Skip all middlewares (apart from `compression`) on Webhook routes.
6. move `multipart/form-data` support out of individual nodes
7. upgrade `formidable`
8. fix the filenames on binary-data in webhooks nodes
9. add unit tests and integration tests for webhook request handling, and increase test coverage
2023-08-01 17:32:30 +02:00
Iván Ovejero
dec19585bc
refactor: Enforce expanded sensitive inputs rules (no-changelog) ( #6815 )
...
* refactor: Enforce expanded sensitive inputs rules (no-changelog)
* refactor: Add extra exemption
* fix: Add setting to `sessionToken` fields
* fix: Restore for `hidden` fields
* fix: More edge case exemptions
* fix: One more
2023-08-01 13:08:25 +02:00
कारतोफ्फेलस्क्रिप्ट™
37a365fe9f
ci: Downgrade prettier (no-changelog) ( #6804 )
...
* ci: downgrade prettier (no-changelog)
* remove indent rule from editor
2023-07-31 14:55:03 +02:00
कारतोफ्फेलस्क्रिप्ट™
6fb8a9ee39
ci: Fix linting issues (no-changelog) ( #6788 )
...
* ci: Fix linting (no-changelog)
* lintfix for nodes-base as well
2023-07-28 18:28:17 +02:00
कारतोफ्फेलस्क्रिप्ट™
7461085408
ci: Update most of the dev tooling (no-changelog) ( #6780 )
2023-07-28 13:55:16 +02:00
Alex Grozav
dd6a4c956a
feat(editor): Migrate Design System and Editor UI to Vue 3 ( #6476 )
...
* feat: remove vue-fragment (no-changelog)
* feat: partial design-system migration
* feat: migrate info-accordion and info-tip components
* feat: migrate several components to vue 3
* feat: migrated several components
* feat: migrate several components
* feat: migrate several components
* feat: migrate several components
* feat: re-exported all design system components
* fix: fix design for popper components
* fix: editor kind of working, lots of issues to fix
* fix: fix several vue 3 migration issues
* fix: replace @change with @update:modelValue in several places
* fix: fix translation linking
* fix: fix inline-edit input
* fix: fix ndv and dialog design
* fix: update parameter input event bindings
* fix: rename deprecated lifecycle methods
* fix: fix json view mapping
* build: update lock file
* fix(editor): revisit last conflict with master and fix issues
* fix(editor): revisit last conflict with master and fix issues
* fix: fix expression editor bug causing code mirror to no longer be reactive
* fix: fix resource locator bug
* fix: fix vue-agile integration
* fix: remove global import for vue-agile
* fix: replace element-plus buttons with n8n-buttons everywhere
* fix(editor): Fix various element-plus styles (#6571 )
* fix(editor): Fix various element-plus styles
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Remove debugging code
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Address PR comments
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* fix(editor): Fix loading in production mode [Vue 3] (#6578 )
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* fix(editor): First round of e2e tests fixes with Vue 3 (#6579 )
* fix(editor): Fix broken smoke and workflow list e2e tests
* ✔️ Fix failing canvas action tests. Updating some selectors used in credentials and workflow tests
* feat: add vue 3 eslint rules and fix issues
* fix: fix tags-dropdown
* fix: fix white-space issues caused by i18n-t
* fix: rename non-generic click events
* fix: fix search in resources list layout
* fix: fix datatable paginator
* fix: fix popper select caret and dropdown size
* fix: add width to action-dropdown
* fix: fix workflow settings icon not being hidden
* fix: refactor newly added code
* fix: fix merge issue
* fix: fix ndv credentials watcher
* fix: fix workflow saving and grabber notch
* fix: fix nodes list panel transition
* fix: fix node title visibility
* fix: fix data unpinning
* fix: fix value access
* fix: show input panel only if trigger panel enabled or not trigger node
* fix: fix tags dropdown and executions status spcing
* fix(editor): Prevent execution list to load back when leaving the route (#6697 )
fix(editor): prevent execution list to load back when leaving the route
* fix: fix drawer visibility
* fix: fix expression toggle padding
* fix: fix expressions editor styling
* chore: prepare for testing
* fix: fix styling for el-button without patching
* test: fix unit tests in design-system
* test: fix most unit tests
* fix: remove import cycle.
* fix: fix personalization modal tests
* fix further resource mapper test adjustments
* fix: fix multiple tests and n8n-route attr duplication
* fix: fix source control tets
* fix: fixed remaining unit tests
* fix: fix workflows and credentials e2e tests
* fix: fix localizeNodeNames
* fix: update ndv e2e tests
* fix: fix popper left placement arrow
* fix: fix 5-ndv e2e tests
* fix: fix 6-code-node e2e tests
* fix(editor): Drop click outside directive from NodeCreator (#6716 )
* fix(editor): Drop click outside directive from NodeCreator
* fix(editor): make sure mouseup outside is unbound at least before the component is unmounted
* fix: fix 10-settings-log-streaming e2e tests
* fix: fix node redrawing
* fix: fix tooltip buttons styling
* fix: fix varous e2e suites
* fix: fix 15-scheduler-node e2e suite
* fix: fix route watcher
* fix: fixed param name update and credential edit
* feat: update event names
* refactor: Remove deprecated `$data` (#6576 )
Co-authored-by: Alex Grozav <alex@grozav.com>
* fix: fix 17-sharing e2e suite
* fix: fix tags dropdown
* fix: fix tags manager
* fix(editor): move :deep selectors to a separate scoped style block
* fix: fix sticky component and inline text edit
* fix: update e2e tests
* fix: remove button override references
* fix(editor): Adjust spacing in templates for Vue 3 (#6744 )
* fix(editor): Adjust spacing in templates
* fix: Undo unneeded change
* fix: Undo unneeded change
* fix(editor): Adjust NDV height for Vue 3 (#6742 )
fix(editor): Adjust NDV height
* fix(editor): Restore collapsed sidebar items for Vue 3 (#6743 )
fix(editor): Restore collapsed sidebar items
* fix: fix linting issues
* fix: fix design-system deps
* fix: post-merge fixes
* fix: update tests
* fix: increase timeout for executionslist tets
* chore: fix linting issue
* fix: fix 14-mapping e2e tests in ci
* fix: re-enable tests
* fix: fix workflow duplication e2e tests after tags update
* fix(editor): Change component prop to be typed
* fix: fix tags dropdown in duplicate wf modal
* fix: fix focus behaviour in tags selector
* fix: fix tag creation
* fix: fix log streaming e2e race condition
* fix(editor): Fix Vue 3 linting issues (#6748 )
* fix(editor): Fix Vue 3 linting issues
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* fix MainSidebar linter issues
* revert pnpm lock
* update pnpm lock file
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
* fix(editor): Some css fixes for vue3 branch (#6749 )
* ✨ Fixing filter button height
* ✨ Update input modal button position
* ✨ Updating tags styling
* ✨ Fix event logging settings spacing
* 👕 Fixing lint errors
* fix: fix linting issues
* Revert to `// eslint-disable-next-line @typescript-eslint/no-misused-promises` disabling of mixins init
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* fix: fix css issue
* fix(editor): Lint fix
* fix(editor): Fix settings initialisation (#6750 )
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* fix: fix initial settings loading
* fix: replace realClick with click force
* fix: fix randomly failing mapping e2e tests
* fix(editor): Fix menu item event handling
* fix: fix resource filters dropdown events (#6752 )
* fix: fix resource filters dropdown events
* fix: remove teleported:false
* fix: fix event selection event naming (#6753 )
* fix: removed console.log (#6754 )
* fix: rever await nextTick changes
* fix: redo linting changes
* fix(editor): Redraw node connections if adding more than one node to canvas (#6755 )
* fix(editor): Redraw node connections if adding more than one node to canvas
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Update position before connection two nodes
* Lint fix
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
* fix(editor): Fix `ResourceMapper` unit tests (#6758 )
* ✔️ Fix matching columns test
* ✔️ Fix multiple matching columns test
* ✔️ Removing `skip` from the last test
* fix: Allow pasting a big workflow (#6760 )
* fix: pasting a big workflow
* chore: update comment
* refactor: move try/catch to function
* refactor: move try/catch to function
* fix(editor): Fix modal layer width
* fix: fix position changes
* fix: undo it.only
* fix: make undo/redo multiple steps more verbose
* fix: Fix value survey styles (#6764 )
* fix: fix value survey styles
* fix: lint
* Revert "fix: lint"
72869c431f
* fix: lint
* fix(editor): Fix collapsed sub menu
* fix: Fix drawer animation (#6767 )
fix: drawer animation
* fix(editor): Fix source control buttons (#6769 )
* fix(editor): Fix App loading & auth (#6768 )
* fix(editor): Fix App loading & auth
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Await promises
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Fix eslint error
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
Co-authored-by: OlegIvaniv <me@olegivaniv.com>
Co-authored-by: Milorad FIlipović <milorad@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2023-07-28 09:51:07 +02:00
Michael Auerswald
c0d2bac94d
feat(core): Add cache service ( #6729 )
...
* add cache service
* PR adjustments
* switch to maxSize for memory cache
2023-07-25 11:56:38 +02:00
कारतोफ्फेलस्क्रिप्ट™
cd0e41a6b4
feat(Google Cloud Storage Node): Use streaming for file uploads ( #6462 )
...
fix(Google Cloud Storage Node): Use streaming for file uploads
2023-07-19 12:54:31 +02:00
कारतोफ्फेलस्क्रिप्ट™
0a31b8e2b4
feat(Read PDF Node): Replace pdf-parse with pdfjs, and add support for streaming and encrypted PDFs ( #6640 )
2023-07-18 20:07:29 +02:00
कारतोफ्फेलस्क्रिप्ट™
9daf944ba5
fix(core): Upgrade semver to address CVE-2022-25883 ( #6689 )
...
* fix(core): Upgrade semver to address CVE-2022-25883
[GH Advisory](https://github.com/advisories/GHSA-c2qf-rxjj-qqgw )
* enforce the patched version of semver everywhere in the dev setup
2023-07-18 12:43:49 +02:00
कारतोफ्फेलस्क्रिप्ट™
d8909ab8b0
ci: Upgrade tough-cookie
to address CVE-2023-26136 (no-changelog) ( #6630 )
2023-07-10 17:56:55 +02:00
कारतोफ्फेलस्क्रिप्ट™
bf351243df
fix(Code Node): Install python modules always in a user-writable folder ( #6568 )
...
* upgrade pyodide
* install pyodide modules to a custom user-writable path
* in `augmentObject` `newData` is never undefined
2023-07-07 16:43:45 +02:00
कारतोफ्फेलस्क्रिप्ट™
e33cc2c27c
Merge remote-tracking branch 'origin/master' into release/1.0.1
2023-07-05 20:01:24 +02:00
कारतोफ्फेलस्क्रिप्ट™
9def7a729b
fix(core): Remove typeorm patches, but still enforce transactions on every migration ( #6594 )
...
* revert(core): Remove typeorm patches, but still enforce transactions on every migration
This reverts #6519
* always re-enable foreign keys, and explicitly rollback transaction
2023-07-05 11:26:49 +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
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
कारतोफ्फेलस्क्रिप्ट™
0e071724ee
ci: Refactor e2e tests to delete boilerplate code (no-changelog) ( #6524 )
2023-06-23 00:38:12 +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
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
कारतोफ्फेलस्क्रिप्ट™
e152cfe27c
fix(core): All migrations should run in a transaction ( #6519 )
2023-06-22 17:51:17 +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
agobrech
fc7261aca6
feat(core): Add PKCE for OAuth2 ( #6324 )
...
* Remove authorization header when empty
* Import pkce
* Add OAuth2 with new grant type to Twitter
* Add pkce logic auto assign authorization code if pkce not defined
* Add pkce to ui and interfaces
* Fix scopes for Oauth2 twitter
* Deubg + pass it through header
* Add debug console, add airtable cred
* Remove all console.logs, make PKCE in th body only when it exists
* Remove invalid character ~
* Remove more console.logs
* remove body inside query
* Remove useless grantype check
* Hide oauth2 twitter waiting for overhaul
* Remove redundant header removal
* Remove more console.logs
* Add comment for code verifier
* Remove uneeded scopes
* Restore client id in callback
* Revert "Add OAuth2 with new grant type to Twitter"
This reverts commit 1c3b331aa1
.
* Remove oauth2 from twitter
* Remove properties linked to oauth2
* Fix lodash imports
* remove redundant check
* remove redundant codeVerifier
* patch pkce-challenge to avoid generating `code_verifier` with `~`
* store `codeVerifier` on the DB like `csrfSecret`
* remove unrelated changes
---------
Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-21 10:54:32 +02:00
Michael Auerswald
c3ba0123ad
feat: Migrate integer primary keys to nanoids ( #6345 )
...
* first commit for postgres migration
* (not working)
* sqlite migration
* quicksave
* fix tests
* fix pg test
* fix postgres
* fix variables import
* fix execution saving
* add user settings fix
* change migration to single lines
* patch preferences endpoint
* cleanup
* improve variable import
* cleanup unusued code
* Update packages/cli/src/PublicApi/v1/handlers/workflows/workflows.handler.ts
Co-authored-by: Omar Ajoue <krynble@gmail.com>
* address review notes
* fix var update/import
* refactor: Separate execution data to its own table (#6323 )
* wip: Temporary migration process
* refactor: Create boilerplate repository methods for executions
* fix: Lint issues
* refactor: Added search endpoint to repository
* refactor: Make the execution list work again
* wip: Updating how we create and update executions everywhere
* fix: Lint issues and remove most of the direct access to execution model
* refactor: Remove includeWorkflowData flag and fix more tests
* fix: Lint issues
* fix: Fixed ordering of executions for FE, removed transaction when saving execution and removed unnecessary update
* refactor: Add comment about missing feature
* refactor: Refactor counting executions
* refactor: Add migration for other dbms and fix issues found
* refactor: Fix lint issues
* refactor: Remove unnecessary comment and auto inject repo to internal hooks
* refactor: remove type assertion
* fix: Fix broken tests
* fix: Remove unnecessary import
* Remove unnecessary toString() call
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
* fix: Address comments after review
* refactor: Remove unused import
* fix: Lint issues
* fix: Add correct migration files
---------
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
* remove null values from credential export
* fix: Fix an issue with queue mode where all running execution would be returned
* fix: Update n8n node to allow for workflow ids with letters
* set upstream on set branch
* remove typo
* add nodeAccess to credentials
* fix unsaved run check for undefined id
* fix(core): Rename version control feature to source control (#6480 )
* rename versionControl to sourceControl
* fix source control tooltip wording
---------
Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
* fix(editor): Pay 548 hide the set up version control button (#6485 )
* feat(DebugHelper Node): Fix and include in main app (#6406 )
* improve node a bit
* fixing continueOnFail() ton contain error in json
* improve pairedItem
* fix random data returning object results
* fix nanoId length typo
* update pnpm-lock file
---------
Co-authored-by: Marcus <marcus@n8n.io>
* fix(editor): Remove setup source control CTA button
* fix(editor): Remove setup source control CTA button
---------
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
Co-authored-by: Marcus <marcus@n8n.io>
* fix(editor): Update source control docs links (#6488 )
* feat(DebugHelper Node): Fix and include in main app (#6406 )
* improve node a bit
* fixing continueOnFail() ton contain error in json
* improve pairedItem
* fix random data returning object results
* fix nanoId length typo
* update pnpm-lock file
---------
Co-authored-by: Marcus <marcus@n8n.io>
* feat(editor): Replace root events with event bus events (no-changelog) (#6454 )
* feat: replace root events with event bus events
* fix: prevent cypress from replacing global with globalThis in import path
* feat: remove emitter mixin
* fix: replace component events with event bus
* fix: fix linting issue
* fix: fix breaking expression switch
* chore: prettify ndv e2e suite code
* fix(editor): Update source control docs links
---------
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: Alex Grozav <alex@grozav.com>
* fix tag endpoint regex
---------
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-06-20 19:13:18 +02:00
Michael Auerswald
18f588444f
feat(DebugHelper Node): Fix and include in main app ( #6406 )
...
* improve node a bit
* fixing continueOnFail() ton contain error in json
* improve pairedItem
* fix random data returning object results
* fix nanoId length typo
* update pnpm-lock file
---------
Co-authored-by: Marcus <marcus@n8n.io>
2023-06-20 10:47:15 +02:00
कारतोफ्फेलस्क्रिप्ट™
4ec755513a
fix(Snowflake Node): Upgrade snowflake-sdk to address CVE-2023-34232 (no-changelog) ( #6458 )
...
[GH Advisory](https://github.com/advisories/GHSA-h53w-7qw7-vh5c )
2023-06-16 17:04:21 +02:00
Chris Wu
1111c915f2
refactor(core): Replace lodash's "soft-deprecated" individual packages with lodash
to resolve CVE (no-changelog) ( #6450 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-16 16:26:35 +02:00
Alex Grozav
3e5f7adcbf
feat: Remove vue-fragment (no-changelog) ( #6456 )
...
* feat: remove vue-fragment (no-changelog)
* Update pnpm-lock.yaml
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-16 14:25:12 +03:00
Csaba Tuncsik
df62e7e8b6
test(editor): Unit test Version control frontend components ( #6408 )
...
* test(editor): test n8n-select design system component
* test(editor): test version control settings happy path
* test(editor): test version control settings disconnect
2023-06-12 15:44:47 +02:00
Csaba Tuncsik
8c562a51cc
build: Update pnpm lock file (no-changelog) ( #6395 )
...
* build: Update pnpm lock file
* update pnpm version
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-07 11:01:44 +02:00
Ricardo Espinoza
e95e8de500
refactor(editor): Remove user activation modal (no-changelog) ( #6361 )
...
* Remove user activation modal
* remove export from index.ts
* Update pnpm-lock.yaml
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-05 13:47:06 -04:00
Iván Ovejero
e33989be84
refactor: Upgrade to TypeScript 5.1 (no-changelog) ( #6373 )
2023-06-05 10:18:53 +02:00
कारतोफ्फेलस्क्रिप्ट™
968b733fd6
ci: Add support for Node.js 18 ( #5793 )
...
* ci: Start supporting Node.js 18
Node.js 18 became the active LTS on 2022-10-25, and Node.js 16 went into maintenance mode.
https://github.com/nodejs/Release#release-schedule
We should also slowly deprecate node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol ).
* Remove hashing algorithms that are not available in newer node.js/openssl
- RSA-MD4
- RSA-MDC2
- md4
- md4WithRSAEncryption
- mdc2
- mdc2WithRSA
* in e2e tests, resolve `localhost` to ipv4 instead of ipv6
2023-06-02 15:23:28 +02:00
कारतोफ्फेलस्क्रिप्ट™
23e49c53ed
fix(core): Upgrade @n8n_io/riot-tmpl (no-changelog) ( #6357 )
2023-06-01 18:41:50 +02:00
Csaba Tuncsik
1b321416c0
feat: Version control mvp ( #6271 )
...
* implement basic git service
* cleanup connected prop
* add skeleton of git functions
* initial import/export setup
* split out export service
* refactor and improve export
* begin import
* more commands and basic import
* clean up imports with transactions
* work folder import functions
* reintroduce versionid
* add missing import to pull workfolder
* add get-status endpoint
* add cleanup to disconnect
* add initRepo options
* add more checks and cleanup
* minor cleanup
* refactor prefs
* fix server.ts
* fix sending deleted files
* rename files to ee
* add variable override and fix critical cred import bug
* fix mkdir race condition
* make initRepo default to true
* fix front back integration
* improve connect flow
* add comment to generated ssh key
* fix(editor): use useToast composable
* fix buttons size
* commenting out repo init for now
* fix(editor): update UI logic
* fix(editor): remove console.log
* fix(editor): remove unused ref
* adjust endpoints for improved UI
* fix(editor): add push and pull buttons
* keep or not ssh key
* switching file name to id
* fix(editor): add success messages, fix save button
* fixed faulty diff preventing pull
* fix build
* fix(editor): adding loader to VC components
* removing duplicate exports
* improve conflict finding on push pull
* manage pull conflict
* alternate push pull
* fix pull confirmation
* fix rm and credential export/import
* switch to alternative pull implementation
* fix initial commit
* fix(editor): subscribing to VC store action to refresh lists
* fix(editor): wrap VC store actions with try
* feat: add fine-grained file selection for push action
* fix: close modal after successful push
* fix(editor): VC preferences validation
* fix confirm
* fix: update endpoint to /get-status
* feat: update pull modal override changes message
* fix missing wf error
* undo
* removing connect endpoint
* fix(editor): add button titles
* fix(editor): cleaning up store action
* add version-control/set-read-only protection
* fix(editor): adding set branch readonly
* fix(editor): remove Push button if branch set to readonly
* fix(editor): fix some styles
* fix(editor): remove duplicate and delete actions in WF list when branch is readonly
* fix: load status before opening selective push modal
* fix(editor): extend readonly logic
* add cleanup after failed initRepo
* fix deleted files crashing get-status
* fix n8n-checkbox in staging dialog
* fix(editor): fix loading
* fix(editor): resize buttons
* fix(editor): fix translation
* fix(editor): fix copy text size
* fix(editor): fix copy text size
* fix(editor): add disconnection confirmation
* fix(editor): add disconnection confirmation
* fix(editor): set large buttons
* add public api Pull endpoint
* feat: add refresh ssh key
* return prefs when new keys are generated
* fix(editor): adding readOnly mode to main header
* fix(editor): adding readOnly mode to workflow settings
* improve credential owner import
* add middleware to endpoints
* improve public api error/doc
* do not create branch if one already exists
* update wordings for connect toasts
* fix(editor): updating and separating readonly modes
* fix(editor): fix readonly mode in WF list
* fix(editor): disable elements dragging on canvas in readonly mode (WIP: not working when NodeView page is loaded first)
* fix(editor): fix canvas draggables in readonly env
* fix(editor): remove unused variables
* fix(editor): hide actions in node connections when readonly
* fix(editor): hide actions in node connections when readonly
* fix(editor): disable Save button when readonly
* fix(editor): disable Save settings if no branch is selected
* fix(editor): lint fix
* fix(editor): update snapshots
* fix(editor): replace Loading... text
* fix(editor): reset Loading... text
* reset branchname on disconnect
* fix(editor): adding some translations
* fix(editor): fix unit test
* fix(editor): fix loading
* fix(editor): set settings saved message
* fix(editor): update connection flag
* fix branchName not returning after connect
* temporary (but still breaking) fix for postgres
* fix(editor): adding tooltip to Push/Pull buttons when they're collapsed
* fix(editor): enabled activator in readonly mode
* fix test
* fix(editor): disabling new item addition for workflows in readonly mode
* fix(editor): modify Pull/Push button tooltips
* do not commit empty variables file
---------
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-05-31 15:01:57 +02:00
कारतोफ्फेलस्क्रिप्ट™
d94c20ada5
fix(core): Prevent prototype pollution on injectable services ( #6309 )
...
This helps prevent classes from being tampered by external-hooks or community nodes
2023-05-26 18:03:06 +02:00
Jon
1eecb86e06
fix: Add ldapts to nodes-base package (no-changelog) ( #6315 )
2023-05-25 12:56:16 +02:00
कारतोफ्फेलस्क्रिप्ट™
bcbec52552
fix(Code Node): Update vm2 to address CVE-2023-32313 ( #6318 )
...
GH advisory: https://github.com/advisories/GHSA-p5gc-c584-jj6v
2023-05-25 12:55:53 +02:00
कारतोफ्फेलस्क्रिप्ट™
4b5cbe7750
ci(editor): Enfore stricter linting rules from eslint-plugin-vue
(no-changelog) ( #6242 )
2023-05-19 15:31:16 +02:00
कारतोफ्फेलस्क्रिप्ट™
a1b1f24ddf
feat(core): Replace client-oauth2 with an in-repo package ( #6266 )
...
Co-authored-by: Marcus <marcus@n8n.io>
2023-05-17 16:40:53 +02:00
कारतोफ्फेलस्क्रिप्ट™
b7d30f3eab
fix: Revert "Replace client-oauth2 with an in-repo package" (no-changelog) ( #6265 )
...
Revert "feat(core): Replace client-oauth2 with an in-repo package (#6056 )"
This reverts commit 77ac953eaf
.
2023-05-17 10:53:03 +02:00
कारतोफ्फेलस्क्रिप्ट™
77ac953eaf
feat(core): Replace client-oauth2 with an in-repo package ( #6056 )
...
Co-authored-by: Marcus <marcus@n8n.io>
2023-05-16 16:31:11 +02:00
कारतोफ्फेलस्क्रिप्ट™
ebb3aaf61e
refactor(editor): Drop vue-typed-mixins (no-changelog) ( #6257 )
2023-05-16 11:43:46 +02:00
Cornelius Suermann
f1598d6fdc
feat(core): Add experimental proxy support to License-SDK (no-changelog) ( #6253 )
...
* bump license-sdk to 2.4.0
* commit pnpm-lock-yaml
2023-05-15 18:04:16 +02:00
कारतोफ्फेलस्क्रिप्ट™
9182d1558a
feat(editor): Drop support for legacy browsers that do not have native ESM support ( #6239 )
2023-05-15 14:11:36 +02:00
कारतोफ्फेलस्क्रिप्ट™
fc181ffbff
refactor(editor): Remove unused dependencies (no-changelog) ( #6223 )
2023-05-12 10:21:40 +02:00
कारतोफ्फेलस्क्रिप्ट™
e58d6d48a9
ci: Fix published nodes-base package's dependencies (no-changelog) ( #6226 )
2023-05-11 12:55:29 +02:00
कारतोफ्फेलस्क्रिप्ट™
f3bc6f19b6
feat: Create NPM node ( #6177 )
2023-05-10 12:37:26 +02:00
Marcus
ee582cc3bd
test: Create custom jest error messages using jest-expect-message (no-changelog) ( #5666 )
...
* using jest-expect-message to add custom error message
* improve error message
* improvements after merge
---------
Co-authored-by: Michael Kret <michael.k@radency.com>
2023-05-05 17:50:10 +02:00
Jan Oberhauser
35c8510ab6
feat(Code Node): Add Python support ( #4295 )
2023-05-04 20:00:00 +02:00
Csaba Tuncsik
1e6a75f341
fix(editor): Update and fix storybook (was failing to run in local dev mode) ( #6180 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-05-04 17:43:58 +02:00
कारतोफ्फेलस्क्रिप्ट™
45dc985af7
fix(Google Sheets Node): Upgrade xlsx to address CVE-2023-30533 ( #6172 )
...
[GitHub Advisory](https://github.com/advisories/GHSA-4r6h-8v6p-xvw6 )
2023-05-04 17:10:54 +02:00
OlegIvaniv
390841bbf0
feat(editor): Enhance Node Creator actions view ( #5954 )
...
* WIP
* WIP
* Extract actions into composable
* WIP: Preserve categories when searching
* WIP
* WIP: Tweak styles
* WIP: Refactor node creator
* WIP: Finish Node Creator node view/subcategories refactor
* WIP: Finished actions refactor
* Cleanup & Lintfix
* WIP: Improve memory managment
* Fix interactions
* WIP
* WIP: Keyboard navigation
* Improve keyboard navigation and memory managment
* Finished view refactor
* FIx custom api calls and activation callouts
* Fix actions tracking and cleanup
* Product review fixes
* Telemetry fixes
* Fix node creator e2es
* Set action name font size and actionsEmpty font weight
* Fix failing credentials spec
* Make sure to select first action item when switching from nodes panel to actions panel
* Add actions panel e2e tests
* Cleanup
* Fix actions generation and cleanup
* Add correct Learn More link and adjust displaying of trigger icon
* Change trigger icon condition to use nodeType group
* Cleanup nodeTypesUtils and snapshots and lintfixes
* Lint fixes
* Refine logic to show trigger icon in node creator
* Add unit tests & clean up
* Add `003_auto_insert_action` experiment, hide empty sections for opposite root view
* Lintfix
* Do not show empty category tooltips and only show activation callout in triger root view
* Fix no-results node creator view
* Spacings tweaks and root rendering logic adjustment
* Add unit tests
* Lint and e2e fixes
* Revert CLI changes, fix unit tests
* Remove useless comments
* Sync master, replace $externalHooks mixin
* Lint fix
* Focus first action when panel slides in, not category
* Address PR comments
* Lint fix
* Remove `setAddedNodeActionParameters` optional track param
* Further simplify setAddedNodeActionParameters
* Fix pnpn lock file
* Fix types imports
* Fix 13-pinning spec
2023-04-26 09:18:10 +02:00
Jan Oberhauser
70aaf24784
feat(editor): Add SQL editor support ( #5517 )
2023-04-25 18:18:27 +02:00
कारतोफ्फेलस्क्रिप्ट™
ca4e0df90b
refactor(editor): Replace monaco-editor/prismjs with CodeMirror ( #5983 )
...
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Milorad FIlipović <milorad@n8n.io>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-04-25 16:57:21 +02:00
Iván Ovejero
88724bb056
ci: Enforce no unused imports (no-changelog) ( #6073 )
2023-04-25 11:47:03 +02:00
कारतोफ्फेलस्क्रिप्ट™
c7b1920943
ci: Update linting dependencies, and setup eslint-plugin-unicorn (no-changelog) ( #6070 )
2023-04-24 14:47:13 +02:00
Cornelius Suermann
ab12d3e327
feat(core): Add license:info command ( #6047 )
...
* feat(core): Add license:info command
* revert changes to start.ts
* revert changes to start.ts
* fix typo
2023-04-21 17:10:10 +02:00
Iván Ovejero
dc2a7a307a
refactor: Patch to adjust consistent-type-imports
(no-changelog) ( #6057 )
...
📦 Patch dependency
2023-04-21 15:09:56 +02:00
कारतोफ्फेलस्क्रिप्ट™
b8cb5d7f0b
feat(core): Upgrade google-timezones-json to use the correct timezone for Sao Paulo ( #6042 )
...
fixes #2647
2023-04-21 09:48:59 +02:00
कारतोफ्फेलस्क्रिप्ट™
8268f235ab
fix(Code Node): Update vm2 to address CVE-2023-30547 ( #6039 )
2023-04-21 09:48:44 +02:00
Michael Auerswald
71ed1f410c
feat(core): Add SSH key generation ( #6006 )
...
* basic prefs and ssh key generation
* review change
* cleanup save
* lint fix
2023-04-19 17:46:10 +02:00
Val
1bb987140a
feat: Add variables feature ( #5602 )
...
* feat: add variables db models and migrations
* feat: variables api endpoints
* feat: add $variables to expressions
* test: fix ActiveWorkflowRunner tests failing
* test: a different fix for the tests broken by $variables
* feat: variables licensing
* fix: could create one extra variable than licensed for
* feat: Add Variables UI page and $vars global property (#5750 )
* feat: add support for row slot to datatable
* feat: add variables create, read, update, delete
* feat: add vars autocomplete
* chore: remove alert
* feat: add variables autocomplete for code and expressions
* feat: add tests for variable components
* feat: add variables search and sort
* test: update tests for variables view
* chore: fix test and linting issue
* refactor: review changes
* feat: add variable creation telemetry
* fix: Improve variables listing and disabled case, fix resource sorting (no-changelog) (#5903 )
* fix: Improve variables disabled experience and fix sorting
* fix: update action box margin
* test: update tests for variables row and datatable
* fix: Add ee controller to base controller
* fix: variables.ee routes not being added
* feat: add variables validation
* fix: fix vue-fragment bug that breaks everything
* chore: Update lock
* feat: Add variables input validation and permissions (no-changelog) (#5910 )
* feat: add input validation
* feat: handle variables view for non-instance-owner users
* test: update variables tests
* fix: fix data-testid pattern
* feat: improve overflow styles
* test: fix variables row snapshot
* feat: update sorting to take newly created variables into account
* fix: fix list layout overflow
* fix: fix adding variables on page other than 1. fix validation
* feat: add docs link
* fix: fix default displayName function for resource-list-layout
* feat: improve vars expressions ux, cm-tooltip
* test: fix datatable test
* feat: add MATCH_REGEX validation rule
* fix: overhaul how datatable pagination selector works
* feat: update completer description
* fix: conditionally update usage syntax based on key validation
* test: update datatable snapshot
* fix: fix variables-row button margins
* fix: fix pagination overflow
* test: Fix broken test
* test: Update snapshot
* fix: Remove duplicate declaration
* feat: add custom variables icon
---------
Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-04-18 12:41:55 +02:00
Cornelius Suermann
6b1473c5f3
build: Update license SDK to v2.1.0 (no-changelog) ( #5987 )
...
build: Update to license SDK v2.1.0 (no-changelog)
2023-04-17 17:32:41 +02:00
Ricardo Espinoza
725393dae6
feat(editor): Add user activation survey ( #5677 )
...
* ⚡ Add user activation survey
* Fix typo
* Avoid showing the modal when there is a modal view
* Allow to redirect to specific execution
* Improve structure
* Handle errors when sharing feedback
* update withFeatureFlag function
* Fix linting issue
* Set user activation flag on workflowExecutionCompleted event
* Revert update user settings functionality
* Remove unnecessary changes
* fix linting issue
* account for new functionality in tests
* Small improvements
* keep once instace of the model open between tabs
* Add sorting to GET /executions
* type parameters for GET /executions
a
* Add constant for local store key
* Add execution mode filtering
* fix linting issue
* Do not override settings when setting isOnboarded true
* Add update user settings endpoint
* improvements
* revert changes to /GET executions
* Fix typo
* Add userActivated flag to user store
* Add E2E test
* Fix linting issue
* Update pnpm-lock
* Revert unnecessary change
* Centralize user's settings update
* Remove unused ref in userActivationSurvey modal
* Use aliased imports
* Use createEventBus function in component
* Fix tests
2023-04-11 12:43:47 -04:00
कारतोफ्फेलस्क्रिप्ट™
3085ed9bee
fix(core): Update xml2js to address CVE-2023-0842 ( #5948 )
...
GH advisory: https://github.com/advisories/GHSA-776f-qx25-q3cc
2023-04-11 15:05:56 +02:00
कारतोफ्फेलस्क्रिप्ट™
f0eba0a2f3
fix(Code Node): Update vm2 to address CVE-2023-29017 ( #5947 )
...
Update vm2 to fix CVE-2023-29017
GH advisory: https://github.com/advisories/GHSA-7jxr-cg7f-gpgv
Co-authored-by: Loganaden Velvindron <logan@cyberstorm.mu>
2023-04-11 15:05:38 +02:00
Iván Ovejero
6cf74e412a
feat: Create TOTP node ( #5901 )
...
* ✨ Create TOTP node
* ♻️ Apply feedback
* ♻️ Recreate `pnpm-lock.yaml`
* ♻️ Apply Giulio's feedback
* 🚧 WIP node tests
* ✅ Finish node test setup
* ⏪ Restore test command
* ⚡ linter fixes, tweaks
* ♻️ Address Michael's feedback
---------
Co-authored-by: Michael Kret <michael.k@radency.com>
2023-04-11 11:58:47 +02:00
Alex Grozav
dba5be37ae
feat: Add Sentry sourcemap uploading for editor-ui (no-changelog) ( #5870 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-04-05 17:14:41 +02:00
कारतोफ्फेलस्क्रिप्ट™
f8b9b8b680
ci: Upgrade ts-jest for Typescript 5 support (no-changelog) ( #5892 )
2023-04-04 19:01:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
a260c05fa8
fix(core): Improve axios error handling in nodes ( #5891 )
2023-04-03 18:37:22 +02:00
Jan Oberhauser
fd48b049e5
fix: Upgrade versions in pnpm-lock.yaml (no-changelog)
2023-04-01 19:12:28 +02:00
Michael Auerswald
83aef17120
feat(core): Read ephemeral license from environment and clean up ee flags ( #5808 )
...
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2023-03-31 13:51:38 +02:00
कारतोफ्फेलस्क्रिप्ट™
87e979c19a
feat: Upgrade TypeScript to v5 (no-changelog) ( #5755 )
2023-03-30 13:59:59 +02:00
कारतोफ्फेलस्क्रिप्ट™
dc7e8c64e7
ci: Upgrade pnpm and turborepo (no-changelog) ( #5820 )
...
* ci: Upgrade pnpm to v8 (no-changelog)
* ci: Upgrade turborepo (no-changelog)
2023-03-30 11:54:37 +02:00
कारतोफ्फेलस्क्रिप्ट™
be373bb859
Revert "feat(core): Read ephemeral license from environment and cleanup ee flags ( #5797 )" ( #5816 )
...
Revert "feat(core): Read ephemeral license from environment and clean up ee flags (#5797 )"
This reverts commit a81ca7c19c
.
2023-03-29 18:00:29 +02:00
Michael Auerswald
06d7a46bdc
fix(core): Update lock file ( #5801 )
...
update lock file
2023-03-28 17:37:36 +02:00
OlegIvaniv
970c124260
test(editor): Update Cypress and configure numTestsKeptInMemory
and experimentalMemoryManagement
(no-changelog) ( #5778 )
...
test(editor): Update Cypress and configure `numTestsKeptInMemory` and `experimentalMemoryManagement`
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
2023-03-24 16:12:26 +01:00
Manish Dhanwal
40aacf9279
feat(core): Make OAuth2 error handling consistent with success handling ( #5555 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-03-22 12:53:49 +01:00
Jan Oberhauser
b199947c97
ci: Upgrade sanitize-html from 2.9.0 to 2.10.0 ( #5744 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-03-21 16:38:48 +01:00
कारतोफ्फेलस्क्रिप्ट™
f7401fb613
fix(core): Force-upgrade http-cache-semantics
to address CVE-2022-25881 ( #5733 )
...
[GitHub Advisory](https://github.com/advisories/GHSA-rc47-6667-2j5j )
2023-03-21 14:49:35 +01:00
कारतोफ्फेलस्क्रिप्ट™
8dd7f6e1d4
fix(core): Force-upgrade decode-uri-component
to address CVE-2022-38900 ( #5734 )
...
[GitHub Advisory](https://github.com/advisories/GHSA-w573-4hg7-7wgq )
2023-03-21 14:49:27 +01:00
कारतोफ्फेलस्क्रिप्ट™
469ce32957
fix(core): Upgrade luxon
to address CVE-2023-22467 ( #5731 )
...
[GitHub Advisory](https://github.com/advisories/GHSA-3xq5-wjfh-ppjc )
2023-03-21 09:50:29 +01:00
कारतोफ्फेलस्क्रिप्ट™
4a4e2be96c
fix(core): Upgrade simple-git
to address CVE-2022-25912 ( #5730 )
...
[GitHub Advisory](https://github.com/advisories/GHSA-9p95-fxvg-qgq2 )
2023-03-21 09:48:55 +01:00
कारतोफ्फेलस्क्रिप्ट™
fd81c74251
fix(core): Upgrade sqlite3
to address CVE-2022-43441 ( #5732 )
...
[GitHub Advisory](https://github.com/advisories/GHSA-jqv5-7xpx-qj74 )
2023-03-21 09:48:22 +01:00
कारतोफ्फेलस्क्रिप्ट™
564bc03d3f
fix(core): Upgrade convict to address CVE-2023-0163 ( #5729 )
...
fix(core): upgrade convict to address CVE-2023-0163
also, do not allow passing any cli arguments to config.
2023-03-21 09:47:50 +01:00
agobrech
33d9784319
fix(core): Improve axios error handling in nodes ( #5699 )
...
* fix(core): Improve axios error handling in nodes
* handle axios errors without a response (like when connection fails)
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-03-20 17:34:14 +01:00
कारतोफ्फेलस्क्रिप्ट™
6242cac53b
ci: Refactor cli tests to speed up CI (no-changelog) ( #5718 )
...
* ci: Refactor cli tests to speed up CI (no-changelog)
* upgrade jest to address memory leaks
2023-03-17 17:24:05 +01:00
Csaba Tuncsik
7a352efff9
fix(editor): Fix execution list item selection ( #5606 )
...
* fix(editor): Fix execution list item selection
* fix(editor): Delete only selected executions
* fix(editor): Fix clear selection
* fix(editor): Fix clear selection
* fix(editor): Fix clear selection
* feat(editor): Add select all existing executions checkbox
* fix(editor): Do not mark later loaded executions selected
* test(editor): Add execution list unit test
* fix(editor): Fix selection
* test(editor): update execution selection test
* fix(editor): Handle UI state when there is no execution
* fix(editor): Remove unnecessary logic
* test(editor): Add more execution list unit tests and fake data generation
* test(editor): Add more execution list unit tests
* test(editor): Simplifying test setup
* chore: update pnpm lock after resolving merge conflocts
* chore: fix package version
* fix: Improved executions deletion to prevent crashing and fixed removal of failed executions
* fix: Add comment to clarify why change was needed
* fix: fix executions list bug when selecting all and changing filter
* fix: fix execution lists running execution showing up on different workflow id
* fix(editor): Deleting an execution while all are selected
* fix(editor): Deleting an execution while all are selected
---------
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-03-17 06:18:23 +01:00
कारतोफ्फेलस्क्रिप्ट™
eb3ba83e63
ci: Setup code-coverage reporting for frontend packages (no-changelog) ( #5679 )
2023-03-14 13:13:21 +01:00
Alex Grozav
d253aa3e95
feat: Add Mirage.js server to enable editor-ui unit tests ( #5671 )
...
feat: add Mirage.js server to enable editor-ui unit tests
2023-03-13 11:05:08 +02:00
कारतोफ्फेलस्क्रिप्ट™
7a4e9ef5fa
refactor: Remove n8n-core dependency in nodes-base (no-changelog) ( #5649 )
2023-03-09 18:13:15 +01:00
Ricardo Espinoza
6500e985ee
fix(core): Use new version of riot-tmpl in workflow package (no-changelog) ( #5619 )
...
* Use new version of riot-tmpl
* update lock file
2023-03-09 09:13:48 +01:00
Michael Auerswald
ca66ec8f4d
feat(core): Add SAML XML validation ( #5600 )
...
* consolidate SSO settings
* update saml settings
* fix type error
* limit user changes when saml is enabled
* add test
* add toggle endpoint and fetch metadata
* rename enabled param
* add handling of POST saml login request
* add config test endpoint
* adds saml XML validation
* add comment
* protect test endpoint
* improve ignoreSSL and some cleanup
* fix wrong schema used
* remove console.log
2023-03-06 09:44:25 +01:00
OlegIvaniv
0004dc7ee8
ci(editor): Run e2e tests in parallel and improve build caching ( #5445 )
...
* WIP: Cypress parallel CI run test
* Trigger action on branch push
* Change build artifacts path
* Make sure to checkout the repo for testing job
* Use Cypress action for installing
* Lock cypress action userd version
* Skip node install step since we're using cypress node16 container
* Let Cypress handle pnpm install
* Use setup-node action for caching pnpm
* Set CYPRESS_CACHE_FOLDER
* Set CYPRESS_CACHE_FOLDER
* Manually cache pnpm store
* Dont fix pnpm version
* Use caching action also in testing job
* Zip packages dist before uploading the artifacts and change caching key
* Use absolute build paths for zipping job
* Use zip command in action
* Use tar for zipping packages
* Debuggin directory ls
* Debugging caching of modules
* Attempt to fix permissions issue
* Porivde Cypress executable via `CYPRESS_RUN_BINARY`
* Cache /github/home
* Adjust caching keys
* Debug: search for cypress exec
* Debugging: List dirs
* Use pnpm install action to install node_modules
* Do not log /home/runner
* Use node_modules/.bin Cypress binary
* Use absolute path to nodue modules
* Run Cypress via custom command
* Try with patched cypress action
* Revert logging
* Manually specify cypress config file
* Use absolute paths
* Fix cypress config name
* Debug print cypress config
* Remove debugging, increase to 4 containers
* Increase amount of containers
* Add env-version matrix
* Replace node14 with node18 in testing matrix
* Remove debugging and add node 14
* Use just node14
* Use cypress:base and remove browser req
* Give more general timeouts
* Try with node16
* Change cache directive position
* Replace zip artifact upload with cache
* Cache full packages not just dist
* Test with variable inputs
* Add commit info message
* Remove wrongly commited code
* Allow WF API dispatch
* Try Chrome browser again for comparison
* Include Monaco in the build
* Make e2e workflow re-usable
* Comment out invalid reusable workflow args
* Use electron and add node 14 run
* Fix env arg
* Provide custom ci-build-id
* Refactor remaining e2e workflow to use reusable action
* Remove single matrix directive
* Refactor ci-pull-req
* Make lint job dependant on test jobs
* Disable debugging job
* Make containers dynamic
* Cleanup & install git for linting action
* Use regular buntu image for PR linting
* Debugging failing tests
* Remove fixed spec name
* Debug e2e env var
* Do not use realkeypress which crashes electron runner
* Debugging
* chore: remove console
* chore: remove console
* test: remove node 14 tests
* test: replace test branch with master
* test: use tests in current branch
* test: use relative path
* chore: clean up
* test: only trigger on approval
* ci: update test PR
* ci: use curr branch
* ci: only run 14 on schedule, not for slack command
* ci: only run test on approval
* ci: clean up branch, rename step
* ci: rename steps
* ci: clean up cancel
* ci: clean up env var
* ci: set var
* ci: use chromef
* ci: use electron
* chore: add console log
* chore: add console log
* ci: update to string
* ci: set all env options
* test: build
* ci: fix step issue
* Fix failing tests & upgrade to Cypress 12
* Allow WF dispatch of e2e reusable
* Fix wrong naming in e2e-tests workflow
* Redeploy
* Fix tests
* Fix NDV tests and remove skipping of webhooks execution tests
* Fix clipboard read command
* Fix execution failing tests
* Reset before each 15 and 3
* Fix flaky tests
* Cleanup and log envs
* Test fixes
* Default owner spec fixes
* Get rid of CYPRESS_RUN_ENV
* Increase amount of containers, cleanup and add mock for credentials test call
* Cleanup & fix PR tests unit tests
* Wait for WF to loade in sharing spec
* Do linting and unit tests first
* Use frozen lockfile
* Revert back ci pull request jobs order
* Refine credential input selector and move cy.waitForLoad to correct position in 15-scheduler spec
* test: build
* Wait for WF execution instead of arbitraty timeout in WF execution spec, change order of jobs for ci pull request
* Fix flaky 3-default owner spec and wait for execution list to load in 20-workflow-executions
* Use setup node action
* Remove caching for lint/unit tests
* Experiment with parallel test & lint on ci
* Provide cache key dynamically
* Run e2e in parallel on pr
* Only run node14 e2e on daily schedule
* Make sure to generate generate new ci-build-id on re-runs
* Remove debugging prints
* Address PR comments
* Rename custom onBeforeUnload handler
* Make sure 19-execution spec waits for wf to load properly before import fixtures
---------
Co-authored-by: Mutasem <mutdmour@gmail.com>
2023-03-02 16:50:21 +01:00
Michael Auerswald
40a934bbb4
feat(core): Add SAML login setup ( #5515 )
...
* initial commit with sample data
* basic saml setup
* cleanup console logs
* limit saml endpoints through middleware
* basic login and token issue
* saml service and cleanup
* refactor and create user
* get/set saml prefs
* fix authentication issue
* redirect to user details
* merge fix
* add generated password to saml user
* update user from attributes where possible
* refactor and fix creating new user
* rename saml prefs key
* minor cleanup
* Update packages/cli/src/config/schema.ts
Co-authored-by: Omar Ajoue <krynble@gmail.com>
* Update packages/cli/src/config/schema.ts
Co-authored-by: Omar Ajoue <krynble@gmail.com>
* Update packages/cli/src/controllers/auth.controller.ts
Co-authored-by: Omar Ajoue <krynble@gmail.com>
* code review changes
* fix default saml enabled
* remove console.log
* fix isSamlLicensed
---------
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-02-24 20:37:19 +01:00
Alex Grozav
f0695827f5
feat: Migrate packages from lodash to lodash-es (no-changelog) ( #5538 )
2023-02-23 16:16:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
52f740b9e8
refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) ( #5509 )
...
* add typedi
* convert ActiveWorkflowRunner into an injectable service
* convert ExternalHooks into an injectable service
* convert InternalHooks into an injectable service
* convert LoadNodesAndCredentials into an injectable service
* convert NodeTypes and CredentialTypes into an injectable service
* convert ActiveExecutions into an injectable service
* convert WaitTracker into an injectable service
* convert Push into an injectable service
* convert ActiveWebhooks and TestWebhooks into an injectable services
* handle circular references, and log errors when a circular dependency is found
2023-02-21 19:21:56 +01:00
कारतोफ्फेलस्क्रिप्ट™
3ae005cafe
ci: Setup a semi-automated release process (no-changelog) ( #5504 )
...
* ci: Setup a semi-automated release process (no-changelog)
* create tag/release before deleting the temporary branch
2023-02-21 14:04:35 +01:00
कारतोफ्फेलस्क्रिप्ट™
510855d958
fix(core): User update endpoint should only allow updating email, firstName, and lastName ( #5526 )
2023-02-21 11:22:54 +01:00
Jan Oberhauser
fcac1ddd9f
📚 Update CHANGELOG.md and main package.json to 0.216.0
2023-02-16 13:22:46 +01:00
Milorad FIlipović
0cf45bc4c8
fix(core): Fix data transformation function that are reported not to work properly ( #5338 )
...
* 🔥 Remove test extensions
* 🚧 Add test description
* 📘 Expand types
* ⚡ Export extensions
* ⚡ Export collection
* ⚡ Mark all proxies
* ✏️ Rename for clarity
* ⚡ Export from barrel
* ✨ Create datatype completions
* ⚡ Mount datatype completions
* 🧪 Adjust tests
* ⚡ Add `path` prop
* 🔥 Remove `()` from completion labels
* ⚡ Filter out completions for pseudo-proxies
* 🐛 Fix method error
* ⚡ Add metrics
* ✏️ Improve naming
* ✨ Start completion on empty resolvable
* ✨ Implement completion previews
* ⚡ Break out completion manager
* ⚡ Implement in expression editor modal
* ✏️ Improve naming
* ⚡ Filter out irrelevant completions
* ✨ Add preview hint
* ✏️ Improve comments
* 🎨 Style preview hint
* ⚡ Expand `hasNoParams`
* ⚡ Add spacing for readability
* ⚡ Add error codes
* ✏️ Add comment
* 🐛 Fix Esc behavior
* ⚡ Parse Unicode
* ⚡ Throw on invalid `DateTime`
* ⚡ Fix second root completion detection
* ⚡ Switch message at completable prefix position
* 🐛 Fix function names for non-dev build
* 🐛 Fix `json` handling
* 🔥 Comment out previews
* ♻️ Apply feedback
* 🔥 Remove extensions
* 🚚 Rename extensions
* ⚡ Adjust some implementations
* 🔥 Remove dummy extensions
* 🐛 Fix object regex
* ♻️ Apply feedback
* ✏️ Fix typos
* ✏️ Add `fn is not a function` message
* 🔥 Remove check
* ✨ Add `isNotEmpty` for objects
* 🚚 Rename `global` to `alpha`
* 🔥 Remove `encrypt`
* ⚡ Restore `is not a function` error
* ⚡ Support `week` on `extract()`
* 🧪 Fix tests
* ⚡ Add validation to some string extensions
* ⚡ Validate number arrays in some extensions
* 🧪 Fix tests
* ✏️ Improve error message
* ⏪ Revert extensions framework changes
* 🧹 Previews cleanup
* ⚡ Condense blank completions
* ⚡ Refactor dollar completions
* ⚡ Refactor non-dollar completions
* ⚡ Refactor Luxon completions
* ⚡ Refactor datatype completions
* ⚡ Use `DATETIMEUNIT_MAP`
* ✏️ Update test description
* ⏪ Revert "Use `DATETIMEUNIT_MAP`"
This reverts commit 472a77df5c
.
* 🧪 Add tests
* ♻️ Restore generic extensions
* 🔥 Remove logs
* 🧪 Expand tests
* ✨ Add `Math` completions
* ✏️ List breaking change
* ⚡ Add doc tooltips
* 🐛 Fix node selector regex
* 🐛 Fix `context` resolution
* 🐛 Allow dollar completions in args
* ⚡ Make numeric array methods context-dependent
* 📝 Adjust docs
* 🐛 Fix selector ref
* ⚡ Surface error for valid URL
* 🐛 Disallow whitespace in `isEmail` check
* 🧪 Fix test for `isUrl`
* ⚡ Add comma validator in `toFloat`
* ⚡ Add validation to `$jmespath()`
* ⏪ Revert valid URL error
* ⚡ Adjust `$jmespath()` validation
* 🧪 Adjust `isUrl` test
* ⚡ Remove `{}` and `[]` from compact
* ✏️ Update docs
* 🚚 Rename `stripTags` to `removeTags`
* ⚡ Do not inject whitespace inside resolvable
* ⚡ Make completions aware of `()`
* ✏️ Add note
* ⚡ Update sorting
* ⚡ Hide active node name from node selector
* 🔥 Remove `length()` and its aliases
* ⚡ Validate non-zero for `chunk`
* ✏️ Reword all error messages
* 🐛 Fix `$now` and `$today`
* ⚡ Simplify with `stripExcessParens`
* ⚡ Fold luxon into datatype
* 🧪 Clean up tests
* 🔥 Remove tests for removed methods
* 👕 Fix type
* ⬆️ Upgrade lang pack
* ⏪ Undo change to `vitest` command
* 🔥 Remove unused method
* ⚡ Separate `return` line
* ✏️ Improve description
* 🧪 Expand tests for initial-only completions
* 🧪 Add bracket-aware completions
* ⚡ Make check for `all()` stricter
* ✏️ Adjust explanatory comments
* 🔥 Remove unneded copy
* 🔥 Remove outdated comment
* ⚡ Make naming consistent
* ✏️ Update comments
* ⚡ Improve URL scheme check
* ✏️ Add comment
* 🚚 Move extension
* ✏️ Update `BREAKING-CHANGES.md`
* ✏️ Update upcoming version
* ✏️ Fix grammar
* ✏️ Shorten message
* 🐛 Fix `Esc` behavior
* 🐛 Fix `isNumeric`
* ✨ Using UTC to handle-dates on back-end
* ✅ Added more unit tests for date extensions
* ⚡ Not using `JSON.stringify` to render dates
* ⚡ Using `deep-equal` library instead of our `deepCompare` function
* ✅ Adding more tests to array extensions
* ⚡ Fixing `inBetween` extension function
* ✅ Added tests for `.inBetween()`
* ⚡ Updating `isEven` and `isOdd` to throw for floats
* ⚡ Updating `Array.merge()` so it works without arguments
* 🔀 Fixing leftover merge confilct
* ⚡ Updating `removeFieldsContaining` and `keepFieldsContaining` to throw on empty strings
* ⚡ Fixing `pluck()` so it returns only plucked values
* ⬆️ Updating pnpm lockfile
* 👕 Fixing lint errors
* ⚡ Using workflow timezone to display dates
* ✔️ Updating tests with workflow timezone
* ⚡ Not using system timezone when creating Luxon dates
* ⚡ Updating `merge()` and `pluck()` array functions
* 🔀 Sync with `master`: Removing code that was preserved during merge
* ⚡ Updating `.pluck()` to return full array if no arguments are passed
* ⚡ Updating `keepFieldsContaining` and `merge` object functions
* ⚡ Using week as default for `date.extract()`
* ✅ Adding more test cases for DT functions
* ⚡ Removing `Object.merge` extension function. Adding missing `deep-equal` dependency
* ⚡ Handling `toDate` case when time component is not specified
* ⚡ Using workflow's timezone to render dates in output panel, updated unit tests after removing `Object.merge` function
* ⚡ Not parsing numbers as dates
* 👕 Fixing lint errors
* ⚡ Fixing a typo
* ⚡ Making date detection more strict so only stringified dates are getting converted
* 👌 Addressing PR feedback
* 🔥 Removing leftover comment
---------
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2023-02-15 10:50:16 +01:00
कारतोफ्फेलस्क्रिप्ट™
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
कारतोफ्फेलस्क्रिप्ट™
f7cbd6b17e
feat(editor): Upgrade to Storybook v7 (no-changelog) ( #5454 )
...
Storybook 6 + Webpack 4 are pulling in a lot of dependencies that are blocking us from supporting node 18.
2023-02-14 12:44:13 +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
कारतोफ्फेलस्क्रिप्ट™
538984dc2f
feat(core): Add support for WebSockets as an alternative to Server-Sent Events ( #5443 )
...
Co-authored-by: Matthijs Knigge <matthijs@volcano.nl>
2023-02-10 15:02:47 +01:00
Iván Ovejero
136b74de5e
test: Upgrade vitest
(no-changelog) ( #5307 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-02-10 03:20:15 +01: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
Valya
c7b58e0ed1
fix(core): Expression extension failing with optional chaining ( #5370 )
...
* wip
* fix: working optional chaining polyfill
* fix: polyfill optional chaining on extended functions
* test: add optional chaining tests
2023-02-09 13:57:45 +00:00
कारतोफ्फेलस्क्रिप्ट™
172472664d
ci: Upgrade dev tooling (no-changelog) ( #5424 )
...
* Typescript
* Jest
* Turborepo
* pnpm
2023-02-09 13:52:41 +01:00
कारतोफ्फेलस्क्रिप्ट™
52cb185637
refactor(core): Upgrade typeorm (no-changelog) ( #5423 )
...
[Now we can use aggregate functions directly over the repository API](https://github.com/typeorm/typeorm/pull/9737 )
2023-02-09 10:44:07 +01:00
कारतोफ्फेलस्क्रिप्ट™
94f2b2a26f
feat(Edit Image Node): Allow WebP as an image format ( #5420 )
2023-02-08 23:08:50 +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
Jan Oberhauser
9efcf19082
📚 Update CHANGELOG.md and main package.json to 0.214.2
2023-02-06 12:35:55 -06:00
Jan Oberhauser
8e428c7133
fix: Upgrade versions in pnpm-lock.yaml (no-changelog)
2023-02-06 07:52:25 -06:00
Jan Oberhauser
8a224c0c89
📚 Update CHANGELOG.md and main package.json to 0.214.0
2023-02-03 08:42:50 -06:00
Iván Ovejero
6d811f0d9f
feat(editor): Completions for extensions in expression editor ( #5130 )
...
* 🔥 Remove test extensions
* 🚧 Add test description
* 📘 Expand types
* ⚡ Export extensions
* ⚡ Export collection
* ⚡ Mark all proxies
* ✏️ Rename for clarity
* ⚡ Export from barrel
* ✨ Create datatype completions
* ⚡ Mount datatype completions
* 🧪 Adjust tests
* ⚡ Add `path` prop
* 🔥 Remove `()` from completion labels
* ⚡ Filter out completions for pseudo-proxies
* 🐛 Fix method error
* ⚡ Add metrics
* ✏️ Improve naming
* ✨ Start completion on empty resolvable
* ✨ Implement completion previews
* ⚡ Break out completion manager
* ⚡ Implement in expression editor modal
* ✏️ Improve naming
* ⚡ Filter out irrelevant completions
* ✨ Add preview hint
* ✏️ Improve comments
* 🎨 Style preview hint
* ⚡ Expand `hasNoParams`
* ⚡ Add spacing for readability
* ⚡ Add error codes
* ✏️ Add comment
* 🐛 Fix Esc behavior
* ⚡ Parse Unicode
* ⚡ Throw on invalid `DateTime`
* ⚡ Fix second root completion detection
* ⚡ Switch message at completable prefix position
* 🐛 Fix function names for non-dev build
* 🐛 Fix `json` handling
* 🔥 Comment out previews
* ♻️ Apply feedback
* 🔥 Remove extensions
* 🚚 Rename extensions
* ⚡ Adjust some implementations
* 🔥 Remove dummy extensions
* 🐛 Fix object regex
* ♻️ Apply feedback
* ✏️ Fix typos
* ✏️ Add `fn is not a function` message
* 🔥 Remove check
* ✨ Add `isNotEmpty` for objects
* 🚚 Rename `global` to `alpha`
* 🔥 Remove `encrypt`
* ⚡ Restore `is not a function` error
* ⚡ Support `week` on `extract()`
* 🧪 Fix tests
* ⚡ Add validation to some string extensions
* ⚡ Validate number arrays in some extensions
* 🧪 Fix tests
* ✏️ Improve error message
* ⏪ Revert extensions framework changes
* 🧹 Previews cleanup
* ⚡ Condense blank completions
* ⚡ Refactor dollar completions
* ⚡ Refactor non-dollar completions
* ⚡ Refactor Luxon completions
* ⚡ Refactor datatype completions
* ⚡ Use `DATETIMEUNIT_MAP`
* ✏️ Update test description
* ⏪ Revert "Use `DATETIMEUNIT_MAP`"
This reverts commit 472a77df5c
.
* 🧪 Add tests
* ♻️ Restore generic extensions
* 🔥 Remove logs
* 🧪 Expand tests
* ✨ Add `Math` completions
* ✏️ List breaking change
* ⚡ Add doc tooltips
* 🐛 Fix node selector regex
* 🐛 Fix `context` resolution
* 🐛 Allow dollar completions in args
* ⚡ Make numeric array methods context-dependent
* 📝 Adjust docs
* 🐛 Fix selector ref
* ⚡ Surface error for valid URL
* 🐛 Disallow whitespace in `isEmail` check
* 🧪 Fix test for `isUrl`
* ⚡ Add comma validator in `toFloat`
* ⚡ Add validation to `$jmespath()`
* ⏪ Revert valid URL error
* ⚡ Adjust `$jmespath()` validation
* 🧪 Adjust `isUrl` test
* ⚡ Remove `{}` and `[]` from compact
* ✏️ Update docs
* 🚚 Rename `stripTags` to `removeTags`
* ⚡ Do not inject whitespace inside resolvable
* ⚡ Make completions aware of `()`
* ✏️ Add note
* ⚡ Update sorting
* ⚡ Hide active node name from node selector
* 🔥 Remove `length()` and its aliases
* ⚡ Validate non-zero for `chunk`
* ✏️ Reword all error messages
* 🐛 Fix `$now` and `$today`
* ⚡ Simplify with `stripExcessParens`
* ⚡ Fold luxon into datatype
* 🧪 Clean up tests
* 🔥 Remove tests for removed methods
* 👕 Fix type
* ⬆️ Upgrade lang pack
* ⏪ Undo change to `vitest` command
* 🔥 Remove unused method
* ⚡ Separate `return` line
* ✏️ Improve description
* 🧪 Expand tests for initial-only completions
* 🧪 Add bracket-aware completions
* ⚡ Make check for `all()` stricter
* ✏️ Adjust explanatory comments
* 🔥 Remove unneded copy
* 🔥 Remove outdated comment
* ⚡ Make naming consistent
* ✏️ Update comments
* ⚡ Improve URL scheme check
* ✏️ Add comment
* 🚚 Move extension
* ✏️ Update `BREAKING-CHANGES.md`
* ✏️ Update upcoming version
* ✏️ Fix grammar
* ✏️ Shorten message
* 🐛 Fix `Esc` behavior
* 🐛 Fix `isNumeric`
* ✨ Support native methods
* 🧪 Skip Pinia tests
* ✏️ Shorten description
* 🔥 Remove outdated comment
* 🧪 Unskip Pinia tests
* ✏️ Add comments
* 🧪 Expand tests to natives
* ✏️ Add clarifying comments
* ⚡ Use `setTimeout` to make telemetry non-blocking
* 🐛 Account for no active node in cred modal
* ✨ Resolve without workflow
* 🔥 Remove `Esc` handling on NDV
* ⚡ Use `isDateTime`
* 🚚 Move `unique` to next phase
This array extension takes optional args.
* ⚡ Merge export
* 🧪 Fix tests
* ⏪ Restore check
* ✏️ Make breaking change description more accurate
* 🧪 Fix e2e tests
2023-02-02 12:35:38 +01:00
Milorad FIlipović
1d85e232e5
refactor(core): Luxon dependency update ( #5301 )
...
* ⬆️ Updating Luxon version to 3.1
* ⬆️ Updating `pnpm-lock` file
2023-01-31 10:44:45 +01: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
OlegIvaniv
dbcbe595cc
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>
2023-01-30 11:02:05 +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
Alex Grozav
99e35f1e94
feat(editor): Update design-system and editor dependencies (no-changelog) ( #5188 )
2023-01-27 02:09:30 +01:00
कारतोफ्फेलस्क्रिप्ट™
7e229a3d38
fix(core): Do not crash express app on unhandled rejected promises ( #5252 )
2023-01-26 12:10:09 +01:00
Iván Ovejero
74e6f5d190
feat: HTML node ( #5107 )
...
* ✨ Create HTML templating node PoC
* ♻️ Apply feedback
* 🐛 Scope CSS selectors
* ✏️ Adjust description
* ✏️ Adjust placeholder
* ⚡ Replace two custom files with package output
* ➕ Add `codemirror-lang-html-n8n`
* 👕 Appease linter
* 🧪 Skip event bus tests
* ⏪ Revert "Skip event bus tests"
This reverts commit 5702585d0d
.
* ✏️ Update codex
* 🧹 Cleanup
* 🐛 Restore original for `continueOnFail`
* ⚡ Improve `getResolvables`
2023-01-26 10:03:13 +01:00
Ricardo Espinoza
0c70a40317
feat(core): Add LDAP support ( #3835 )
2023-01-25 02:18:39 +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
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
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
कारतोफ्फेलस्क्रिप्ट™
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
d7732ea150
📚 Update CHANGELOG.md and main package.json to 0.211.0
2023-01-13 10:26:04 -06:00
Michael Auerswald
e845eb33f9
fix(core): Remove threads pkg, rewrite log writer worker ( #5134 )
2023-01-13 15:39:25 +01:00
कारतोफ्फेलस्क्रिप्ट™
14a61f6ab1
fix: Upgrade class-validator
to address CVE-2019-18413 ( #5139 )
2023-01-12 13:06:18 +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
Jan Oberhauser
c3422b1f84
📚 Update CHANGELOG.md and main package.json to 0.210.2
2023-01-09 07:28:50 -06: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
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
कारतोफ्फेलस्क्रिप्ट™
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
कारतोफ्फेलस्क्रिप्ट™
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
Iván Ovejero
0795cdb74c
fix(core): Upgrade riot-tmpl
fork to 2.0.0 (no-changelog) ( #5077 )
...
* ⬆️ Upgrade `@n8n_io/riot-tmpl` to 2.0.0
* 📦 Update `pnpm-lock.yaml`
2023-01-03 16:14:36 +01:00
कारतोफ्फेलस्क्रिप्ट™
8bee04cd2a
refactor(Read Binary File Node): Use node streams for to reduce memory usage ( #5069 )
2023-01-02 17:07:10 +01:00
कारतोफ्फेलस्क्रिप्ट™
b828cb31d6
perf: Lazy-load queue-mode and analytics dependencies ( #5061 )
...
* refactor: lazy load ioredis and bull
* upgrade bull and hiredis
* refactor: lazy load posthog, rudderstack, and sentry
* upgrade Sentry sdk
2023-01-02 12:14:39 +01:00
Iván Ovejero
7e3f3c5097
refactor: Add lint rule node-class-description-name-miscased
(no-changelog) ( #5065 )
...
* 📦 Update `eslint-plugin-n8n-nodes-base` version
* 📦 Update `pnpm-lock`
* 👕 Enable rule
* 👕 Exempt pre-existing nodes with miscased names
2023-01-02 09:22:33 +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
Cornelius Suermann
eeac4768e5
fix(core): Update license SDK to v1.8.0 (no-changelog) ( #5023 )
2022-12-23 15:01:21 +01: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
Csaba Tuncsik
0da338f9b5
feat(editor): Add usage and plan pages ( #4819 )
...
* feat(editor): Usage and plan page (#4793 )
feat(editor): usage and plan page
* feat(editor): Update Usage and plan page (#4842 )
* feat(editor): usage and plan store
* feat(editor): usage and plan page updates
* feat(editor): usage and plan add buttons and alert
* tes(editor): usage and plan store
* tes(editor): usage remove refresh button and add link to view plans
* tes(editor): usage use info tip
* tes(editor): usage info style
* feat(editor): Get quotas data (#4866 )
feat(editor): get quotas data
* feat(editor): In-app experience (#4875 )
* feat: Add license quotas endpoint
* feat: Add trigger count to workflow activation process
* refactor: Get quotas from db
* feat: Add license information
* ✨ - finalised GET /license endpoint
* 🔨 - getActiveTriggerCount return 0 instead of null
* 🐛 - ignore manualTrigger when counting active triggers
* ✨ - add activation endpoint
* ✨ - added renew endpoint
* 🔨 - added return type interfaces
* 🔨 - handle license errors where methods are called
* 🔨 - rename function to match name from lib
* feat(editor): usage add plans buttons logic
* 🚨 - testing new License methods
* feat(editor): usage add more business logic
* chore(editor): code formatting
* 🚨 - added license api tests
* fix(editor): usage store
* fix(editor): usage update translations
* feat(editor): usage add license activation modal
* feat(editor): usage change subscription app url
* feat(editor): usage add contact us link
* feat(editor): usage fix modal width
* ✨ - Add renewal tracking metric
* ✨ - add license data to pulse event
* 🔨 - set default triggercount on entity model
* ✨ - add db migrations for mysql and postgres
* fix(editor): Usage api call data processing and error handling
* fix(editor): Usage fix activation query key
* 🚨 - add initDb to telemetry tests
* 🔨 - move getlicensedata to licenseservice
* 🔨 - return 403 instead of 404 to non owners
* 🔨 - move owner checking to middleware
* 🐛 - fixed incorrectly returned error from middleware
* 🐛 - using mock instead of test db for pulse tests
* fix(editor): Usage fix activation and add success messages
* fix(editor): Usage should not renew activation right after activation
* 🚨 - skipping failing pulse tests for now
* fix(editor): Usage add telemetry calls and apply design review outcomes
* feat(editor): Hide usage page according to BE flag
* feat(editor): Usage modify key activation flow
* feat(editor): Usage change subscription app url
* feat(editor): Usage add telemetry for manage plan
* feat(editor): Usage extend link url query params
* feat(editor): Usage add line chart if there is a workflow limit
* feat(editor): Usage remove query after key activation redirection
* fix(editor): Usage handle limit exceeded workflow chart, add focus to input when modal opened
* fix(editor): Usage activation can return router promise when removing query
* fix(editor): Usage and plan design review
* 🐛 - fix renew endpoint hanging issue
* 🐛 - fix license activation bug
* fix(editor): Usage proper translation for plans and/or editions
* fix(editor): Usage apply David's review results
* fix(editor): Usage page set as default and first under Settings
* fix(editor): Usage open subscription app in new tab
* fix(editor): Usage page having key query param a plan links
* test: Fix broken test
* fix(editor): Usage page address review
* 🧪 Flush promises on telemetry tests
* ⚡ Extract helper with `setImmediate`
* 🔥 Remove leftovers
* ⚡ Use Adi's helper
* refactor: Comment broken tests
* refactor: add Tenant id to settings
* feat: add environment to license endpoints
* refactor: Move license environment to general settings
* fix: fix routing bug
* fix(editor): Usage page some code review changes and formatting
* fix(editor): Usage page remove direct usage of reusable translation keys
* fix(editor): Usage page async await instead of then
* fix(editor): Usage page show some content only if network requests in component mounted were successful
* chore(editor): code formatting
* fix(editor): Usage checking license environment
* feat(editor): Improve license activation error messages (no-changelog) (#4958 )
* fix(editor): Usage changing activation error title
* remove unnecessary import
* fix(editor): Usage refactor notification showing
* fix(editor): Usage using notification directly in store actions
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
* fix(editor): Usage change mounted lifecycle logic
* fix(editor): Usage return after successful activation in mounted
* fix: remove console log
* test: fix tests related to settings (#4979 )
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2022-12-20 10:52:01 +01:00
कारतोफ्फेलस्क्रिप्ट™
570ed3b521
fix: Upgrade amqplib to address CVE-2022-0686 ( #4972 )
2022-12-19 17:01:27 +01:00
Jan Oberhauser
3754c49f0c
📚 Update CHANGELOG.md and main package.json to 0.208.1
2022-12-19 08:25:46 -06:00
कारतोफ्फेलस्क्रिप्ट™
2a7cb0192a
ci: Fix build on master (no-changelog) ( #4949 )
...
ci: upgrade workflow version in dependencies as well (no-changelog)
2022-12-16 15:27:37 +01:00
Jan Oberhauser
3c7a8a8ef1
fix: Upgrade versions in pnpm-lock.yaml (no-changelog)
2022-12-16 07:54:11 -06:00
Jan Oberhauser
6350abc898
📚 Update CHANGELOG.md and main package.json to 0.208.0
2022-12-16 14:30:25 +01:00
Iván Ovejero
0e4cda5763
refactor: Phase out TSLint in editor-ui
(no-changelog) ( #4935 )
...
* 🔥 Remove `tslint.json`
* 🔥 Remove TSLint commands
* 🔥 Remove exceptions in `editor-ui`
* 🔥 Remove from `.npmignore`
* 🔥 Remove from `eslint-config`
* 🔥 Remove exception from `design-system`
* 🎨 Prettify
* 📦 Update pnpm-lock
* 🔥 Remove duplicate import
* 🔥 Remove exemption for `no-explicit-any`
* 👕 Inline `no-explicit-any` exemptions
2022-12-15 14:06:00 +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
Iván Ovejero
a1259898c0
feat(editor): Inline expression editor ( #4814 )
...
* WIP
* 🔥 Remove unneeded watch
* ⚡ Further setup
* ⚡ Fix import
* ⚡ Minor tweaks
* 🔥 Remove logging
* 🎨 Add some styling
* 🎨 More styling changes
* 🐛 Fix wrong marking of stale data
* 🎨 Prevent fx on dragging
* 🔥 Remove logging
* ⚡ Refine draggable target offsets
* refactor(editor): Consolidate expression management logic (#4836 )
* ⚡ Extract `ExpressionFunctionIcon`
* ⚡ Simplify syntax
* ⚡ Move to mixin
* 🎨 Format
* 📘 Unify types
* ⚡ Dedup double brace handler
* ⚡ Consolidate resolvable highlighter
* 🎨 Format
* ⚡ Consolidate language pack
* ✏️ Add comment
* ⚡ Move completions to plugins
* ⚡ Partially deduplicate themes
* refactor(editor): Apply styling feedback to inline expression editor (#4846 )
* 🎨 Adjust styling for expression parameter input
* 🎨 Style outputs differently
* ⚡ Set single line for RLC
* 🎨 Style both openers identically
* 🐛 Prevent defocus on resize
* ⚡ Adjust line height
* 🎨 Adjust border with for expression input
* ⚡ Fix font family for inline output
* ⚡ Set up telemetry
* ⚡ Complete telemetry
* ⚡ Simplify event source
* ⚡ Set monospaced font for inline output
* 🎨 Hide cursor on schema pill drop
* 🧪 Update snapshots
* ⚡ Consolidate editor styles
* ✏️ Add tech debt comments
* ⚡ Improve naming
* ⚡ Improve inside resolvable detection
* ⚡ Improve var naming
* 🔥 Remove outdated comment
* 🚚 Move constant to data
* ✏️ Clarify comments
* 🔥 Remove outdated comments
* 🔥 Remove unneeded try-catch
* 🔥 Remove unneeded method
* 🔥 Remove unneeded check
* 🔥 Remove `openExpression` check
* 🔥 Remove unused timeout
* 🔥 Remove commented out sections
* ⚡ Use Pinia naming convention
* ⚡ Re-evaluate on change of `ndvInputData`
* 🐛 Fix handling of `0` in number-type input
* 🐛 Surface focus and blur for mapping hints
* 🔥 Remove logging
* ✏️ Reword error
* ⚡ Change kebab-case to PascalCase
* ⚡ Refactor state fields for clarity
* ⚡ Support double bracing on selection
* 🎨 More styling
* ⚡ Miscellaneous cleanup
* ⚡ Disregard error on drop
* 🎨 Fix schema pill styling
* 🎨 More `background` to `background-color` fixes
* 🧪 Update snapshots
* 🎨 Replace non-existing var with white
* 🧪 Update snapshot
* 📦 Integrate `codemirror-lang-n8n-expression`
* 🎨 Fix formatting
* 🧪 Re-update test snapshots
* 🧪 Update selectors for inline editor
* 🔥 Remove unused test ID
* 📘 Add type for `currentNodePaneType`
* ⚡ Refactor mixin to util
* ⚡ Use `:global`
* 🔥 Remove comment
* ⚡ Add watch
* ⚡ Change import style
* 👕 Fix lint
* ⚡ Refactor preventing blur on resize
* 🔥 Remove comment
* 🧪 Re-update snapshots
* 🎨 Prettify
* 👕 Fix lint
* 🔥 Remove comment
Co-authored-by: Mutasem <mutdmour@gmail.com>
2022-12-14 14:43:02 +01:00
Iván Ovejero
66fdc53808
fix: Update pnpm-lock to fix build ( #4910 )
...
📦 Update pnpm-lock
2022-12-13 16:42:05 +01:00
Jan Oberhauser
61aafc9873
📚 Update CHANGELOG.md and main package.json to 0.207.0
2022-12-12 09:03:33 -06:00
कारतोफ्फेलस्क्रिप्ट™
3b969d2cd1
fix(Move Binary Data Node): Stringify objects before encoding them in MoveBinaryData ( #4882 )
...
* stringify objects before encoding them objects in MoveBinaryData
* add fileSize and fileType on MoveBinaryData converted data
* show `view` option for text files as well
* improve how JSON binary data is shown in the UI
2022-12-11 14:10:54 +01:00
कारतोफ्फेलस्क्रिप्ट™
f4481e24e8
ci: Upgrade pnpm and turborepo (no-changelog) ( #4878 )
2022-12-09 17:16:26 +01:00
Cornelius Suermann
ebad81a68b
fix: Use license-sdk v1.6.1 ( #4872 )
...
* fix: use license-sdk v1.6.1
* commit pnpm-lock-yaml
2022-12-09 10:58:49 +01:00
OlegIvaniv
79fe57dad8
feat(editor): Node creator actions ( #4696 )
...
* WIP: Node Actions List UI
* WIP: Recommended Actions and preseting of fields
* WIP: Resource category
* 🎨 Moved actions categorisation to the server
* 🏷️ Add missing INodeAction type
* ✨ Improve SSR categorisation, fix adding of mixed actions
* ♻️ Refactor CategorizedItems to composition api, style fixes
* WIP: Adding multiple nodes
* ♻️ Refactor rest of the NodeCreator component to composition API, conver globalLinkActions to composable
* ✨ Allow actions dragging, fix search and refactor passing of actions to categorized items
* 💄 Fix node actions title
* Migrate to the pinia store, add posthog feature and various fixes
* 🐛 Fix filtering of trigger actions when not merged
* fix: N8N-5439 — Do not use simple node item when at NodeHelperPanel root
* 🐛 Design review fixes
* 🐛 Fix disabling of merged actions
* Fix trigger root filtering
* ✨ Allow for custom node actions parser, introduce hubspot parser
* 🐛 Fix initial node params validation, fix position of second added node
* 🐛 Introduce operations category, removed canvas node names overrride, fix API actions display and prevent dragging of action nodes
* ✨ Prevent NDV auto-open feature flag
* 🐛 Inject recommened action for trigger nodes without actions
* Refactored NodeCreatorNode to Storybook, change filtering of merged nodes for the trigger helper panel, minor fixes
* Improve rendering of app nodes and animation
* Cleanup, any only enable accordion transition on triggerhelperpanel
* Hide node creator scrollbars in Firefox
* Minor styles fixes
* Do not copy the array in rendering method
* Removed unused props
* Fix memory leak
* Fix categorisation of regular nodes with a single resource
* Implement telemetry calls for node actions
* Move categorization to FE
* Fix client side actions categorisation
* Skip custom action show
* Only load tooltip for NodeIcon if necessary
* Fix lodash startCase import
* Remove lodash.startcase
* Cleanup
* Fix node creator autofocus on "tab"
* Prevent posthog getFeatureFlag from crashing
* Debugging preview env search issues
* Remove logs
* Make sure the pre-filled params are update not overwritten
* Get rid of transition in itemiterator
* WIP: Rough version of NodeActions keyboard navigation, replace nodeCreator composable with Pinia store module
* Rewrite to add support for ActionItem to ItemIterator and make CategorizedItems accept items props
* Fix category item counter & cleanup
* Add APIHint to actions search no-result, clean up NodeCreatorNode
* Improve node actions no results message
* Remove logging, fix filtering of recommended placeholder category
* Remove unused NodeActions component and node merging feature falg
* Do not show regular nodes without actions
* Make sure to add manual trigger when adding http node via actions hint
* Fixed api hint footer line height
* Prevent pointer-events od NodeIcon img and remove "this" from template
* Address PR points
* Fix e2e specs
* Make sure canvas ia loaded
* Make sure canvas ia loaded before opening nodeCreator in e2e spec
* Fix flaky workflows tags e2e getter
* Imrpove node creator click outside UX, add manual node to regular nodes added from trigger panel
* Add manual trigger node if dragging regular from trigger panel
2022-12-09 10:56:36 +01:00
कारतोफ्फेलस्क्रिप्ट™
7e1a13f9b2
fix: Upgrade sse-channel to mitigate CVE-2019-10744 ( #4835 )
...
sse-channel 4 removed CORS support, that's why we need to handle CORS for `/push` ourselves now.
2022-12-07 15:13:36 +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
freya
1722c6b0c5
feat(core): Workflow Execution Statistics ( #4200 )
...
Add recording and reporting of workflow execution statistics
2022-12-06 14:55:40 +00:00
कारतोफ्फेलस्क्रिप्ट™
9485e2f12a
fix: Enable source-maps on WorkflowRunnerProcess in own
mode ( #4832 )
2022-12-06 12:16:49 +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
Iván Ovejero
cc7f8fd5de
refactor: Apply lint rule cred-class-field-display-name-miscased
( #4762 )
...
* 👕 Apply lint rule `cred-class-field-display-name-miscased`
* ⚡ Update `pnpm-lock.yaml`
* 🙈 Update `.prettierignore`
2022-11-30 15:31:44 +01:00
कारतोफ्फेलस्क्रिप्ट™
ada73ed41d
ci: Fix linting issues on master (no-changelog) ( #4768 )
...
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-11-30 12:16:19 +01:00
कारतोफ्फेलस्क्रिप्ट™
aac207a947
feat: Reduce initial memory spike at server startup (no-changelog) ( #4735 )
...
* feat: Reduce initial memory spike at server startup (no-changelog)
This changes the frontend types generation to generate less garbage for the GC to collect.
* switch to stream pipelines for writing all the static files
and, move all static file generation before the server starts
2022-11-28 17:41:44 +01:00
Omar Ajoue
540f6e0abd
refactor: Upgrade license package version and create tenant id variable (no-changelog) ( #4744 )
2022-11-28 17:39:34 +01:00
कारतोफ्फेलस्क्रिप्ट™
55c201eb21
refactor: Improve typings for element-ui imports (no-changelog) ( #4678 )
...
* convert all stories to typescript
* stricter typing for element-ui imports
2022-11-25 10:51:51 +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
कारतोफ्फेलस्क्रिप्ट™
07e4743a3e
refactor(core): Reduce memory usage in the Webhook node ( #4640 )
...
use file streaming to pass webhook binaries around
2022-11-24 16:54:43 +01:00
Jan Oberhauser
602b1e56d6
📚 Update CHANGELOG.md and main package.json to 0.204.0
2022-11-24 16:53:37 +01:00
कारतोफ्फेलस्क्रिप्ट™
b6c57e19fc
feat(core): Lazy-load nodes and credentials to reduce baseline memory usage ( #4577 )
2022-11-23 16:20:28 +01:00
कारतोफ्फेलस्क्रिप्ट™
0b754a4f85
refactor: Improve error logging/reporting for cli
( #4691 )
...
* use response error classes instead of `ResponseError` everywhere
* improve error logging in dev mode or when telemetry is disabled
2022-11-22 14:00:36 +01:00
Mutasem Aldmour
30e5d3d04c
feat(core): Add license support to n8n ( #4566 )
...
* add sdk
* add license manager
* type fix
* add basic func
* store to db
* update default
* activate license
* add sharing flag
* fix setup
* clear license
* update conosle log to info
* refactor
* use npm dependency
* update error logs
* add simple test
* add license tests
* update tests
* update pnpm package
* fix error handling types
* Update packages/cli/src/config/schema.ts
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
* make feature enum
* add warning
* update sdk
* Update packages/cli/src/config/schema.ts
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2022-11-21 15:41:24 +01:00
कारतोफ्फेलस्क्रिप्ट™
600b285a44
refactor: Migrate Vue slots to the new syntax ( #4603 )
...
Co-authored-by: Alex Grozav <alex@grozav.com>
2022-11-18 14:59:31 +01:00
Jan Oberhauser
0dc8925865
📚 Update CHANGELOG.md and main package.json to 0.203.1
2022-11-18 14:20:15 +01:00
Jan Oberhauser
4ce24b310e
📚 Update CHANGELOG.md and main package.json to 0.203.0
2022-11-17 18:29:41 +01:00
Jan Oberhauser
fdfb803fa0
🔖 Release n8n-workflow@0.125.0
2022-11-17 16:05:42 +00:00
कारतोफ्फेलस्क्रिप्ट™
13659d036f
ci: Ensure that eslint runs on all frontend code (no-changelog) ( #4602 )
...
* ensure that eslint runs on all frontend code
* remove tslint from `design-system`
* enable prettier and eslint-prettier for `design-system`
* Delete tslint.json
* use a single editorconfig for the repo
* enable prettier for all code in `design-system`
* more linting fixes on design-system
* ignore coverage for git and prettier
* lintfix on editor-ui
2022-11-15 18:20:54 +01:00
कारतोफ्फेलस्क्रिप्ट™
0148631d28
build: Upgrade some of the backend dev-tooling (no-changelog) ( #4589 )
...
* upgrade ts-node
* move tslint and typescript to a single place
* source-map-support should be loaded in the `n8n` bin script, and not in core
* upgrade jest
* Support only node.js 14, 16, or 18
2022-11-14 15:37:32 +01:00
Jan Oberhauser
ed99aa2d59
📚 Update CHANGELOG.md and main package.json to 0.202.1
2022-11-10 21:59:43 +01:00
Jan Oberhauser
bd9bf3cf76
📚 Update CHANGELOG.md and main package.json to 0.202.0
2022-11-10 17:02:10 +01:00
कारतोफ्फेलस्क्रिप्ट™
736777385c
feat: Switch from npm to pnpm ( #4429 )
2022-11-09 17:32:05 +01:00