Commit graph

118 commits

Author SHA1 Message Date
Omar Ajoue 7ce7285f7a
Load credentials from the database (#1741)
* Changes to types so that credentials can be always loaded from DB

This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.

This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.

* Fix updated files

* Removed unnecessary credential loading to improve performance

* Fix typo

*  Fix issue

* Updated new nodes to load credentials async

*  Remove not needed comment

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-20 18:57:30 +02:00
Omar Ajoue d6239d5bfb
Add full continue-on-fail support to all nodes (#1996)
* Update Compression node

* Update Crypto node

* Update DateTime node

* Update EditImage node

* Update EmailSend node

* Update ExecuteWorkflow node

* Update FTP node

* Update Function node

* Update FunctionItem node

* Update ExecuteCommand node

* Update OpenWeatherMap node

* Update ReadBinaryFile node

* Update ReadPdf node

* Update RssFeedRead node & add URL validation

* Update SpreadsheetFile node

* Update Switch node

* Update WriteBinaryFile node

* Update Xml node

* Update ActiveCampaign node

* Update Airtable node

* Update ApiTemplateIo node

* Update Asana node

* Update AwsLambda node

* Update AwsSns node

* Update AwsComprehend node

* Update AwsRekognition node

* Update AwsS3 node

* Fix Error item

* Update AwsSes node

* Update AwsSqs node

* Update Amqp node

* Update Bitly node

* Update Box node

* Update Brandfetch node

* Update CircleCi node

* Update Clearbit node

* Update ClickUp node

* Update Cockpit node

* Update CoinGecko node

* Update Contentful node

* Update ConvertKit node

* Update Cortex node

* Update CustomerIo node

* Update DeepL node

* Update Demio node

* Update Disqus node

* Update Drift node

* Update Dropbox node

* Update GetResponse node

* Refactor & Update Ghost node

* Update Github node

* Update Gitlab node

* Update GoogleAnalytics node

* Update GoogleBooks node

* Update GoogleCalendar node

* Update GoogleDrive node

* Update Gmail node

* Update GoogleSheets node

* Update GoogleSlides node

* Update GoogleTasks node

* Update Gotify node

* Update GraphQL node

* Update HackerNews node

* Update Harvest node

* Update HtmlExtract node

* Update Hubspot node

* Update Hunter node

* Update Intercom node

* Update Kafka node

* Refactor & update Line node

* Update LinkedIn node

* Update Mailchimp node

* Update Mandrill node

* Update Matrix node

* Update Mautic node

* Update Medium node

* Update MessageBird node

* Update Mindee node

* Update Mocean node

* Update MondayCom node

* Update MicrosoftExcel node

* Update MicrosoftOneDrive node

* Update MicrosoftOutlook node

* Update Affinity node

* Update Chargebee node

* Update Discourse node

* Update Freshdesk node

* Update YouTube node

* Update InvoiceNinja node

* Update MailerLite node

* Update Mailgun node

* Update Mailjet node

* Update Mattermost node

* Update Nasa node

* Update NextCloud node

* Update OpenThesaurus node

* Update Orbit node

* Update PagerDuty node

* Update PayPal node

* Update Peekalink node

* Update Phantombuster node

* Update PostHog node

* Update ProfitWell node

* Refactor & Update Pushbullet node

* Update QuickBooks node

* Update Raindrop node

* Update Reddit node

* Update Rocketchat node

* Update S3 node

* Update Salesforce node

* Update SendGrid node

* Update SentryIo node

* Update Shopify node

* Update Signl4 node

* Update Slack node

* Update Spontit node

* Update Spotify node

* Update Storyblok node

* Refactor & Update Strapi node

* Refactor & Update Strava node

* Update Taiga node

* Refactor & update Tapfiliate node

* Update Telegram node

* Update TheHive node

* Update Todoist node

* Update TravisCi node

* Update Trello node

* Update Twilio node

* Update Twist node

* Update Twitter node

* Update Uplead node

* Update UProc node

* Update Vero node

* Update Webflow node

* Update Wekan node

* Update Wordpress node

* Update Xero node

* Update Yourls node

* Update Zendesk node

* Update ZohoCrm node

* Refactor & Update Zoom node

* Update Zulip node

* Update Clockify node

* Update MongoDb node

* Update MySql node

* Update MicrosoftTeams node

* Update Stackby node

* Refactor Discourse node

* Support corner-case in Github node update

* Support corner-case in Gitlab node update

* Refactor & Update GoogleContacts node

* Refactor Mindee node

* Update Coda node

* Lint fixes

* Update Beeminder node

* Update Google Firebase RealtimeDatabase node

* Update HelpScout node

* Update Mailcheck node

* Update Paddle node

* Update Pipedrive node

* Update Pushover node

* Update Segment node

* Refactor & Update Vonage node

* Added new conditions to warnings on execute batch cmd

* Added keep only properties flag

* Fixed code for keep only props

* Added dependencies for image editing

Co-authored-by: dali <servfrdali@yahoo.fr>
2021-07-20 08:58:54 +02:00
Harshil Agrawal 4d35eafc0b
Add aliases (#1935) 2021-06-27 13:34:08 +02:00
Harshil Agrawal 440971673c
Add and update codex files (#1834)
*  Add and update codex files

* 🔨 Fix codex format

* 🔨 Fix codex format for remaining files
2021-05-28 14:54:52 -05:00
Jan Oberhauser d33dad7ebc Optimize svgs 2021-04-17 17:23:59 +02:00
Konstantin Nosov 5e7f27d137
Optimize svg (#1653)
* add optimize-svg command to npm scripts

* run svgo over all svg assets in repo
2021-04-17 17:17:16 +02:00
Harshil Agrawal 78936fd1dc
Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
Iván Ovejero 1d27a9e87e
Improve node error handling (#1309)
* Add path mapping and response error interfaces

* Add error handling and throwing functionality

* Refactor error handling into a single function

* Re-implement error handling in Hacker News node

* Fix linting details

* Re-implement error handling in Spotify node

* Re-implement error handling in G Suite Admin node

* 🚧 create basic setup NodeError

* 🚧 add httpCodes

* 🚧 add path priolist

* 🚧 handle statusCode in error, adjust interfaces

* 🚧 fixing type issues w/Ivan

* 🚧 add error exploration

* 👔 fix linter issues

* 🔧 improve object check

* 🚧 remove path passing from NodeApiError

* 🚧 add multi error + refactor findProperty method

* 👔 allow any

* 🔧 handle multi error message callback

*  change return type of callback

*  add customCallback to MultiError

* 🚧 refactor to use INode

* 🔨 handle arrays, continue search after first null property found

* 🚫 refactor method access

* 🚧 setup NodeErrorView

*  change timestamp to Date.now

* 📚 Add documentation for methods and constants

* 🚧 change message setting

* 🚚 move NodeErrors to workflow

*  add new ErrorView for Nodes

* 🎨 improve error notification

* 🎨 refactor interfaces

*  add WorkflowOperationError, refactor error throwing

* 👕 fix linter issues

* 🎨 rename param

* 🐛 fix handling normal errors

*  add usage of NodeApiError

* 🎨 fix throw new error instead of constructor

* 🎨 remove unnecessary code/comments

* 🎨 adjusted spacing + updated status messages

* 🎨 fix tab indentation

*  Replace current errors with custom errors (#1576)

*  Introduce NodeApiError in catch blocks

*  Introduce NodeOperationError in nodes

*  Add missing errors and remove incompatible

*  Fix NodeOperationError in incompatible nodes

* 🔧 Adjust error handling in missed nodes

PayPal, FileMaker, Reddit, Taiga and Facebook Graph API nodes

* 🔨 Adjust Strava Trigger node error handling

* 🔨 Adjust AWS nodes error handling

* 🔨 Remove duplicate instantiation of NodeApiError

* 🐛 fix strava trigger node error handling

* Add XML parsing to NodeApiError constructor (#1633)

* 🐛 Remove type annotation from catch variable

*  Add XML parsing to NodeApiError

*  Simplify error handling in Rekognition node

*  Pass in XML flag in generic functions

* 🔥 Remove try/catch wrappers at call sites

* 🔨 Refactor setting description from XML

* 🔨 Refactor let to const in resource loaders

*  Find property in parsed XML

*  Change let to const

* 🔥 Remove unneeded try/catch block

* 👕 Fix linting issues

* 🐛 Fix errors from merge conflict resolution

*  Add custom errors to latest contributions

* 👕 Fix linting issues

*  Refactor MongoDB helpers for custom errors

* 🐛 Correct custom error type

*  Apply feedback to A nodes

*  Apply feedback to missed A node

*  Apply feedback to B-D nodes

*  Apply feedback to E-F nodes

*  Apply feedback to G nodes

*  Apply feedback to H-L nodes

*  Apply feedback to M nodes

*  Apply feedback to P nodes

*  Apply feedback to R nodes

*  Apply feedback to S nodes

*  Apply feedback to T nodes

*  Apply feedback to V-Z nodes

*  Add HTTP code to iterable node error

* 🔨 Standardize e as error

* 🔨 Standardize err as error

*  Fix error handling for non-standard nodes

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
2021-04-16 18:33:36 +02:00
Harshil Agrawal a503c0e86b
Add new codex files and fix previous files (#1608)
*  Add new codex files and fixed previous files

* 🔨 Minor fix

* 🔨 Minor fix
2021-04-10 10:18:10 +02:00
Iván Ovejero 68c14979d3
Add Mattermost reactions and ephemeral message (#1552)
* Replace PNG icon with SVG icon

* Add reaction resource and operations

*  Finalize reactions and add postEphemeral

*  Improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2021-03-24 17:59:45 +01:00
Harshil Agrawal f258f3ca33
Add Node Codex (#1335)
*  Add Node Codex 📇

* Add codex files for new nodes

*  Change category for Affinity

* 🔨 Fix credential documentation link

* Improve styling

* Add blogposts

Co-authored-by: Amudhan <sm.amudhan@live.com>
2021-01-14 13:56:07 +01:00
Jan Oberhauser a6cf9bceb3 Improve channel selection on Mattermost node 2020-11-06 13:39:38 +01:00
Jan Oberhauser 40c2acd77b 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Jan Oberhauser 76dec013db Small improvements on Mattermost-Node 2020-10-03 19:18:42 +02:00
Ricardo Espinoza b328a72a22
Add user - create/invite functionality (#1002)
*  Add user - create/invite functionality

*  Improvements
2020-10-03 19:15:14 +02:00
Jan Oberhauser fe802c8f76 👕 Fix built issue by fixing lint issues 2020-10-01 15:18:47 +02:00
smamudhan c8cadbc03b
Updated dropdown descriptions to match documentation (#730)
* Updated Dropdown Descriptions to match documentation

* Removed full stops and hyphens in field descriptions

* Removed hyphen on description on line 267
2020-07-07 11:12:23 +02:00
Ricardo Espinoza ab1dcf64b9
🔀 Feature/mattermost extended (#588) 2020-05-22 23:10:52 +02:00
Jan Oberhauser 0db2023027 Minor improvements to Mattermost-Node 2020-05-06 10:29:09 +02:00
ricardo 0f7b95a703 Improvements 2020-05-05 20:50:07 -04:00
ricardo fad5d5e808 Added get users by email 2020-04-24 01:14:32 -05:00
ricardo 3596807630 Mattermost improvements 2020-04-22 12:09:04 -05:00
Jan Oberhauser 7ab616f6bc Small improvement to Mattermost-Node 2020-04-14 19:17:55 +02:00
Jan Oberhauser f602f0022c Add support for Mattermost interactive message "select" 2020-04-14 18:23:43 +02:00
Jan Oberhauser ac3e901031 Fixed indentation and ordered parameters correctly 2020-04-14 17:46:56 +02:00
Miłosz Szewczak 031827e315
add 2001 2020-04-13 23:14:16 +02:00
Miłosz Szewczak cc52ed596e
add2010 2020-04-13 22:37:41 +02:00
Miłosz Szewczak bf01944f0d
add305 2020-04-13 10:54:34 +02:00
Miłosz Szewczak 176bda1999
add301 2020-04-12 23:47:25 +02:00
Miłosz Szewczak 32c52b6ae8
add300 2020-04-12 23:23:58 +02:00
Miłosz Szewczak 8c363d1144
add150 2020-04-12 21:58:08 +02:00
Miłosz Szewczak 8bc30b2ab4
add 131 2020-04-12 21:21:48 +02:00
Miłosz Szewczak fe033dd08c
add130 2020-04-12 20:52:37 +02:00
Miłosz Szewczak 9aa75db1f2
add128 2020-04-12 20:32:47 +02:00
Miłosz Szewczak 640db18ab6
a126 2020-04-12 19:12:11 +02:00
Miłosz Szewczak 2de3249cfb
add125 2020-04-12 18:59:52 +02:00
Miłosz Szewczak e616ab236c
add121 2020-04-12 18:48:01 +02:00
Miłosz Szewczak 22aac3fe79
a120 2020-04-12 01:00:14 +02:00
Miłosz Szewczak fef33ce9e7
add107 2020-04-12 00:38:02 +02:00
Miłosz Szewczak b7e4a12106
add106 2020-04-12 00:16:40 +02:00
Miłosz Szewczak f26b262d3a
add105 2020-04-12 00:15:30 +02:00
Miłosz Szewczak c3ee82fffd
a103 2020-04-11 23:47:00 +02:00
Miłosz Szewczak 45700e4768
a102a 2020-04-11 23:00:04 +02:00
Miłosz Szewczak 69b4cc179e
a102 2020-04-11 22:59:39 +02:00
Miłosz Szewczak 16082c6231
add101 2020-04-11 22:43:35 +02:00
Miłosz Szewczak deae29647a
a13 clean 2020-04-11 20:59:33 +02:00
Miłosz Szewczak 101b884a2c
add11 2020-04-11 20:55:12 +02:00
Miłosz Szewczak 0ef256ca48
add10a 2020-04-11 14:00:30 +02:00
Miłosz Szewczak 35d75df1f3
add10 2020-04-11 13:49:12 +02:00
Miłosz Szewczak bfc8186578
add9 2020-04-11 13:36:26 +02:00
Miłosz Szewczak 49b6b8a467
add5 2020-04-11 13:07:37 +02:00
Miłosz Szewczak 4d873da53d
add4 2020-04-11 12:11:17 +02:00
Miłosz Szewczak 89dadae289
add2 2020-04-11 10:35:07 +02:00
Miłosz Szewczak 2dc3667984
action1 2020-04-11 09:42:00 +02:00
Miłosz Szewczak 4b9acdc80b
logowanie_ok 2020-04-11 09:31:58 +02:00
Miłosz Szewczak 018d58c9c4
util log 2020-04-11 09:15:01 +02:00
Miłosz Szewczak 2988a2bdaf
log2 2020-04-11 08:52:54 +02:00
Miłosz Szewczak 8e4e4f2fe2
log updae 2020-04-11 08:35:21 +02:00
Miłosz Szewczak bda4b73375
log2 2020-04-11 08:00:50 +02:00
Miłosz Szewczak 59421ebe4d
consolelog add 2020-04-11 07:57:34 +02:00
Jan Oberhauser 24a3a02180 Optimize integration icon images 2020-02-05 17:35:16 -08:00
Jan Oberhauser a00de10939 Also fix Mattermost desactive typo in execute-function 2020-01-17 07:26:59 -06:00
Philipp Ballhausen 77ab283af3
fixes typo in Mattermost.node.ts 2020-01-17 14:06:11 +01:00
Jan Oberhauser c174f6cc70 Make it possible to soft-delete and restore Mattermost-Channels 2020-01-09 20:05:57 -06:00
Jan Oberhauser 731aeca5c5 Move Delete Option from Post to Message 2019-12-06 22:33:26 +01:00
Ricardo Espinoza 6f2154aaf8 extended Mattermost functionality 2019-12-04 15:57:56 -05:00
Jan Oberhauser 6da0cad9cc Add additional functionality to Mattermost-Node 2019-10-22 00:12:35 +02:00
Jan Oberhauser bc08c7da2d Add basic Mattermost-Node 2019-10-20 22:57:06 +02:00