Commit graph

268 commits

Author SHA1 Message Date
Jan Oberhauser 70435b582a Add hook which gets called after a workflow execution 2020-10-20 19:01:40 +02:00
Ben Hesseldieck 99b637330b
add afterDelete hook (#1054) 2020-10-14 17:47:43 +02:00
Ben Hesseldieck 28074d94a4
Add hooks (#1053)
*  add 2 hooks

*  Fix issue that if hook errors n8n would not shut down

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-10-14 16:38:48 +02:00
Jan Oberhauser 23dbdbc169 Add hook which allows to overwrite frontend settings 2020-09-30 16:11:45 +02:00
Jan Oberhauser f1680386ca Get OAuth-Callback URLs from backend 2020-09-30 15:57:40 +02:00
Jan Oberhauser 2072f53316 Change bcrypt library to make it work better in windows 2020-09-28 14:31:14 +02:00
Jan Oberhauser 3374fda7c6 Make it possible to open endpoints 2020-09-23 14:14:31 +02:00
Jan Oberhauser 88ccc5cb6f 🐛 Fix credential rename issue for active workflows #935 2020-09-23 09:43:00 +02:00
Jan Oberhauser 1401cebdc3 👕 Fix lint issue 2020-09-23 09:28:02 +02:00
Jan Oberhauser 690e76e187 Add hook which gets called once n8n is ready 2020-09-17 21:26:34 +02:00
Ahsan Virani 4056b6861c
Ignore credentials endpoint in Auth (#966) 2020-09-17 11:24:34 +02:00
Jan Oberhauser 2fee4396f1 🐛 Fix Test-Webhook registration issues 2020-09-16 23:57:17 +02:00
Jan Oberhauser 3d003fca72 Improve speed of basic-auth with hashed password 2020-09-14 19:58:21 +02:00
Jan Oberhauser 6d8e9b1cd2 🐛 Fix issue with overwrites 2020-09-13 12:35:13 +02:00
Jan Oberhauser 99f7eb2eca Apply also credential overwrites of parent and fix bug 2020-09-12 21:13:57 +02:00
Jan Oberhauser c8d009bced Add expression support to credentials 2020-09-12 12:16:07 +02:00
Ben Hesseldieck 279af6251b
Adjustions for utilizing an external OAuth Hook (#945)
* 🚧 add oauth redirect env variable, add host to oauth state

* 🎨 format

* 🚧 reset changes

* 🚧 add hook

* 🚧 remove host from inital state
2020-09-11 12:15:06 +02:00
Ahsan Virani 2a6f4ebf86
Add hash support in basic auth (#943) 2020-09-10 17:49:44 +02:00
Jan Oberhauser 013a7b8cf9 Add hooks for oauth-authentication 2020-09-10 10:16:24 +02:00
Jan Oberhauser 313c8c14dc Overwrite credential data only if there is no data set yet 2020-09-06 22:16:42 +02:00
Jan Oberhauser a9bfb506ff Update buffer code to not get deprecation message 2020-09-01 17:50:51 +02:00
Jan Oberhauser d2f6bd7e42 👕 Fix lint issue 2020-09-01 09:22:41 +02:00
Jan Oberhauser 22c40d026b 🐛 Fix bug that workflows did not get activated correctly 2020-08-30 11:06:46 +02:00
Jan Oberhauser b26baa902f 🐛 Add missing rawBody for "application/x-www-form-urlencoded" 2020-08-28 18:15:34 +02:00
Jan Oberhauser 7259aa4cf6 🐛 Add rawBody to every request that n8n does not error if body is missing 2020-08-27 15:19:10 +02:00
Jan Oberhauser 843569f608 👕 Fix lint issues and indentation 2020-08-27 15:09:31 +02:00
Jan Oberhauser 228d97d65c 🐛 Fix wrong favicon path #841 2020-08-14 23:20:07 +02:00
ricardo baac8edeb0 Merge 'master' into 'Bitly-OAuth2-support' 2020-08-09 19:12:38 -04:00
Matthew Tovbin 4c275513b4
JWT extras (#817)
* JWT extras: check issues, expiration, namespace and tenant

* idents
2020-08-06 17:44:19 +02:00
Shraddha Shaligram a5b6b3d209
Add Medium Node (#788)
* add medium node

* minor fixes

* fix publication post

* fix according to feedback

* additional fixes

* fix license description

*  Small improvements

*  Improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2020-08-05 09:29:29 +02:00
Jan Oberhauser b488ae8d3a 👕 Fix lint issue 2020-07-29 14:20:31 +02:00
Ben Hesseldieck 051598d30e
Add max execution time for Workflows (#755)
* 🎉 basic setup and execution stopping

* 🚧 soft timeout for own process executions

* 🚧 add hard timeout for subprocesses

* 🚧 add soft timeout to main thread

* 🔧 set default timeout to 5 mins --> 500s

* 💡 adding documentation to configs

* 🚧 deactivate timeout by default

* 🚧 add logic of max execution timeout

*  adding timeout to settings in frontend and server

* 🎨 improve naming

* 💡 fix change in config docs

* ✔️ fixing compilation issue

* 🎨 add format for new config variables

* 👌 type cast before checking equality

*  Improve error message if NodeType is not known

* 🐳 Tag also rpi latest image

* 🐛 Fix Postgres issue with Node.js 14 #776

* 🚧 add toggle to activate workflow timeout

* 💄 improving UX of setting a timeout and its duration

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-07-29 14:12:54 +02:00
Jan Oberhauser a46a6fa00c 👕 Fix lint issue 2020-07-26 11:59:17 +02:00
Jan Oberhauser 9c266e7aea Small improvements to OPTIONS request for webhooks 2020-07-24 16:45:07 +02:00
Rupenieks 82d94873fc
OPTIONS request support for Production/Test Webhooks (#787)
* 🐛 Fix naming of events in AffinityTrigger Node

* 🚧 OPTIONS allow header response for production webhooks

*  Implemented Allow header for test webhook OPTIONS response

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-07-24 16:24:18 +02:00
Jan Oberhauser de8e6f2811 🐛 Fix bug with saving executions of unsaved workflows 2020-07-24 15:16:55 +02:00
Ben Hesseldieck ebe2775701
Add index stopped at (#766)
* 🚧 add index on sqlite

* 🚧 add migration for postgres

* 🚧 add mysql migration

* 🚧 add mongodb migration

*  revert change of default postgresdb user
2020-07-17 17:08:40 +02:00
Jan Oberhauser 25cc745894 🐛 Fix editor-ui build 2020-07-14 23:36:05 +02:00
Jan Oberhauser df3077b5d2 👕 Fix lint issue 2020-07-14 13:59:37 +02:00
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