* refactor saving
* refactor api layer to be stateless
* refactor header details
* set variable for menu height
* clean up scss
* clean up indentation
* clean up dropdown impl
* refactor no tags view
* split away header
* Fix tslint issues
* Refactor tag manager
* add tags to patch request
* clean up scss
* ⚡ Refactor types to entities
* fix issues
* update no workflow error
* clean up tagscontainer
* use getters instead of state
* remove imports
* use custom colors
* clean up tags container
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* fix connection push bug
* :spakles: Implement wait functionality
* 🐛 Do not delete waiting executions with prune
* ⚡ Improve SQLite migration to not lose execution data anymore
* ⚡ Make it possible to restart waiting execution via webhook
* ⚡ Add missing file
* 🐛 Some more merge fixes
* ⚡ Do not show error for Wait-Nodes if in time-mode
* ⚡ Make $executionId available in expressions
* 👕 Fix lint issue
* 👕 Fix lint issue
* 👕 Fix lint issue
* ⚡ Set the unlimited sleep time as a variable
* ⚡ Add also sleeping webhook path to config
* ⚡ Make it possible to retrieve restartUrl in workflow
* ⚡ Add authentication to Wait-Node in Webhook-Mode
* ⚡ Return 404 when trying to restart execution via webhook which does
not support it
* ✨ Make it possible to set absolute time on Wait-Node
* ⚡ Remove not needed imports
* ⚡ Fix description format
* ✨ Implement missing webhook features on Wait-Node
* ⚡ Display webhook variable in NodeWebhooks
* ⚡ Include also date in displayed sleep time
* ⚡ Make it possible to see sleep time on node
* ⚡ Make sure that no executions does get executed twice
* ⚡ Add comment
* ⚡ Further improvements
* ⚡ Make Wait-Node easier to use
* ✨ Add support for "notice" parameter type
* Fixing wait node to work with queue, improved logging and execution view
* Added support for mysql and pg
* ✨ Add support for webhook postfix path
* ✨ Make it possible to stop sleeping executions
* ⚡ Fix issue with webhook paths in not webhook mode
* ⚡ Remove not needed console.log
* ⚡ Update TODOs
* ⚡ Increase min time of workflow staying active to descrease possible issue
with overlap
* 👕 Fix lint issue
* 🐛 Fix issues with webhooks
* ⚡ Make error message clearer
* ⚡ Fix issue with missing execution ID in scaling mode
* Fixed execution list to correctly display waiting executins
* Feature: enable webhook wait workflows to continue after specified time
* Fixed linting
* ⚡ Improve waiting description text
* ⚡ Fix parameter display issue and rename
* ⚡ Remove comment
* ⚡ Do not display webhooks on Wait-Node
* Changed wording from restart to resume on wait node
* Fixed wording and inconsistent screen when changing resume modes
* Removed dots from the descriptions
* Changed docs url and renaming postfix to suffix
* Changed names from sleep to wait
* ⚡ Apply suggestions from ben
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
* Some fixes by Ben
* ⚡ Remove console.logs
* ⚡ Fixes and improvements
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
* Initial commit n8n smartsheet and formio nodes
1. created smarsheet node that can add new rew to a particular smarsheet.
2. created formio trigger node which will listen to form.io form submit event and process data.
* Added coloum mapping logic form.io field label to smarsheet column title.
API and smartsheet sheetId configuration added to smartsheet node.
* Added smartsheet api credentials and used it in smartsheet node.
* Added logos to the form.io and smartsheet nodes.
Removed smartsheet and form.io npm dependencies from the nodes.
Added type check for the variables used.
fixed tslint errors in the created nodes.
* ⚡ Improvements to #1943
* ⚡ Improvements
* ⚡ Improvements
* ⚡ Some fixes and improvements
Co-authored-by: Parthiban Chandrasekar <pbr.reddys@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Changes to types so that credentials can be always loaded from DB
This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.
This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.
* Fix updated files
* Removed unnecessary credential loading to improve performance
* Fix typo
* ⚡ Fix issue
* Updated new nodes to load credentials async
* ⚡ Remove not needed comment
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* introduce binary data management
* cr
* add binary data changes to awsS3 node
* add binary data changes to Box node
* add binary data changes to CiscoWebex node
* add binary data changes to HumaniticAi node
* add binary data changes to Jira node
* add binary data changes to Line node
* add binary data changes to MicrosoftOneDrive node
* add binary data changes to MicrosoftOutlook node
* add binary data changes to Mindee node
* add binary data changes to NocoDB node
* add binary data changes to Pushbullet node
* add binary data changes to Pushover node
* add binary data changes to Raindrop node
* add binary data changes to S3 node
* add binary data changes to Salesforce node
* add binary data changes to Ssh node
* add binary data changes to TheHive node
* add binary data changes to Twist node
* add binary data changes to Twitter node
* remove changes not needed right now
* 🐛 Fix issue with multiple runs
* 🐛 Revert fix and add support for multiple inputs
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Add Json params on company
* Revert and add only JSON params on Company
* Fix Company search field
* ⚡ Improvements to #1957
* ⚡ Improvements
Co-authored-by: Dokime <jnau5@yahoo.com>
* aws dynamodb: fixes using FilterExpression on Query
* aws dynamodb: add Scan (again)
* ⚡ Improvements to #2021
* ⚡ Set scan to "false" by default to make it none breaking
Co-authored-by: Michael Hirschler <michael.vhirsch@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Add timezone in date property on Notion
Signed-off-by: 5pecia1 <pdpxpd@gmail.com>
* ⚡ Improvements to #2036
* ⚡ Minor improvements
Co-authored-by: 5pecia1 <pdpxpd@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Iterating additionalFields given instead of hard coding the interface to match them when creating a product
* Removed redundancy for product creation/update and order create.
Co-authored-by: Omar Ajoue <krynble@gmail.com>
* ✨ Create Freshworks node
* ⚡ Implement all getAll operations
* ⚡ Add tz to appointment:create and update
* ⚡ Fix repetition in email in contact:create
* ⚡ Add tz to salesActivity:create and update
* ⚡ Add tz to task:create and update
* 🔥 Remove required from due date
* ⚡ Add all-day setting to appointment
* ⚡ Add filters to all operations
* ⚡ Improvements
* ⚡ Minor improvements
* ⚡ Additional parameter display name changes
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* ⚡ Add fields parameter
* ⚡ Revert to not subscribe to anything by default to avoid breaking
change
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* ⚡ Filter events by action and type
* ⚡ Small change
* ⚡ Improvements
* ⚡ Minor improvements
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* ⚡Add custom fields support to TheHive node
* ⚡ Improvements to #1527
* 🐛 Make it also work without custom fields set
Co-authored-by: Mika Luhta <12100880+mluhta@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* ⚡ Add support of array in querystring
In the HTTP Request node, a parameter that appeared multiple times with the same name will be converted into an array.
Any parameters that appeared only once will be kept in the form of a string for backward compatibility.
* ⚡ Prefer spread operator
* ✨ Add Home Assistant io node
* Implement continueOnFail
* Add Camera Proxy resource
* Clean up
* Minor improvements
* Remove 'Io' from the node name & code
* Fix generic functions naming
* ⚡ Improvements
* Apply review changes & fix minor bugs
* Reduce nesting for additional attributes
* Minor changes
* ⚡ Minor improvements and deactivate "Event" resource
Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* 🐛 fix issue sending connectionTimeout parameter
* 🐛 Fix issue when inserting data using columns with spaces
* 🐛 Fix issue when updating data using columns with spaces
* 🐛 Fix issue when deleting data using columns with spaces
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Add bulk operation to Airtable Node
* ⚡ Small improvements to #1942
* ⚡ Resolve lint issues
* ⚡ Make by default bulk updates and fix issue with update
Co-authored-by: Michael Chen <michaelchen@live.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* 🐛 Fix Google Sheet to handle 0 correctly
`if (condition) { statement }` will not be executed if the `condition` is `0` (number) so that appending 0 to Google Sheets results in an empty cell.
Checking if the value is `null` or `undefined` is enough to guarantee that `toString` is callable.
* 🐛 Add semicolon
* allow qbo to use accounting or payment scopes separately
* added purchase get and getall
* removed irrelevant field options
* ⚡ Sort alphabetically
* 🔥 Remove unused file
* ✏️ Fix description casing
* ⚡ Add credentials type
* ✏️ Fix resource dividers
* 🔨 Format import
* ✏️ Fix documentation link
* ⚡ Refactor credentials
* ⚡ Use multiOptions for scopes
* 🔥 Remove payment scope
The payment scope is used only by the QuickBooks Payments API, but this node implements the QuickBooks Online API, which only needs the accounting scope.
* 🚚 Rename node to QuickBooks Online
This reflects the specific API implemented in this node and allows for a future QuickBooks Payments node. Until node versioning is released, only display name changed.
Co-authored-by: Calvin Tan <calvin14@gmail.com>
* ✨ Add Google Docs node
* Implement continueOnFail
* Add insert:Table and insert/delete:TableRow,TableColumn
* Lint fixes
* Fix typos, casing and enhance code readability
* Enhance code readability & apply review changes
* ⚡ Review Google Docs node
* Apply review changes
* Minor fix
* Improvements
* Clean up
* Enhance inputs descriptions
* Removed unused type fields
* Minor fix
* ⚡ Small improvements
* ⚡ Small change
* Use Document URL insead of ID and support adding content at creation
* Refactored node to make it more user friendly
* Improve get operation
* Add simple output to get operation
* Add service account
* Apply review suggestions
* Improvements
* Enable continueOnFail
* ⚡ Minor improvements
Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Added the option to flatten output so we can more easily work with arrays
* ⚡ Change parameter name
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* ⚡ Add the posiblity to set multi-select fields with the names
* 🐛 Fix issue with expressions
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Improved/fixed collecting of custom fields based on project and issue type.
* ⚡ Improvements to #1610
* 👕 Fix linter issue
Co-authored-by: jemos <jean.mousinho@gmail.com>
* ⚡ Add upsert operation to various resources (Salesforce)
The operation was added to the resources: Contact, Account, Lead, Opportunity and Custom Object.
* ⚡ Rename operation create/update to Create or Update
* ⚡ Improvements
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
* Add a function to validate JSON - copied from other nodes.
* Add properties and appProperties attributes.
* ⚡ Improvements to #1637
Co-authored-by: vbouchet <vincent.bouchet.31@gmail.com>
* Implementation of fetures to fetch data from Pipedrive API e user can select by dropdown
* Search operation to Deals
* Add custom fields for deal and person to select by dropdown
* ⚡ Improvements to #1845
Co-authored-by: Rodrigo Correia <rodrigoscdc@gmail.com>
* ✨ Send console.log messages to editor-UI
* ⚡ Send message only to session which started workflow
* ⚡ Made it also work in own process
* ⚡ Add support for console.log UI forward also to FunctionItem Node
* 👕 Fix lint issue
* 👕 Fix linting issue
* ⚡ Improve code
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Also, it adds a change to how the links are handled. Before, if a link were left blank, the node would error. Now, if the link is left blank, it gets ignored.
* 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>
* Adding support to ParameterizedQuery on Postgres Node
* Created another parameter to toggle on replacement so it's clear to users what is happening.
* Fixed lint issues
* ⚡ Formatting
* Improvements to questDB node so it is more consistent
* Fixed lint issues
* Fixed typing issue
* ⚡ Apply suggestions BHesseldieck
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
* Standardized output for postgres and postgres-like nodes
This changes the behavior of CrateDB, Postgres, QuestDB and TimescaleDB
nodes.
The Execute Query operation used to execute multiple queries but return
the result from only one of the queries.
This change causes the node output to containt results from all queries
that ran, making the behavior more consistent across all n8n.
* Fixing lint issues
* ⚡ Minor improvements
* ⚡ Fix breaking changes files
Co-authored-by: Gustavo Arjones <gustavo.arjones@ank.app>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jan <janober@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
* add multi return
* add independently and transaction to query
* pgInsert normal and transaction
* independently for pgInsert
* normal, transaction and independently for pgUpdate
* cleanup
* implement it in other nodes
* multiple fixes
* add optional returning support
* clean up Postgres functions
* fix other postgres based dbs
* Added option to run queries as a transaction to Postgres
This commit allows users to configure Postgres, CrateDB, TimescaleDB and
QuestDB to run queries independently or as transactions as well as the
previous mode which is to execute multiple queries at once.
Previous behavior remains untouched so we only added new options.
* Standardize behavior across nodes that use postgres protocol
Also fixed unit tests.
* Added breaking change notice
* Added more information to breaking changes
* ⚡ Styling fixes
Co-authored-by: lublak <lublak.de@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Added a global timeout setting for all http requests except for http
node.
The http node explicitly sets a timeout that overrides the default
value.
This is to prevent behaviors when users were expecting that their quests
could take a very long time to execute.
* Removed unnecessary typing from code
* ⚡ DateTime node improvements
* 🔨 Fix parsing format in date calculation
* ⚡ Small improvements
* ✏️ Rename params and add tooltips
* 🔨 Reorder params
* ⚡ Set default values
* ⚡ Set defaults and use same parameter name
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* 🔧 Add API version and adjust casing
* 🔨 Refactor query string params into array
* 🔨 Add API version to resource loader
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>