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
कारतोफ्फेलस्क्रिप्ट™
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
कारतोफ्फेलस्क्रिप्ट™
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
कारतोफ्फेलस्क्रिप्ट™
abe7f71627
refactor: Remove pre-setup prompt on owner setup ( #6495 )
2023-06-22 21:11:38 +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
कारतोफ्फेलस्क्रिप्ट™
8dc828b704
fix(core): Fix the db:revert
command (no-changelog) ( #6506 )
2023-06-22 09:06:31 +02:00
Ricardo Espinoza
6ab350209d
feat(core): Add GET /users endpoints to public API ( #6360 )
2023-06-21 13:22:00 +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
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
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
Michael Auerswald
0631f69d98
fix(core): Optimize getSharedWorkflowIds query ( #6314 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-05-26 18:02:55 +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
कारतोफ्फेलस्क्रिप्ट™
c42ae651a0
ci: Fix linting issue on master (no-changelog) ( #6222 )
2023-05-11 10:37: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
कारतोफ्फेलस्क्रिप्ट™
85a6ace56b
ci: Fix test database cleanup (no-changelog) ( #6188 )
2023-05-05 12:12:37 +02:00
Cornelius Suermann
97578c7505
fix: Log unhandled errors during license activation (no-changelog) ( #6165 )
2023-05-03 14:26:29 +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
कारतोफ्फेलस्क्रिप्ट™
308a94311f
refactor: Async functions don't need to explicitly return promises (no-changelog) ( #6041 )
2023-04-24 13:17:08 +02:00
कारतोफ्फेलस्क्रिप्ट™
1eeadc6114
refactor(core): Setup decorator based RBAC (no-changelog) ( #5787 )
2023-04-24 11:45:31 +02: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
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
कारतोफ्फेलस्क्रिप्ट™
c87262a312
docs: Stop assuming the user's gender in code comments (no-changelog) ( #6015 )
2023-04-19 16:00:49 +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
Omar Ajoue
49d838f628
fix(core): Fix broken API permissions in public API ( #5978 )
2023-04-14 11:05:42 +02:00
github-actions[bot]
492496fca4
🚀 Release 0.224.0 ( #5957 )
2023-04-12 15:44:10 +02:00
कारतोफ्फेलस्क्रिप्ट™
10f8c35dbb
refactor(core): Use injectable classes for db repositories (part-1) (no-changelog) ( #5953 )
...
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2023-04-12 10:59:14 +02:00
Csaba Tuncsik
f4e59499fc
feat(editor): SSO setup ( #5736 )
...
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* Merge remote-tracking branch 'origin/master' into pay-170-sso-set-up-page
# Conflicts:
# packages/cli/src/sso/saml/routes/saml.controller.ee.ts
* feat(editor): Prevent SSO settings page route
* feat(editor): some UI improvements
* fix(editor): SSO settings saml config optional chaining
* fix return values saml controller
* fix(editor): drop dompurify
* fix(editor): save xml as is
* return authenticationMethod with settings
* fix(editor): add missing prop to server
* chore(editor): code formatting
* fix ldap/saml enable toggle endpoint
* fix missing import
* prevent faulty ldap setting from breaking startup
* remove sso fake-door from users page
* fix(editor): update SSO settings route permissions + unit testing
* fix(editor): update vite config for test
* fix(editor): add paddings to SSO settings page buttons, add translation
* fix(editor): fix saml unit test
* fix(core): Improve saml test connection function (#5899 )
improve-saml-test-connection return
---------
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
2023-04-04 14:28:29 +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
कारतोफ्फेलस्क्रिप्ट™
5bcab8fcbe
fix(core): Password reset should pass in the correct values to external hooks ( #5842 )
2023-03-30 16:44:39 +02:00
Michael Auerswald
fa5bc814b0
fix(core): Deactivate active workflows during import ( #5840 )
...
* deactivate imported workflows
* improve test
* fix for combined import (and test)
* cleanup
2023-03-30 15:33:30 +02:00
कारतोफ्फेलस्क्रिप्ट™
e4796c169b
ci: Run db tests with a table-prefix as well (no-changelog) ( #5818 )
2023-03-30 15:09:13 +02:00
Michael Auerswald
2216455760
feat(core): Prevent non owners password reset when saml is enabled ( #5788 )
...
* prevent non owners from pw reset when saml is enabled
* improve tests
* change error type
2023-03-30 12:44:53 +02:00
कारतोफ्फेलस्क्रिप्ट™
58fda255fe
refactor: Revert "refactor(core): Use typedi to manage EventBus singletons ( #5795 )" (no-changelog) ( #5825 )
...
Revert "refactor(core): Use typedi to manage EventBus singletons (no-changelog) (#5795 )"
This reverts commit 522c790817
.
2023-03-30 09:59:04 +02:00
कारतोफ्फेलस्क्रिप्ट™
522c790817
refactor(core): Use typedi to manage EventBus singletons (no-changelog) ( #5795 )
2023-03-29 20:38:47 +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
a81ca7c19c
feat(core): Read ephemeral license from environment and clean up ee flags ( #5797 )
...
* remove enterprise feature schema for license.cert
* bump license sdk version
* Update packages/cli/package.json
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
---------
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2023-03-28 17:21:40 +02:00
Michael Auerswald
f15f4bdcf2
feat(core): Convert eventBus controller to decorator style and improve permissions ( #5779 )
2023-03-27 12:30:03 +02:00
Michael Auerswald
47ee357059
feat(core): Improve ldap/saml toggle and tests ( #5771 )
...
* improve ldap/saml toggle and tests
* import cleanup
* reject regular login users when saml is enabled
* lint fix
2023-03-24 17:46:06 +01:00
कारतोफ्फेलस्क्रिप्ट™
161de110ce
fix(core): Improve community nodes loading ( #5608 )
2023-03-24 17:04:26 +01:00
कारतोफ्फेलस्क्रिप्ट™
4c583e2be4
ci: Fix saml.api.test.ts (no-changelog) ( #5764 )
2023-03-23 16:54:35 +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
Ricardo Espinoza
3718612bd7
test(core): Use instance owner instead of owner shell for SAML tests (no-changelog) ( #5706 )
...
Use instance owner instead of owner shell
2023-03-16 15:34:28 +01:00
कारतोफ्फेलस्क्रिप्ट™
9bd7529193
refactor(core): Use an IoC container to manage singleton classes [Part-2] (no-changelog) ( #5690 )
...
* use typedi for UserManagementMailer
* use typedi for SamlService
* fix typos
* use typedi for Queue
* use typedi for License
* convert some more code to use typedi
2023-03-16 15:34:13 +01:00
कारतोफ्फेलस्क्रिप्ट™
b4e60c3b47
refactor: Rewrite workflow public-api tests to avoid timeouts (no-changelog) ( #5696 )
2023-03-15 14:24:09 +01:00
कारतोफ्फेलस्क्रिप्ट™
3831201aaf
ci: Setup code-coverage reporting (no-changelog) ( #5669 )
2023-03-10 16:53:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
356e916194
refactor(core): Convert more routes to use the decorator pattern (no-changelog) ( #5611 )
...
* move nodeTypes api to a controller class
* move tags api to a controller class
* move LDAP routes to a controller class
* move nodes routes to a controller class
2023-03-09 14:42:13 +01:00
Michael Auerswald
b5179597f3
feat(core): Limit user changes when saml is enabled ( #5577 )
...
* consolidate SSO settings
* update saml settings
* fix type error
* limit user changes when saml is enabled
* add test
2023-03-03 10:05:30 +01:00