Commit graph

6134 commits

Author SHA1 Message Date
Jonathan Bennetts 174d063831
feat(Facebook Node): Add support for Facebook Graph API versions 14 (#3656) 2022-07-05 09:04:53 +02:00
Jonathan Bennetts 88d6cfc07b
feat(DeepL Node): Add support for longer texts + Credential tests (#3651)
* Updated DeepL to send data with Body instead of QS allowing larger translations

* Updated Credentials and added test
2022-07-05 09:02:25 +02:00
Omar Ajoue 088daf952e
feat(Google Ads Node): Add new node (#3526)
* Add basic layout with icon for Google Ads

* Add node versioning(V1)

* Add node and credential to package

* Add basic layout with icon for Google Ads

* Add node versioning(V1)

* Add node and credential to package

* Add api call to getall

* Fix formdata in the body for the request

* N8N-2928 Added custom queries to campaign

* Fix header bug and add developer-token field

* Add operation and fields to campaign new format

* Add more configurations and queries

* Add Invoice ressources and operations

* Remov old version from the node

* Fixed bud with typo

* Correctly prepends the baseURL

* add query to invocie request

* Fixes header not parsing the expression

* Invoice param changes

* Fixes bug related to headers not being parsed, and bug with auth

* Remove useless imports

* Added analytics to google ad node and removed useless header

* Removed url for testing

* Fixed inconsistent behaviour with the access token not being refreshed

* Added placeholders to help user

* Removed useless comments

* Resolved name confusion

* Added support for body in a GET method

* Removed hyphens, parse body's expression

* Renamed operation for clarity

* Remove unused code

* Removed invoice resource and fixed bug with body and headers

The invoice operation was removed since it does not reflect
what a user would expect from it. Google ADS invoices are
only used for big advertisers where invoicing is performed
after the end of the month and for big sums. This would
be misleading for the majority of the users expecting
an expenses report.

Also fixed a bug with header and body being sent since it
was broken for multiple input rows. The first execution
would override all others.

Lastly, made some improvements to the node itself by
transforming data, adding filters and operations.

* Improve campagin operation and remove analytics; fix tests

* Improve tooltips and descriptions

* Fix lint issues

* Improve tooltip to explain amounts in micros

* Change wording for micros

* Change the fix to a more elegant solution

Co-authored-by: Cyril Gobrecht <cyril.gobrecht@gmail.com>
Co-authored-by: Aël Gobrecht <ael.gobrecht@gmail.com>
2022-07-04 22:47:50 +02:00
agobrech 637e81552f
fix(KoboToolbox Node): Improve attachment matching logic and GeoJSON Polygon format (#3535)
* Fix query,sort + use question name in attachments

* Change Menu structure

* kobo: Clearer webhook name

* [kobo]: fix when no json filter

* Fix ambiguous attachment matching + GeoJSON Polygon format

* Fix kobo function

* Fix extra descriptions

* Add credentials injection and testing

* Fix credential injection and lint issues

Co-authored-by: Yann Jouanique <yann.jouanique@oneacrefund.org>
Co-authored-by: Yann Jouanique <yann.jouanique@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
2022-07-04 22:06:38 +02:00
Yann Jouanique 725d122da7
fix(KoboToolbox Node): Improve attachment matching logic and GeoJSON Polygon format (#3394)
* Fix query,sort + use question name in attachments

* Change Menu structure

* kobo: Clearer webhook name

* [kobo]: fix when no json filter

* Fix ambiguous attachment matching + GeoJSON Polygon format

* Fix kobo function

* Fix extra descriptions
2022-07-04 22:01:04 +02:00
Iván Ovejero 3c659682e9
feat(core): Add action to INodePropertyOptions (#3610)
* 📘 Add `action` to `INodeProperties`

* 📘 Add `action` to `INodePropertyOptions`

* 🔥 Remove unneeded key
2022-07-04 21:54:56 +02:00
Mutasem Aldmour 88486bc778
fix(Sticky Node): Fix main header hiding (#3654) 2022-07-04 21:48:32 +02:00
Ahsan Virani baf55d29ed
⬆️ Update package-lock.json file 2022-07-04 16:54:55 +02:00
Ahsan Virani 0af3ccf35f
ci: Fix Vue build issues (#3650)
* lock vue versions to patch. Not use docker cache in nightly builds

* revert to using npm install
2022-07-04 13:56:52 +02:00
pemontto 07b6cffdba
feat(Jira Node): Use Jira rendered fields with simplify option (#3323)
* 💄 Use Jira rendered fields with simplify

* 🐛 Merge the renderedField results with fields

*  improvements

*  Improvements

Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-07-04 11:43:37 +02:00
Iván Ovejero 59f2e8e7d5
refactor: Apply more eslint-plugin-n8n-nodes-base rules (#3624)
* ⬆️ Upgrade `eslint-plugin-n8n-nodes-base`

* 📦 Update `package-lock.json`

* 🔧 Adjust renamed filesystem rules

* ✏️ Alphabetize ruleset

*  Categorize overrides

*  Set renamings in lint exceptions

*  Run baseline `lintfix`

*  Update linting scripts

* 👕 Apply `node-param-description-missing-from-dynamic-multi-options`

* 👕 Apply `cred-class-field-name-missing-oauth2` (#3627)

* Rule working as intended

* Removed comments

* Move cred rule to different rule set

* 👕 Apply `node-param-array-type-assertion`

* 👕 Apply `node-dirname-against-convention`

* Apply `cred-class-field-display-name-oauth2` (#3628)

* Apply `node-execute-block-wrong-error-thrown`

* Apply `node-class-description-display-name-unsuffixed-trigger-node`

* Apply `node-class-description-name-unsuffixed-trigger-node`

* Apply `cred-class-name-missing-oauth2-suffix` (#3636)

* Rule working as intended, add exception to existing nodes

* 👕 Apply `cred-class-field-name-uppercase-first-char` (#3638)

* ⬆️ Upgrade to plugin version 1.2.28

* 📦 Update `package-lock.json`

* 👕 Update lintings with 1.2.8 change

* 👕 Apply `cred-class-field-name-unsuffixed`

* 👕 Apply `cred-class-name-unsuffixed`

* 👕 Apply `node-class-description-credentials-name-unsuffixed`

* ✏️ Alphabetize rules

*  Remove `nodelinter` package

* 📦 Update `package-lock.json`

*  Consolidate `lint` and `lintfix` scripts

Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com>
Co-authored-by: agobrech <ael.gobrecht@gmail.com>
2022-07-04 11:12:08 +02:00
Alex Grozav 6b9289349f
ci: Using npm ci instead of npm install to reuse package-lock.json (#3648) 2022-07-04 10:59:03 +02:00
Michael Kret 7d968ec202
fix(Odoo Node): Prevent possible issues with some custom fields (#3496) 2022-07-04 10:48:38 +02:00
Michael Kret 224e008fb6
feat(Webflow Trigger Node): Reduce chance of webhook duplication and add credential test (#3594)
* upstream merge

*  additional check for webhook, credentials update

* 🔥 Remove unnecessary condition

*  Change credential injection to generic type

* 👕 Fix linting issue

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-07-04 10:44:26 +02:00
Omar Ajoue 13c3b41c81
feat: Add debug configuration file with instructions (#3631)
* Add debug configuration file with instructions

* Add debugger.md file for clarifications

* Moved debugger file to vscode folder
2022-07-04 10:42:15 +02:00
Jonathan Bennetts 16b9926cd2
fix(Hubspot Node): Fix search endpoints (#3640)
* Fixed Hubspot search endpoints

* 👕 Fix lint issue

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-07-04 09:48:21 +02:00
Jonathan Bennetts 7ba85c4ab9
fix(Todoist Node): Fix multiple item support (#3614)
* Fixed multiple items handling with todoist node

* Removed unused import
2022-07-04 09:43:56 +02:00
Jonathan Bennetts bb41f8388d
refactor(Notion Node): Add content access note to Notion Trigger (#3625)
* Added notice to Notion trigger

* Changed position
2022-07-04 09:41:44 +02:00
Zapfmeister 02bc3da785
feat(Wordpress Node): Add post template option (#3139)
* Add wordpress post template option

* Fix: Add UI components and fix typo

* Add elementor template options

* Add Standard option

* 🔨 ability to use non elementor template, credential test, linter fixes

* 🔨 removed commented code

*  Improvements

Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-07-04 09:39:56 +02:00
Cornelius Suermann a8c16675d0
Merge pull request #3622 from n8n-io/n8n-3990
Stabilize tests
2022-06-30 18:29:08 +02:00
Iván Ovejero 70a1aa53f7 🎨 Formatting fixes 2022-06-30 15:53:56 +02:00
Iván Ovejero f8eb5aa52a 🧪 Add missing SMTP timeout 2022-06-30 15:53:43 +02:00
Iván Ovejero a2c599d98d 🧪 Make PG truncation sequential 2022-06-30 15:53:13 +02:00
Iván Ovejero 4ae8b54dc2 🧪 Hide logging during tests 2022-06-30 15:05:23 +02:00
Iván Ovejero 945eb63878 🧪 Separate statements when clearing mappings in MySQL 2022-06-30 14:12:47 +02:00
Iván Ovejero e6347e34ca 🧪 Add DB init timeout 2022-06-30 14:06:16 +02:00
Iván Ovejero de55fdb625 🧪 Truncate mapping tables 2022-06-30 13:43:50 +02:00
Jan Oberhauser 86b3cc6e15 📚 Update CHANGELOG.md with version 0.184.0 2022-06-29 09:24:32 +02:00
Jan Oberhauser 66c7cf45b2 🔖 Update main package.json to 0.184.0 2022-06-29 09:23:13 +02:00
Jan Oberhauser fd80f45ec9 🔖 Release n8n@0.184.0 2022-06-29 07:21:46 +00:00
Jan Oberhauser bae27c2d31 ⬆️ Set n8n-core@0.124.0, n8n-editor-ui@0.150.0, n8n-nodes-base@0.182.0 and n8n-workflow@0.106.0 on n8n 2022-06-29 07:21:45 +00:00
Jan Oberhauser 0376e3e819 🔖 Release n8n-editor-ui@0.150.0 2022-06-29 07:20:13 +00:00
Jan Oberhauser 48a2d34f9b ⬆️ Set n8n-workflow@0.106.0 on n8n-editor-ui 2022-06-29 07:20:13 +00:00
Jan Oberhauser a7eb619cc5 🔖 Release n8n-nodes-base@0.182.0 2022-06-29 07:19:25 +00:00
Jan Oberhauser 22f556a397 ⬆️ Set n8n-core@0.124.0 and n8n-workflow@0.106.0 on n8n-nodes-base 2022-06-29 07:19:24 +00:00
Jan Oberhauser f4c5c84ca1 🔖 Release n8n-node-dev@0.63.0 2022-06-29 07:19:15 +00:00
Jan Oberhauser b52a9a0919 ⬆️ Set n8n-core@0.124.0 and n8n-workflow@0.106.0 on n8n-node-dev 2022-06-29 07:19:14 +00:00
Jan Oberhauser 37c64da1d2 🔖 Release n8n-core@0.124.0 2022-06-29 07:19:04 +00:00
Jan Oberhauser df57b854dd ⬆️ Set n8n-workflow@0.106.0 on n8n-core 2022-06-29 07:19:04 +00:00
Jan Oberhauser 0f56bd0037 🔖 Release n8n-workflow@0.106.0 2022-06-29 07:18:50 +00:00
Jan Oberhauser 7a6c085817 ⬆️ Update package-lock.json file 2022-06-29 09:17:45 +02:00
agobrech 447d19024c
feat(Clockify Node): Add more resources and improvements (#3411)
*  Add more Clockify resources

* Moved headers in credentials file and added testing

* add address to additional fields

* Add pagination to workflow

* 🎨 Rename additional fields to filter

* Remove non-required fields to additional fields

* 🔥 Remove loading of client id

*  Improvements

*  Small change

Co-authored-by: pemontto <pemontto@gmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-06-29 09:04:36 +02:00
Jonathan Bennetts 6e595c7276
fix(Cortex Node): Fix issue that not all Analyzers got returned (#3606)
* Updated Cortex analyzer search url to fetch all

* Updated Cortex credentials

* Nodelinter fixes

* More fixes
2022-06-29 08:42:35 +02:00
Jan Oberhauser 522b31a47b
feat(core): Give access to getBinaryDataBuffer in preSend method (#3588) 2022-06-28 18:32:09 +02:00
brianinoa 8db44057f2
fix(editor): Display full text of long error messages (#3561) 2022-06-28 18:30:32 +02:00
Jan Oberhauser 86721fc496
feat(core) Simplify authentication type (#3578)
*  Add generic auth type

*  Remove queryAuth

*  Remove bearer

*  Remove headerAuth

*  Remove basicAuth

*  Adjust tests

*  Small improvements

* 👕 Fix lint issue
2022-06-26 15:55:51 -07:00
brianinoa 1e4fd9e4df
feat(core): Expose item index being processed (#3590)
* 🧑‍💻 Expose item index being processed

*  Fix tests for getCurrentItemIndex

*  Fix tests for getCurrentItemIndex

*  Rename method

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-06-26 15:52:37 -07:00
brianinoa 23eba33613
refactor: Automatically add fileExtension from FileTypeResult to binary data (#3591)
* ♻️ Add fileExtension from FileTypeResult to buffer data

*  Minor improvement

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-06-26 15:33:17 -07:00
Jonathan Bennetts 7ccae7c9b2
fix(Salesforce Node): Fix issue with lead status not using name on update (#3599)
* Fixed issue with lead status not using name on update

* 🔥 Remove unnecessary line

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-06-25 21:16:06 -07:00
Iván Ovejero acdb4d92c8
fix(HTTP Request Node): Make all OAuth2 credentials work with HTTP Request Node (#3503) 2022-06-25 21:14:08 -07:00