Commit graph

5848 commits

Author SHA1 Message Date
Mika Luhta 74d8f3d150
Add isRead property & message:move to Outlook (#1724) 2021-05-01 23:10:44 -05:00
Snyk bot ea48882291
⬆️ Set mongodb@3.6.6 on n8n-nodes-base
Snyk has created this PR to upgrade mongodb from 3.6.5 to 3.6.6.

See this package in npm:
https://www.npmjs.com/package/mongodb

See this project in Snyk:
https://app.snyk.io/org/janober/project/a08454f4-33a1-49bc-bb2a-f31792e94f42?utm_source=github&utm_medium=upgrade-pr
2021-05-01 22:53:20 -05:00
Ricardo Espinoza 469b92e32a
Add continueOnFail to Google Calendar (#1722)
*  Add continueOnFail to Google Calendar

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-01 22:50:15 -05: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 0b69310bed Minor improvements to Quickbase Node 2021-04-30 21:49:15 -05:00
Colton Anglin 35cae02a36
Add option to use Field IDs on Quickbase Node (#1651)
* QuickBase: Use FieldIDs instead of names

* Fix name change

* Delete tmp-209473KO4eyCT5LSi

* Fix name change

* Change default to false
2021-04-30 21:48:40 -05:00
Snyk bot 03639b0e3a
⬆️ Set mongodb@3.6.5 on n8n-nodes-base
Snyk has created this PR to upgrade mongodb from 3.6.3 to 3.6.5.

See this package in npm:
https://www.npmjs.com/package/mongodb

See this project in Snyk:
https://app.snyk.io/org/janober/project/a08454f4-33a1-49bc-bb2a-f31792e94f42?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Jan <janober@users.noreply.github.com>
2021-04-30 21:26:52 -05:00
Snyk bot eab7b0a10a
⬆️ Set tslib@0.114.1 on n8n
Snyk has created this PR to upgrade tslib from 1.13.0 to 1.14.1.

See this package in npm:
https://www.npmjs.com/package/tslib

See this project in Snyk:
https://app.snyk.io/org/janober/project/fc678bbc-0ac7-4659-9458-8f7f360e2566?utm_source=github&utm_medium=upgrade-pr
2021-04-30 21:25:18 -05:00
Snyk bot d239ba5cff
⬆️ Set mqtt@4.2.6 on n8n-nodes-base
Snyk has created this PR to upgrade mqtt from 4.2.1 to 4.2.6.

See this package in npm:
https://www.npmjs.com/package/mqtt

See this project in Snyk:
https://app.snyk.io/org/janober/project/a08454f4-33a1-49bc-bb2a-f31792e94f42?utm_source=github&utm_medium=upgrade-pr
2021-04-30 21:23:51 -05:00
lublak c83c05456d
Use native fs promise where possible (#1684) 2021-04-30 21:22:15 -05:00
Jan Oberhauser b7a074abd7 Fix breaking changes files 2021-04-30 21:14:07 -05:00
Jan Oberhauser 9a7de7d077 🐛 Fix bug with activating some trigger nodes #1715 2021-04-30 21:12:11 -05:00
Jan Oberhauser ab1c8037de Unify some dependency versions 2021-04-30 20:42:32 -05:00
lublak 0cc3aea629
Add xml2js dependency to n8n-workflow (#1717) 2021-04-30 20:29:44 -05:00
Harshil Agrawal f2ec7ec6ac
Add and update codex files (#1719) 2021-04-30 20:28:07 -05:00
Ricardo Espinoza 6c773d7a86
Add MQTT & Trigger Node (#1705)
*  MQTT-Node

*  Small fix

*  Error when the publish method faile

*  Improvements

*  Improvements

*  Add Send Input Data parameter

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-30 20:23:25 -05:00
Jan Oberhauser 0dd760f67d 👕 Fix lint issue 2021-04-30 20:07:08 -05:00
Jan f79bc633c0
Extend Twist Node (#1721)
* Add get/getAll:messageConversation to Twist node

* Add delete:messageConversation to Twist node

* Add update:messageConversation to Twist node

* Add archive/unarchive/delete:channel to Twist node

* Add add/update/get/getAll/remove:Thread to Twist node

* Add add/update/get/getAll/remove:Comment to Twist node

* Lint fixes

* Fix operations's descriptions

* Enhance Twist node code

* Reorder attributes alphabetically

* Fix typos

* Fix the ouput of get:Comment operation

* Fix getAll:Comment & getAll:Thread operations outputs

* 🐛 Add missing scopes and remove not needed parameters

Co-authored-by: dali <servfrdali@yahoo.fr>
2021-04-30 19:44:12 -05:00
Omar Ajoue fc54f7c82b
Add query parameters for CrateDB, PostgresDB, TimescaleDB and QuestDB (Parametrized Queries) (#1577)
* 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>
2021-04-30 17:35:34 -05:00
Iván Ovejero 4cf8055224
Add Kitemaker node (#1676)
*  Add Kitemaker node

*  Require status ID for workItem:create

* ✏️ Reword button text

*  Add credentials file

*  Implement pagination

*  Improvements

*  Remove not needed parameter

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-30 16:00:28 -05:00
Ricardo Espinoza efd40ea7a6
🐛 Fix issue of Redis never returning (#1716)
Fixes #1709. When the node returned an error the reject method was not called. Hence, the process kept running forever.
2021-04-30 15:38:51 -05:00
Ricardo Espinoza 7c418aafe7
🐛 Fix issue when looking up values on Google Sheets (#1708) 2021-04-30 15:35:42 -05:00
Jan Oberhauser 5d9280a7ad 👕 Fix lint issue 2021-04-30 15:34:53 -05:00
Ricardo Espinoza bf93a122ed
Add file name when downloading files (Google Drive) (#1710) 2021-04-30 15:29:10 -05:00
MedAliMarz c9d0b17291
🐛 Fix Post operations on Orbit Node (#1699) 2021-04-30 14:58:23 -05:00
Ricardo Espinoza 444fe64bc1
Handle comma separated binary properties (Gmail) (#1711) 2021-04-30 14:44:46 -05:00
MedAliMarz 029b1390ee
🐛 Fix a small bug on Xero Node (#1681) 2021-04-30 14:25:39 -05:00
Ricardo Espinoza 144bf3ea00
Add svg logos to Facebook nodes (#1713) 2021-04-30 14:22:46 -05:00
Ricardo Espinoza 901551ae99
Add delete folder operation to FTP Node (#1704)
*  Add delete folder operation to FTP Node

*  Minor improvement

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-30 14:19:59 -05:00
Iván Ovejero b6d45e30ef
Add self-hosted support to ERPNext (#1679) 2021-04-30 13:37:46 -05:00
Jan Oberhauser 7f0f8deb6d 🔖 Release n8n@0.117.0 2021-04-24 21:41:33 +00:00
Jan Oberhauser 91aa425201 ⬆️ Set n8n-editor-ui@0.87.0 and n8n-nodes-base@0.114.0 on n8n 2021-04-24 21:41:32 +00:00
Jan Oberhauser a6a19862f2 🔖 Release n8n-editor-ui@0.87.0 2021-04-24 21:40:22 +00:00
Jan Oberhauser 3d7a2348df 🔖 Release n8n-nodes-base@0.114.0 2021-04-24 21:39:21 +00:00
Omar Ajoue 81d8a9f332
💥 Deprecate Activation Trigger and add two new replacement nodes (#1680)
* Add Workflow & n8n Trigger nodes

* Update nodes descriptions & icons

* Remove Activation Trigger node

* Update nodes descriptions & Add timestamp and workflow_id

* Added breaking change notice and types to events

*  Minor improvements

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-24 23:14:06 +02:00
Omar Ajoue 41669c0e0f
Add options to run queries as transactions (#1612)
* 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>
2021-04-24 22:55:14 +02:00
Iván Ovejero b9fbd2c0bb
Set new credentials dropdown to open by default (#1379)
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2021-04-24 22:41:00 +02:00
Craig McElroy 9271e73777
Add custom fields for Salesforce case create/update and alphabetize fields for update (#1688) 2021-04-24 22:10:53 +02:00
Bart Vollebregt adad513718
Add ability to retrieve custom fields to Zendesk Trigger node. (#1685) 2021-04-24 19:57:49 +02:00
Jan Oberhauser 08b42aef97 👕 Fix lint issue 2021-04-24 19:45:33 +02:00
Ricardo Espinoza d57ae97669
Add Mailcheck Node (#1690)
* Add Mailcheck integration

* compress logo

* Add mailcheck node info

*  Improvements

Co-authored-by: bugagashenkj <bugagashenkj@gmail.com>
Co-authored-by: Nosov Konstantin <nosov@nodeart.io>
2021-04-24 19:34:59 +02:00
Craig McElroy 66d4fe4911
Salesforce Case/Lead Owner - Add Queues to Owner picklist (#1689) 2021-04-24 19:25:30 +02:00
Ricardo Espinoza 4d74e1fdea
🐛 Fix issue looking up values with multiple empty rows (#1701) 2021-04-24 18:56:47 +02:00
Jan Oberhauser 3904f7d568 Basic code cleanup on Intercom Node 2021-04-24 17:49:52 +02:00
Jan Oberhauser 223f0130f0 Fix company:users response 2021-04-24 17:42:31 +02:00
MedAliMarz 6fcbb2ad45
🐛 Fix users:Company operation in Intercom node (#1666) 2021-04-24 17:29:09 +02:00
Jan Oberhauser cc5b1d9cd2 Improvements on Sentry Node 2021-04-24 00:38:15 +02:00
MedAliMarz a3c5f41b0f
Add update/delete to Team, Release and Project in SentryIo node (#1605)
* Add update/delete to Team, Release and Project in SentryIo node

* Add create/delete:Project in SentryIo node

* Minor fix

* Fix descriptions & display names

* Fix casing in descriptions

* Add getTeams load function & Update operations fields

* Change 'Additional Field' to 'Update Fields' for Team,Release,Project & Organization operations
2021-04-24 00:37:37 +02:00
Jan Oberhauser 35e790b8dd Minor improvements on NextCloud Node 2021-04-24 00:11:44 +02:00
MedAliMarz d9f7ebdea9
Extend NextCloud User-Resource (#1641)
* Add get/getAll:User in NextCloud node

* Add update/delete:User in NextCloud node

* Fix getAll:User operation
2021-04-24 00:08:08 +02:00