Iván Ovejero
57afd480ab
refactor: Format all credentials ( #3720 )
...
* Apply Prettier to all credentials
* Fix quotes for lint
* 👕 Remove `quotemark` rule
* 👕 Run Prettier to take over quotes
* ⬆️ Upgrade `eslint-plugin-n8n-nodes-base`
* 📦 Update `package-lock.json`
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-07-24 17:36:17 +02:00
Ricardo Espinoza
e29c5975e1
feat(core): Add "Client Credentials" grant type to OAuth2 ( #3489 )
...
* ⚡ Add OAuth2 client credentials grant type
* ⚡ Improvements
* 🐛 Fix linting issue
* 🐛 Fix typo
* 🐛 Fix small issue with type
* 🐛 When token expire get a new one instead of refreshing it
* ⚡ Fix issue that it did not display it correctly for OAuth1
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-06-13 22:27:19 -07:00
Iván Ovejero
5481dc3d25
⚡ Simplify property types in credentials ( #1869 )
2021-06-12 18:39:55 +02:00
Iván Ovejero
eb2f14d06d
✨ Add Reddit Node ( #1345 )
...
* Set up initial scaffolding and auth
* Add grant type to credentials
* Add Account operations and OAuth2 request
* Add post submission functionality
* Refactor resources into resource descriptions
* Refactor request for no auth URL
* Refactor submission description for consistency
* Add listing resource
* Refactor My Account resource into details
* Add request for all items
* Add listings for specific subreddits
* Fix minor linting details
* Add subreddit resource
* Add All-Reddit and Subreddit resource descriptions
* Adjust display options for credentials
* Add subreddit search functionality
* Clean up auth parameter
* Add user resource with GET endpoint
* Add user description
* Add submission search and commenting functionality
* Clean up logging and comments
* Fix minor details
* Fix casing in properties
* Add dividers to execute() method
* Refactor per feedback
* Remove unused description
* Add punctuation to property descriptions
* Fix resources indentation
* Add resource dividers
* Remove deprecated sidebar option
* Make subreddit:get responses consistent
* Remove returnAll and limit from subreddit:get
* Flatten user:get response for about
* Rename comment target property
* Remove best property from post:getAll
* Enrich subreddit search by keyword operation
* Remove unneeded scopes
* Add endpoint documentation
* Add scaffolding for post comment
* Add all operations for postComment resource
* Add all operations for post resource
* Refactor subreddit:getAll
* Fix postComment:getAll
* Flatten responses for profile:get
* ⚡ Improvements
* Fix response traversal for postComment:add
* Flatten response for postComment:reply
* Fix subreddit:getAll with keyword search
* Fix pagination to enforce limit
* Wrap unauthenticated API call in try-catch block
* Add 404 error for empty array responses
* Revert "Fix pagination to enforce limit"
This reverts commit 72548d9523
.
* Turn user:get (gilded) into listing
* ⚡ Small improvement
* ⚡ Improve Reddit-Node
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-04 09:37:03 +01:00