Michael Auerswald
eedde24cc0
fix(core): Use lower cased email for SAML email attribute ( #6663 )
...
lower case saml email attribute
2023-07-13 23:41:52 +02:00
कारतोफ्फेलस्क्रिप्ट™
b895ba438a
refactor(core): Reduce boilterplate code in between tests 🧹 , and fix the tests in node.js 20 (no-changelog) ( #6654 )
...
refactor(core): Reduce boilterplate code in between tests
also cleaned up some imports, and fixed the tests in node.js 20
2023-07-13 10:14:48 +02:00
Iván Ovejero
3e07ffa73e
refactor: Move CLI commands types to own dir (no-changelog) ( #6658 )
...
refactor: Move CLI commands types to own dir
2023-07-13 10:10:08 +02:00
Iván Ovejero
c35f2b97b3
refactor: Remove outdated publicly accessible warning (no-changelog) ( #6657 )
2023-07-13 09:58:55 +02:00
कारतोफ्फेलस्क्रिप्ट™
b701dcb8ef
ci!: Drop support for Node.js 16. Add initial support for Node.js 20 ( #6649 )
...
We need to drop 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 ).
`0.236.x` releases will continue to support Node.js 16 for another two months, and `1.x.x` releases will only support Node.js 18 for now.
2023-07-12 15:03:23 +02:00
OlegIvaniv
e5620ab1e4
feat(API): Implement users account quota guards ( #6434 )
...
* feat(cli): Implement users account quota guards
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Remove comment
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Address PR comments
- Getting `usersQuota` from `Settings` repo
- Revert `isUserManagementEnabled` helper
- Fix FE listing of users
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Refactor isWithinUserQuota getter and fix tests
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Revert testDb.ts changes
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Cleanup & improve types
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Fix duplicated method
* Fix failing test
* Remove `isUserManagementEnabled` completely
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Check for globalRole.name to determine if user is owner
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Fix unit tests
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Set isInstanceOwnerSetUp in specs
* Fix SettingsUserView UM
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* refactor: License typings suggestions for users quota guards (#6636 )
refactor: License typings suggestions
* Update packages/cli/src/Ldap/helpers.ts
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
* Update packages/cli/test/integration/shared/utils.ts
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
* Address PR comments
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Use 403 for all user quota related errors
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2023-07-12 14:11:46 +02:00
कारतोफ्फेलस्क्रिप्ट™
329d22f5d1
fix(core): Reduce memory consumption on BinaryDataManager.init
( #6633 )
...
fix(core): Reduce memory consumption on BinaryDataManager.init
When there are a few thousand binary data file to delete, the `deleteMarkedFiles` and `deleteMarkedPersistedFiles` methods need a lot of memory to process these files, irrespective of if these files have any data or not.
2023-07-12 10:08:29 +02:00
Iván Ovejero
d6b2ae0255
refactor: Stop using .d.ts
files for type-collection files (no-changelog) ( #6634 )
...
refactor: Stop using `.d.ts` files for type-collection files
2023-07-10 19:35:34 +02:00
कारतोफ्फेलस्क्रिप्ट™
07744986ea
fix(core): Fix credentials lazy-loading (no-changelog) ( #6615 )
2023-07-10 17:57:26 +02:00
OlegIvaniv
aa53c46367
feat(Slack Node): Add option to include link to workflow in Slack node ( #6611 )
...
* feat(Slack Node): Add “automated by” message to Slack node’s post message
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Pass instanceBaseUrl to node context
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Move `includeLinkToWorkflow` to options
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* keep "includeLinkToWorkflow" hidden
* Only append the message for version 2.1 and up
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2023-07-10 15:03:21 +02:00
OlegIvaniv
9460bdd3be
ci: Fix v1 banner migration (no-changelog) ( #6628 )
...
* fix(cli): Fix v1 banner migration
* Update packages/cli/src/databases/migrations/mysqldb/1646992772331-CreateUserManagement.ts
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
2023-07-10 11:10:44 +02:00
OlegIvaniv
071e56f7fd
feat(core): Only show V1 banner to users who migrated ( #6622 )
...
* feat(editor): Only show V1 banner to users who migrated
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Set the v1 banner dismissed flag in settings table create migration
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-07-07 15:57:05 +02:00
कारतोफ्फेलस्क्रिप्ट™
a76223307f
refactor(core): Load cookieParser
middleware only once (no-changelog) ( #6614 )
...
[Server.ts already explicitly loads `cookieParser`](https://github.com/n8n-io/n8n/blob/master/packages/cli/src/Server.ts#L571 )
2023-07-07 09:57:03 +02:00
कारतोफ्फेलस्क्रिप्ट™
8002213538
ci: Fix linting issues (no-changelog)
2023-07-06 09:28:34 +02:00
कारतोफ्फेलस्क्रिप्ट™
e33cc2c27c
Merge remote-tracking branch 'origin/master' into release/1.0.1
2023-07-05 20:01:24 +02:00
github-actions[bot]
b47ee52fb3
🚀 Release 1.0.1 ( #6606 )
...
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-07-05 19:16:05 +02:00
कारतोफ्फेलस्क्रिप्ट™
d97edbcffa
fix(core): Make node execution order configurable, and backward-compatible ( #6507 )
...
* fix(core): Make node execution order configurable, and backward-compatible
* ⚡ Also add new Merge-Node behaviour
* ⚡ Fix typo
* Fix lint issue
* update labels
* rename legacy to v0
* remove the unnecessary log
* default all new workflows to use v1 execution-order
* remove the controller changes
* clone default settings to avoid it getting modified
---------
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2023-07-05 18:47:34 +02:00
github-actions[bot]
dd0fe2a7ab
🚀 Release 0.236.0 ( #6602 )
...
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-07-05 15:34:52 +02:00
Jan Oberhauser
c8456afd62
Merge tag 'n8n@0.235.0'
2023-07-05 14:57:09 +02:00
कारतोफ्फेलस्क्रिप्ट™
282e6aedb3
fix: Fix migrations for postgres and mysql (no-changelog) ( #6600 )
...
fix: Fix migrations for postgres and mysql
2023-07-05 14:40:35 +02:00
कारतोफ्फेलस्क्रिप्ट™
31cba87d30
fix(core): Improve the performance of last 2 sqlite migrations ( #6522 )
2023-07-05 13:46:42 +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
कारतोफ्फेलस्क्रिप्ट™
f0dfc3cf4e
ci: Hide v1 banner in e2e tests to fix 2-credentials.cy.ts (no-changelog)
2023-07-04 22:22:35 +02:00
कारतोफ्फेलस्क्रिप्ट™
b9da67b653
fix(core): Fix migrations for MySQL/MariaDB ( #6591 )
2023-07-04 21:14:05 +02:00
कारतोफ्फेलस्क्रिप्ट™
c906e7391b
fix(core): Route /rest/workflows/new
correctly (no-changelog) ( #6572 )
2023-07-04 21:07:48 +02:00
Michael Auerswald
8f244df0f9
fix(core): Fix credentials test ( #6569 )
...
fix credentials test
2023-07-04 21:07:21 +02:00
कारतोफ्फेलस्क्रिप्ट™
f841f187ec
fix(core): Ensure valid logger
is passed to every migration (no-changelog) ( #6563 )
2023-07-04 21:07:12 +02:00
कारतोफ्फेलस्क्रिप्ट™
4c854f4f23
refactor: Setup node context API, and consolidate code between Webhook and Wait nodes (no-changelog) ( #6464 )
2023-07-04 16:17:50 +02:00
कारतोफ्फेलस्क्रिप्ट™
29882a6f39
fix(core): Fix migrations for MySQL/MariaDB ( #6591 )
2023-07-04 16:02:40 +02:00
कारतोफ्फेलस्क्रिप्ट™
ffb4e470b5
fix(core): Update pruning related config defaults for v1 ( #6577 )
...
* Save manual executions by default
* Enable executions data pruning by default
* Keep a maximum of 10000 executions by default
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2023-07-04 10:49:04 +02:00
कारतोफ्फेलस्क्रिप्ट™
3b9e65e9e0
fix(core): Route /rest/workflows/new
correctly (no-changelog) ( #6572 )
2023-06-30 08:51:39 +02:00
Michael Auerswald
1abd172f73
fix(core): Fix credentials test ( #6569 )
...
fix credentials test
2023-06-29 14:48:55 +02:00
कारतोफ्फेलस्क्रिप्ट™
9bd49e844a
fix(core): Ensure valid logger
is passed to every migration (no-changelog) ( #6563 )
2023-06-28 17:25:43 +02:00
Tom
db81342b30
docs: Add irreversible change warning for n8n@0.234.0 (no-changelog) ( #6558 )
...
Add irreversible change warning for n8n@0.234.0
Add breaking change note for n8n@0.234.0 based on https://github.com/n8n-io/n8n/pull/6345
2023-06-28 14:03:58 +02:00
github-actions[bot]
d0e7779617
🚀 Release 0.235.0 ( #6557 )
...
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-06-28 11:07:11 +02:00
Michael Auerswald
4b755fb0b4
fix(core): Use owners file to export wf owners ( #6547 )
...
* remove owner from exported workflow
* use owners file to export wf owners
* update sharedworkflow owners
* fix logic
* further update logic
* add updatetAt to local changes
* additional filter for cred export
* optimize query
* remove transactions and optimize query
* reduce array size and add updated at to tags status
2023-06-28 11:06:40 +02:00
github-actions[bot]
ca588ed66a
🚀 Release 1.0.0 ( #6553 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-27 16:47:42 +02:00
OlegIvaniv
f89ef83c76
feat(editor): Prevent saving of workflow when canvas is loading ( #6497 )
...
* feat(editor): Prevent saving of pristine workflow
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Prevent saving if loading
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Fix 7-workflow-actions spec
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Restrict delay intercept to GET only
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Wait for WF patch
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Add helper to remove all active WFs in e2e
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Use META_KEY env var
* Remove cy.wait
* Delete debugging DB reset console log
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
* Fix clashin mixins `isReadOnly` property
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-06-27 13:05:20 +02:00
कारतोफ्फेलस्क्रिप्ट™
988c4a6354
ci: executeBatch
should compare JSON after serialization, to avoid inconsistencies between main and own mode
2023-06-27 10:33:21 +02:00
Michael Auerswald
9294e2da3c
fix(core): Add empty credential value marker to show empty pw field ( #6532 )
...
add empty credential value marker to show empty pw field
2023-06-23 18:23:28 +02:00
Michael Auerswald
b06462f441
fix(core): Rename to credential_stubs and variable_stubs.json ( #6528 )
...
rename to credential_stubs and variable_stubs.json
2023-06-23 12:32:00 +02:00
कारतोफ्फेलस्क्रिप्ट™
0e071724ee
ci: Refactor e2e tests to delete boilerplate code (no-changelog) ( #6524 )
2023-06-23 00:38:12 +02:00
कारतोफ्फेलस्क्रिप्ट™
abe7f71627
refactor: Remove pre-setup prompt on owner setup ( #6495 )
2023-06-22 21:11:38 +02:00
Jan Oberhauser
0287d5becd
feat(core): Change node execution order (most top-left one first) ( #6246 )
...
* feat(core): Change node execution order (most top-left one first)
* ⚡ Fix issue with multi-output-nodes
* ⚡ Remove not needed meta-entry in test
* fix the e2e test
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-22 21:11:29 +02:00
Iván Ovejero
0fe415add2
feat(editor): Add v1 banner ( #6443 )
2023-06-22 21:05:04 +02:00
Omar Ajoue
632ea275b7
refactor: Removal of request lib from the code ( #6413 )
...
* refactor: Removal of request lib from the code
2023-06-22 21:05:04 +02:00
Iván Ovejero
8c008f5d22
refactor(core)!: Remove basic-auth, external-jwt-auth, and no-auth options ( #6362 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-22 20:03:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
a45a2c8c41
feat(core)!: Stop loading community nodes from node_modules ( #6396 )
...
All custom/community nodes should be installed in `~/.n8n/nodes`.
2023-06-22 19:58:05 +02:00
कारतोफ्फेलस्क्रिप्ट™
f6366160a4
feat(core): Remove conditional defaults in V1 release ( #6363 )
2023-06-22 19:54:32 +02:00
कारतोफ्फेलस्क्रिप्ट™
e152cfe27c
fix(core): All migrations should run in a transaction ( #6519 )
2023-06-22 17:51:17 +02:00
कारतोफ्फेलस्क्रिप्ट™
d255b094dd
fix(core): Fix import:credential
on postgres (no-changelog) ( #6515 )
...
Since we switched to string ids, we don't need to update the `_seq` values for postgres.
We removed this bit for the `import:workflow` [here](https://github.com/n8n-io/n8n/pull/6345/files#diff-ff45b1d8db8d3dc67d19aa34e4d066e4156ddcd311c0b8d75a3d082009065197L230 ), but missed updating this file.
2023-06-22 16:54:05 +02:00
github-actions[bot]
f32d5f637e
🚀 Release 0.234.0 ( #6509 )
...
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-06-22 09:58:30 +02:00
कारतोफ्फेलस्क्रिप्ट™
8dc828b704
fix(core): Fix the db:revert
command (no-changelog) ( #6506 )
2023-06-22 09:06:31 +02:00
कारतोफ्फेलस्क्रिप्ट™
42a9e20e32
fix(core): Add additional path-traversal guards on res.sendFile calls (no-changelog) ( #6505 )
2023-06-21 22:20:47 +02:00
Omar Ajoue
044c710a8e
fix: Make MySQL migration for nano id change compatible with version 5.7 ( #6498 )
...
* fix: Make migration for MySQL compatible with version 5.7
* fix: Correct syntax
* fix: Syntax for primary key creation
* fix: Remove unnecessary constraint statement
* fix: Name columns for sqlite migration to prevent issues
* ci: Always run DB tests with table-prefix and alt-schema
* add tablePrefix to migrations (mysql not fixed)
* fix character_set on mysql migrations
* fix mysql collation version difference
* cater for mariadb collations
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
2023-06-21 17:10:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
5bf83f8bf6
fix(core): Use correct scopes-separator when generating authorization urls ( #6502 )
2023-06-21 15:19:38 +02:00
Ricardo Espinoza
6ab350209d
feat(core): Add GET /users endpoints to public API ( #6360 )
2023-06-21 13:22:00 +02:00
कारतोफ्फेलस्क्रिप्ट™
25b92169ae
fix(core): Fix OAuth2 callback for grantType=clientCredentials
( #6500 )
...
Co-authored-by: agobrech <ael.gobrecht@gmail.com>
2023-06-21 12:25:27 +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
कारतोफ्फेलस्क्रिप्ट™
6ccab3eaaa
feat(Webhook Node): Stream binary response in lastNode.firstEntryBinary
mode ( #6463 )
2023-06-19 13:54:56 +02:00
कारतोफ्फेलस्क्रिप्ट™
9978e2760b
fix(core): Fix the url sent in the password-reset emails ( #6466 )
2023-06-17 10:23:22 +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
Csaba Tuncsik
1fe6459569
feat: Audit Logs - add new page to frontend [WIP] (no-changelog) ( #6418 )
...
* feat: Audit Logs (WIP)
* feat: Audit Logs license depending contents
* fix(editor): simplify import
* fix(editor): add audit logs to server
2023-06-15 08:33:28 +02:00
github-actions[bot]
93a8236155
🚀 Release 0.233.0 ( #6428 )
...
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-06-14 16:28:08 +02:00
Jan Oberhauser
10bb5be542
Merge tag 'n8n@0.232.0'
2023-06-14 14:34:12 +02:00
Michael Auerswald
cc44af9243
fix(core): Allow all executions to be stopped ( #6386 )
...
* allow all executions to be stopped and fix display issue
* limit cancelation and add recover for unknown states
2023-06-08 09:17:59 +02:00
github-actions[bot]
72448229d7
🚀 Release 0.232.0 ( #6399 )
...
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-06-07 15:29:04 +03:00
Jon
3a6af3b2a2
refactor(LoneScale List Node)!: Rename to LoneScale ( #6337 )
2023-06-06 16:13:58 +01:00
Csaba Tuncsik
dba3f44bc0
fix(editor): Adding branch color ( #6380 )
...
* fix(editor): Adding branch color
* fix(editor): backend refactor preferences update
* fix(editor): frontend refactor preferences update
2023-06-06 11:23:53 +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
agobrech
3a1e96dc6d
ci: Improve Test-worklows messages ( #6290 )
...
* Update test-worklows action
* Improve error messages
* Fix output data to slack
* Fix slackmessage
* add github flag
* add slack config
* Add result to github output
* Fix output string
* Remove old comment for oauth2
* Remove console.logs
* Improve message
* Update to different slack action
* update payload
* Fix wrong json
* debugging
* Revert "update payload"
This reverts commit 4ea955c85e
.
* Reverted to old slack action
* Update slack config
* Remove fallback value
* Change config name
* tests
* more tests
* tests
* Use single message
* message fixes
* Final fixes
* Correct channel
* delete slack.yml config
* keep unused Export credentials step for later
---------
Co-authored-by: Marcus <marcus@n8n.io>
2023-06-05 11:20:58 +02:00
Jan Oberhauser
4162b7b38a
Merge tag 'n8n@0.231.0'
2023-06-05 11:19:11 +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
Iván Ovejero
85500d76fb
refactor: Add deprecation notice for UM disabled mode ( #6367 )
2023-06-02 13:26:12 +02:00
Iván Ovejero
de77762e51
refactor: Add deprecation notice for basic auth and JWT auth ( #6349 )
2023-06-01 11:22:29 +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
github-actions[bot]
3e2eb15a9d
🚀 Release 0.231.0 ( #6344 )
...
* 🚀 Release 0.231.0
* Update CHANGELOG.md
---------
Co-authored-by: krynble <krynble@users.noreply.github.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-05-31 13:55:26 +02:00
Milorad FIlipović
04cfa548af
feat(editor): Implement Resource Mapper component ( #6207 )
...
* ⚡ scaffolding
* ⚡ finished scaffolding
* ⚡ renamed types
* ⚡ updated subtitle
* ⚡ renamed functions file, UI updates
* ⚡ query parameters fixes, ui updates, refactoring
* ⚡ fixes for credentials test, setup for error parsing
* ⚡ rlc for schema and table, error handling tweaks
* ⚡ delete operation, new options
* ⚡ columns loader
* ⚡ linter fixes
* ⚡ where clauses setup
* ⚡ logic for processing where clauses
* ⚡ select operation
* ⚡ refactoring
* ⚡ data mode for insert and update, wip
* ⚡ data mapping, insert update, skip on conflict option
* ⚡ select columns with spaces fix
* ⚡ update operation update, wip
* ⚡ finished update operation
* ⚡ upsert operation
* ⚡ ui fixes
* Copy updates.
* Copy updates.
* ⚡ option to convert empty strings to nulls, schema checks
* ⚡ UI requested updates
* ⚡ ssh setup WIP
* ⚡ fixes, ssh WIP
* ⚡ ssh fixes, credentials
* ⚡ credentials testing update
* ⚡ uncaught error fix
* ⚡ clean up
* ⚡ address in use fix
* ⚡ improved error message
* ⚡ tests setup
* ⚡ unit tests wip
* ⚡ config files clean up
* ⚡ utils unit tests
* ⚡ refactoring
* ⚡ setup for testing operations, tests for deleteTable operation
* ⚡ executeQuery and insert operations tests
* ⚡ select, update, upsert operations tests
* ⚡ runQueries tests setup
* ⚡ hint to query
* Copy updates.
* ⚡ ui fixes
* ⚡ clean up
* ⚡ error message update
* ⚡ ui update
* Minor tweaks to query params decription.
* feat(Google Sheets Node): Implement Resource mapper in Google Sheets node (#5752 )
* ✨ Added initial resource mapping support in google sheets node
* ✨ Wired mapping API endpoint with node-specific logic for fetching mapping fields
* ✨ Implementing mapping fields logic for google sheets
* ✨ Updating Google Sheets execute methods to support resource mapper fields
* 🚧 Added initial version of `ResourceLocator` component
* 👌 Added `update` mode to resource mapper modes
* 👌 Addressing PR feedback
* 👌 Removing leftover const reference
* 👕 Fixing lint errors
* ⚡ singlton for conections
* ⚡ credentials test fix, clean up
* feat(Postgres Node): Add resource mapper to new version of Postgres node (#5814 )
* ⚡ scaffolding
* ⚡ finished scaffolding
* ⚡ renamed types
* ⚡ updated subtitle
* ⚡ renamed functions file, UI updates
* ⚡ query parameters fixes, ui updates, refactoring
* ⚡ fixes for credentials test, setup for error parsing
* ⚡ rlc for schema and table, error handling tweaks
* ⚡ delete operation, new options
* ⚡ columns loader
* ⚡ linter fixes
* ⚡ where clauses setup
* ⚡ logic for processing where clauses
* ⚡ select operation
* ⚡ refactoring
* ⚡ data mode for insert and update, wip
* ⚡ data mapping, insert update, skip on conflict option
* ⚡ select columns with spaces fix
* ⚡ update operation update, wip
* ⚡ finished update operation
* ⚡ upsert operation
* ⚡ ui fixes
* Copy updates.
* Copy updates.
* ⚡ option to convert empty strings to nulls, schema checks
* ⚡ UI requested updates
* ⚡ ssh setup WIP
* ⚡ fixes, ssh WIP
* ⚡ ssh fixes, credentials
* ⚡ credentials testing update
* ⚡ uncaught error fix
* ⚡ clean up
* ⚡ address in use fix
* ⚡ improved error message
* ⚡ tests setup
* ⚡ unit tests wip
* ⚡ config files clean up
* ⚡ utils unit tests
* ⚡ refactoring
* ⚡ setup for testing operations, tests for deleteTable operation
* ⚡ executeQuery and insert operations tests
* ⚡ select, update, upsert operations tests
* ⚡ runQueries tests setup
* ⚡ hint to query
* Copy updates.
* ⚡ ui fixes
* ⚡ clean up
* ⚡ error message update
* ⚡ ui update
* Minor tweaks to query params decription.
* ✨ Updated Postgres node to use resource mapper component
* ✨ Implemented postgres <-> resource mapper type mapping
* ✨ Updated Postgres node execution to use resource mapper fields in v3
* 🔥 Removing unused import
---------
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
* feat(core): Resource editor componend P0 (#5970 )
* ✨ Added inital value of mapping mode dropdown
* ✨ Finished mapping mode selector
* ✨ Finished implementing mapping mode selector
* ✨ Implemented 'Columns to match on' dropdown
* ✨ Implemented `loadOptionsDependOn` support in resource mapper
* ✨ Implemented initial version of mapping fields
* ✨ Implementing dependant fields watcher in new component setup
* ✨ Generating correct resource mapper field types. Added `supportAutoMap` to node specification and UI. Not showing fields with `display=false`. Pre-selecting matching columns if it's the only one
* ✨ Handling matching columns correctly in UI
* ✨ Saving and loading resourceMapper values in component
* ✨ Implemented proper data saving and loading
* ✨ ResourceMapper component refactor, fixing value save/load
* ✨ Refactoring MatchingColumnSelect component. Updating Sheets node to use single key match and Postgres to use multi key
* ✨ Updated Google Sheets node to work with the new UI
* ✨ Updating Postgres Node to work with new UI
* ✨ Additional loading indicator that shown if there is no mapping mode selector
* ✨ Removing hard-coded values, fixing matching columns ordering, refactoring
* ✨ Updating field names in nodes
* ✨ Fixing minor UI issues
* ✨ Implemented matching fields filter logic
* ✨ Moving loading label outside of fields list
* ✅ Added initial unit tests for resource mapper
* ✅ Finished default rendering test
* ✅ Test refactoring
* ✅ Finished unit tests
* 🔨 Updating the way i18n is used in resource mapper components
* ✔️ Fixing value to match on logic for postgres node
* ✨ Hiding mapping fields when auto-map mode is selected
* ✨ Syncing selected mapping mode between components
* ✨ Fixing dateTime input rendering and adding update check to Postgres node
* ✨ Properly handling database connections. Sending null for empty string values.
* 💄 Updated wording in the error message for non-existing rows
* ✨ Fixing issues with selected matching values
* ✔️ Updating unit tests after matching logic update
* ✨ Updating matching columns when new fields are loaded
* ✨ Defaulting to null for empty parameter values
* ✨ Allowing zero as valid value for number imputs
* ✨ Updated list of types that use datepicker as widger
* ✨ Using text inputs for time types
* ✨ Initial mapping field rework
* ✨ Added new component for mapping fields, moved bit of logic from root component to matching selector, fixing some lint errors
* ✨ Added tooltip for columns that cannot be deleted
* ✨ Saving deleted values in parameter value
* ✨ Implemented control to add/remove mapping fields
* ✨ Syncing field list with add field dropdown when changing dependent values
* ✨ Not showing removed fields in matching columns selector. Updating wording in matching columns selector description
* ✨ Implementing disabled states for add/remove all fields options
* ✨ Saving removed columns separately, updating copy
* ✨ Implemented resource mapper values validation
* ✨ Updated validation logic and error input styling
* ✨ Validating resource mapper fields when new nodes are added
* ✨ Using node field words in validation, refactoring resource mapper component
* ✨ Implemented schema syncing and add/remove all fields
* ✨ Implemented custom parameter actions
* ✨ Implemented loading indicator in parameter options
* 🔨 Removing unnecessary constants and vue props
* ✨ Handling default values properly
* ✨ Fixing validation logic
* 👕 Fixing lint errors
* ⚡ Fixing type issues
* ⚡ Not showing fields by default if `addAllFields` is set to `false`
* ✨ Implemented field type validation in resource mapper
* ✨ Updated casing in copy, removed all/remove all option from bottom menu
* ✨ Added auto mapping mode notice
* ✨ Added support for more types in validation
* ✨ Added support for enumerated values
* ✨ Fixing imports after merging
* ✨ Not showing removed fields in matching columns selector. Refactoring validation logic.
* 👕 Fixing imports
* ✔️ Updating unit tests
* ✅ Added resource mapper schema tests
* ⚡ Removing `match` from resource mapper field definition, fixing matching columns loading
* ⚡ Fixed schema merging
* ⚡ update operation return data fix
* ⚡ review
* 🐛 Added missing import
* 💄 Updating parameter actions icon based on the ui review
* 💄 Updating word capitalisation in tooltips
* 💄 Added empty state to mapping fields list
* 💄 Removing asterisk from fields, updating tooltips for matching fields
* ⚡ Preventing matching fields from being removed by 'Remove All option'
* ⚡ Not showing hidden fields in the `Add field` dropdown
* ⚡ Added support for custom matching columns labels
* ⚡ query optimization
* ⚡ fix
* ⚡ Optimizing Postgres node enumeration logic
* ⚡ Added empty state for matching columns
* ⚡ Only fully loading fields if there is no schema fetched
* ⚡ Hiding mapping fields if there is no matching columns available in the schema
* ✔️ Fixing minor issues
* ✨ Implemented runtime type validation
* 🔨 Refactoring validation logic
* ✨ Implemented required check, added more custom messages
* ✨ Skipping boolean type in required check
* Type check improvements
* ✨ Only reloading fields if dependent values actually change
* ✨ Adding item index to validation error title
* ✨ Updating Postgres fetching logic, using resource mapper mode to determine if a field can be deleted
* ✨ Resetting field values when adding them via the addAll option
* ⚡ Using minor version (2.2) for new Postgres node
* ⚡ Implemented proper date validation and type casting
* 👕 Consolidating typing
* ✅ Added unit tests for type validations
* 👌 Addressing front-end review comments
* ⚡ More refactoring to address review changes
* ⚡ Updating leftover props
* ⚡ Added fallback for ISO dates with invalid timezones
* Added timestamp to datetime test cases
* ⚡ Reseting matching columns if operation changes
* ⚡ Not forcing auto-increment fields to be filled in in Postgres node. Handling null values
* 💄 Added a custom message for invalid dates
* ⚡ Better handling of JSON values
* ⚡ Updating codemirror readonly stauts based on component property, handling objects in json validation
* Deleting leftover console.log
* ⚡ Better time validation
* ⚡ Fixing build error after merging
* 👕 Fixing lint error
* ⚡ Updating node configuration values
* ⚡ Handling postgres arrays better
* ⚡ Handling SQL array syntax
* ⚡ Updating time validation rules to include timezone
* ⚡ Sending expressions that resolve to `null` or `undefined` by the resource mapper to delete cell content in Google Sheets
* ⚡ Allowing removed fields to be selected for match
* ⚡ Updated the query for fetching unique columns and primary keys
* ⚡ Optimizing the unique query
* ⚡ Setting timezone to all parsed dates
* ⚡ Addressing PR review feedback
* ⚡ Configuring Sheets node for production, minor vue component update
* New cases added to the TypeValidation test.
* ✅ Tweaking validation rules for arrays/objects and updating test cases
---------
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
2023-05-31 11:56:09 +02:00
Michael Auerswald
792b1c1ffb
feat(core): Add metadata (customdata) to event log ( #6334 )
...
* add metadata (customdata) to event log
* lint fix
* use reduce
2023-05-30 17:59:55 +02:00
Michael Auerswald
77e3f1551d
feat: Add manual login option and password reset link for SSO ( #6328 )
...
* consolidate IUserSettings in workflow and add allowSSOManualLogin
* add pw reset link to owners ui
2023-05-30 12:52:02 +02:00
Cornelius Suermann
0e4c615d0d
fix(core): Do not track errored workflow executions for automated executions (no-changelog) ( #6322 )
...
* fix(core): Do not track errored workflow executions for automated executions
* fix test
* fix test
* fix test
* do not track 'Workflow execution count' event when all counts are 0
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
2023-05-28 12:08:46 +02:00
Michael Auerswald
0631f69d98
fix(core): Optimize getSharedWorkflowIds query ( #6314 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-05-26 18:02:55 +02:00
Jan Oberhauser
f08373490e
Merge tag 'n8n@0.230.0'
2023-05-25 14:30:18 +02:00
Jon
1eecb86e06
fix: Add ldapts to nodes-base package (no-changelog) ( #6315 )
2023-05-25 12:56:16 +02:00
github-actions[bot]
eb008395f1
🚀 Release 0.230.0 ( #6310 )
...
* 🚀 Release 0.230.0
* Update CHANGELOG.md
---------
Co-authored-by: maspio <maspio@users.noreply.github.com>
Co-authored-by: Marcus <56945030+maspio@users.noreply.github.com>
2023-05-24 13:42:39 +02:00
Iván Ovejero
fe937a0ee3
ci: Forbid skipping tests (no-changelog) ( #6199 )
2023-05-24 09:45:37 +02:00
कारतोफ्फेलस्क्रिप्ट™
e046f656fe
feat(core): Remove all floating promises. Enforce @typescript-eslint/no-floating-promises
( #6281 )
2023-05-24 02:01:45 +02:00
Alex Grozav
e3a53fd19d
feat: Add SSO SAML metadataUrl support and various improvements ( #6139 )
...
* feat: add various sso improvements
* fix: remove test button assertion
* fix: fix type imports
* test: attempt fixing unit tests
* fix: changed to using useToast for error toasts
* Minor copy tweaks and swapped buttons position.
* fix locale ref
* align error with UI wording
* simplify saving ux
* fix pretty
* fix: update saml sso setting saving
* fix: undo try/catch changes when saving saml config
* metadata url tab selected at first
* chore: fix linting issue
* test: fix activation checkbox test
---------
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
2023-05-23 16:25:28 +03:00
Omar Ajoue
42c79cd6f1
fix: Initialize license in queue mode correctly ( #6301 )
2023-05-23 13:01:50 +02:00
Omar Ajoue
55b755cb44
fix: Prevent removing manual executions when setting says to save ( #6300 )
2023-05-23 13:00:26 +02:00
Michael Auerswald
ed7f3b845f
fix(core): Optimize SharedWorkflow queries ( #6297 )
...
* optimize SharedWorkflow queries
* fix int to string ids
2023-05-23 09:40:38 +02:00
कारतोफ्फेलस्क्रिप्ट™
37506050c3
fix(core): Prevent app crashes because of unhandled promises in poll and trigger nodes ( #6278 )
...
fixes https://community.n8n.io/t/n8n-server-container-after-read-econnreset-and-write-epipe-errors-in-imap-version-2-node/24012
2023-05-19 15:43:50 +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
github-actions[bot]
16fade7d41
🚀 Release 0.229.0 ( #6267 )
...
* 🚀 Release 0.229.0
* Update CHANGELOG.md
---------
Co-authored-by: csuermann <csuermann@users.noreply.github.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2023-05-17 13:35:26 +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
agobrech
8ae2d801d8
feat(Respond to Webhook Node): Move from Binary Buffer to Binary streaming ( #5613 )
...
* replace binary buffer with binary streaming
* Add binary assertion and remove duplicate code
* handle streams correctly
* fix binary response in `own` mode
* fix stream response missing headers
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Marcus <marcus@n8n.io>
2023-05-17 10:06:24 +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
Tom
79d0a0f247
feat(core): Return OAuth2 error body if available ( #5794 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-05-16 11:19:41 +02:00
Ricardo Espinoza
cd7c312fbd
feat(editor): Add cloud ExecutionsUsage and API blocking using licenses ( #6159 )
...
* Add ExecutionsUsage component
* set $sidebar-expanded-width back to 200px
* add days using interpolation
* Rename PlanData type to CloudPlanData
* Rename Metadata type to PlanMetadata
* Make prop block in the update button
* Use variable in line-height
* Remove progressBarSection class
* fix trial expiration calculation
* mock expirationDate and fix issue with days left
* Remove unnecesary property from class .container
* inject component data via props
* Check for plan data during app mounting and keep data in the store
* Remove mounted hook
* redirect when upgrade plan is clicked
* Remove computed properties
* Remove instance property as it's not needed anymore
* Flatten plan object
* remove console.log
* Add all cloud types within its own namespace
* keep redirection inside component
* get computed properties back
* Improve polling logic
* Move cloudData to its own store
* Remove commented interfaces
* remove cloudPlan from user store
* fix imports
* update logic for userIsTrialing method
* centralize userIsTrialing method
* redirect to production change plan page always
* Call staging or production cloud api depending on base URL
* remove setting store form ExecutionUsage.vue
* fix linting issue
* Add trial group to PlanMetadata group
* Move helpers into the store
* make staging url check more specific
* make cloud state nullable
* fix linting issue
* swap mockup date for endpoint
* Make getCurrentPlan async
* asas
* Improvements
* small improvements
* chore: resolve conflicts
* make sure there is data before calculating trial expiration
* Fix issue with component not loading on first page load
* type safety improvements
* apply component ui feedback
* fix linting issue
* chore: clean up unnecessary change from merge conflict
* feat: Block api feature using licenses, show notice page for trial cloud users (#6187 )
* rename planSpec to plan
* Remove instance property as it's not needed anymore
* Flatten plan object
* remove console.log
* feat: disable api using license
* feat: add api page
* chore: resolve conflicts
* chore: resolve conflicts
* feat: update and refactor a bit
* fix: update endpoints
* fix: update endpoints
* fix: use host
* feat: update copy
* fix linting issues
---------
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* add pluralization to days left text
---------
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2023-05-15 17:16:13 -04: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
कारतोफ्फेलस्क्रिप्ट™
a4c0cc9b5c
feat(core): Reduce the number of events sent to Sentry ( #6235 )
2023-05-15 15:54:48 +02:00
कारतोफ्फेलस्क्रिप्ट™
51c89db6dc
ci: Fix linting issue on master (no-changelog) ( #6232 )
2023-05-11 17:13:23 +02:00
कारतोफ्फेलस्क्रिप्ट™
9db49d0c18
fix(core): Make sure that special polling parameters are available on community nodes as well ( #6230 )
...
This broke in 0.227.0.
2023-05-11 16:19:55 +02:00
github-actions[bot]
d5c74bd2b4
🚀 Release 0.228.0 ( #6219 )
...
* 🚀 Release 0.228.0
* Update CHANGELOG.md
---------
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-05-11 11:50:17 +02:00
कारतोफ्फेलस्क्रिप्ट™
c42ae651a0
ci: Fix linting issue on master (no-changelog) ( #6222 )
2023-05-11 10:37:11 +02:00
कारतोफ्फेलस्क्रिप्ट™
500c0ebce3
fix(core): Ensure DB repositories are initialized before the DB migrations are run ( #6220 )
...
also remove the need to re-open sqlite db connection
2023-05-10 17:53:04 +02:00
Omar Ajoue
d5e62ff096
fix: Prevent unnecessary error messages also for data loaded flag ( #6201 )
...
* fix: Prevent unnecessary error messages also for data loaded flag
* refactor: Search if data has been loaded before trying to save and fire other events
* fix broken test
* fix lint issue
2023-05-10 13:10:39 +02:00
कारतोफ्फेलस्क्रिप्ट™
6eed763f23
ci: Fix linting issue on master (no-changelog) ( #6217 )
2023-05-10 11:09:11 +02:00
कारतोफ्फेलस्क्रिप्ट™
9e7b9fb443
feat(core): Improve health check ( #6205 )
...
* remove unnecesary Db re-initialization
this is from before we added `Db.init` in `WorkflowRunnerProcess`
* feat(core): Improved health check
* make health check not care about DB connections
* close DB connections, and shutdown the timer
2023-05-10 10:27:04 +02:00
Omar Ajoue
06948b5ba5
fix: Correctly save executions that failed when polling as error instead of new ( #6192 )
2023-05-09 12:58:08 +02:00
Omar Ajoue
fad5781635
refactor: Add deprecation notice for WEBHOOK_TUNNEL_URL ( #6194 )
2023-05-08 15:52:13 +02:00
Omar Ajoue
1da71645f2
refactor(core): Add deprecation notice for own mode ( #6195 )
...
* refactor: Add deprecation notice for own mode
* Undo default value change
2023-05-08 15:03:44 +02:00
कारतोफ्फेलस्क्रिप्ट™
b499d27f08
feat(core): Update config defaults for for v1 (no-changelog) ( #6196 )
...
feat(core): Change config defaults when the release is V1
2023-05-08 13:46:20 +02:00
Omar Ajoue
0673a39fa0
refactor: Add deprecation notice for MySQL and MariaDB ( #6189 )
...
* refactor: Add deprecation notice for MySQL and MariaDB
* Update packages/cli/src/commands/BaseCommand.ts
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
---------
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2023-05-08 12:16:20 +02:00
Michael Auerswald
f00b2ae3ea
fix(core): Move nodeExecute InternalHook calls to hookFunctionsSave ( #6193 )
...
nodeExecute InternalHooks to hookFunctionsSave
2023-05-05 17:49:43 +02:00
कारतोफ्फेलस्क्रिप्ट™
85a6ace56b
ci: Fix test database cleanup (no-changelog) ( #6188 )
2023-05-05 12:12:37 +02:00
कारतोफ्फेलस्क्रिप्ट™
82fe6383ef
refactor(core): Delete boilerplate code across migrations (no-changelog) ( #5254 )
2023-05-05 11:28:59 +02:00
OlegIvaniv
5abdba2304
ci: Revert full db reset for e2e (no-changelog) ( #6182 )
2023-05-04 16:19:31 +02:00
github-actions[bot]
2926fb50db
🚀 Release 0.227.0 ( #6167 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-05-03 15:39:00 +02:00
Cornelius Suermann
97578c7505
fix: Log unhandled errors during license activation (no-changelog) ( #6165 )
2023-05-03 14:26:29 +02:00
OlegIvaniv
e88232ede2
test: Address flaky setup e2e (no-changelog) ( #6085 )
...
* test: Add /setup intercept for `skipSetup` command (no-changelog)
* Drop all tables for e2e reset, intercept account setup request
* Fix linting issues
* Allow to skip setup account request intercept and linting fixes
* Make sure variables are loaded
* Use PATCH for enabling of e2e features
* Do not exclude migration table from truncation
* Add user sign-up intercept
2023-05-03 14:06:06 +02:00
Ricardo Espinoza
570790ed0c
fix(core): Fix bug running addUserActivatedColumn migration on MariaDB ( #6157 )
2023-05-03 11:04:47 +02:00
Cornelius Suermann
a3d26eff79
fix: Prevent invocations of 'GET /rest/license' from returning an error when ephemeral licenses are used ( #6154 )
...
* fix: Prevent error when invoking with an ephemeral license
* add tests
2023-05-03 10:43:13 +02:00
Michael Kret
a0dd17e115
fix(core): Better error message in Webhook node when using the POST method
2023-05-02 17:27:05 +03:00
Michael Auerswald
25fe14be56
fix(core): Remove SAML config metadataUrl if XML metadata is set directly ( #6143 )
...
remove metadataUrl if metadata is set directly
2023-05-02 11:22:34 +02:00
Michael Auerswald
839a56a682
fix(core): Fix canceled execution status ( #6142 )
2023-05-02 10:37:35 +02:00
Iván Ovejero
06fa6f1fb3
ci: Expand ESLint to tests in BE packages (no-changelog) ( #6147 )
...
* 🔧 Adjust base ESLint config
* 🔧 Adjust `lint` and `lintfix` in `nodes-base`
* 🔧 Include `test` and `utils` in `nodes-base`
* 📘 Convert JS tests to TS
* 👕 Apply lintfixes
2023-05-02 10:37:19 +02:00
Michael Auerswald
c0b1cddc91
fix(core): Improve saml endpoints and audit events ( #6107 )
...
* update saml endpoints and login audit
* fix(core): Skip auth for controllers/routes that don't use the `Authorized` decorator
* fix linting
* lint fix
* add tests and fix endpoint permission
* add hook test
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-04-28 18:11:33 +02:00
Ricardo Espinoza
5974af1903
fix(core): Only take into account users that active for the first time to show activation modal (no-changelog) ( #6121 )
...
only take into account users that active for the first time
2023-04-28 10:56:24 +02:00
कारतोफ्फेलस्क्रिप्ट™
59aee2270b
fix(core): Skip auth for controllers/routes that don't use the Authorized
decorator, or use Authorized('none')
( #6106 )
2023-04-27 12:51:55 +02:00
github-actions[bot]
4f56194035
🚀 Release 0.226.0 ( #6087 )
2023-04-26 16:05:03 +02:00
कारतोफ्फेलस्क्रिप्ट™
6335e0938d
fix(editor): Make the frontend work again when NODE_FUNCTION_ALLOW_EXTERNAL
is set (no-changelog) ( #6058 )
2023-04-25 18:18:46 +02:00
Iván Ovejero
88724bb056
ci: Enforce no unused imports (no-changelog) ( #6073 )
2023-04-25 11:47:03 +02:00
Michael Auerswald
f3b4701863
feat(core): Manage version control settings ( #6079 )
...
* expand VersionControlPreferences
* use Authorized decorator for vc endpoints instead of middleware
* validate preferences with class-validator
* cleanup
* cleanup
2023-04-24 17:13:25 +02:00
Ricardo Espinoza
13ef3c1d20
feat(core): Add instanceId to n8n.ready hook (no-changelog) ( #6007 )
...
* add instanceId to n8n.ready hook
* Set instanceId during configuration method
2023-04-24 09:12:00 -04:00
कारतोफ्फेलस्क्रिप्ट™
308a94311f
refactor: Async functions don't need to explicitly return promises (no-changelog) ( #6041 )
2023-04-24 13:17:08 +02:00
Jimw383
03be725cef
SSO/SAML : add Base URL to redirects in acsHandler ( #5923 )
...
add Base URL to redirects in acsHandler
I modified the redirections to include the base URL of the instance so that the redirects remain correct even if the instance is accessed from a subdirectory.
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
2023-04-24 12:36:50 +02:00
Iván Ovejero
57aab63c10
refactor: Integrate consistent-type-imports
in FE packages (no-changelog) ( #6060 )
...
* 👕 Move `consistent-type-imports` to top level
* 👕 Apply lintfixes
* 👕 Apply more lintfixes
* 👕 More lintfixes
* 👕 More lintfixes
2023-04-24 12:18:24 +02:00
Cornelius Suermann
eaf7090919
fix(core): Skip license activation when instance was already activated ( #6064 )
2023-04-24 11:46:04 +02:00
कारतोफ्फेलस्क्रिप्ट™
1eeadc6114
refactor(core): Setup decorator based RBAC (no-changelog) ( #5787 )
2023-04-24 11:45:31 +02:00
Ricardo Espinoza
8a38624cbc
feat(core): Add migration to add property userActivated to user settings (no-changelog) ( #5940 )
...
* Add userActivated migration
* Fix migration logic
* Remove duplication when retrieving the activated users
* Fix bug updating settings in mysql
* Make userSettings type conform with naming convention
* Disable naming convention rule only in IDatabaseCollections interface
* Fix down method in Postgres migration
* Reset '{}' to NULL when reversing migration
2023-04-21 11:15:08 -04: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
Michael Auerswald
ac245fdb8d
refactor(editor): Consolidate IN8nUISettings interface ( #6055 )
...
* consolidate IN8nUISettings
* cleanup
2023-04-21 13:30:57 +02:00
Michael Kret
0e93fe064e
refactor(core): Forbid raw enums (no-changelog)
2023-04-21 14:23:15 +03:00
Michael Auerswald
da31925083
refactor(core): Sort variables files under variables folder ( #6051 )
...
sort variables files under variables folder
2023-04-21 13:08:16 +02:00
OlegIvaniv
444ed1bf0e
fix(core): Add breaking change record for domain and url matching (no-changelog) ( #6048 )
...
* fix(core): Add breaking change record for domain and url matching
* Correct version
2023-04-21 12:08:24 +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
Jan Oberhauser
589f19e1ee
docs: Add proprietary license text (no-changelog) ( #6038 )
2023-04-20 18:49:09 +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