Commit graph

2176 commits

Author SHA1 Message Date
Snyk bot 29b9ebfaff
⬆️ Set fflate@0.6.9 on n8n-nodes-base
Snyk has created this PR to upgrade fflate from 0.4.8 to 0.6.9.

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

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-08 15:35:37 -05:00
Ricardo Espinoza 3a1a5fd49c
Add pagination to resource report for Google Analytics (#1755) 2021-05-08 15:26:06 -05:00
Jan Oberhauser 77da5b70bc Improvements to Webflow Trigger Node 2021-05-07 23:32:59 -05:00
Nikita 8b11eb6332
Add collection events to Webflow Trigger Node (#1735) 2021-05-07 23:32:00 -05:00
Jan Oberhauser abe1ee144a Minor fix on Spreadsheet File 2021-05-07 22:51:00 -05:00
fntb 43fae950e6
Add support for files without headers to SpreadsheetFile node (#1738)
When false the first row of the spreadsheet file is considered a data row and each row is parsed as an array
2021-05-07 22:50:25 -05:00
Jan Oberhauser 1fd0fcc729 Minor improvements to AWS Comprehend 2021-05-07 22:31:27 -05:00
Alexander Mustafin 71ec72493c
Add WS comprehend detect entities + Load more Lambda functions (#1742)
* Functions are listed recursively if the number of functions exceeds 50

* Added the DetectEntities action to the Aws Comprehend Node
2021-05-07 22:31:04 -05:00
Jan Oberhauser 5809b1e098 Optimize svgs 2021-05-07 22:06:31 -05:00
Iván Ovejero 90d69246d9
🐛 Fix null value parsing in Google FIrestore (#1749) 2021-05-07 21:59:32 -05:00
Ricardo Espinoza 31dd959109
🐛 Select base url depending on the datacenter (#1744) 2021-05-07 18:54:40 -05:00
Ricardo Espinoza f6fdf6b5e1
Add Reply To parameter to Mailjet node (#1732)
*  Add Reply To parameter

*  Add svg logo
2021-05-07 18:46:50 -05:00
Omar Ajoue fc3ebf1a4c
Adds increment operation to Redis (#1745) 2021-05-07 18:33:14 -05:00
Jan Oberhauser 29842e2f5f Fix version of cheerio to fix build #1754 2021-05-07 18:27:33 -05:00
Jan Oberhauser 6ad797f9e5 Fix version of cheerio to fix build #1754 2021-05-07 11:13:34 -05:00
Jan Oberhauser d992534fc4 🔖 Release n8n-nodes-base@0.115.0 2021-05-02 13:56:52 +00:00
Jan Oberhauser e88161525c ⬆️ Set n8n-core@0.69.0 and n8n-workflow@0.57.0 on n8n-nodes-base 2021-05-02 13:56:52 +00:00
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 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 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
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 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
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