Commit graph

625 commits

Author SHA1 Message Date
Jan Oberhauser 60f86f0ae9 🔖 Release n8n@0.186.1 2022-07-14 10:33:02 +02:00
Jan Oberhauser 77da7c28fa ⬆️ n8n-nodes-base@0.186.1 on n8n 2022-07-14 10:31:45 +02:00
Jan Oberhauser b67ec19c8d 🔖 Release n8n@0.186.0 2022-07-13 07:59:26 +00:00
Jan Oberhauser 7af7214529 ⬆️ Set n8n-core@0.126.0, n8n-editor-ui@0.152.0, n8n-nodes-base@0.184.0 and n8n-workflow@0.108.0 on n8n 2022-07-13 07:59:25 +00:00
Ahsan Virani 6b2db8e4f4
refactor: Telemetry updates (#3529)
* Init unit tests for telemetry

* Update telemetry tests

* Test Workflow execution errored event

* Add new tracking logic in pulse

* cleanup

* interfaces

* Add event_version for Workflow execution count event

* add version_cli in all events

* add user saved credentials event

* update manual wf exec finished, fixes

* improve typings, lint

* add node_graph_string in User clicked execute workflow button event

* add User set node operation or mode event

* Add instance started event in FE

* Add User clicked retry execution button event

* add expression editor event

* add input node type to add node event

* add User stopped workflow execution wvent

* add error message in saved credential event

* update stop execution event

* add execution preflight event

* Remove instance started even tfrom FE, add session started to FE,BE

* improve typing

* remove node_graph as property from all events

* move back from default export

* move psl npm package to cli package

* cr

* update webhook node domain logic

* fix is_valid for User saved credentials event

* fix Expression Editor variable selector event

* add caused_by_credential in preflight event

* undo webhook_domain

* change node_type to full type

* add webhook_domain property in manual execution event (#3680)

* add webhook_domain property in manual execution event

* lint fix
2022-07-10 09:53:04 +03:00
Jan Oberhauser 74a824032f 🔖 Release n8n@0.185.0 2022-07-05 07:49:20 +00:00
Jan Oberhauser 43f552679b ⬆️ Set n8n-core@0.125.0, n8n-editor-ui@0.151.0, n8n-nodes-base@0.183.0 and n8n-workflow@0.107.0 on n8n 2022-07-05 07:49:20 +00:00
Jan Oberhauser fd80f45ec9 🔖 Release n8n@0.184.0 2022-06-29 07:21:46 +00:00
Jan Oberhauser bae27c2d31 ⬆️ Set n8n-core@0.124.0, n8n-editor-ui@0.150.0, n8n-nodes-base@0.182.0 and n8n-workflow@0.106.0 on n8n 2022-06-29 07:21:45 +00:00
Iván Ovejero 7879239e03
test: Make oclif commands testable (#3571)
*  Add `@oclif/core`

* 📦 Update `package-lock.json`

* 📘 Export `Logger` for use as type

*  Create `BaseCommand`

* 🐛 Prevent DB re-init

* ♻️ Refactor `reset` command

* 🧪 Fix `reset` test

* 👕 Add lint exception

Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
2022-06-25 21:03:46 -07:00
Jan Oberhauser e3f10b6101 🔖 Release n8n@0.183.0 2022-06-21 00:01:59 +00:00
Jan Oberhauser 6ac232a639 ⬆️ Set n8n-core@0.123.0, n8n-editor-ui@0.149.0, n8n-nodes-base@0.181.0 and n8n-workflow@0.105.0 on n8n 2022-06-21 00:01:59 +00:00
Ben Hesseldieck 6f4a5039e0
⬆️ Upgrade multiple dependencies (#3547)
* ⬆️ upgrade typeorm

* ⬆️ upgrade @types/node

* ⬆️ upgrade mssql

* ⬆️ upgrade monaco-editor to 0.30.1

* ️ update package-lock

Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-06-20 15:17:18 -07:00
Jan Oberhauser a62ceee5fa 🔖 Release n8n@0.182.1 2022-06-16 11:24:18 -07:00
Jan Oberhauser c67d2860c7 ⬆️ Set n8n-core@0.122.1 on n8n 2022-06-16 11:21:54 -07:00
Jan Oberhauser 27da115734 🔖 Release n8n@0.182.0 2022-06-14 17:07:01 +00:00
Jan Oberhauser 63157ce3e0 ⬆️ Set n8n-core@0.122.0, n8n-editor-ui@0.148.0, n8n-nodes-base@0.180.0 and n8n-workflow@0.104.0 on n8n 2022-06-14 17:07:01 +00:00
Iván Ovejero b8e3bcc052
refactor(core): Post-release refactorings of Public API (#3495)
*  Post-release refactorings

* 🧪 Add `--forceExit`

* 🛠 typing refactor (#3486)

* 🐛 Fix middleware arguments

* 👕 Fix lint

*  Restore commented out block

Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
2022-06-14 09:32:19 -07:00
Iván Ovejero c121952324
fix(core): Fix Public API failing to build on Windows (#3499)
*  Add build script

* 📦 Add dependencies

* 📦 Update package-lock.json

* 👕 Ignore `build.mjs`
2022-06-13 12:36:43 -07:00
Jan Oberhauser dfdbcc1eb3 🔖 Release n8n@0.181.2 2022-06-09 14:02:55 +02:00
Jan Oberhauser f94edd13a5 ⬆️ Set n8n-core@0.121.3 on n8n 2022-06-09 14:02:19 +02:00
Jan Oberhauser 22281f4ff9 🔖 Release n8n@0.181.1 2022-06-09 09:16:45 +02:00
Jan Oberhauser 64414fb7a6 ⬆️ Set n8n-core@0.121.2 on n8n 2022-06-09 09:15:31 +02:00
Jan Oberhauser 9a933dcebb 🔖 Release n8n@0.181.0 2022-06-08 19:27:00 +00:00
Jan Oberhauser deec0b0dcc ⬆️ Set n8n-core@0.121.0, n8n-editor-ui@0.147.0, n8n-nodes-base@0.179.0 and n8n-workflow@0.103.0 on n8n 2022-06-08 19:27:00 +00:00
Ricardo Espinoza a18081d749
feat: Add n8n Public API (#3064)
*  Inicial setup

*  Add authentication handler

*  Add GET /users route

*  Improvements

* 👕 Fix linting issues

*  Add GET /users/:identifier endpoint

*  Add POST /users endpoint

*  Add DELETE /users/:identifier endpoint

*  Return error using express native functions

* 👕 Fix linting issue

*  Possibility to add custom middleware

*  Refactor POST /users

*  Refactor DELETE /users

*  Improve cleaning function

*  Refactor GET /users and /users/:identifier

*  Add API spec to route

*  Add raw option to response helper

* 🐛 Fix issue adding custom middleware

*  Enable includeRole parameter in GET /users/:identifier

*  Fix linting issues after merge

*  Add missing config variable

*  General improvements

 asasas

*  Add POST /users tests

* Debug public API tests

* Fix both sets of tests

*  Improvements

*  Load api versions dynamically

*  Add endpoints to UM to create/delete an API Key

*  Add index to apiKey column

* 👕 Fix linting issue

*  Clean open api spec

*  Improvements

*  Skip tests

* 🐛 Fix bug with test

*  Fix issue with the open api spec

*  Fix merge issue

*  Move token enpoints from /users to /me

*  Apply feedback to openapi.yml

*  Improvements to api-key endpoints

* 🐛 Fix test to suport API dynamic loading

*  Expose swagger ui in GET /{version}/docs

*  Allow to disable public api via env variable

*  Change handlers structure

* 🚧 WIP create credential, delete credential complete

* 🐛 fix route for creating api key

*  return api key of authenticated user

*  Expose public api activation to the settings

* ⬆️ Update package-lock.json file

*  Add execution resource

*  Fix linting issues

* 🛠 conditional public api endpoints excluding

* ️ create credential complete

*  Added n8n-card component. Added spacing utility classes.

* ♻️ Made use of n8n-card in existing components.

*  Added api key setup view.

*  Added api keys get/create/delete actions.

*  Added public api permissions handling.

* ♻️ Temporarily disabling card tests.

* ♻️ Changed translations. Storing api key only in component.

*  Added utilities storybook entry

* ♻️ Changed default value for generic copy input.

* 🧹 clean up createCredential

*  Add workflow resource to openapi spec

* 🐛 Fix naming with env variable

*  Allow multifile openapi spec

*  Add POST /workflows/:workflowId/activate

* fix up view, fix issues

* remove delete api key modal

* remove unused prop

* clean up store api

* remove getter

* remove unused dispatch

* fix component size to match

* use existing components

* match figma closely

* fix bug when um is disabled in sidebar

* set copy input color

* remove unused import

*  Remove css path

*  Add POST /workflows/:workflowId/desactivate

*  Add POST /workflows

* Revert " Remove css path"

a3d0a71719

* attempt to fix docker image issue

* revert dockerfile test

* disable public api

* disable api differently

* Revert "disable api differently"

b70e29433e

* Revert "disable public api"

886e5164fb

* remove unused box

*  PUT /workflows/:workflowId

*  Refactor workflow endpoints

*  Refactor executions endpoints

*  Fix typo

*  add credentials tests

*  adjust users tests

* update text

* add try it out link

*  Add delete, getAll and get to the workflow resource

* address spacing comments

* ️ apply correct structure

*  Add missing test to user resource and fix some issues

*  Add workflow tests

*  Add missing workflow tests and fix some issues

*  Executions tests

*  finish execution tests

*  Validate credentials data depending on type

* ️ implement review comments

* 👕 fix lint issues

*  Add apiKey to sanatizeUser

*  Fix issues with spec and tests

*  Add new structure

*  Validate credentials type and properties

*  Make all endpoints except /users independent on UM

*  Add instance base path to swagger UI

*  Remove testing endpoints

*  Fix issue with openapi tags

*  Add endpoint GET /credentialTypes/:id/schema

* 🐛 Fix issue adding json middleware to public api

*  Add API playground path to FE

*  Add telemetry and external hooks

* 🐛 Fix issue with user tests

*  Move /credentialTypes under /credentials

*  Add test to GET /credentials/schema/:id

* 🛠 refactor schema naming

*  Add DB migrations
asas

*  add tests for crd apiKey

*  Added API View telemetry events.

*  Remove rsync from the building process as it is missing on alpine base image

*  add missing BE telemetry events

* 🐛 Fix credential tests

*  address outstanding feedback

* 🔨 Remove move:openapi script

* ⬆️ update dependency

* ⬆️ update package-lock.json

* 👕 Fix linting issue

* 🐛 Fix package.json issue

* 🐛 fix migrations and tests

* 🐛 fix typos + naming

* 🚧 WIP fixing tests

*  Add json schema validation

*  Add missing fields to node schema

*  Add limit max upper limit

*  Rename id paths

* 🐛 Fix tests

* Add package-lock.jsonto custom dockerfile

* ⬆️ Update package-lock.json

* 🐛 Fix issue with build

* ✏️ add beta label to api view

* 🔥 Remove user endpoints

*  Add schema examples to GET /credentials/schema/:id

* 🔥 Remove user endpoints tests

* 🐛 Fix tests

* 🎨 adapt points from design review

* 🔥 remove unnecessary text-align

* ️ update UI

* 🐛 Fix issue with executions filter

*  Add tags filter to GET /workflows

*  Add missing error messages

*  add and update public api tests

*  add tests for owner activiating/deactivating non-owned wfs

* 🧪 add tests for filter for tags

* 🧪 add tests for more filter params

* 🐛 fix inclusion of tags

* 🛠 enhance readability

* ️ small refactorings

* 💄 improving readability/naming

*  Set API latest version dinamically

* Add comments to toJsonSchema function

*  Fix issue

*  Make execution data usable

*  Fix validation issue

*  Rename data field and change parameter and options

* 🐛 Fix issue parameter "detailsFieldFormat" not resolving correctly

* Skip executions tests

* skip workflow failing test

* Rename details property to data

*  Add includeData parameter

* 🐛 Fix issue with openapi spec

* 🐛 Fix linting issue

*  Fix execution schema

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-06-08 20:53:12 +02:00
Jan Oberhauser 759d625e0d 🔖 Release n8n@0.180.0 2022-06-07 19:46:05 +00:00
Jan Oberhauser 938e952a71 ⬆️ Set n8n-core@0.120.0, n8n-editor-ui@0.146.0, n8n-nodes-base@0.178.0 and n8n-workflow@0.102.0 on n8n 2022-06-07 19:46:05 +00:00
Jan Oberhauser d2ef76c494 🔖 Release n8n@0.179.0 2022-05-30 12:10:46 +00:00
Jan Oberhauser 5ceec13f9f ⬆️ Set n8n-core@0.119.0, n8n-editor-ui@0.145.0, n8n-nodes-base@0.177.0 and n8n-workflow@0.101.0 on n8n 2022-05-30 12:10:46 +00:00
Iván Ovejero b49d493653
fix(core): Fix migrations on non-public Postgres schema (#3356)
* 🐛 Fix UM migration

*  Account for schema in `search_path`

* 🔥 Remove unneeded schema refs

* 🧪 Account for alt schema in DB testing

*  Add schema to `IncreaseTypeVarcharLimit`

*  Set `search_path` in every migration

*  Set `search_path` in down migrations
2022-05-30 11:33:17 +02:00
Jan Oberhauser d24232d0c4 🔖 Release n8n@0.178.2 2022-05-25 10:24:05 +02:00
Jan Oberhauser 582f73afbb ⬆️ Set n8n-editor-ui@0.144.2 on n8n 2022-05-25 10:23:35 +02:00
Jan Oberhauser 1199493826 🔖 Release n8n@0.178.1 2022-05-24 18:30:50 +02:00
Jan Oberhauser 5b6cfce818 ⬆️ Set n8n-editor-ui@0.144.1 on n8n 2022-05-24 18:30:13 +02:00
Jan Oberhauser b6bdfa46da 🔖 Release n8n@0.178.0 2022-05-24 09:49:50 +00:00
Jan Oberhauser b73a2a1cdc ⬆️ Set n8n-core@0.118.0, n8n-editor-ui@0.144.0, n8n-nodes-base@0.176.0 and n8n-workflow@0.100.0 on n8n 2022-05-24 09:49:50 +00:00
Jonathan Bennetts 8cb58bcbdc
build(core): Fix cli build issue under windows (#3322) 2022-05-19 16:33:23 +02:00
Jan Oberhauser bed0ff8b01 🔖 Release n8n@0.177.0 2022-05-16 16:32:21 +00:00
Jan Oberhauser 164ba1ac2e ⬆️ Set n8n-core@0.117.0, n8n-editor-ui@0.143.0, n8n-nodes-base@0.175.0 and n8n-workflow@0.99.0 on n8n 2022-05-16 16:32:21 +00:00
Jan Oberhauser 68a252c318 🔖 Release n8n@0.176.0 2022-05-10 08:55:44 +00:00
Jan Oberhauser d54ffa532d ⬆️ Set n8n-nodes-base@0.174.0 on n8n 2022-05-10 08:55:44 +00:00
Jan Oberhauser 6066e79ac1 🔖 Release n8n@0.175.1 2022-05-03 10:24:44 +02:00
Jan Oberhauser 3686ecec28 ⬆️ Set n8n-editor-ui@0.142.1 on n8n 2022-05-03 10:23:31 +02:00
Jan Oberhauser fe5bfbd359 🔖 Release n8n@0.175.0 2022-05-02 10:24:34 +00:00
Jan Oberhauser 8f96dd4c5a ⬆️ Set n8n-core@0.116.0, n8n-editor-ui@0.142.0, n8n-nodes-base@0.173.0 and n8n-workflow@0.98.0 on n8n 2022-05-02 10:24:34 +00:00
Jan Oberhauser a89be650c8 🔖 Release n8n@0.174.0 2022-04-25 10:51:17 +00:00
Jan Oberhauser dcafea239d ⬆️ Set n8n-core@0.115.0, n8n-editor-ui@0.141.0, n8n-nodes-base@0.172.0 and n8n-workflow@0.97.0 on n8n 2022-04-25 10:51:17 +00:00
Jan Oberhauser 43c1df9188 🔖 Release n8n@0.173.1 2022-04-19 13:54:30 +02:00
Jan Oberhauser 52e87d0e02 ⬆️ Set n8n-nodes-base@0.171.1 on n8n 2022-04-19 13:53:44 +02:00