Commit graph

4917 commits

Author SHA1 Message Date
Jan Oberhauser 195f104ef5 fix: Fix workflow deactivating bug
Fix a bug which crashed n8n under some circumstances on shutdown or
workflow deactivate and so resulted in other workflows not getting
deactviated correctly.
2022-03-12 19:50:42 +01:00
Jan Oberhauser bb3fa05318 🐛 Fix bug in new Redis Trigger node that causes crash on activation
error
2022-03-12 19:22:38 +01:00
Jonathan Bennetts 6412546c0c
feat(If Node,Switch Node): Add negative operations
* add some not conditions to the if node

* change default to true

I think the most used behavior is 
"if value1 is true" instead of "if value1 is false"

* add u and s flag to regex

* add some not conditions to the switch node

* Add If Not Empty and Object Comparation

*  Reverted setting bools to true by default

* Changed order for operations so Not items are under the normal ones

Co-authored-by: lublak <lublak.de@gmail.com>
Co-authored-by: lublak <44057030+lublak@users.noreply.github.com>
Co-authored-by: Luiz Eduardo <luizeof@gmail.com>
2022-03-12 18:52:15 +01:00
Vitaliy Fratkin 5c2deb4688
feat(Redis Node): Add Redis Trigger node and publish operation to regular node
* add database number select to redis credentials

* add publish to channel to redis node

* add redis trigger

*  small fixes

*  small fixes for trigger node

* fix(Strapi Node): Add support for Strapi v4

* 🐛 Fix get all operation for v4

* 🔨 Fix create operation

* 🔨 Fix update operation

* 🔨 Fix delete operation

* 🔨 Fix get operation

* 🔨 Fix Return All

* 👕 Fix nodelinter issues

*  Add Credential Test

* 🔨 Code improvement

* 👕 Fix lint issue

* Removed extra /api from Get All on v4

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>

* refactor(editor): Replace 'Workflows' help menu item with 'Course'

* N8N-3110 Replace Workflows help menu item with course

* N8N-3110 Re-order props in en.json

* N8N-3110 Update URL Link for courses

* 🐛 Fix issue with messages being sent twice

*  Remove not needed return

Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Harshil Agrawal <ghagrawal17@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
Co-authored-by: Oliver Trajceski <olivertrajceski@yahoo.com>
2022-03-12 12:14:39 +01:00
Oliver Trajceski 6065f6879c
refactor(editor): Replace 'Workflows' help menu item with 'Course'
* N8N-3110 Replace Workflows help menu item with course

* N8N-3110 Re-order props in en.json

* N8N-3110 Update URL Link for courses
2022-03-12 11:03:38 +01:00
Harshil Agrawal 2a3cbf3fc8
fix(Strapi Node): Add support for Strapi v4
* 🐛 Fix get all operation for v4

* 🔨 Fix create operation

* 🔨 Fix update operation

* 🔨 Fix delete operation

* 🔨 Fix get operation

* 🔨 Fix Return All

* 👕 Fix nodelinter issues

*  Add Credential Test

* 🔨 Code improvement

* 👕 Fix lint issue

* Removed extra /api from Get All on v4

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2022-03-12 10:56:34 +01:00
Jan Oberhauser 109645bb7e 🔖 Release n8n@0.166.0 2022-03-07 09:51:22 +00:00
Jan Oberhauser 8482c2aa1f ⬆️ Set n8n-core@0.107.0, n8n-editor-ui@0.133.0, n8n-nodes-base@0.164.0 and n8n-workflow@0.89.0 on n8n 2022-03-07 09:51:22 +00:00
Jan Oberhauser 9bb0ea17b7 🔖 Release n8n-editor-ui@0.133.0 2022-03-07 09:49:55 +00:00
Jan Oberhauser cd87469fcb ⬆️ Set n8n-design-system@0.13.0 and n8n-workflow@0.89.0 on n8n-editor-ui 2022-03-07 09:49:55 +00:00
Jan Oberhauser a96a2311f9 🔖 Release n8n-design-system@0.13.0 2022-03-07 09:49:41 +00:00
Jan Oberhauser f1c1d11512 🔖 Release n8n-nodes-base@0.164.0 2022-03-07 09:48:56 +00:00
Jan Oberhauser 5ccdb4caeb ⬆️ Set n8n-core@0.107.0 and n8n-workflow@0.89.0 on n8n-nodes-base 2022-03-07 09:48:55 +00:00
Jan Oberhauser 2977df2dc7 🔖 Release n8n-node-dev@0.46.0 2022-03-07 09:48:48 +00:00
Jan Oberhauser d42a284ec7 ⬆️ Set n8n-core@0.107.0 and n8n-workflow@0.89.0 on n8n-node-dev 2022-03-07 09:48:48 +00:00
Jan Oberhauser 2fd6b03d85 🔖 Release n8n-core@0.107.0 2022-03-07 09:48:40 +00:00
Jan Oberhauser 6ab6910c92 ⬆️ Set n8n-workflow@0.89.0 on n8n-core 2022-03-07 09:48:39 +00:00
Jan Oberhauser 43737b722a 🔖 Release n8n-workflow@0.89.0 2022-03-07 09:48:22 +00:00
Jan Oberhauser 34cf3a77b2 👕 Fix lint issue 2022-03-07 10:37:42 +01:00
Michael Kret 62e05cf0b3
Tolerate missing json key in function node output (#2885)
* 🔨 implemented Tolerate missing json key in function node output

* 🔨 clean up

* Small change to code

*  tolerate returning object

*  Rename function

Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-03-07 09:54:52 +01:00
Jan Oberhauser af09bf8e6a Improve Wise error message after previous change 2022-03-06 11:41:50 +01:00
pemontto f350b9e1c0
🐛 Handle Wise SCA requests (#2734) 2022-03-06 11:41:01 +01:00
Michael Kret fbdb5eb0fa
Add Odoo Node (#2601)
* added odoo scaffolding

* update getting data from odoo instance

* added scaffolding for main loop and request functions

* added functions for CRUD opperations

* improoved error handling for odooJSONRPCRequest

* updated odoo node and fixing nodelinter issues

* fixed alpabetical order

* fixed types in odoo node

* fixing linter errors

* fixing linter errors

* fixed data shape returned from man loop

* updated node input types, added fields list to models

* update when custom resource is selected options for fields list will be populated dynamicly

* minor fixes

* 🔨 fixed credential test, updating CRUD methods

* 🔨 added additional fields to crm resource

* 🔨 added descriptions, fixed credentials test bug

* 🔨 standardize node and descriptions design

* 🔨 removed comments

* 🔨 added pagination to getAll operation

*  removed leftover function from previous implementation, removed required from optional fields

*  fixed id field, added indication of type and if required to field description, replaced string input in filters to fetched list of fields

* 🔨 fetching list of models from odoo, added selection of fields to be returned to predefined models, fixes accordingly to review

*  Small improvements

* 🔨 extracted adress fields into collection, changed fields to include in descriptions, minor tweaks

*  Improvements

* 🔨 working on review

* 🔨 fixed linter errors

* 🔨 review wip

* 🔨 review wip

* 🔨 review wip

*  updated display name for URL in credentials

* 🔨 added checks for valid id to delete and update

*  Minor improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-03-05 20:33:42 +01:00
Jan Oberhauser f04e6ac43e 🐛 Fix some i18n line break issues 2022-03-05 20:11:34 +01:00
Tom cb5b98afbc
🐛 Fix sorting by field in Baserow Node (#2942)
This fixes a bug which currently leads to the "Sorting" option of the node to be ignored.
2022-03-05 10:41:14 +01:00
Oliver Trajceski f4e3255b24
🐛 Fix issue that ctrl + o did behave wrong on workflow templates page (#2934)
* N8N-3094 Workflow Templates cmd-o acts on the Preview/Iframe

* N8N-3094 Workflow Templates cmd-o acts on the Preview/Iframe

* disable shortcuts for preview

Co-authored-by: Mutasem <mutdmour@gmail.com>
2022-03-04 18:04:04 +01:00
Iván Ovejero 2ec711aeb5
Allow to disable hiring banner (#2902)
*  Add flag

*  Adjust interfaces

*  Adjust store module

*  Adjust frontend settings

*  Adjust frontend display
2022-03-04 17:53:01 +01:00
Mutasem Aldmour 3bc06ee5c0
🐛 Fix credentials list load issue (#2931)
* always fetch credentials

* only fetch credentials once
2022-03-04 17:39:52 +01:00
Mutasem Aldmour c3f3e98718
🐛 Fix issue with tooltips getting displayed behind node details view
* fix tooltips z-index

* move all element ui components

* update package lock
2022-03-04 17:34:24 +01:00
Oliver Trajceski 3513aa128a
🐛 Fix that some keyboard shortcuts did no longer work
* N8N-3057 Fixed Keyboard shortcuts no longer working on / Fixed callDebounced function

* N8N-3057 Update Debounce Function

* N8N-3057 Refactor callDebounce function

* N8N-3057 Update Dobounce Function
2022-03-04 17:28:03 +01:00
Jan Oberhauser 1a1d50002e 🔀 Merge branch 'master' of github.com:n8n-io/n8n 2022-03-02 09:17:36 +01:00
Anuj Kapoor 4e27d9d856
🐛 Fix another digest auth issue (#2898) 2022-03-01 16:33:49 +01:00
Jan Oberhauser c6901be5cb 🔖 Release n8n@0.165.1 2022-03-01 11:46:33 +01:00
Jan Oberhauser f1e28e21be ⬆️ Set n8n-editor-ui@0.132.1 on n8n 2022-03-01 11:45:04 +01:00
Jan Oberhauser 3529196be1 🔖 Release n8n-editor-ui@0.132.1 2022-03-01 11:43:44 +01:00
Oliver Trajceski e94e353770
🐛 Fix n8n Select Component (#2903)
* N8N-3028 Dropdown Invisible - Fixed N8N-Select Component

* N8N-3028 Remove :popper-append-to-body props from n8n-select in ParameterInput component
2022-03-01 11:18:32 +01:00
Jan Oberhauser ec6f4d72cd 🔖 Release n8n@0.165.0 2022-02-28 10:07:26 +00:00
Jan Oberhauser 30a504a0ef ⬆️ Set n8n-core@0.106.0, n8n-editor-ui@0.132.0, n8n-nodes-base@0.163.0 and n8n-workflow@0.88.0 on n8n 2022-02-28 10:07:25 +00:00
Jan Oberhauser 8fc5283020 🔖 Release n8n-editor-ui@0.132.0 2022-02-28 10:06:05 +00:00
Jan Oberhauser 9e0ab52efd ⬆️ Set n8n-design-system@0.12.0 and n8n-workflow@0.88.0 on n8n-editor-ui 2022-02-28 10:06:05 +00:00
Jan Oberhauser 56fcd94f81 🔖 Release n8n-design-system@0.12.0 2022-02-28 10:05:56 +00:00
Jan Oberhauser 88b5c308e0 🔖 Release n8n-nodes-base@0.163.0 2022-02-28 10:05:11 +00:00
Jan Oberhauser 476786b8d6 ⬆️ Set n8n-core@0.106.0 and n8n-workflow@0.88.0 on n8n-nodes-base 2022-02-28 10:05:10 +00:00
Jan Oberhauser e279437310 🔖 Release n8n-node-dev@0.45.0 2022-02-28 10:05:03 +00:00
Jan Oberhauser 5b140885ae ⬆️ Set n8n-core@0.106.0 and n8n-workflow@0.88.0 on n8n-node-dev 2022-02-28 10:05:03 +00:00
Jan Oberhauser 70dea9e602 🔖 Release n8n-core@0.106.0 2022-02-28 10:04:53 +00:00
Jan Oberhauser 5a0feac6c5 ⬆️ Set n8n-workflow@0.88.0 on n8n-core 2022-02-28 10:04:53 +00:00
Jan Oberhauser 89cabc3d8a 🔖 Release n8n-workflow@0.88.0 2022-02-28 10:04:42 +00:00
Oliver Trajceski cfa91cda27
Add Templates (#2720)
* Templates Bugs / Fixed Various Bugs / Multiply Api Request, Carousel Gradient, Core Nodes Filters ...

* Updated MainSidebar Paddings

* N8N-Templates Bugfixing - Remove Unnecesairy Icon (Shape), Refatctor infiniteScrollEnabled Prop + updated infiniterScroll functinality

* N8N-2853 Fixed Carousel Arrows Bug after Cleaning the SearchBar

* fix telemetry init

* fix search tracking issues

* N8N-2853 Created FilterTemplateNode Constant Array, Filter PlayButton and WebhookRespond from Nodes, Added Box for showing more nodes inside TemplateList, Updated NewWorkflowButton to primary, Fixed Markdown issue with Code

* N8N-2853 Removed Placeholder if Workflows Or Collections are not found, Updated the Logic

* fix telemetry events

* clean up session id

* update user inserted event

* N8N-2853 Fixed Categories to Moving if the names are long

* Add todos

* Update Routes on loading

* fix spacing

* Update Border Color

* Update Border Readius

* fix filter fn

* fix constant, console error

* N8N-2853 PR Fixes, Refactoring, Removing unnecesairy code ..

* N8N-2853 PR Fixes - Editor-ui Fixes, Refactoring, Removing Dead Code ...

* N8N-2853 Refactor Card to LongCard

* clean up spacing, replace css var

* clean up spacing

* set categories as optional in node

* replace vars

* refactor store

* remove unnesssary import

* fix error

* fix templates view to start

* add to cache

* fix coll view data

* fix categories

* fix category event

* fix collections carousel

* fix initial load and search

* fix infinite load

* fix query param

* fix scrolling issues

* fix scroll to top

* fix search

* fix collections search

* fix navigation bug

* rename view

* update package lock

* rename workflow view

* rename coll view

* update routes

* add wrapper component

* set session id

* fix search tracking

* fix session tracking

* remove deleted mutation

* remove check for unsupported nodes

* refactor filters

* lazy load template

* clean up types

* refactor infinte scroll

* fix end of search

* Fix spacing

* fix coll loading

* fix types

* fix coll view list

* fix navigation

* rename types

* rename state

* fix search responsiveness

* fix coll view spacing

* fix search view spacing

* clean up views

* set background color

* center page not vert

* fix workflow view

* remove import

* fix background color

* fix background

* clean props

* clean up imports

* refactor button

* update background color

* fix spacing issue

* rename event

* update telemetry event

* update endpoints, add loading view, check for endpoint health

* remove conolse log

* N8N-2853 Fixed Menu Items Padding

* replace endpoints

* fix type issues

* fix categories

* N8N-2853 Fixed ParameterInput Placeholder after ElementUI Upgrade

* update createdAt

*  Fix placeholder in creds config modal

* ✏️ Adjust docstring to `credText` placeholder version

* N8N-2853 Optimized

* N8N-2853 Optimized code

*  Add deployment type to FE settings

*  Add deployment type to interfaces

* N8N-2853 Removed Animated prop from components

*  Add deployment type to store module

*  Create hiring banner

*  Display hiring banner

*  Undo unrelated change

* N8N-2853 Refactor TemplateFilters

*  Fix indentation

* N8N-2853 Reorder items / TemplateList

* 👕 Fix lint

* N8N-2853 Refactor TemplateFilters Component

* N8N-2853 Reorder TemplateList

* refactor template card

* update timeout

* fix removelistener

* fix spacing

* split enabled from offline

* add spacing to go back

* N8N-2853 Fixed Screens for Tablet & Mobile

* N8N-2853 Update Stores Order

* remove image componet

* remove placeholder changes

* N8N-2853 Fixed Chinnese Placeholders for El Select Component that comes from the Library Upgrade

* N8N-2853 Fixed Vue Agile Console Warnings

* N8N-2853 Update Collection Route

* ✏️ Update jobs URL

* 🚚 Move logging to root component

*  Refactor `deploymentType` to `isInternalUser`

*  Improve syntax

* fix cut bug in readonly view

* N8N-3012 Fixed Details section in templates with lots of description, Fixed Mardown Block with overflox-x

* N8N-3012 Increased Font-size, Spacing and Line-height of the Categories Items

* N8N-3012 Fixed Vue-agile client width error on resize

* only delay redirect for root path

* N8N-3012 Fixed Carousel Arrows that Disappear

* N8N-3012 Make Loading Screen same color as Templates

* N8N-3012 Markdown renders inline block as block code

* add offline warning

* hide log from workflow iframe

* update text

* make search button larger

* N8N-3012 Categories / Tags extended all the way in details section

* load data in cred modals

* remove deleted message

* add external hook

* remove import

* update env variable description

* fix markdown width issue

* disable telemetry for demo, add session id to template pages

* fix telemetery bugs

* N8N-3012 Not found Collections/Wokrkflow

* N8N-3012 Checkboxes change order when categories are changed

* N8N-3012 Refactor SortedCategories inside TemplateFilters component

* fix firefox bug

* add telemetry requirements

* add error check

* N8N-3012 Update GoBackButton to check if Route History is present

* N8N-3012 Fixed WF Nodes Icons

* hide workflow screenshots

* remove unnessary mixins

* rename prop

* fix design a bit

* rename data

* clear workspace on destroy

* fix copy paste bug

* fix disabled state

* N8N-3012 Fixed Saving/Leave without saving Modal

* fix telemetry issue

* fix telemetry issues, error bug

* fix error notification

* disable workflow menu items on templates

* fix i18n elementui issue

* Remove Emit - NodeType from HoverableNodeIcon component

* TechnicalFixes: NavigateTo passed down as function should be helper

* TechnicalFixes: Update NavigateTo function

* TechnicalFixes: Add FilterCoreNodes directly as function

* check for empty connecitions

* fix titles

* respect new lines

* increase categories to be sliced

* rename prop

* onUseWorkflow

* refactor click event

* fix bug, refactor

* fix loading story

* add default

* fix styles at right level of abstraction

* add wrapper with width

* remove loading blocks component

* add story

* rename prop

* fix spacing

* refactor tag, add story

* move margin to container

* fix tag redirect, remove unnessary check

* make version optional

* rename view

* move from workflows to templates store

* remove unnessary change

* remove unnessary css

* rename component

* refactor collection card

* add boolean to prevent shrink

* clean up carousel

* fix redirection bug on save

* remove listeners to fix multiple listeners bug

* remove unnessary types

* clean up boolean set

* fix node select bug

* rename component

* remove unnessary class

* fix redirection bug

* remove unnessary error

* fix typo

* fix blockquotes, pre

* refactor markdown rendering

* remove console log

* escape markdown

* fix safari bug

* load active workflows to fix modal bug

* ⬆️ Update package-lock.json file

*  Add n8n version as header

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-28 10:57:44 +01:00
Ricardo Espinoza 401e626a64
Add Onfleet Node & Trigger (#2845)
* feat: added Onfleet nodes

Added Onfleet nodes for working with different endpoints like:
organizations, administrators, workers, hubs, teams, destinations, recipients,
containers and webhooks.

* style: fixed typos, arrays uniformity, unnecesary files

* refactor: changed add to create in comments and labels

* feat: added name field to onfleet trigger node

* feat: added team endpoints to onfleet node

Added team auto-dispatch and driver time estimate endpoints to Onfleet
node

* style: remove dots in descriptions and fixed some typos

* feat: added fixes according to comments made on the n8n PR

added new fixed collections, refactored the code according to comments
made on the n8n pr

* fix: fixed recipient and destination cretion

* docs: added docstrings for format some functions

added docstrings for new functions addded for formatting the destination
and recipient objects

* style: formatting the code according to n8n nodelinter

* fix: typos and better descriptions

* [INT-510] n8n: Address additional problems from n8n code review (#5)

* Fixed some error creating a worker, moving some fields under additional fields collection

* Fixed returned values for delete operations, making some changes for style code

* Added operational error since required property is not working for dateTime fields

*  Improvements to #2593

*  Improvements

* 🐛 Fix issue with wrong interface

*  Improvements

*  Improvements

*  Minor improvement

Co-authored-by: Santiago Botero Ruiz <santiago.botero@devsavant.ai>
Co-authored-by: ilsemaj <james.li.upenn@gmail.com>
Co-authored-by: Santiago Botero Ruiz <39206812+YokySantiago@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-28 09:48:17 +01:00