Commit graph

352 commits

Author SHA1 Message Date
Jan Oberhauser 61aafc9873 📚 Update CHANGELOG.md and main package.json to 0.207.0 2022-12-12 09:03:33 -06:00
कारतोफ्फेलस्क्रिप्ट™ f4481e24e8
ci: Upgrade pnpm and turborepo (no-changelog) (#4878) 2022-12-09 17:16:26 +01:00
Jan Oberhauser c60e883640 📚 Update CHANGELOG.md and main package.json to 0.206.1 2022-12-07 12:51:55 +01:00
Jan Oberhauser b7a18c5750 📚 Update CHANGELOG.md and main package.json to 0.206.0 2022-12-06 20:56:27 +01:00
Jan Oberhauser 8ef675332d 📚 Update CHANGELOG.md and main package.json to 0.205.0 2022-12-02 10:23:01 +01:00
Iván Ovejero 59771c80ea
feat(editor): Overhaul expression editor modal (#4631)
* feat(editor): Integrate CodeMirror into expression editor modal (#4563)

*  Initial setup

* 👕 Fix lint

*  Extract segments

*  Implement var insertion

* 👕 Ignore `.d.cts`

*  Refactor to simplify

*  Add brace handler

*  Fully replace input and output

* feat(editor): Adjust resolved expression to match parameter input hint (#4600)

*  Initial adjustments

* 🐛 Prevent empty decorations

*  Adjust resolved expression to match param input hint

* ✏️ Improve comment

* 👕 Remove lint rule

* ✏️ Fix typo

* ✏️ Fix closing brace

*  Clean up `displayableSegments()`

* feat(editor): Apply styling to expression editor modal (#4607)

🎨 Apply styling

* feat(core): Improve errors in evaluated expression (#4619)

* 🐛 Fix env var access for FE

* 🔥 Remove excess closing bracket

* 🚧 Set up TODO

* ✏️ Update copy

*  Deny env vars access to FE

* 👕 Remove unneeded lint exception

* 📘 Remove unneeded typing

* feat(editor): Dynamically delay evaluation resolution (#4625)

* ✏️ Update copy

*  Dynamically delay evaluation resolution

* 🔥 Remove unneeded computed property

* refactor(editor): Pre-review cleanup (#4627)

* 🔥 Remove `ExpressionInput` component

* 🔥 Remove Quill

* ✏️ Rename i18n key

* 🎨 Place border on correct element

* 🐛 Handle syntax errors

*  Add sample autocompletions

* 🐛 Fix auto-extending behavior

* feat(editor): Improve escaping behavior (#4641)

* 🎨 Hide hint on small screen

*  Improve escaping

* refactor(editor): Apply styling feedback to expression editor modal (#4660)

* 🎨 Restyle hint

* 🎨 Restyle param input hint

* 🔥 Remove `e.g.`

*  Tweak delay

* 🎨 Restyle output

* 🎨 Tweak theme

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.22 (#4697)

* 🎨 Change background color

*  Focus on mount

*  Account for preexisting braces on injection

* 🐛 Fix `$workflow` showing as not saved

* ✏️ Tweak copy

* 🐛 Fix readonly focus

*  Focus input on paste

*  Sync inputs with modal

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.23 (#4705)

*  Allow newlines

*  Set cursor at end of content

*  Do not defocus on paste on Chrome

*  Fix import

* 🧪 Add e2e tests

*  Cleanup

*  Add telemetry

* 🔥 Remove log

*  Expose error properties

* 🧪 Rename test

*  Move `getCurrentWorkflow()` call

*  Revert highlighting removal per feedback

*  Add i18n keys

* 🚚 Move computed property to local state

* 🎨 Use CSS vars

*  Update `pnpm-lock.yaml`

*  Apply readonly state

*  Use prop

*  Complete fix
2022-12-01 13:26:22 +01:00
OlegIvaniv c486ffcf2d
refactor(editor): Patch ElementUI tooltip memory leak (#4769)
* refactor(editor): Fix ElementUI tooltip memory leak

* fix(editor): Remove patch console.logs and revert node-creator test
2022-11-30 17:27:41 +01:00
Alex Grozav 622118f983
feat: Make use of db:reset in all test suites (no-changelog) (#4739)
* feat: Make use of db:reset in all test suites

* refactor: Rename task to no longer use db: prefix

* feat: wrap cypress tasks into commands

* refactor: rename resetDatabase to resetAll

* fix: update test:e2e:all to use --headless
2022-11-28 18:11:33 +01:00
कारतोफ्फेलस्क्रिप्ट™ e409813ea9
ci: Setup cypress tasks for resetting DB, and setting up an owner (#4717)
* ci: Setup cypress tasks for resetting DB, and setting up an owner

* address Ivan's comments
2022-11-24 18:32:00 +01:00
Jan Oberhauser 602b1e56d6 📚 Update CHANGELOG.md and main package.json to 0.204.0 2022-11-24 16:53:37 +01:00
Mutasem Aldmour 6c14308dc6
test: Add e2e ui command (#4711)
test: add ui command
2022-11-24 12:54:11 +01:00
कारतोफ्फेलस्क्रिप्ट™ 500775de69
ci: Make end-to-end testing independent of development environments (no-changelog) (#4709)
* use user-folder override consistently everywhere, including for the `.cache` folder

* use consistent config for e2e tesing, skipping config loading from env and config files

* simplify all the cypress commands, and run all e2e tests on master
2022-11-24 12:49:01 +01:00
कारतोफ्फेलस्क्रिप्ट™ b6c57e19fc
feat(core): Lazy-load nodes and credentials to reduce baseline memory usage (#4577) 2022-11-23 16:20:28 +01:00
Alex Grozav b5b44d1b59
feat: Add credentials E2E test suite and page object (#4596)
* fix: Fix inferred type of X cannot be named error after pnpm update

* feat: Change page objects to expose actions and getters. Add credential creation suite
2022-11-22 11:37:26 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6b52e4b111
ci: Block execution of npm install (no-changelog) (#4662)
ci: block execution of `npm install` (no-changelog)
2022-11-21 12:53:11 +01:00
Jan Oberhauser 0dc8925865 📚 Update CHANGELOG.md and main package.json to 0.203.1 2022-11-18 14:20:15 +01:00
Jan Oberhauser 4ce24b310e 📚 Update CHANGELOG.md and main package.json to 0.203.0 2022-11-17 18:29:41 +01:00
कारतोफ्फेलस्क्रिप्ट™ 0148631d28
build: Upgrade some of the backend dev-tooling (no-changelog) (#4589)
* upgrade ts-node

* move tslint and typescript to a single place

* source-map-support should be loaded in the `n8n` bin script, and not in core

* upgrade jest

* Support only node.js 14, 16, or 18
2022-11-14 15:37:32 +01:00
Jan Oberhauser ed99aa2d59 📚 Update CHANGELOG.md and main package.json to 0.202.1 2022-11-10 21:59:43 +01:00
Jan Oberhauser 315526c9a7 📚 Update CHANGELOG.md and main package.json to 0.202.0 2022-11-10 16:55:14 +01:00
कारतोफ्फेलस्क्रिप्ट™ 736777385c
feat: Switch from npm to pnpm (#4429) 2022-11-09 17:32:05 +01:00
Alex Grozav f9d9f88f8a
fix: Update E2E testing env variables (#4556) 2022-11-09 13:34:14 +02:00
Alex Grozav 77644860c0
feat: Add cypress e2e tests for signup and signin (#3490)
* feat: Added cypress setup files.

* feat: Added server bootup and initial test run.

* feat: Added e2e tests for signin, signup, and personalization form.

* feat: Added e2e tests for adding a function node.

* feat: Added set node and workflow execution steps.

* feat: Added test id to main sidebar.

* feat: Added test for creating a new workflow.

* feat: Finished test for creating a blank workflow

* chore: Removed screenshots from e2e tests.

* refactor: change e2e tests to per page structure

* feat: add cypress type enchancements

* feat: add typescript for cypress tests

* fix: remove component after merge

* feat: update cypress definitions

* feat: add cypress cleanup task

* refactor: update cypress script names

* ci: add smoke tests to workflow

* chore: remove cypress example files

* feat: update signup flow to be reusable

* fix: fix signup route for cypress page object

* fix: remove cypress reset command

* fix: remove unused imports

* fix: Add unhandled error catcher
2022-11-08 14:21:10 +02:00
Jan Oberhauser 182e114a49 📚 Update CHANGELOG.md and main package.json to 0.201.0 2022-11-02 18:46:43 +01:00
Jan Oberhauser 263e6f30da 📚 Update CHANGELOG.md and main package.json to 0.200.1 2022-10-28 16:27:49 +02:00
Jan Oberhauser 14ea21af97 📚 Update CHANGELOG.md and main package.json to 0.200.0 2022-10-27 16:55:57 +02:00
कारतोफ्फेलस्क्रिप्ट™ 99157cf581
feat: setup nightly tests for postgres and mysql schemas (#4441)
* feat: unify Jest config

* feat: simplify DB setup for tests

* feat: setup nightly tests for postgres and mysql schemas
2022-10-25 22:06:03 +02:00
Jan Oberhauser e10128cbea 📚 Update CHANGELOG.md and main package.json to 0.199.0 2022-10-21 12:46:07 +02:00
Jan Oberhauser eace124f5b 📚 Update CHANGELOG.md and main package.json to 0.198.2 2022-10-14 16:47:42 +02:00
Jan Oberhauser 32fb298e82 📚 Update CHANGELOG.md and main package.json to 0.198.0 2022-10-14 07:54:40 +02:00
Jan Oberhauser b6e4f68bb0 📚 Update CHANGELOG.md and main package.json to 0.197.1 2022-10-10 14:32:04 +02:00
Jan Oberhauser 06e60b2d1b 📚 Update CHANGELOG.md and main package.json to 0.197.0 2022-10-10 10:42:39 +02:00
Jan Oberhauser 4810a4f58a 📚 Update CHANGELOG.md and main package.json to 0.196.0 2022-09-30 16:31:52 +02:00
Alex Grozav 27e2ce0470
feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061)
* feat: Added vite.js dependencies.

* chore: Removed tests folder to follow same structure as design-system

* chore: Removed unused testing config.

* chore: Created vite.js index.html

* refactor: Updated scss structure and imports.

* refactor: Updated workflow building.

* fix: Cleared up all workflow dependency cycles. Added proper package.json imports config.

* feat: Got a working build using Vite. Need to fix issues next.

* fix: Progress! Getting process.env error.

* fix: Changed process.env to import.meta.env.

* fix: Fixed circular imports that used require(). Fixed monaco editor.

* chore: Removed commented code.

* chore: Cleaned up package.json

* feat: Made necessary changes to replace base path in css files.

* feat: Serve CSS files for `editor-ui` Vite migration (#4069)

 Serve CSS files for Vite migration

* chore: Fixed package-lock.json.

* fix: Fixed build after centralized tsconfig update.

* fix: Removed lodash-es replacement.

* fix: Commented out vitest test command.

* style: Fixed linting issues.

* fix: Added lodash-es hotfix back.

* chore: Updated package-lock.json

* refactor: Renamed all n8n scss variables to no longer be defined as private.

* feat(editor): add application-wide el-button replacement.

* fix(editor): Fix import in page alert after merge.

* chore(editor): update package-lock.json.

* fix: Case sensitive lodash-es replacement for vue-agile.

* fix: add alias for lodash-es camelcase import.

* fix: add patch-package support for fixing quill

* feat: add patch-package on postinstall

* fix: update quill patch path.

* refactor: rename quill patch

* fix: update quill version.

* fix: update quill patch

* fix: fix linting rules after installing eslint in design-system

* fix: update date picker button to have primary color

* test: update callout component snapshots

* fix(editor): fix linting issues in editor after enabling eslint

* fix(cli): add /assets/* to auth ignore endpoints in server

* chore: update package-lock.json

* chore: update package-lock.json

* fix(editor): fix linting issues

* feat: add vite-legacy support

* fix: update workflow package interface imports to type imports.

* chore: update package-lock.json

* fix(editor) fix importing translations other than english

* fix(editor): remove test command until vitest is added

* fix: increase memory allocation for vite build

* fix: add patch-package patches to n8n-custom docker build

* fix: add performance and load time improvements

* fix: add proper typing to setNodeType

* chore: update package-lock.json

* style: use generic type for reduce in setNodeType

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-23 17:14:28 +03:00
Jan Oberhauser 6ab8e4d56a 📚 Update CHANGELOG.md and main package.json to 0.195.5 2022-09-23 12:11:49 +02:00
Jan Oberhauser b665388717 📚 Update CHANGELOG.md and main package.json to 0.195.4 2022-09-22 19:11:48 +02:00
Jan Oberhauser 8eeed77edb 📚 Update CHANGELOG.md and main package.json to 0.195.3 2022-09-22 13:42:14 +02:00
Jan Oberhauser 81ea20b03c 📚 Update CHANGELOG.md and main package.json to 0.195.2 2022-09-22 08:08:35 +02:00
Jan Oberhauser 708796e17f 📚 Update CHANGELOG.md and main package.json to 0.195.1 2022-09-21 20:43:43 +02:00
Jan Oberhauser 11cbfa6960 📚 Update CHANGELOG.md and main package.json to 0.195.0 2022-09-21 17:41:02 +02:00
Jan Oberhauser 07672cce7d 📚 Update CHANGELOG.md and main package.json to 0.194.0 2022-09-15 16:42:30 +02:00
कारतोफ्फेलस्क्रिप्ट™ 461848fcc4
fix(cli,core): Address Dependabot warnings [N8N-4121] (#3883)
* feat(cli): upgrade passport

* feat(core): upgrade file-type

* force upgrade browserslist

* force upgrade ejs

* force upgrade globby and fork-ts-checker-webpack-plugin
2022-09-14 09:50:33 +02:00
कारतोफ्फेलस्क्रिप्ट™ 69eb97999d
fix(eslint): setup eslint to run on every package - N8N-4553 (#4050)
* fix(eslint): setup eslint to run on every package

Also, unify eslint config and dependencies into a private package in the workspace.
2022-09-12 11:41:50 +02:00
Jan Oberhauser b020811ac1 📚 Update CHANGELOG.md and main package.json to 0.193.5 2022-09-07 16:43:33 +02:00
Jan Oberhauser e565b87cf8 📚 Update CHANGELOG.md and main package.json to 0.193.4 2022-09-06 14:55:26 +02:00
Jan Oberhauser 795add31c3 📚 Update CHANGELOG.md and main package.json to 0.193.3 2022-09-01 18:10:43 +02:00
Jan Oberhauser 10cdf60202 📚 Update CHANGELOG.md and main package.json to 0.193.2 2022-09-01 09:52:16 +02:00
Jan Oberhauser 0426253376 📚 Update CHANGELOG.md and main package.json to 0.193.1 2022-08-31 18:49:36 +02:00
Jan Oberhauser 143707cc17 📚 Update CHANGELOG.md and main package.json to 0.193.0 2022-08-31 16:56:51 +02:00
Jan Oberhauser a61808df51 🔖 Update main package.json to 0.192.1 2022-08-25 12:17:02 +02:00
Jan Oberhauser dc5bf716db 🔖 Update main package.json to 0.192.0 2022-08-24 16:24:41 +02:00
Michael Kret 725a567f07
feat(core): added command to scripts for easy launch n8n with tunnel 2022-08-22 18:33:13 +03:00
Iván Ovejero 11617616cd
refactor: Format root-level files (#3858)
*  Create `format.mjs` script

* 👕 Add lint exception

*  Add root formatting to `format` command

* 🎨 Fix glob in `.prettierignore`

* 🚚 Improve naming

* 🎨 Format root-level files

*  Simplify check

*  Add period to extension

*  Locate config

*  Add `ignore` arg

* 🚚 Move `config` and `ignore` after check
2022-08-19 15:34:02 +02:00
Jan Oberhauser 18c7a66b30 🔖 Update main package.json to 0.191.1 2022-08-19 10:50:37 +02:00
Jan Oberhauser f2d326c7f0 🔖 Update main package.json to 0.191.0 2022-08-17 14:09:44 +02:00
Jan Oberhauser a6e1b82c02 🔖 Update main package.json to 0.190.0 2022-08-10 12:17:14 +02:00
Alex Grozav a9fa830bd7
build: Migrate from lerna to turborepo (#3796)
* feat: Added turborepo setup.

* feat: Updated nodes and credentials loading.

* feat: Removed remaining lerna references.

* fix: Updated npm run bootstrap command.

* feat: Added CI step for installing latest npm.

* chore: Removed lerna config.

* feat: Added gulp to global ci packages.

* fix: Set node as moduleResolution target in workflow. Fixed CI.

* fix: Added turborepo installation to the n8n-custom docker image.

* fix: Updated copied docker files for n8n-custom.

* fix: Added git as dependency in n8n-custom dockerfile.

* fix: Changed npm install command in n8n-custom.

* 📦 Update `package-lock.json`

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-08-06 22:55:51 +02:00
Jan Oberhauser 38e65ccb75 🔖 Update main package.json to 0.189.1 2022-08-05 09:58:00 +02:00
Jan Oberhauser 49bbc85a89 🔖 Update main package.json to 0.189.0 2022-08-03 18:26:43 +02:00
Jan Oberhauser 92b2903ab7 🔖 Update main package.json to 0.188.0 2022-07-27 17:43:35 +02:00
Jan Oberhauser 2f4f2cfb86 🔖 Update main package.json to 0.187.2 2022-07-21 14:45:52 +02:00
Jan Oberhauser 08841f05a2 🔖 Update main package.json to 0.187.1 2022-07-20 18:36:16 +02:00
Jan Oberhauser 56a7ad4070 🔖 Update main package.json to 0.186.1 2022-07-14 10:37:03 +02:00
Jan Oberhauser c1eb3d65da 🔖 Update main package.json to 0.186.0 2022-07-13 10:42:05 +02:00
Jan Oberhauser ca792ed984 🔖 Update main package.json to 0.185.0 2022-07-05 10:00:25 +02:00
Jan Oberhauser 66c7cf45b2 🔖 Update main package.json to 0.184.0 2022-06-29 09:23:13 +02:00
Jan Oberhauser 9120d0439c 🔖 Update main package.json to 0.183.0 2022-06-20 17:03:36 -07:00
Jan Oberhauser a9b7bec901 🔖 Update main package.json to 0.182.1 2022-06-16 11:31:22 -07:00
Jan Oberhauser e35583a31a 🔖 Update main package.json to 0.182.0 2022-06-14 10:08:25 -07:00
Jan Oberhauser 65dbe05454 🔖 Update main package.json to 0.181.2 2022-06-09 14:04:37 +02:00
Jan Oberhauser 210d8a4ab0 🔖 Update main package.json to 0.181.1 2022-06-09 09:18:00 +02:00
Jan Oberhauser 3b9a3b77d4 🔖 Update main package.json to 0.181.0 2022-06-08 21:29:26 +02:00
Jan Oberhauser 3e15e3edad 🔖 Update main package.json to 0.180.0 2022-06-07 21:59:01 +02:00
Jan Oberhauser 681ba6a673 🔖 Update main package.json to 0.179.0 2022-05-30 14:40:24 +02:00
Jan Oberhauser ab54109551 🔖 Update main package.json to 0.178.2 2022-05-25 10:25:48 +02:00
Jan Oberhauser 7c00ab0ec6 🔖 Update main package.json to 0.178.1 2022-05-24 18:32:59 +02:00
Jan Oberhauser 99910e9160 🔖 Update main package.json to 0.178.0 2022-05-24 11:51:11 +02:00
Jan Oberhauser edb4dd31ef 🔖 Update main package.json to 0.177.0 2022-05-16 18:35:11 +02:00
Jan Oberhauser c7157b730f 🔖 Update main package.json to 0.176.0 2022-05-10 10:57:19 +02:00
Jan Oberhauser 57166ba15c 🔖 Update main package.json to 0.175.1 2022-05-03 10:28:48 +02:00
Jan Oberhauser 8d068df461 🔖 Update main package.json to 0.175.0 2022-05-02 13:28:39 +02:00
Iván Ovejero 8f46fd48d2
🔖 Update release version (#3207) 2022-04-26 11:40:41 +02:00
Jan Oberhauser c59fad2bce 🔖 Release n8n@0.168.2 2022-03-16 17:04:51 +01:00
Jan Oberhauser 07de2ca965 🔖 Release n8n@0.168.1 2022-03-15 10:22:44 +01:00
Jan Oberhauser a03c368d2c Update n8n version in main package.json file 2022-03-14 17:58:00 +01:00
Jan Oberhauser 95de3b2910 Add n8n version to main package.json file 2022-03-14 11:56:32 +01:00
Mutasem Aldmour 3d6b40b852
Update credentials modal (#2154)
*  Generalize unique entity name generation

*  Standardize variable names

* redo credentials

* revert some changes, replace got with was

* fix v-if order

* fix v-if order

* update linting

* update gulpfile

* update ssh display name

* update height

* update params

* update info tip sizes

* address design comments

* update google button disabled

* update icon size to 28px

* update design issues

* update info tab design

* address design comments

* update tab size

* update run data spacing

* address comments, update logo design

* fix spacing issues

* clean up store

* fix create new bug

* add loading state

* rename prop

* remove unused prop

* fix select bug

* remove label tag

* update word break

* build

* address design comments

* update font family of button

* update menu opacity

* update text

* update title

* address more comments

* update oauth messages

* add oauth validation

* hide disabled state

* update warning modal

* show button on text input

* clean up cred details

* add validation errors

* fix bug when deleting cred

* Frontend hack to display test button

* Created interfaces for testing and endpoint

* Testing slack node credentials working

* Adding test with node to endpoint for credential testing

* Fixed linting and test detectability

* Adding required for slack token

* Added google sheets credential testing

* update message

* Adding suggestions by Ivan and Mutasem

* Address comments

* keep blurred when focused

* update font weight of errors

* add oauth banner

* remove toast

* Fixed code bug and added telegram credential testing

* scroll to top on success

* clean up duplication

* Fixed telegram trigger node and added tests to typeform

* refactor modal

* add more validation support

* refactor info tab

* scroll to bottom on save, handle cred saving

* refactor save button

* save cred on valid

* save cred on valid

* scroll to top if has error

* add targets on input labels

* delete credentails input

* revert fe changes

* update validation logic

* clean interface

* test credentials

* update banner design

* show testing state

* update x position

* fix issues

* fix focus issues

* clean up validation behavior

* make error relative

* update banner component

* update error spacing

* don't close dialog

* rename button

* update how banners behave

* if has unsaved changes first

* move confirm message

* add success banner

* update time state

* disable transitions

* test on open

* clean up banner behavior

* update banner styling

* capitalize

* update error banner styling to handle long texts

* avoid unnessary content jostling

* add loading label

* show validation warnings when opening modal

* retest cred if not all props req

* update scroll to auto

* add error warning

* update color saturation

* set overflow to auto

* fix bug to get credentials when connected

* round down to minutes

* change tab name

* update casing oauth

* disable credential testing if it has expressions

* label same as title

* add more space between close and save

* remove check on making any changes

* hide close on confirm modals

* don't accept clicks outside dialog

* fix build issues

* undo test changes

* fix table scrollbar logs

* rename modals

* fix bug with same name

* refactor modal

* fix tslint issue

* refactor name

* update name behavior

* update monospace font

* remove comment

* refactor inputs

* refactor error handling

* reduce spacing changes

* fix doc url oauth1 oauth2

* build

* hide infotip if no inputs

* address most comments

* rename file

* fix menu alignment

* gst

* update types

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2021-09-11 10:15:36 +02: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 29eab1dbcd
🐛 Fix Pipedrive SVG icon (#1948)
* 🎨 Fix Pipedrive SVG icon

*  Except Pipedrive SVG from optimizer
2021-06-29 07:28:02 +02: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
Jan Oberhauser 48224d51ea Bring commands in order 2021-04-17 17:19:48 +02:00
Konstantin Nosov 5e7f27d137
Optimize svg (#1653)
* add optimize-svg command to npm scripts

* run svgo over all svg assets in repo
2021-04-17 17:17:16 +02:00
Jan Oberhauser df3077b5d2 👕 Fix lint issue 2020-07-14 13:59:37 +02:00
Chris Lonardo 00fc6e5980 enhance .editorconfig and apply formatting cleanup to last commit 2020-04-06 14:04:59 -04:00
Chris Lonardo c6aa73cc2f upgrade mongodb client to support mongodb 4.2 and allow conn string override 2020-04-05 21:06:00 -04:00
Yoni Feigelson aa1caa4188 Fix 'npm run start' for Windows, keeping Linux/Mac intact 2019-10-12 11:30:06 +03:00
Yoni Feigelson b1d1851842 Fix 'run start' for Windows 2019-10-11 18:13:58 +03:00
Jan Oberhauser 3614a9e9b6 📚 Add homepage to package.json files 2019-08-31 13:06:24 +02:00
Jan Oberhauser cc9a577470 🐛 Fix "npm run start" command 2019-08-28 17:39:10 +02:00
Jan Oberhauser 97893fed1b 📚 Update development cycle documentation and add placeholder tests 2019-08-14 13:45:18 +02:00
Jan Oberhauser 84ba4dec06 Make it easier to start n8n in development mode 2019-08-14 12:13:43 +02:00
Jan Oberhauser 9cb9804eee Initial commit to release 2019-06-23 12:35:23 +02:00