Commit graph

379 commits

Author SHA1 Message Date
Jan Oberhauser d17161cf40 🔀 Merge branch 'static-stateless-webhooks' 2020-07-14 12:34:34 +02:00
Jan Oberhauser 8bfc5a4b65 Small improvements on execution pruning 2020-07-12 12:49:42 +02:00
Jan Oberhauser 78dc1e9449 🔀 Merge branch 'master' into WorkflowExecutionMaintainance 2020-07-12 12:20:59 +02:00
Jan Oberhauser 941ee06b14 Make n8n work in subfolder & Fix events in AffinityTrigger 2020-07-12 12:17:01 +02:00
Ben Hesseldieck b956444c0e 🐎 pruning execution data complete 2020-07-09 16:52:38 +02:00
Ben Hesseldieck 05507fc19b 🎉 basic throtteling with cleaning logs 2020-07-09 15:17:47 +02:00
ricardo c6e060904e Fix issue with OAuth2 2020-07-08 15:15:33 -04:00
Ricardo Espinoza 8aff042e04
* Endpoint to preset credentials
*  Endpoint to preset credentials

*  Improvements

* 🐛 Small fix

* 🐛 Small fix
2020-07-07 19:03:53 +02:00
Jan Oberhauser d72a711957 🐛 Fix credential issue with ExecuteWorkflow-Node 2020-07-01 15:08:00 +02:00
Jan Oberhauser 6af3743e1b Add Postgres SSL support 2020-06-25 11:39:04 +02:00
Jan Oberhauser 93afb0940b Use rest endpoint configuration 2020-06-23 16:12:53 +02:00
Jan Oberhauser e60edc3bff Minor improvements 2020-06-23 12:43:40 +02:00
ricardo 494b1de93f Merge branch 'master' into static-stateless-webhooks 2020-06-22 16:16:50 -04:00
ricardo e59dd00c10 done 2020-06-22 13:26:41 -04:00
ricardo 3ca9647215 Add mongodb migration 2020-06-20 21:59:06 -04:00
Jan Oberhauser 5db2ce2924 🐛 Fix issue that changed static data in webhook function did not get
saved
2020-06-20 12:28:56 +02:00
ricardo 84c4b32261 Added migrations to Sqlite and Mysql 2020-06-17 23:42:04 -04:00
Jan Oberhauser a5055940b3 🐛 Fix issue with multiuser-setup 2020-06-13 12:34:20 +02:00
Jan Oberhauser ed160764c9 Remove debug messages 2020-06-12 15:51:38 +02:00
Jan Oberhauser 17ee152eaf Fix indentation 2020-06-10 15:58:57 +02:00
Jan Oberhauser 5ed86670a8 Make it use of full webhook path more generic 2020-06-10 15:39:15 +02:00
Jan Oberhauser 1451f94814 🔀 Merge branch 'external-hooks' 2020-06-10 13:02:45 +02:00
Jan Oberhauser 57b3a2e05e Cleanup of external hooks 2020-06-10 13:00:28 +02:00
Jan Oberhauser c7a901083b 🔀 Merge branch 'master' of github.com:n8n-io/n8n 2020-06-04 17:03:11 +02:00
Jan Oberhauser f9b3cced5c 🔀 Merge branch 'master' into oauth-support 2020-06-04 09:44:21 +02:00
Patrick Wellever 49ea7e2739
Make server listen address configurable (#618) 2020-06-04 09:36:10 +02:00
Jan Oberhauser 35c149c7b1 Fix small issue 2020-06-03 19:58:55 +02:00
Tei1988 e19cd9c118
Add support for scoped npm packages (#612) 2020-06-03 19:40:39 +02:00
Jan Oberhauser e3a6064196 Small changes to Twitter-Node 2020-06-03 15:06:13 +02:00
ricardo af3d799e5c Oauth1 support and Twitter node 2020-06-01 20:42:44 -04:00
ricardo 4e9490a88d Improvements 2020-05-30 19:04:04 -04:00
ricardo 91c40367e1 Done 2020-05-27 19:32:56 -04:00
Jan Oberhauser f1f09d4a03 🔀 Merge branch 'master' into oauth-support 2020-05-24 20:37:59 +02:00
Allan Clempe d79f22d0db
Changed glob pattern to also search nodes in subfolders. (#574) 2020-05-23 01:09:05 +02:00
Jan Oberhauser 95097a8bd7 🐛 Fix issue with credentials which extend others 2020-05-16 19:22:06 +02:00
Jan Oberhauser cfe6e72440 Do not save credential default values to DB #PROD-52 2020-05-14 14:27:19 +02:00
Jan Oberhauser 09a4b44875 🔀 Merge branch 'master' into oauth-support 2020-05-13 13:39:35 +02:00
Jan Oberhauser 6c685ccae1 🐛 Fix postgres schema 2020-05-13 09:31:31 +02:00
Jan Oberhauser 96e5d34065 🐛 Fix entityPrefix 2020-05-13 09:22:14 +02:00
Jan Oberhauser 74fac1e56c Do not overwrite all oauth data on reconnect #PROD-24 2020-05-13 01:07:34 +02:00
Jan Oberhauser ea47e8b1bc Fix issue that OAuth data got overwritten with every save #PROD-22 2020-05-13 00:40:05 +02:00
Jan Oberhauser 147c50485c 🔀 Merge branch 'master' into oauth-support 2020-05-12 01:56:27 +02:00
Jan Oberhauser 231bd9f5c7 Save also static data after Trigger-emit 2020-05-09 00:55:47 +02:00
Jan Oberhauser e0859ae0e2 🔀 Merge branch 'Rupenieks-Programmatic-migrations' 2020-05-07 01:24:41 +02:00
Jan Oberhauser 6e1254fd54 Add additional external workflow hooks 2020-05-06 00:59:58 +02:00
zou wendi e4cc3a4bc9 features: support jira self-hosted server 2020-05-05 12:07:19 +08:00
Jan Oberhauser 0387671cae Add additional external hooks and provide additional data 2020-05-05 01:23:54 +02:00
Jan Oberhauser 42b997fdb4 Improve database migrations 2020-05-04 17:29:39 +02:00
Jan Oberhauser 75f0a653e4 🔀 Merge branch 'Programmatic-migrations' of https://github.com/Rupenieks/n8n into Rupenieks-Programmatic-migrations 2020-05-04 16:27:30 +02:00
Jan Oberhauser a380a9a394 Add first basic code for external hooks 2020-05-04 08:56:01 +02:00
Jan Oberhauser 42f6f4af2c Display an error when unsaved workflow gets executed with webhook 2020-05-03 17:55:14 +02:00
Jan Oberhauser a0ef209752 🔀 Merge branch 'surveymonkey-dev' 2020-05-02 12:32:00 +02:00
Jan Oberhauser 3d6a75d392 Fix issue with workflows running in main process 2020-04-29 19:33:03 +02:00
Rupenieks 3acd779282 Fixed Queries, 2020-04-29 13:57:21 +02:00
Rupenieks 16bf916df5 Migration configs, migration files, removed test queries 2020-04-29 11:34:12 +02:00
Rupenieks 032f4075e4 postgresql initial migration 2020-04-28 00:52:30 +02:00
Rupenieks daeafe68f3 init migration test files, ormconfig 2020-04-27 12:46:09 +02:00
Jan Oberhauser 9ca21f2e52 🔀 Merge branch 'feature/survey-monkey' of https://github.com/RicardoE105/n8n into RicardoE105-feature/survey-monkey 2020-04-26 23:14:42 +02:00
ricardo d57d457148 SurveyMonkey trigger 2020-04-26 12:51:27 -05:00
Jan Oberhauser a3106219f4 Add Expression-Support to responseHeaders 2020-04-26 15:28:51 +02:00
Davide Cavestro db2329b26c Webhook: allow setting generic response-headers 2020-04-26 11:01:20 +02:00
Rupenieks 07c69f5ade Migration settings 2020-04-22 16:03:50 +02:00
Rupenieks 1aa51944a6 Initial migration files for each DB 2020-04-22 15:52:15 +02:00
Jan Oberhauser 90fe5113a0 🔀 Merge branch 'master' into oauth-support 2020-04-14 20:54:19 +02:00
Jan Oberhauser 303062623b Add MariaDB support 2020-04-14 19:54:11 +02:00
Jan Oberhauser b1172bdb48 🔀 Merge branch 'master' into oauth-support 2020-04-10 09:48:24 +02:00
Jan Oberhauser be9474e84a Fix build issue with new interfaces 2020-04-09 20:23:33 +02:00
Jan Oberhauser f9dd92db97 🔀 Merge branch 'master' into oauth-support 2020-04-08 10:10:44 +02:00
Jan Oberhauser 7a27979ddd Fix build issue with new interfaces 2020-04-08 10:08:42 +02:00
Jan Oberhauser 9dd9e0d8ba 🔀 Merge branch 'master' into oauth-support 2020-04-04 17:34:10 +02:00
Jan 40943e7b83
🔀 Merge pull request #432 from ceefour/json-fix
fix(cli): ResponseHelper sends JSON.
2020-03-31 23:54:04 +02:00
Hendy Irawan b3bf138e3b fix(cli): Clarify webhook error message & fix typo 2020-03-31 23:56:06 +07:00
Hendy Irawan f23abdce2e fix(cli): ResponseHelper sends JSON.
For both success and error. Fixed #430.
2020-03-31 23:41:52 +07:00
Jan Oberhauser 7c5f437e92 Make sure that it looks for SSL certs only if defined 2020-03-30 13:29:42 +02:00
Jan Oberhauser f00b7347c8 Minor improvements to SSL support 2020-03-29 12:46:55 +02:00
KH Wong 2870818211 Add HTTPS support by giving an SSL Cert and Key 2020-03-28 01:19:30 +08:00
Jan Oberhauser 255d30b2c7 Make it possible to define prefix for table names 2020-03-21 18:32:26 +01:00
Jan Oberhauser e9c6c64290 🐛 Fix bug that not all webhooks got deleted when active & testing #387 2020-03-21 00:32:05 +01:00
Istvan Richter 31a2138f92 Add custom Postgres schema support 2020-03-18 06:26:33 +01:00
Jan Oberhauser 3bf0a9ab10 🐛 Fix retry issue #365 2020-03-17 09:19:56 +01:00
Jan Oberhauser daaee2e039 Display correct error message if there is no item to return 2020-03-16 13:23:45 +01:00
Jan Oberhauser ff7f0a5de5 Fix some issues with Slack-Node 2020-03-15 15:51:49 +01:00
Jan Oberhauser 150aa7daee 🐛 Fix issue that did not use actual node parameters loading options 2020-03-15 13:00:57 +01:00
Ricardo Espinoza fe36c9c76a setup 2020-03-05 18:26:44 -05:00
Jan Oberhauser cdfe64d939 👕 Fix lint issue 2020-03-01 09:52:10 +01:00
Jan Oberhauser 82e6a10d98 🔒 Fix rest API security issue 2020-03-01 09:45:29 +01:00
Jan Oberhauser 78bf915e65 🐛 Fix issue that settings did not get used 2020-02-21 11:34:51 +01:00
Jan Oberhauser 075aca9497 Add execution url on Error-Workflow trigger 2020-02-19 11:29:03 -06:00
Jan Oberhauser 70286b469e Make workflow metadata available in expresions and
node-functions
2020-02-15 17:07:01 -08:00
Jan Oberhauser 6a08fc9da3 Small improvements to ZohoCRM-Node and OAuth fix 2020-02-14 18:48:58 -08:00
Ricardo Espinoza 8e87723858 Zoho node 2020-02-12 10:04:43 -05:00
Jan Oberhauser c42d13c1e3 🔀 Merge branch 'master' of https://github.com/guilhermeagirardi/n8n into guilhermeagirardi-master 2020-02-11 20:44:46 -08:00
Jan Oberhauser 1391bf39c6 Make sure that Test-Webhooks use the current data not from DB 2020-02-10 17:52:15 -08:00
Guilherme Almeida Girardi f3750a6646 Type adjustment in MySQL columns
* TIMESTAMP type columns have been replaced by DATETIME. Depending on
the version of MySQL and SQL_MODE, the DBMS does not accept to create
TIMESTAMP NOT NULL columns without a default value;
2020-02-10 14:43:21 -03:00
Guilherme Almeida Girardi 3bdd9096e1 Added support for MySQL
* In packages/cli/src/Db.ts, conditional test of dbType replaced by a
switch;
* removeAll() function adapted to not cause an error using MySQL;
* Added the cross-env module in the "serve" script in the
packages/editor-ui/package.json file. This was done to ensure
compatibility between platforms when declaring environment variables.
Without it, Windows compilation would give an error, for example;
* .idea added to .gitignore (IntelliJ IDEA solutions);
2020-02-10 13:09:06 -03:00
Jan Oberhauser 7ee03cf132 Ignore node-credential-issues on disabled nodes 2020-02-09 23:24:12 -08:00
Jan Oberhauser 3fe236b9e6 🐛 Fix SNS-Trigger-Node 2020-02-09 18:27:06 -08:00
Jan Oberhauser c1574a73ac Improved Github Oauth support and generic Oauth functionality 2020-02-09 15:39:14 -08:00
Ricardo Espinoza 96741460e3 Github OAuth support 2020-02-09 10:11:15 -05:00
Jan Oberhauser 928bf4dc68 Fix OAuth-Token refresh 2020-02-08 21:30:36 -08:00
Jan Oberhauser 5594543ec8 Fix OAuth UI issues and allow to set additional query parameters 2020-02-08 16:14:28 -08:00
Jan Oberhauser eb285ef711 Make it possible to set credentials to fixed values 2020-01-25 23:48:38 -08:00
Jan Oberhauser aa1899f81d Prepare webhooks for multitenancy 2020-01-22 15:06:43 -08:00
Jan Oberhauser cbf4818fea 🐛 Fix bug with credentials in integrated workflows 2020-01-20 10:22:12 -06:00
Jan Oberhauser e5ae4c77eb Change same-process-execution setting to make it future proof 2020-01-17 19:49:31 -06:00
Jan Oberhauser 95cb1b2788 Add possibility to execute workflows in same process 2020-01-17 19:34:31 -06:00
Jan Oberhauser 8228b8505f Abstract OAuth signing and make credentials extendable 2020-01-13 20:46:58 -06:00
Jan Oberhauser 70e972ff7d Revert "🔀 Merge branch 'oauth-support' of https://github.com/tildabio/n8n"
This reverts commit 0c5972bb98, reversing
changes made to 3de03b5097.
2020-01-10 14:26:06 -06:00
Jan Oberhauser 9a2188f22f :zip: Do not allow credentials without name 2020-01-09 21:23:47 -06:00
Jan Oberhauser 740cb8a6fc Some small changes to basic OAuth support 2020-01-07 18:29:11 -06:00
Jan Oberhauser 0c5972bb98 🔀 Merge branch 'oauth-support' of https://github.com/tildabio/n8n 2020-01-06 18:01:45 -06:00
Jan Oberhauser 629ab09135 Add additional possibilities to load workflow 2020-01-02 17:13:53 -06:00
Ram Yalamanchili d2ea3ce877 Add OAuth2 Authorization and Callback rest endpoints
URL generation for OAuth2 authorization and the subsequent login
callback are handled at the backend API. While this can be done
client side, the credentials are better managed entirely on the
server side.
2020-01-01 22:55:16 -08:00
Jan Oberhauser 584033ab4a Add polling support to Trigger-Nodes 2019-12-31 14:27:58 -06:00
Jan Oberhauser 43442449e6 Fix start issue 2019-12-21 15:04:47 -06:00
Jan Oberhauser 8acc3c5931 Add ExecuteWorkflow-Node 2019-12-19 16:07:55 -06:00
Jan Oberhauser b6873e318d 🔀 Merge branch 'xml-body-parser-webhooks' of https://github.com/quansenB/n8n into quansenB-xml-body-parser-webhooks 2019-12-12 22:01:48 -06:00
Jan Oberhauser 9db449c953 👕 Fix lint issue 2019-12-12 18:19:39 -06:00
Jan Oberhauser 359dc3b485 Add possibility to retry with currently saved workflow 2019-12-12 18:18:20 -06:00
Jan Oberhauser 870961b101 🐛 Fix bug that it did load same executions multiple times 2019-12-12 20:57:11 +01:00
quansenB ca2cc3b0cd add xml2js options 2019-12-09 01:24:04 +01:00
quansenB a53d111e56 add xml body parser for xml webhook support 2019-12-09 01:07:57 +01:00
Ricardo Espinoza 6955109cbd Shopify trigger done 2019-12-02 16:21:55 -05:00
Jan Oberhauser 6e70f16c4b Log and display also errors that occur in webhook function 2019-11-23 21:57:50 +01:00
Jan Oberhauser 247e4d5c6f 🐛 Wait also for webhook call if webhook node gets executed directly 2019-11-17 14:43:54 +01:00
Jan Oberhauser e3b71c2ed4 Rename function and fix styling 2019-10-20 21:42:34 +02:00
BenoitTallandier 02a7d92fc1 🔃Add unction getCurrentNodeParameters to get currents parameters in loading function 2019-10-20 20:55:49 +02:00
Jan Oberhauser ded2152d61 Make it possible to return custom content-type and data with
webhook
2019-10-16 14:01:39 +02:00
Jan Oberhauser 7ff5721ea2 🐛 Fix bug that it did delete static data when it did not change 2019-10-15 16:10:28 +02:00
Jan Oberhauser 542ae1e785 🐛 Fix that static data did not always get load on execution 2019-10-15 07:36:53 +02:00
Jan Oberhauser 92669bb77a 🔀 Merge pull request #68 from ccakes:jwt-auth 2019-10-14 22:37:51 +02:00
Jan Oberhauser 85e8714c05 Do not call Error-Workflow in manual-mode 2019-09-23 22:05:09 +02:00
Jan Oberhauser 676cecec66 🐛 Fix bug that page did load white after version update 2019-09-20 13:54:06 +02:00
Jan Oberhauser a5344a0998 Do not add cors headers in production mode 2019-09-20 13:06:06 +02:00
Jan Oberhauser d337cbd805 👕 Replace some double quotes with single ones 2019-09-19 14:14:37 +02:00
Jan Oberhauser e19bdbf6d7 🚀 Include DB check in health-check 2019-09-19 14:00:14 +02:00
Jan Oberhauser 52808ea460 🐛 Fix issue that reading version caused problems with build 2019-09-19 13:21:10 +02:00
Jan Oberhauser e7bdaa65d4 🐛 Do not check for basic auth on Kubernetes /healthz endpoint 2019-09-17 16:39:52 +02:00
Jan Oberhauser 0214b44d51 🚀 Add Kubernetes /healthz endpoint 2019-09-17 15:30:49 +02:00
Jan Oberhauser 90f2dcb4c9 🐛 Fix bug that page did load white after version update 2019-09-11 20:14:59 +02:00
Jan Oberhauser d6b8b9544f Display currently installed version in editor-ui 2019-09-11 18:40:22 +02:00
Jan Oberhauser 52bd08fae0 Add additional data to Error Workflow Trigger 2019-09-11 17:48:14 +02:00
Jan Oberhauser d8eaeab85c Remove debug messages 2019-08-28 17:27:33 +02:00
Jan Oberhauser 5386391189 Return response code 500 in case workflow fails 2019-08-28 17:25:19 +02:00
Jan Oberhauser 4d6e25c28e 💥 Fix typo reponse => response 2019-08-28 17:16:09 +02:00
Jan Oberhauser 1ff456d77c Allow to set HTTP response code on Webhook-Node 2019-08-28 17:03:35 +02:00
Jan Oberhauser 67afc883db Replace vorpal with oclif in cli 2019-08-28 15:28:47 +02:00
Jan Oberhauser 6208125ac0 Serve editor-ui correctly also when installed as package 2019-08-19 20:41:10 +02:00
Jan Oberhauser a1b95918de 🐛 Fix bug that it did display running workflows as unsaved 2019-08-14 14:30:20 +02:00
Jan Oberhauser 2591e98333 Add missing dependency and fix some types 2019-08-13 19:01:14 +02:00
Jan Oberhauser 135431ebcd Simplify code and fix issue with stopping process 2019-08-09 21:05:15 +02:00
Jan Oberhauser 49a817b0bb 🐛 Fix bug when executing n8n from different folder 2019-08-09 13:12:00 +02:00
Jan Oberhauser e1a9d21254 🐛 Fix bug that child process did exit before message got sent 2019-08-09 11:07:54 +02:00
Jan Oberhauser 886100eeef Improve workflow retry 2019-08-09 08:07:18 +02:00
Jan Oberhauser d59a043e3f Run workflows in own independent subprocess 2019-08-08 20:47:08 +02:00
Jan Oberhauser 573c0e77c5 🐛 Fix bug with slow push messages 2019-08-06 20:44:36 +02:00
Jan Oberhauser 78bf3a5a28 🐛 Fix bug that old executions did get displayed as running 2019-08-05 19:13:18 +02:00
Jan Oberhauser c8f339ed8e 🐛 Fix issue that in production mode database did not get initialized 2019-08-04 20:59:10 +02:00
Jan Oberhauser e7328cd0d9 🐛 Deactivate database-synchronize in production mode 2019-08-04 14:45:56 +02:00
Jan Oberhauser f3d84fc29e Make it possible to secure n8n via basic auth 2019-08-04 14:24:48 +02:00
Jan Oberhauser 13c5f99a7e Add support for "_FILE" environment variables 2019-08-03 14:06:11 +02:00
Jan Oberhauser 1fff6e4d54 Compress server responses 2019-08-03 12:15:08 +02:00
Jan Oberhauser f1f2deb1d4 Select only the data we need to speed up requests 2019-07-31 14:16:55 +02:00
Jan Oberhauser f2102f8ea0 🐛 Fix bug that webhooks could not be tested anymore 2019-07-26 14:17:00 +02:00
Jan Oberhauser 0c89445682 🐛 Fix bug that workflow names could have spaces in beginning and end 2019-07-25 15:21:57 +02:00
Jan Oberhauser 2d8038669a Push active executions to clients to remove manual reload 2019-07-24 14:25:30 +02:00
Jan Oberhauser a9453806b8 Add support for PostgresDB and save date as Date 2019-07-22 20:29:06 +02:00
Jan Oberhauser d027545986 Use convict for configuration to make n8n easier to configure 2019-07-21 19:52:57 +02:00
Jan Oberhauser 95c721b08f 🐛 Fix issue that data got send out to all connected clients 2019-07-18 19:53:18 +02:00
Jan Oberhauser be9c5622ac Add possibility to define custom node-subtitle for nodes in
UI
2019-07-12 14:14:36 +02:00
Jan Oberhauser 1e0d2cbf1e Add additional helper functions to webhook functionality 2019-07-12 11:33:18 +02:00
Jan Oberhauser 5f471c2ab3 🐛 Fix issue that when test webhook got called to fast it was not
available yet
2019-07-12 11:31:54 +02:00
Jan Oberhauser a17a376d13 Make it possible to define if workflow executions should be
saved or not
2019-07-10 20:53:13 +02:00
Jan Oberhauser e00bc83f1b 🎨 Rename setting "saveManualRuns" to "saveManualExecutions" 2019-07-10 18:06:26 +02:00
Jan Oberhauser 3282acbcf1 Before credentials get created or updated check if one with same type and
name already exist
2019-06-30 19:33:47 +02:00
Jan Oberhauser 034c70f6ab Make n8n work with older node versions (<10) 2019-06-24 12:47:44 +02:00
Jan Oberhauser bce2ef34ed Rename folder to fix problems on MacOS and windows 2019-06-24 10:30:46 +02:00
Jan Oberhauser 1d86a2a773 Update to TypeScript 3.5.x 2019-06-24 10:28:18 +02:00
Jan Oberhauser 9cb9804eee Initial commit to release 2019-06-23 12:35:23 +02:00