Commit Graph

31 Commits

Author SHA1 Message Date
Omar Ajoue
3d80129a28 🐛 Fix performance and crashes with latest updates (#1524)
* Removing unnecessary data from process communication

* Wrapping progress save in a try ... catch block to prevent crashes

* Migration to fix mysql problems with big data on executions

*  Minor formatting fixes

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-03-10 10:50:07 +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
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 699d0a8946e08339558c72b2714601329fbf5f2c.

* 🔧 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
40c2acd77b 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Jan Oberhauser
22c40d026b 🐛 Fix bug that workflows did not get activated correctly 2020-08-30 11:06:46 +02:00
Jan Oberhauser
a46a6fa00c 👕 Fix lint issue 2020-07-26 11:59:17 +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
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
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
17ee152eaf Fix indentation 2020-06-10 15:58:57 +02: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
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
42b997fdb4 Improve database migrations 2020-05-04 17:29:39 +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
Rupenieks
1aa51944a6 Initial migration files for each DB 2020-04-22 15:52:15 +02: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
43442449e6 Fix start issue 2019-12-21 15:04:47 -06:00
Jan Oberhauser
d337cbd805 👕 Replace some double quotes with single ones 2019-09-19 14:14:37 +02:00
Jan Oberhauser
a9453806b8 Add support for PostgresDB and save date as Date 2019-07-22 20:29:06 +02:00
Jan Oberhauser
bce2ef34ed Rename folder to fix problems on MacOS and windows 2019-06-24 10:30:46 +02:00