Commit graph

321 commits

Author SHA1 Message Date
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