Ahsan Virani
135d5a89cd
⚡ Add debug log in healthcheck and enable DB logging via environment ( #2744 )
...
* ⚡ add debug log in healthcheck
* ⚡ add DB logging
* CR
2022-02-01 11:27:08 +01:00
Iván Ovejero
56c4c6991f
🎨 Set up linting and formatting ( #2120 )
...
* ⬆️ Upgrade TS to 4.3.5
* 👕 Add ESLint configs
* 🎨 Add Prettier config
* 📦 Add deps and commands
* ⚡ Adjust global .editorconfig to new ruleset
* 🔥 Remove unneeded local .editorconfig
* 📦 Update deps in editor-ui
* 🔨 Limit Prettier to only TS files
* ⚡ Add recommended VSCode extensions
* 👕 Fix build
* 🔥 Remove Vue setting from global config
* ⚡ Disable prefer-default-export per feedback
* ✏️ Add forgotten divider
* 👕 Disable no-plusplus
* 👕 Disable class-methods-use-this
* ✏️ Alphabetize overrides
* 👕 Add one-var consecutive override
* ⏪ Revert one-var consecutive override
This reverts commit b9252cf935
.
* 🎨 👕 Lint and format workflow package (#2121 )
* 🎨 Format /workflow package
* 👕 Lint /workflow package
* 🎨 Re-format /workflow package
* 👕 Re-lint /workflow package
* ✏️ Fix typo
* ⚡ Consolidate if-checks
* 🔥 Remove prefer-default-export exceptions
* 🔥 Remove no-plusplus exceptions
* 🔥 Remove class-methods-use-this exceptions
* 🎨 👕 Lint and format node-dev package (#2122 )
* 🎨 Format /node-dev package
* ⚡ Exclude templates from ESLint config
This keeps the templates consistent with the codebase while preventing lint exceptions from being made part of the templates.
* 👕 Lint /node-dev package
* 🔥 Remove prefer-default-export exceptions
* 🔥 Remove no-plusplus exceptions
* 🎨 👕 Lint and format core package (#2123 )
* 🎨 Format /core package
* 👕 Lint /core package
* 🎨 Re-format /core package
* 👕 Re-lint /core package
* 🔥 Remove prefer-default-export exceptions
* 🔥 Remove no-plusplus exceptions
* 🔥 Remove class-methods-use-this exceptions
* 🎨 👕 Lint and format cli package (#2124 )
* 🎨 Format /cli package
* 👕 Exclude migrations from linting
* 👕 Lint /cli package
* 🎨 Re-format /cli package
* 👕 Re-lint /cli package
* 👕 Fix build
* 🔥 Remove prefer-default-export exceptions
* ⚡ Update exceptions in ActiveExecutions
* 🔥 Remove no-plusplus exceptions
* 🔥 Remove class-methods-use-this exceptions
* 👕 fix lint issues
* 🔧 use package specific linter, remove tslint command
* 🔨 resolve build issue, sync dependencies
* 🔧 change lint command
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2021-08-29 20:58:11 +02:00
Iván Ovejero
f29950ee81
🐛 Fix executions pruning and UTC storage ( #1959 )
...
* ⚡ Add logging for pruning errors
* ⚡ Reformat pruning date to UTC string
* ⚡ Reformat workflow deletion date to UTC
* ⚡ Enforce UTC datetimes for MySQL
* ⚡ Enforce UTC datetimes for Postgres
* ⏪ Revert "Reformat workflow deletion date to UTC"
This reverts commit ca9628bc6d
.
2021-07-23 21:40:53 +02:00
Ben Hesseldieck
d3a1d3ffef
Revert " ⚡ Simplify config imports in cli package ( #1840 )" ( #1931 )
...
This reverts commit c21c8b3369
.
2021-06-23 11:20:07 +02:00
Iván Ovejero
c21c8b3369
⚡ Simplify config imports in cli package ( #1840 )
...
* ⚡ Set path alias for config
* ⚡ Update config export
* ⚡ Simplify config imports
* ⚡ Update also additional imports
* ⚡ Update path in collation migration
* ⚡ Resolve aliased paths
* 👕 Fix Codacy issue
* 👕 Retry to fix Codacy issue
Co-authored-by: Jan <janober@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-22 23:18:52 +02:00
Ben Hesseldieck
05eec87d1d
✨ Add tagging of workflows ( #1647 )
...
* clean up dropdown
* clean up focusoncreate
* ⚡ Ignore mistaken ID in POST /workflows
* ⚡ Fix undefined tag ID in PATCH /workflows
* ⚡ Shorten response for POST /tags
* remove scss mixins
* clean up imports
* ⚡ Implement validation with class-validator
* address ivan's comments
* implement modals
* Fix lint issues
* fix disabling shortcuts
* fix focus issues
* fix focus issues
* fix focus issues with modal
* fix linting issues
* use dispatch
* use constants for modal keys
* fix focus
* fix lint issues
* remove unused prop
* add modal root
* fix lint issues
* remove unused methods
* fix shortcut
* remove max width
* ⚡ Fix duplicate entry error for pg and MySQL
* update rename messaging
* update order of buttons
* fix firefox overflow on windows
* fix dropdown height
* 🔨 refactor tag crud controllers
* 🧹 remove unused imports
* use variable for number of items
* fix dropdown spacing
* ⚡ Restore type to fix build
* ⚡ Fix post-refactor PATCH /workflows/:id
* ⚡ Fix PATCH /workflows/:id for zero tags
* ⚡ Fix usage count becoming stringified
* address max's comments
* fix filter spacing
* fix blur bug
* address most of ivan's comments
* address tags type concern
* remove defaults
* ⚡ return tag id as string
* 🔨 add hooks to tag CUD operations
* 🏎 simplify timestamp pruning
* remove blur event
* fix onblur bug
* ⚡ Fix fs import to fix build
* address max's comments
* implement responsive tag container
* fix lint issues
* Set default dates in entities
* 👕 Fix lint in migrations
* update tag limits
* address ivan's comments
* remove rename, refactor header, implement new designs for save, remove responsive tag container
* update styling
* update styling
* implement responsive tag container
* implement header tags edit
* implement header tags edit
* fix lint issues
* implement expandable input
* minor fixes
* minor fixes
* use variable
* rename save as
* duplicate fixes
* ⚡ Implement unique workflow names
* ⚡ Create /workflows/new endpoint
* minor edit fixes
* lint fixes
* style fixes
* hook up saving name
* hook up tags
* clean up impl
* fix dirty state bug
* update limit
* update notification messages
* on click outside
* fix minor bug with count
* lint fixes
* ⚡ Add query string params to /workflows/new
* handle minor edge cases
* handle minor edge cases
* handle minor bugs; fix firefox dropdown issue
* Fix min width
* apply tags only after api success
* remove count fix
* 🚧 Adjust to new qs requirements
* clean up workflow tags impl, fix tags delete bug
* fix minor issue
* fix minor spacing issue
* disable wrap for ops
* fix viewport root; save on click in dropdown
* save button loading when saving name/tags
* implement max width on tags container
* implement cleaner create experience
* disable edit while updating
* codacy hex color
* refactor tags container
* fix clickability
* fix workflow open and count
* clean up structure
* fix up lint issues
* ⚡ Create migrations for unique workflow names
* fix button size
* increase workflow name limit for larger screen
* tslint fixes
* disable responsiveness for workflow modal
* rename event
* change min width for tags
* clean up pr
* ⚡ Adjust quotes in MySQL migration
* ⚡ Adjust quotes in Postgres migration
* address max's comments on styles
* remove success toasts
* add hover mode to name
* minor fixes
* refactor name preview
* fix name input not to jiggle
* finish up name input
* Fix up add tags
* clean up param
* clean up scss
* fix resizing name
* fix resizing name
* fix resize bug
* clean up edit spacing
* ignore on esc
* fix input bug
* focus input on clear
* build
* fix up add tags clickablity
* remove scrollbars
* move into folders
* clean up multiple patch req
* remove padding top from edit
* update tags on enter
* build
* rollout blur on enter behavior
* rollout esc behavior
* fix tags bug when duplicating tags
* move key to reload tags
* update header spacing
* build
* update hex case
* refactor workflow title
* remove unusued prop
* keep focus on error, fix bug on error
* Fix bug with name / tags toggle on error
* impl creating new workflow name
* ⚡ Refactor endpoint per new guidelines
* support naming endpoint
* ⚡ Refactor to support numeric suffixes
* 👕 Lint migrations for unique workflow names
* ⚡ Add migrations set default dates to indexes
* fix connection push bug
* ⚡ Lowercase default workflow name
* ⚡ Add prefixes to set default dates migration
* ⚡ Fix indentation on default dates migrations
* ⚡ Add temp ts-ignore for unrelated change
* ⚡ Adjust default dates migration for MySQL
Remove change to data column in credentials_entity, already covered by Omar's migration. Also, fix quotes from table prefix addition.
* ⚡ Adjust quotes in dates migration for PG
* fix safari color bug
* fix count bug
* fix scroll bugs in dropdown
* expand filter size
* apply box-sizing to main header
* update workflow names in executions to be wrapped by quotes
* fix bug where key is same in dropdown
* fix firefox bug
* move up push connection session
* 🔨 Remove mistakenly added nullable property
* 🔥 Remove unneeded index drop-create (PG)
* 🔥 Remove unneeded table copying
* ⚡ Merge dates migration with tags migration
* 🔨 Refactor endpoint and make wf name env
* dropdown colors in firefox
* update colors to use variables
* update thumb color
* change error message
* remove 100 char maximum
* fix bug with saving tags dropdowns multiple times
* update error message when no name
* ⚡ Update name missing toast message
* ⚡ Update workflow already exists message
* disable saving for executions
* fix bug causing modal to close
* make tags in workflow open clickable
* increase workflow limit to 3
* remove success notifications
* update header spacing
* escape tag names
* update tag and table colors
* remove tags from export
* build
* clean up push connection dependencies
* address ben's comments
* revert tags optional interface
* address comments
* update duplicate message
* build
* fix eol
* add one more eol
* ⚡ Update comment
* add hover style for workflow open, fix up font weight
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2021-05-29 13:31:21 -05: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 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
40c2acd77b
👕 Fix lint issue
2020-10-22 15:46:03 +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
d17161cf40
🔀 Merge branch 'static-stateless-webhooks'
2020-07-14 12:34:34 +02:00
Jan Oberhauser
6af3743e1b
✨ Add Postgres SSL support
2020-06-25 11:39:04 +02: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
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
07c69f5ade
Migration settings
2020-04-22 16:03:50 +02:00
Jan Oberhauser
303062623b
✨ Add MariaDB support
2020-04-14 19:54:11 +02:00
Jan Oberhauser
255d30b2c7
✨ Make it possible to define prefix for table names
2020-03-21 18:32:26 +01:00
Istvan Richter
31a2138f92
Add custom Postgres schema support
2020-03-18 06:26:33 +01: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
d337cbd805
👕 Replace some double quotes with single ones
2019-09-19 14:14:37 +02:00
Jan Oberhauser
2591e98333
⚡ Add missing dependency and fix some types
2019-08-13 19:01:14 +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
13c5f99a7e
✨ Add support for "_FILE" environment variables
2019-08-03 14:06:11 +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
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