Commit graph

1099 commits

Author SHA1 Message Date
Omar Ajoue 01807d6136
fix(core): Open oauth callback endpoints to be public (#3168) 2022-04-25 10:51:50 +02:00
Iván Ovejero bc5749b7ae
test(core): Implement timeout in SMTP tests (#3152)
*  Implement timeout in SMTP tests

* 🚚 Move timeout to constants
2022-04-22 12:38:53 +02:00
Jan Oberhauser 43c1df9188 🔖 Release n8n@0.173.1 2022-04-19 13:54:30 +02:00
Jan Oberhauser 52e87d0e02 ⬆️ Set n8n-nodes-base@0.171.1 on n8n 2022-04-19 13:53:44 +02:00
Jan Oberhauser 5bf0b5ccf6 🔖 Release n8n@0.173.0 2022-04-19 10:48:44 +00:00
Jan Oberhauser 5a63af9dbe ⬆️ Set n8n-core@0.114.0, n8n-editor-ui@0.140.0, n8n-nodes-base@0.171.0 and n8n-workflow@0.96.0 on n8n 2022-04-19 10:48:44 +00:00
Mike Quinlan b5b60008d6
feat(Slack Node): Add blocks to slack message update (#2182)
* Adding blocks to slack message update

* Fixing lint

* Adding blocks to slack message update

* Fixing lint

*  added toggle to display json inputs in update operation

*  Improvements

* feat(Markdown Node): Add new node to covert between Markdown <> HTML (#1728)

*  Markdown Node

* Tweaked wording

* ⬆️ Bump showdown to latest version

*  Small improvement

* 👕 Fix linting issue

*  Small improvements

* 🔨 added options, added continue on fail, some clean up

*  removed test code

*  added missing semicolumn

* 🔨 wip

* 🔨 replaced library for converting html to markdown, added options

*  lock file fix

* 🔨 clean up

Co-authored-by: sirdavidoff <1670123+sirdavidoff@users.noreply.github.com>
Co-authored-by: Michael Kret <michael.k@radency.com>

Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io>
Co-authored-by: sirdavidoff <1670123+sirdavidoff@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-04-19 12:36:01 +02:00
Iván Ovejero f4e9562451
🐛 Update initialization checks (#3147) 2022-04-19 12:22:05 +02:00
Jan Oberhauser a9653c20ef 👕 Fix lint issue 2022-04-18 18:55:20 +02:00
Ricardo Espinoza 5719e44b59
fix(core): Add "rawBody" also for xml requests (#3143) 2022-04-18 18:50:40 +02:00
Ben Hesseldieck 8532b0030d
fix(core): Make email for UM case insensitive (#3078)
* 🚧 lowercasing email

*  add tests for case insensitive email

* 🐘 add migration to lowercase email

* 🚚 rename migration

* 🐛 fix package.lock

* 🐛 fix double import

* 📋 add todo
2022-04-15 08:11:35 +02:00
Omar Ajoue d3fecb9f6d
🎨 Centralize error throwing for encryption keys and credentials (#3105)
* Centralized error throwing for encryption key

* Unifying the error message used by cli and core packages

* Improvements to error messages to make it more DRY

* Removed unnecessary throw

* Throwing error when credential does not exist to simplify node behavior (#3112)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-04-15 08:00:47 +02:00
Iván Ovejero 3e5d981f3f
Remove non-null assertions for Db collections (#3111)
* 📘 Remove unions to `null`

*  Track `Db` initialization state

* 🔥 Remove non-null assertions

* 👕 Remove lint exceptions

* 🔥 Remove leftover assertion
2022-04-14 09:02:12 +02:00
Jan Oberhauser 6c38b79f25 🔖 Release n8n@0.172.0 2022-04-11 13:27:11 +00:00
Jan Oberhauser ccebf68279 ⬆️ Set n8n-core@0.113.0, n8n-editor-ui@0.139.0, n8n-nodes-base@0.170.0 and n8n-workflow@0.95.0 on n8n 2022-04-11 13:27:10 +00:00
Iván Ovejero 4ae0f5b6fb
fix(editor): Fix i18n issues (#3072)
* 🐛 Fix `defaultLocale` watcher

*  Improve error handling for headers

* ✏️ Improve naming

* 🐛 Fix hiring banner check

*  Flatten base text keys

*  Fix miscorrected key

*  Implement pluralization

* ✏️ Update docs

* 🚚 Move headers fetching to `App.vue`

* fix hiring banner

*  Fix missing import

* ✏️ Alphabetize translations

*  Switch to async check

* feat(editor): Refactor Output Panel + fix i18n issues (#3097)

* update main panel

* finish up tabs

* fix docs link

* add icon

* update node settings

* clean up settings

* add rename modal

* fix component styles

* fix spacing

* truncate name

* remove mixin

* fix spacing

* fix spacing

* hide docs url

* fix bug

* fix renaming

* refactor tabs out

* refactor execute button

* refactor header

* add more views

* fix error view

* fix workflow rename bug

* rename component

* fix small screen bug

* move items, fix positions

* add hover state

* show selector on empty state

* add empty run state

* fix binary view

* 1 item

* add vjs styles

* show empty row for every item

* refactor tabs

* add branch names

* fix spacing

* fix up spacing

* add run selector

* fix positioning

* clean up

* increase width of selector

* fix up spacing

* fix copy button

* fix branch naming; type issues

* fix docs in custom nodes

* add type

* hide items when run selector is shown

* increase selector size

* add select prepend

* clean up a bit

* Add pagination

* add stale icon

* enable stale data in execution run

* Revert "enable stale data in execution run"

8edb68dbff

* move metadata to its own state

* fix smaller size

* add scroll buttons

* update tabs on resize

* update stale data on rename

* remove metadata on delete

* hide x

* change title colors

* binary data classes

* remove duplicate css

* add colors

* delete unused keys

* use event bus

* update styles of pagination

* fix ts issues

* fix ts issues

* use chevron icons

* fix design with download button

* add back to canvas button

* add trigger warning disabled

* show trigger warning tooltip

* update button labels for triggers

* update node output message

* fix add-option bug

* add page selector

* fix pagination selector bug

* fix executions bug

* remove hint

* add json colors

* add colors for json

* add color json keys

* fix select options bug

* update keys

* address comments

* update name limit

* align pencil

* update icon size

* update radio buttons height

* address comments

* fix pencil bug

* change buttons alignment

* fully center

* change order of buttons

* add no output message in branch

* scroll to top

* change active state

* fix page size

* all items

* update expression background

* update naming

* align pencil

* update modal background

* add schedule group

* update schedule nodes messages

* use ellpises for last chars

* fix spacing

* fix tabs issue

* fix too far data bug

* fix executions bug

* fix table wrapping

* fix rename bug

* add padding

* handle unkown errors

* add sticky header

* ignore empty input, trim node name

* nudge lightness of color

* center buttons

* update pagination

* set colors of title

* increase table font, fix alignment

* fix pencil bug

* fix spacing

* use date now

* address pagination issues

* delete unused keys

* update keys sort

* fix prepend

* fix radio button position

* Revert "fix radio button position"

ae42781786

Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2022-04-11 15:12:13 +02:00
Jan Oberhauser 3763f815bd
fix(core): Set correct timezone in luxon (#3115) 2022-04-10 11:33:42 +02:00
Iván Ovejero 027dfb2f0a
Enable esModuleInterop compiler option and upgrade to TypeScript 4.6 (#3106)
*  Enable `esModuleInterop` for /core

*  Adjust imports in /core

*  Enable `esModuleInterop` for /cli

*  Adjust imports in /cli

*  Enable `esModuleInterop` for /nodes-base

*  Adjust imports in /nodes-base

*  Make imports consistent

* ⬆️ Upgrade TypeScript to 4.6 (#3109)

* ⬆️ Upgrade TypeScript to 4.6

* 📦 Update package-lock.json

* 🔧 Avoid erroring on untyped errors

* 📘 Fix type error

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-04-08 23:32:08 +02:00
Iván Ovejero 37a6e329af
🔨 Infer typings for config schema (#2656)
* 🚚 Move schema to standalone file

*  Add assertions to string literal arrays

*  Infer typings for convict schema

* 🔥 Remove unneeded assertions

* 🔨 Fix errors surfaced by typings

*  Type nodes.include/exclude per docs

*  Account for types for exception paths

*  Set method alias to flag incorrect paths

*  Replace original with alias

*  Make allowance for nodes.include

*  Adjust leftover calls

* 🔀 Fix conflicts

* 🔥 Remove unneeded castings

* 📘 Simplify exception path type

* 📦 Update package-lock.json

* 🔥 Remove unneeded imports

* 🔥 Remove unrelated file

*  Update schema

*  Update interface

* 📦 Update package-lock.json

* 📦 Update package-lock.json

* 🔥 Remove leftover assertions

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-04-08 19:37:27 +02:00
Iván Ovejero 1e2d6daaa3
🚨 Optimize UM tests (#3066)
*  Declutter test logs

* 🐛 Fix random passwords length

* 🐛 Fix password hashing in test user creation

* 🐛 Hash leftover password

*  Improve error message for `compare`

*  Restore `randomInvalidPassword` contant

*  Mock Telemetry module to prevent `--forceExit`

* 🔥 Remove unused imports

* 🔥 Remove unused import

*  Add util for configuring test SMTP

*  Isolate user creation

* 🔥 De-duplicate `createFullUser`

*  Centralize hashing

* 🔥 Remove superfluous arg

* 🔥 Remove outdated comment

*  Prioritize shared tables during trucation

* 🧪 Add login tests

*  Use token helper

* ✏️ Improve naming

*  Make `createMemberShell` consistent

* 🔥 Remove unneeded helper

* 🔥 De-duplicate `beforeEach`

* ✏️ Improve naming

* 🚚 Move `categorize` to utils

* ✏️ Update comment

* 🧪 Simplify test

* 📘 Improve `User.password` type

*  Silence logger

*  Simplify condition

*  Unhash password in payload

* 🐛 Fix comparison against unhashed password

*  Increase timeout for fake SMTP service

* 🔥 Remove unneeded import

*  Use `isNull()`

* 🧪 Use `Promise.all()` in creds tests

* 🧪 Use `Promise.all()` in me tests

* 🧪 Use `Promise.all()` in owner tests

* 🧪 Use `Promise.all()` in password tests

* 🧪 Use `Promise.all()` in users tests

*  Re-set cookie if UM disabled

* 🔥 Remove repeated line

*  Refactor out shared owner data

* 🔥 Remove unneeded import

* 🔥 Remove repeated lines

*  Organize imports

*  Reuse helper

* 🚚 Rename tests to match routers

* 🚚 Rename `createFullUser()` to `createUser()`

*  Consolidate user shell creation

*  Make hashing async

*  Add email to user shell

*  Optimize array building

* 🛠 refactor user shell factory

* 🐛 Fix MySQL tests

*  Silence logger in other DBs

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2022-04-08 18:37:07 +02:00
Iván Ovejero e78bf15ba9
🔥 Clear legacy tslint config files (#3103) 2022-04-08 12:04:14 +02:00
Jan Oberhauser e964c83f46 🔖 Release n8n@0.171.1 2022-04-06 14:24:02 +02:00
Jan Oberhauser 9cd90cf914 ⬆️ Set n8n-nodes-base@0.169.1 on n8n 2022-04-06 14:21:45 +02:00
Ben Hesseldieck 305aa671e5
zap(core): Fix issues with n8n version updates that skip multiple versions (#3099) 2022-04-06 14:15:08 +02:00
Omar Ajoue 358a683f38
fix(core): Fix issue with falsely skip authorizing (#3087) 2022-04-06 13:55:10 +02:00
Omar Ajoue 4af5168b3b
fix(core): Fix issue with current executions not getting displayed (#3093) 2022-04-06 13:53:21 +02:00
Jan Oberhauser f412b7babb 🔖 Release n8n@0.171.0 2022-04-03 08:00:42 +00:00
Jan Oberhauser a7acc201be ⬆️ Set n8n-core@0.112.0, n8n-editor-ui@0.138.0, n8n-nodes-base@0.169.0 and n8n-workflow@0.94.0 on n8n 2022-04-03 08:00:41 +00:00
Jan Oberhauser 85f15d4989
fix(EmailReadImap Node): Fix issue that crashed process if node was configured wrong (#3079)
* 🐛 Fix issue that IMAP node can crash n8n

* 👕 Fix lint issue
2022-04-02 17:33:31 +02:00
Jan Oberhauser c50d04af9e fix(core): Fix crash on webhook when last node did not return data 2022-04-02 09:43:51 +02:00
Iván Ovejero 7625421b81
test: Fix randomly failing UM tests (#3061)
*  Declutter test logs

* 🐛 Fix random passwords length

* 🐛 Fix password hashing in test user creation

* 🐛 Hash leftover password

*  Improve error message for `compare`

*  Restore `randomInvalidPassword` contant

*  Mock Telemetry module to prevent `--forceExit`

*  Silence logger

*  Simplify condition

*  Unhash password in payload
2022-04-01 17:48:02 +02:00
Michael Kret 8a94f1e361
fix(GraphQL Node)!: Correctly report errors returned by the API (#3071)
* upstream merge

*  graphql node will throw error when response has errors property

* 🔨 updated changelog

*  Improvements

*  Improvements

*  Add package-lock.json back

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-04-01 14:38:26 +02:00
Jan Oberhauser 492f1de7e8 🔖 Release n8n@0.170.0 2022-03-27 10:48:09 +00:00
Jan Oberhauser 6d604b48e5 ⬆️ Set n8n-core@0.111.0, n8n-editor-ui@0.137.0, n8n-nodes-base@0.168.0 and n8n-workflow@0.93.0 on n8n 2022-03-27 10:48:08 +00:00
Jasper Zonneveld e38b5ca291
Fix credentials import success message (#3038) 2022-03-25 21:40:35 +01:00
Omar Ajoue 3b4a97dd57
fix(core): Add logs and error catches for possible failures in queue mode (#3032) 2022-03-25 15:10:31 +01:00
Tom be40a3f310
📚 Add missing full stop to license text
* (fix): Added missing full stop to license


GitHub does not render the single line breaks in the *Limitations* section. The added full stop makes it easier to read our license.

* 📚 Add also to other files

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-03-25 09:54:00 +01:00
Jan Oberhauser 7a73d8ddb3 🔖 Release n8n@0.169.0 2022-03-20 19:33:10 +00:00
Jan Oberhauser dbaea80d9c ⬆️ Set n8n-core@0.110.0, n8n-editor-ui@0.136.0, n8n-nodes-base@0.167.0 and n8n-workflow@0.92.0 on n8n 2022-03-20 19:33:10 +00:00
Omar Ajoue 5658593df4
feat: Add support for reading ids from file with executeBatch command (#3008) 2022-03-19 08:54:55 +01:00
Omar Ajoue c0611a0b81
🚨 Temporarily skip some regularly failing tests (#3002) 2022-03-17 16:33:23 +01:00
Jan Oberhauser 521cf51e7c 📜 Change to the Sustainable Use License #2932 2022-03-17 10:15:24 +01:00
Jan Oberhauser c59fad2bce 🔖 Release n8n@0.168.2 2022-03-16 17:04:51 +01:00
Omar Ajoue 17188a63b5
fix: Fix issue with n8n not authenticating oauth requests (#2998) 2022-03-16 17:00:04 +01:00
Omar Ajoue 469cbd65dd
👷 Fix test runs on GitHub (#2997) 2022-03-16 15:54:43 +01:00
Jan Oberhauser eca4c8117a 🚀 Fix cli publish 2022-03-15 17:15:15 +01:00
Jan Oberhauser 07de2ca965 🔖 Release n8n@0.168.1 2022-03-15 10:22:44 +01:00
Jan Oberhauser 10f18077b1 👕 Fix lint issue 2022-03-14 16:01:51 +01:00
Jan Oberhauser 441b2bfd85 🔖 Release n8n@0.168.0 2022-03-14 14:51:38 +00:00
Jan Oberhauser da6289b755 ⬆️ Set n8n-core@0.109.0, n8n-editor-ui@0.135.0, n8n-nodes-base@0.166.0 and n8n-workflow@0.91.0 on n8n 2022-03-14 14:51:37 +00:00