Commit graph

449 commits

Author SHA1 Message Date
Jan Oberhauser f43781b137 🐛 Switch back to bcryptjs to fix issues with FreeBSD and ARM #1696 2021-05-21 21:54:30 -05:00
Jan Oberhauser 343e63e667 🔖 Release n8n@0.121.0 2021-05-20 21:44:52 +00:00
Jan Oberhauser feef50cdd2 ⬆️ Set n8n-core@0.72.0, n8n-editor-ui@0.91.0, n8n-nodes-base@0.118.0 and n8n-workflow@0.59.0 on n8n 2021-05-20 21:44:52 +00:00
Jan Oberhauser a68145a88b 🔖 Release n8n@0.120.0 2021-05-16 18:46:23 +00:00
Jan Oberhauser cee789d9f3 ⬆️ Set n8n-core@0.71.0, n8n-editor-ui@0.90.0, n8n-nodes-base@0.117.0 and n8n-workflow@0.58.0 on n8n 2021-05-16 18:46:22 +00:00
Jan Oberhauser 958657278b 🔖 Release n8n@0.119.0 2021-05-09 19:26:49 +00:00
Jan Oberhauser ffacdcdbce ⬆️ Set n8n-core@0.70.0, n8n-editor-ui@0.89.0 and n8n-nodes-base@0.116.0 on n8n 2021-05-09 19:26:48 +00:00
Jan Oberhauser 715e41b590 Update required Node.js version also to 14 in package.json of cli 2021-05-03 16:21:22 -05:00
Jan Oberhauser 043cf6730c 🔖 Release n8n@0.118.0 2021-05-02 13:58:37 +00:00
Jan Oberhauser 318142a9e5 ⬆️ Set n8n-core@0.69.0, n8n-editor-ui@0.88.0, n8n-nodes-base@0.115.0 and n8n-workflow@0.57.0 on n8n 2021-05-02 13:58:37 +00:00
Omar Ajoue c972f3dd50
Added logging to n8n (#1381)
* Added logging to n8n

This commit adds logging to n8n using the Winston library.

For now, this commit only allows logging to console (default behavior)
or file (need to pass in config via environment variables).

Other logging methods can be further implemented using hooks. These were
skipped for now as it would require adding more dependencies.

Logging level is notice by default, meaning no additional messages would
be displayed at the moment. Logging level can be set to info or debug as
well to enrich the generated logs.

The ILogger interface was added to the workflow project as it would make
it available for all other projects but the implementation was done on
the cli project.

* Lint fixes and logging level naming. Also fixed the way we use the logger as it was not working previously

* Improvements to logging framework

Using appropriate single quotes
Improving the way the logger is declared

* Improved naming for Log Types

* Removed logger global variable, replacing it by a proxy

* Add logging to CLI commands

* Remove unused GenericHelpers

* Changed back some messages to console instead of logger and added npm
shortcuts for worker and webhook

* Fix typos

* Adding basic file rotation to logs as suggested by @mutdmour

* Fixed linting issues

* Correcting comment to correctly reflect space usage

* Added settings for log files rotation

* Correcting config type from String to Number

* Changed default file settings to number

To reflect previous changes to the type

* Changed the way log messages are added to be called statically. Also minor naming improvements

* Applying latest corrections sent by @ivov

*  Some logging improvements

* Saving logs to a folder inside n8n home instead of root

* Fixed broken tests and linting

* Changed some log messages to improve formatting

* Adding quotes to names  on log messages

* Added execution and session IDs to logs. Also removed unnecessary line breaks

*  Added file caller to log messages (#1657)

This is done using callsites library which already existed
in the project as another library's dependency. So in fact
it does not add any new dependency.

* Adding logs to help debug Salesforce node

*  Add function name to logs and add more logs

*  Improve some error messages

*  Improve some more log messages

*  Rename logging env variables to match others

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-01 22:43:01 -05:00
Snyk bot eab7b0a10a
⬆️ Set tslib@0.114.1 on n8n
Snyk has created this PR to upgrade tslib from 1.13.0 to 1.14.1.

See this package in npm:
https://www.npmjs.com/package/tslib

See this project in Snyk:
https://app.snyk.io/org/janober/project/fc678bbc-0ac7-4659-9458-8f7f360e2566?utm_source=github&utm_medium=upgrade-pr
2021-04-30 21:25:18 -05:00
Jan Oberhauser ab1c8037de Unify some dependency versions 2021-04-30 20:42:32 -05:00
Jan Oberhauser 7f0f8deb6d 🔖 Release n8n@0.117.0 2021-04-24 21:41:33 +00:00
Jan Oberhauser 91aa425201 ⬆️ Set n8n-editor-ui@0.87.0 and n8n-nodes-base@0.114.0 on n8n 2021-04-24 21:41:32 +00:00
Jan Oberhauser 5c65a73cc2 🔖 Release n8n@0.116.1 2021-04-20 08:57:47 +02:00
Jan Oberhauser 4d966eaa26 🔖 Release n8n@0.116.0 2021-04-17 15:36:30 +00:00
Jan Oberhauser 91909ed509 ⬆️ Set n8n-core@0.68.0, n8n-editor-ui@0.86.0, n8n-nodes-base@0.113.0 and n8n-workflow@0.56.0 on n8n 2021-04-17 15:36:29 +00:00
Jan Oberhauser a8ab77b8e0 ⬆️ Set tslib@1.13.0 on cli 2021-04-16 00:05:23 +02:00
Jan Oberhauser fc299f136f ⬆️ Set mysql2@2.2.0 n8n & nodes-base 2021-04-16 00:01:45 +02:00
LongYinan 8ed1099795
Use faster bcrypt implementation (#1593) 2021-04-13 18:26:25 +02:00
Jan Oberhauser 7a99f4256f 🔖 Release n8n@0.115.0 2021-04-10 08:47:20 +00:00
Jan Oberhauser 00b5e5e68f ⬆️ Set n8n-editor-ui@0.85.0 and n8n-nodes-base@0.112.0 on n8n 2021-04-10 08:47:20 +00:00
Jan Oberhauser 0c8afbb3cb 🔖 Release n8n@0.114.0 2021-04-03 15:10:41 +00:00
Jan Oberhauser 039b5a6afd ⬆️ Set n8n-core@0.67.0, n8n-editor-ui@0.84.0 and n8n-nodes-base@0.111.0 on n8n 2021-04-03 15:10:41 +00:00
Jan Oberhauser f8a829b2dd Clean up package.json files 2021-03-26 09:21:27 +01:00
Jan Oberhauser 91fbd01eae 🔖 Release n8n@0.113.0 2021-03-26 08:12:50 +00:00
Jan Oberhauser 06c34e283d ⬆️ Set n8n-core@0.66.0, n8n-editor-ui@0.83.0, n8n-nodes-base@0.110.0 and n8n-workflow@0.55.0 on n8n 2021-03-26 08:12:50 +00:00
Jan Oberhauser 4276150ac1 Fix indentation in all package.json files 2021-03-26 09:06:26 +01:00
Snyk bot bed5195eb8
⬆️ Set convict@6.0.1 on n8n
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-CONVICT-1062508
2021-03-25 11:16:56 +01:00
Jan Oberhauser 896ef33f40 🔖 Release n8n@0.112.0 2021-03-19 17:46:01 +01:00
Jan Oberhauser 5dbb8fb71c ⬆️ Set n8n-core@0.65.0, n8n-editor-ui@0.82.0, n8n-nodes-base@0.109.0 and n8n-workflow@0.54.0 on n8n 2021-03-19 17:45:34 +01:00
Jan Oberhauser 06dd423648 🔖 Release n8n@0.111.0 2021-03-12 12:40:30 +01:00
Jan Oberhauser 8bbdf05e51 ⬆️ Set n8n-editor-ui@0.81.0 and n8n-nodes-base@0.108.0 on n8n 2021-03-12 12:40:06 +01:00
Bruno Bacarini b0b172a362
Add metrics endpoint (#1515)
This commit adds the new package prom-client in order to expose metrics
to prometheus as well as the endpoint and the configuration to do so.
2021-03-11 00:10:10 +01:00
Snyk bot a28f13d13c
⬆️ Set jwks-rsa@1.12.1 on n8n
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-1038255
2021-03-08 14:51:49 +01:00
Jan Oberhauser f0c1809adc 🔖 Release n8n@0.110.3 2021-03-04 13:23:32 +01:00
Jan Oberhauser 08468772ee ⬆️ Set n8n-nodes-base@0.107.3 on n8n 2021-03-04 13:23:10 +01:00
Jan Oberhauser ce646de6bf 🔖 Release n8n@0.110.2 2021-03-04 13:02:09 +01:00
Jan Oberhauser ef826571fb ⬆️ Set n8n-nodes-base@0.107.2 on n8n 2021-03-04 13:01:44 +01:00
Jan Oberhauser dbdb5fcafc 🔖 Release n8n@0.110.1 2021-03-04 12:57:48 +01:00
Jan Oberhauser 8373528240 ⬆️ Set n8n-nodes-base@0.107.1 on n8n 2021-03-04 12:56:50 +01:00
Jan Oberhauser 806f7829f9 🔖 Release n8n@0.110.0 2021-03-04 12:18:59 +01:00
Jan Oberhauser 349eb8bead ⬆️ Set n8n-editor-ui@0.80.0 and n8n-nodes-base@0.107.0 on n8n 2021-03-04 12:18:28 +01:00
Jan Oberhauser 31d5333192 🔖 Release n8n@0.109.0 2021-02-22 13:51:20 +01:00
Jan Oberhauser 3eb7ee9561 ⬆️ Set n8n-core@0.64.0, n8n-editor-ui@0.79.0, n8n-nodes-base@0.106.0 and n8n-workflow@0.53.0 on n8n 2021-02-22 13:48:12 +01:00
Jan Oberhauser caad6d1c8d 🔖 Release n8n@0.108.0 2021-02-15 13:06:25 +01:00
Jan Oberhauser 4dc6bee957 ⬆️ Set n8n-core@0.63.0, n8n-editor-ui@0.78.0, n8n-nodes-base@0.105.0 and n8n-workflow@0.52.0 on n8n 2021-02-15 13:06:09 +01:00
Omar Ajoue 7a3aaf8a24
Unify execution id + Queue system (#1340)
* Unify execution ID across executions

* Fix indentation and improved comments

* WIP: saving data after each node execution

* Added on/off to save data after each step, saving initial data and retries working

* Fixing lint issues

* Fixing more lint issues

*  Add bull to execute workflows

* 👕 Fix lint issue

*  Add graceful shutdown to worker

*  Add loading staticData to worker

* 👕 Fix lint issue

*  Fix import

* Changed tables metadata to add nullable to stoppedAt

* Reload database on migration run

* Fixed reloading database schema for sqlite by reconnecting and fixing postgres migration

* Added checks to Redis and exiting process if connection is unavailable

* Fixing error with new installations

* Fix issue with data not being sent back to browser on manual executions with defined destination

* Merging bull and unify execution id branch fixes

* Main process will now get execution success from database instead of redis

* Omit execution duration if execution did not stop

* Fix issue with execution list displaying inconsistant information information while a workflow is running

* Remove unused hooks to clarify for developers that these wont run in queue mode

* Added active pooling to help recover from Redis crashes

* Lint issues

* Changing default polling interval to 60 seconds

* Removed unnecessary attributes from bull job

*  Improved output on worker job start

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-09 08:59:32 +01:00
Jan Oberhauser ae92325ba3 🔖 Release n8n@0.107.0 2021-02-08 08:04:35 +01:00
Jan Oberhauser 1a26720d92 ⬆️ Set n8n-editor-ui@0.77.0 and n8n-nodes-base@0.104.0 on n8n 2021-02-08 08:03:52 +01:00
Jan Oberhauser 65b69e4b60 ⬆️ Set sqlite3@5.0.1 on n8n 2021-02-06 17:36:09 +01:00
Jan Oberhauser 2c2c4b4b4d 🔖 Release n8n@0.106.0 2021-02-05 09:39:35 +01:00
Jan Oberhauser c26d752408 ⬆️ Set n8n-editor-ui@0.76.0 and n8n-nodes-base@0.103.0 on n8n 2021-02-05 09:38:41 +01:00
Jan Oberhauser 51bc430023 🔖 Release n8n@0.105.0 2021-02-01 08:40:43 +01:00
Jan Oberhauser b2911a5aab ⬆️ Set n8n-core@0.62.0, n8n-editor-ui@0.75.0, n8n-nodes-base@0.102.0 and n8n-workflow@0.51.0 on n8n 2021-02-01 08:40:14 +01:00
Jan Oberhauser bc74d7ad47 ⬆️ Set n8n-core@0.61.0, n8n-editor-ui@0.74.0, n8n-nodes-base@0.101.0 and n8n-workflow@0.50.0 on n8n 2021-01-27 09:18:45 +01:00
Jan Oberhauser 0582edb111 🔖 Release n8n@0.104.2 2021-01-27 09:06:58 +01:00
Jan Oberhauser b79589a83e ⬆️ Set n8n-nodes-base@0.100.0 on n8n 2021-01-27 09:06:32 +01:00
Jan Oberhauser da022300f9 🔖 Release n8n@0.104.1 2021-01-26 16:54:23 +01:00
Jan Oberhauser 353a270f0c 🔖 Release n8n@0.104.0 2021-01-26 12:09:22 +01:00
Jan Oberhauser 4bd675203e ⬆️ Set n8n-core@0.60.0, n8n-editor-ui@0.73.0, n8n-nodes-base@0.99.0 and n8n-workflow@0.49.0 on n8n 2021-01-26 12:08:39 +01:00
Jan b33a5fcd13
💥 Remove MongoDB support 2021-01-23 20:35:38 +01:00
Ben Hesseldieck d395498882
Add support for webhook route parameters (#1343)
* 🚧 add webhookId to URL

* 🚧 add webhookId to webhook entity, 🔧 refactor migrations

* 🚧 🐘 postgres migration

* 🚧 add mySQL migration

* 🚧 refactor mongoDB

* 🚧 add webhookId to IWebhookDb

* 🚧 starting workflow with dynamic route works

*  production dynamic webhooks complete

* 🎨 fix lint issues

* 🔧 dynamic path for webhook-test complete

* 🎨 fix lint issues

* 🎨 fix typescript issue

*  add error message for dynamic webhook-test

* 🔨 improve handling of leading `/`

* 🚧 add webhookId to URL

* 🚧 add webhookId to webhook entity, 🔧 refactor migrations

* 🚧 🐘 postgres migration

* 🚧 add mySQL migration

* 🚧 refactor mongoDB

* 🚧 add webhookId to IWebhookDb

* 🚧 starting workflow with dynamic route works

*  production dynamic webhooks complete

* 🎨 fix lint issues

* 🔧 dynamic path for webhook-test complete

* 🎨 fix lint issues

* 🎨 fix typescript issue

*  add error message for dynamic webhook-test

* 🔨 improve handling of leading `/`

*  Fix issue that tab-title did not get reset on new workflow

* Revert " Fix issue that tab-title did not get reset on new workflow"

This reverts commit 699d0a8946.

* 🔧 reset params before extraction

* 🐘 removing unique constraint for webhookId

* 🚧 handle multiple webhooks per id

* 🔧 enable webhook-test for multiple WH with same id

* 🐘 add migration for postgres

*  add mysql migration

* 🎨 fix lint issue

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-23 20:00:32 +01:00
Jan Oberhauser cc4d6ab02a 🔖 Release n8n@0.103.1 2021-01-21 11:35:14 +01:00
Jan Oberhauser 9265eabbb7 ⬆️ Set n8n-nodes-base@0.98.1 on n8n 2021-01-21 11:34:30 +01:00
Jan Oberhauser d1ac4763df 🔖 Release n8n@0.103.0 2021-01-21 11:03:15 +01:00
Jan Oberhauser 64404381e3 ⬆️ Set n8n-core@0.59.0, n8n-editor-ui@0.72.0 and n8n-nodes-base@0.98.0 on n8n 2021-01-21 11:02:40 +01:00
Jan Oberhauser e525c79032 🔖 Release n8n@0.102.0 2021-01-15 11:49:59 +01:00
Jan Oberhauser 195233d62e ⬆️ Set n8n-editor-ui@0.71.0 and n8n-nodes-base@0.97.0 on n8n 2021-01-15 11:49:29 +01:00
Jan Oberhauser b33b7bdd52 🔖 Release n8n@0.101.0 2021-01-07 14:28:56 +01:00
Jan Oberhauser bd996fec5a ⬆️ Set n8n-core@0.58.0, n8n-editor-ui@0.70.0 and n8n-nodes-base@0.96.0 on n8n 2021-01-07 14:28:17 +01:00
Jan Oberhauser 638310fa94 🔖 Release n8n@0.100.0 2020-12-30 12:02:42 +01:00
Jan Oberhauser dc71a288cc ⬆️ Set n8n-core@0.57.0, n8n-editor-ui@0.69.0, n8n-nodes-base@0.95.0 and n8n-workflow@0.48.0 on n8n 2020-12-30 12:01:42 +01:00
Jan Oberhauser b0b2a51d04 🔖 Release n8n@0.99.1 2020-12-24 22:12:01 +01:00
Jan Oberhauser 0c4135d851 ⬆️ Set n8n-editor-ui@0.68.1 on n8n 2020-12-24 22:11:35 +01:00
Jan Oberhauser 44c28b3491 🔖 Release n8n@0.99.0 2020-12-24 09:14:03 +01:00
Jan Oberhauser ee9fc20243 ⬆️ Set n8n-editor-ui@0.68.0 and n8n-nodes-base@0.94.0 on n8n 2020-12-24 09:13:14 +01:00
Jan Oberhauser b5d4391ace 🔖 Release n8n@0.98.0 2020-12-16 12:45:22 +01:00
Jan Oberhauser ebd475fb32 ⬆️ Set n8n-core@0.56.0, n8n-editor-ui@0.67.0 and n8n-nodes-base@0.93.0 on n8n 2020-12-16 12:44:31 +01:00
Jan Oberhauser cfc222a877 🔖 Release n8n@0.97.0 2020-12-10 11:40:12 +01:00
Jan Oberhauser 7d29c91f07 ⬆️ Set n8n-core@0.55.0 and n8n-nodes-base@0.92.0 on n8n 2020-12-10 11:39:27 +01:00
Jan Oberhauser fed0a4996e 🔖 Release n8n@0.96.0 2020-12-03 13:14:03 +01:00
Jan Oberhauser c51f4d2ea0 ⬆️ Set n8n-core@0.54.0, n8n-editor-ui@0.66.0, n8n-nodes-base@0.91.0 and n8n-workflow@0.47.0 on n8n 2020-12-03 13:13:36 +01:00
Jan Oberhauser dfd054f036 🔖 Release n8n@0.95.1 2020-11-25 14:12:08 +01:00
Jan Oberhauser 4d8aa0bfc3 ⬆️ Set n8n-nodes-base@0.90.1 on n8n 2020-11-25 14:11:36 +01:00
Jan Oberhauser 258d77151b 🔖 Release n8n@0.95.0 2020-11-25 13:22:07 +01:00
Jan Oberhauser d962880b31 ⬆️ Set n8n-core@0.53.0, n8n-editor-ui@0.65.0, n8n-nodes-base@0.90.0 and n8n-workflow@0.46.0 on n8n 2020-11-25 13:21:30 +01:00
Jan Oberhauser 3c843f5c74 🔖 Release n8n@0.94.1 2020-11-20 17:07:16 +01:00
Jan Oberhauser 107e52d2a6 ⬆️ Set n8n-nodes-base@0.89.1 on n8n 2020-11-20 17:04:24 +01:00
Jan Oberhauser f558616376 🔖 Release n8n@0.94.0 2020-11-19 14:13:57 +01:00
Jan Oberhauser 4e43b2e5e7 ⬆️ Set n8n-core@0.52.0, n8n-editor-ui@0.64.0, n8n-nodes-base@0.89.0 and n8n-workflow@0.45.0 on n8n 2020-11-19 14:13:16 +01:00
Jan Oberhauser 768b7d5263 Update required node version in package.json 2020-11-16 18:21:46 +01:00
Jan Oberhauser 7641d2ad81 🔖 Release n8n@0.93.0 2020-11-11 12:03:16 +01:00
Jan Oberhauser 887e777e9a ⬆️ Set n8n-core@0.51.0, n8n-editor-ui@0.63.0, n8n-nodes-base@0.88.0 and n8n-workflow@0.44.0 on n8n 2020-11-11 12:02:45 +01:00
Jan Oberhauser 7168b1780e 🔖 Release n8n@0.92.0 2020-11-04 16:29:18 +01:00
Jan Oberhauser dc41973009 ⬆️ Set n8n-core@0.50.0, n8n-editor-ui@0.62.0 and n8n-nodes-base@0.87.0 on n8n 2020-11-04 16:28:31 +01:00
Jan Oberhauser 5f12b840d6 🔖 Release n8n@0.91.0 2020-10-30 09:51:57 +01:00
Jan Oberhauser e84b72e1a2 ⬆️ Set n8n-core@0.49.0, n8n-editor-ui@0.61.0, n8n-nodes-base@0.86.0 and n8n-workflow@0.43.0 on n8n 2020-10-30 09:51:18 +01:00
Jan Oberhauser c7b1cbbc72 ⬆️ Set n8n-nodes-base@0.85.0 on n8n 2020-10-23 18:17:03 +02:00