1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
Commit Graph

24 Commits

Author SHA1 Message Date
wooferguy
9a57958a1e
XOAuth2 for Email-In node (#975)
* Update PULL_REQUEST_TEMPLATE.md

* Add new UI elements to Email In node

Locale for en-US
Added Auth type and Token field to Email IN
Dynamically appear based on selection

* XOAUTH2 IMAP

Minor UI changes. Exposing only XOAuth2. Picks up raw access token from input message specified.

Only works for IMAP
Token formatted by node for Exchange and GMail, won't work on other providers.
Only works on trigger, not timer

TODO:
Add POP XOAUTH2 capability
Add SMTP XOAUTH2 capability
Add option to pass SASL XAOUTH2 token rather than raw OAUTH2 token

* SASL Format

Added checkbox to turn off SASL formatting if the user wants to do this themselves

* XOAuth2 forces input

Using XOauth2 forces triggered node, and automatic trigger sets auth to basic;
XOAuth2 needs token from flow

* Error reporting

Password missing error only occurs if set to basic authentication.

Token missing only occurs if set to XOAuth2.

* Unit tests

Make sure basic authentication is selected by default, and that an additional input is created and timed triggers are turned off for XOauth2

* Cleanup and README

Remove old code, update readme

* XOauth2 IMAP Release

Prevent XOAuth2 being used for POP. Update PR Template.
Updated help file.
Bumped version to 1.19-beta

* Update POP3 dependency

Removed dependency to poplib.js, moved to node-pop3. Re-wrote checkPOP3 function asynchronously using the new library. Added some node.status changes to mimic IMAP behaviour.

* XOAUTH2 POP3

Added checking for authentication type to allow XOauth2 tokens to be sent to POP server. Turned off UI restrictions for this functionality.

* XOAUTH2 POP3 Release

Updated help docs and version to reflect changes.

* Add new UI elements to Email Out node

Add option for XAouth2 for SMTP node

* XOAUTH2 SMTP

Exposing functionality for OAuth2 through Nodemailer. Added some error reporting if credentials are missing to match the Email-In node.

* XOAUTH2 SMTP Release

Updated help file to reflect changes.

* Unit Tests for Email Out

Modified tests to allow these unit tests to pass, but does not address the fault caused by the Node Test Helper - credentials only loaded after the flow has been loaded.

---------

Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>
2023-03-27 20:27:47 +01:00
Dave Conway-Jones
6f351943cb
email node - remove promises for node8
and fixup tests
2020-10-19 21:33:32 +01:00
Dave Conway-Jones
ef1ebe7b44
Fix email tests and add one for MTA node 2020-10-19 14:32:09 +01:00
Dave Conway-Jones
27616df2dd
update feedparser test 2019-10-09 22:35:21 +01:00
Dave Conway-Jones
56e8df069d
knobble pushbullet test for now 2019-10-09 21:46:15 +01:00
Hiroyuki Okada
c2efcc727c add test script (#560)
Thank you
2019-08-07 10:04:05 +01:00
Dave Conway-Jones
f5de5bc707
fix overall nodes test 2019-05-20 19:24:28 +01:00
Mike Blackstock
f275ea0bac use new test-helper add test to package.json (#441)
* use new test-helper add test to package.json

* try to fix travis build with new test helper

* install coveralls globally

* work around travis issue with adding node_modules/.bin in PATH
2018-05-01 17:33:05 +01:00
Dave Conway-Jones
d8263eab25
tidy of travis to try to get nodes tests to pass 2018-01-21 16:24:41 +00:00
Dave Conway-Jones
71be4500fc
Temporarily mask Pushbullet tests that fail to allow others to pass.
update travis to include node 8
2017-11-06 21:42:21 +00:00
Yohann Ciurlik
8e001fcd45 Adding No Auth support to social email out node (#277)
* Let email out node connect to SMTP without authentication

Add the possibility to connect to local SMTP without authentication.

* Adapt test to connect to SMTP without credentials

Adapt test to connect to SMTP without credentials

* Add coverage for social email out node

Add coverage for social email out node

* Add more coverage to email out node

Add more coverage to email out node
2017-02-15 18:33:05 +00:00
Dave Conway-Jones
a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Nick O'Leary
ae469e8a72 Fix email test for i18n 2015-07-22 12:36:19 +01:00
Nick O'Leary
5dc0c0e968 Fix merge conflicts on i18n 2015-07-15 10:24:44 +01:00
dceejay
129ebac5aa update email test
try to fix test runtime path
2015-06-29 22:41:06 +01:00
Dave Conway-Jones
fc05ddd035 Re-enable email node basic tests...
it’s a start….
2015-06-19 16:54:07 +01:00
dceejay
ba0e2c3796 Merge linting error fixes into i18n branch of n-r-n 2015-06-16 14:38:36 +01:00
dceejay
c63575e538 skip other email test also temporarily 2015-06-16 10:47:44 +01:00
dceejay
36bc2e6b06 Correct spellings in email readme,
skip test for now.
2015-06-16 09:17:06 +01:00
dceejay
91cae31fc1 Add email test to node-red-nodes 2015-06-13 18:53:03 +01:00
Nick O'Leary
2de7a46bb9 Fix pushbullet test 2015-04-20 11:08:35 +01:00
dceejay
d511ee69fb lots of little node edits to clean up jsHint "errors" 2015-03-26 18:55:03 +00:00
dceejay
24394c4b18 Initial test build framework for node-red-nodes 2015-03-24 19:42:32 +00:00
dsundberg
425858d94d Updated pushbullet node with all push types, added new "pushbullet in" that emits pushes. Added unit tests. 2015-02-07 12:36:30 +01:00