Commit Graph

742 Commits

Author SHA1 Message Date
Jon
772ed7ff10 fix(Zendesk Node): Fix issue with group assignment not working (#6501) 2023-06-21 16:19:29 +01:00
agobrech
fc7261aca6 feat(core): Add PKCE for OAuth2 (#6324)
* Remove authorization header when empty

* Import pkce

* Add OAuth2 with new grant type to Twitter

* Add pkce logic auto assign authorization code if pkce not defined

* Add pkce to ui and interfaces

* Fix scopes for Oauth2 twitter

* Deubg + pass it through header

* Add debug console, add airtable cred

* Remove all console.logs, make PKCE in th body only when it exists

* Remove invalid character ~

* Remove more console.logs

* remove body inside query

* Remove useless grantype check

* Hide oauth2 twitter waiting for overhaul

* Remove redundant header removal

* Remove more console.logs

* Add comment for code verifier

* Remove uneeded scopes

* Restore client id in callback

* Revert "Add OAuth2 with new grant type to Twitter"

This reverts commit 1c3b331aa1974159d1ffe1a4fbf2050722f0f24c.

* Remove oauth2 from twitter

* Remove properties linked to oauth2

* Fix lodash imports

* remove redundant check

* remove redundant codeVerifier

* patch pkce-challenge to avoid generating `code_verifier` with `~`

* store `codeVerifier` on the DB like `csrfSecret`

* remove unrelated changes

---------

Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-21 10:54:32 +02:00
agobrech
109442f38f feat(AwsS3 Node): Small overhaul of the node with multipart uploading (#6017)
* Create new version for S3

* Update S3 to new aws s3 methods

* Switch from SAOP to Rest api

* Add multipart request

* Seperate stream into chunks and send the multipart

* Fix chunk into buffer

* Fix wrong sha256 mismatch

* Add abort multipart on error

* Complete multipart and list parts

* Change format to xml and add a minmum size of 5MB for each part

* Fix returned data for uploading a file

* Remove console.logs

* Seperate needed headers and multipart headers

* Throw error on aborting, remove console.logs

* Remove soap request from generic function

* Keep buffer

* Add unit test for V2

* fix upload file content body

* removed unused import

* Fix bug where the object was too smal and used only one part

* Fix naming for bucket name

* Fix issue with file name not returning data

* Add parent name

* Remove console.logs

* Add content type

* fix headears for other upload mode

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-06-15 13:19:22 +02:00
कारतोफ्फेलस्क्रिप्ट™
004d38d82b ci: Fix docs urls (no-changelog) (#6433) 2023-06-14 21:48:15 +02:00
Jon
d041602754 fix(LinkedIn Node): Fix issue with posting as user or organization (#6414) 2023-06-13 15:44:35 +01:00
Iván Ovejero
62fc77363f ci: Fix build (no-changelog) (#6391) 2023-06-06 15:08:29 +02:00
Yann ALEMAN
4b854333d4 feat(LoneScale Node): Add LoneScale node and Trigger node (#5146) 2023-05-23 12:52:54 +01:00
Jon
ec393bc041 feat(Ldap Node): Add LDAP node (#4783) 2023-05-23 12:39:26 +01:00
Michael Kret
d5c7e6f2cf fix(SSH Node): Private key field as password and credential test (#6298) 2023-05-23 12:01:24 +03:00
Michael Kret
bbe6d4c4db fix(Strapi Node): Strapi credentials notice (#6289) 2023-05-23 12:00:02 +03:00
Jon
2a2b6452dc fix(ERPNext Node): Fix issue with credential test and add frappe cloud url (#6283) 2023-05-22 11:11:08 +01:00
Bram Kn
401cffde57 feat(Gotify Node): Add support for self signed certificates (#6053) 2023-05-18 17:34:33 +01:00
कारतोफ्फेलस्क्रिप्ट™
f3bc6f19b6 feat: Create NPM node (#6177) 2023-05-10 12:37:26 +02:00
Adam Charnock
d381578926 fix: Revert change that hid the SSH private key (no-changelog) (#6158) 2023-05-04 16:11:29 +01:00
Michael Kret
f9fd82040a feat(Airtable Node): Access token support (#6160) 2023-05-04 13:17:22 +03:00
Tom
3074f42b3b feat(JotForm Trigger Node): Add support for hipaa-api.jotform.com (#6171)
feat(JotForm Trigger): Add support for hipaa-api.jotform.com

Github issue / Community forum post (link here to close automatically): https://community.n8n.io/t/jotform-credentials-when-using-a-hipaa-account/25717?u=mutedjam
2023-05-03 15:56:54 +02:00
कारतोफ्फेलस्क्रिप्ट™
deb4c04f34 fix(AWS S3 Node): Fix File upload, and add node tests (#6153) 2023-05-02 17:29:07 +02:00
कारतोफ्फेलस्क्रिप्ट™
a3aba835a1 fix(core): Avoid using Object.keys on Buffer and other non-plain objects (#6131)
* create a unified way to check if an object is empty

* avoid running `Object.keys` on Buffer objects, to avoid unnecessary memory usage
2023-04-28 13:05:48 +02:00
Marcus
25a386dd70 fix(Mattermost Node): Fix base url trailing slash error (#6097)
* 🐛 Fix credential base url with trailing slash

* Fix credential test base url with trailing slash
2023-04-27 11:42:37 +02:00
Jon
2579fe9631 docs: Add api notice to credentials for google sheets nodes (no-changelog) (#6024) 2023-04-20 11:40:35 +01:00
Jon
a68330ff66 fix(Notion Node): Update credential test to not require user permissions (#6022) 2023-04-20 11:40:12 +01:00
Michael Kret
9817a15da4 feat(Google BigQuery Node): Node improvements (#4877)
*  setup

*  finished v2 setup

*  fix return all, fix simplify with nested schema

*  fix for external tables, updated scopes

*  query operation

*  linter fixes

*  fixed not processed errors when inserting, move main loop to execute function to allow bulk request

*  customizible batch size when inserting, improoved errors

*  options for mapping input

*  fix for inserting RECORD type

*  updated simplify logic

*  fix for return with  selected fields

*  option to return table schema

*  linter fixes

*  fix imports

*  query resource and fixes, rlc for projects

*  removed simplify, added raw output option

*  rlc for tables and datasets, no urls option

*  updated hints and description of query parameter, fix getMany VIEW, multioptions fo fields

*  added case when rows are empty

*  linter fixes

*  UI update, one resource

*  fix for output with field named json

*  using jobs instead queries

*  added error message

*  search for RLCs, fixes

*  json processing

*  removed getAll operation

*  executeQuery update

*  unit test

*  tests setup, fixes

*  tests

* Remove script for checking unused loadOptions

---------

Co-authored-by: agobrech <ael.gobrecht@gmail.com>
2023-04-19 14:55:01 +02:00
Michael Kret
0b48088296 feat(core): Support for google service account in HTTP node 2023-04-14 13:39:52 +03:00
Michael Kret
0a53c957c4 feat(MySQL Node): Overhaul 2023-04-12 17:24:17 +03:00
Michael Kret
ee7f86394e fix(NocoDB Node): Fix for updating or deleting rows with not default primary keys 2023-04-12 16:27:19 +03:00
Iván Ovejero
6cf74e412a feat: Create TOTP node (#5901)
*  Create TOTP node

* ♻️ Apply feedback

* ♻️ Recreate `pnpm-lock.yaml`

* ♻️ Apply Giulio's feedback

* 🚧 WIP node tests

*  Finish node test setup

*  Restore test command

*  linter fixes, tweaks

* ♻️ Address Michael's feedback

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-04-11 11:58:47 +02:00
Michael Kret
07dc0e4b40 feat(Postgres Node): Overhaul node 2023-04-03 18:18:01 +03:00
agobrech
d87736103d feat(SSH Node): Hide the private key within the ssh credential (#5871) 2023-03-31 18:14:43 +02:00
Michael Kret
e11a30a640 fix(HubSpot Trigger Node): Developer API key is required for webhooks 2023-03-31 14:02:32 +03:00
Michael Kret
739b9b07f0 fix(core): Service account private key as a password field 2023-03-30 11:49:51 +03:00
Jon
a1306c6903 fix(HTTP Request Node): Fix AWS credentials to stop removing url params for STS (#5790) 2023-03-27 16:56:02 +01:00
agobrech
d30b892395 fix(HTTP Request Node): Fix AWS credentials to automatically deconstruct the url (#5751)
Workaround to use decompose uri whe OptionsUri is being used
2023-03-22 22:04:25 +01:00
कारतोफ्फेलस्क्रिप्ट™
7a4e9ef5fa refactor: Remove n8n-core dependency in nodes-base (no-changelog) (#5649) 2023-03-09 18:13:15 +01:00
Jon
971d5ae8f5 feat(Microsoft SQL Node): Add support for self signed certificates (#5160) 2023-03-09 10:05:03 +00:00
Jon
01a2160b3b feat(Mattermost Node): Add self signed certificate support (#5630) 2023-03-06 16:27:49 +00:00
agobrech
4a209e1dd9 feat: Hide sensible value in Auth Header Credentials and Auth Query Credentials (#5534)
* ️ Enable passord type on value

* ️ Enable password type on query auth cred
2023-02-23 09:31:46 +01:00
Jonathan Bennetts
b3e1793ac0 fix(Discourse Node): Fix issue with credential test not working (#5520) 2023-02-21 15:20:28 +00:00
agobrech
4df69428f1 feat(Slack Node): Revamp the node with more functionalities in a new version (#4587)
* 🔥 Remove useless tooltips

* Slack change additional fields to Options in node

* 🥅 Add error handeling for out of Scope request

* ♻️ Refactor channel visibility

* ♻️ refactor user ressource

* Update user profile

* 🔥 remove JSON parameter

* 🔥 remove attchmant json and block json

* 🎨 refactors message post

* 🎨 refactor ts property into timestamps

* 🎨 change action name for messages

*  add new operation to message ressouce

*  add search backend logic + channel RLC

* 🎨 improve timestamp description and plaecholder

* 🎨 change timestamp disaplay name

*  add RLC for channels

*  add versioning

* 🐛 Fix imports for versioning

*  Add RLC for users when sending messages

*  RLC for user presence

*  Add json builder for slack blocks

* 🐛 Fix option in search query

* Add loadoption for search in channels

* Fix indentation issue

*  Add more scopes to Oauth2

* 🐛 Fix lint issue

* 🐛 oauth fix

*  Merge user and user profile

*  Improve reactions and star resource

* ️Merges ephemeral operation into one

* ️Merge image and emoji in profile picture

* 🐛Fix bug for replying to messages

* ️Add username type to User Rlc

* 🐛 Fix typo

* 🎨 Improves tooltip and naming for ephemeral messages

* 🎨 Improve display name and description

* ️Add the ability to delete within username channel

* 🎨 Add informations on how to use the emojis and add doc

* 🎨 Fix typos and improve display names

*  Improve FE validation for timestamp

* 🎨 Change block description

* 🚨 Fix linting

* 🚨 More lint fixes

* 🐛 Fix timestamps bug

* 🐛 Fix timestamp not showing up

* 🐛 More small fixes

* 🐛 Fix logic error

* Add searchable to slack rlc channels and users

* Fix lint rules

* ️Message Search -> fix limit request using qs count

* ️Message Search -> sort by relevance use qs score

* Fix messages by username rlc

* 🐛 fix messages search all operation

* Add error when using username with ephemeral message

* 🎨 fix linting errors

* 🎨 send message ephemeral error message improvement

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-02-03 17:04:37 +01:00
Iván Ovejero
b03e358a12 refactor: Integrate consistent-type-imports in nodes-base (no-changelog) (#5267)
* 👕 Enable `consistent-type-imports` for nodes-base

* 👕 Apply to nodes-base

*  Undo unrelated changes

* 🚚 Move to `.eslintrc.js` in nodes-base

*  Revert "Enable `consistent-type-imports` for nodes-base"

This reverts commit 529ad72b051478fa1633aaf84b2864f2fdc7613c.

* 👕 Fix severity
2023-01-27 12:22:44 +01:00
कारतोफ्फेलस्क्रिप्ट™
277bed2a5c ci: Run pnpm format and pnpm lintfix (no-changelog) (#5265) 2023-01-27 11:01:31 +01:00
Jonathan Bennetts
e810966a3b fix(Linear Node): Fix issue with single item not being returned (#5193) 2023-01-20 12:59:47 +00:00
Sven Ziegler
e275306c64 fix(GitLab Node): Update credential test endpoint (#5166) 2023-01-19 09:20:58 +00:00
Michael Kret
e839a81cc5 feat: (Google Sheets Trigger Node): Trigger for Google Sheets 2023-01-17 15:21:16 +02:00
Jonathan Bennetts
dfff982662 feat(Google Ads Node): Update api version to v11 (#4427) 2023-01-16 13:12:58 +00:00
Michael Kret
6608e69457 refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944) 2023-01-13 18:11:56 +01:00
Jonathan Bennetts
146bc3bff5 fix(Zoom Node): Add notice about deprecation of Zoom JWT app support (#5156) 2023-01-13 15:01:28 +00:00
Tom
62b2fc37c3 fix(Slack Node): Add missing channels:read OAuth2 scope (#5092) 2023-01-05 14:02:16 +01:00
Iván Ovejero
d9b98fc8be refactor: Lint for no unneeded backticks (#5057) (no-changelog)
*  Create rule `no-unneeded-backticks`

* 👕 Enable rule

*  Run rule on `cli`

*  Run rule on `core`

*  Run rule on `workflow`

*  Rule rule on `design-system`

*  Run rule on `node-dev`

*  Run rule on `editor-ui`

*  Run rule on `nodes-base`
2022-12-29 12:20:43 +01:00
कारतोफ्फेलस्क्रिप्ट™
c738aa53e9 docs: Fix all credential documentation urls, and add a CI job to regularly validate these urls (#5012)
* add or update documentation URLs for all credentials

* add UTM params to documentation urls even when they are absolute urls

* Setup a CI job to validate documentation urls after every release

* Fix FacebookGraphApi documentation URL

* also validate node documentation urls

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-12-22 17:01:29 +01:00
bionemesis
67da2d0c72 docs: Update documentation url for n8n credentials (no-changelog) (#5008)
Update N8nApi.credentials.ts

Fix documentionUrl to point to the right location.
2022-12-22 15:33:34 +01:00