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

73 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
584590b9a6
Fix random node to handle to or from being 0
and add tests
to close #955
2022-10-12 09:20:09 +01:00
Dave Conway-Jones
67611f6bb6
Add cbor object packing node
and test
2022-07-22 10:18:02 +01:00
Dave Conway-Jones
1293a865c1
Let geohash handle null island
and add test
2021-11-29 21:26:24 +00:00
Dave Conway-Jones
f7be874e2c
fix linting for grunt 2021-03-12 09:36:20 +00:00
Dave Conway-Jones
9db89f3ea1
RBE node - let topic handling be optional (#751)
* let rbe handle topics optional

and add tests

* fix text formatting

* Update package.json
2021-02-26 14:51:55 +00:00
Dave Conway-Jones
8fa4fbef5f
Change GPIO nodes to use BCM rather than pins 2021-02-09 11:44:11 +00:00
Dave Conway-Jones
f082306778
partially fix exif tests to fix overall grunt 2021-01-14 13:26:49 +00:00
juggledad
9eb031e912
Update node-red-random to add option to dynamically pass in 'To' and 'From' (#707)
* Add option to dynamically pass in 'From' and 'To' - fixed bug when 'From' was greater than 'To' by flipping the two

* Set initial values of 'From' and 'To to "" to allow dynamic overriding them
2020-12-13 12:58:13 +00:00
Dave Conway-Jones
466b1c3deb
add worldmap features to exif node.
field of view, popup, filename, icon, etc.
2020-12-06 17:34:27 +00: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
cd85fe8df2
Fix RBE greater than change not emitting on first message
And fix missing close tags
2020-05-31 21:52:37 +01:00
Ryoichi Obara
739b3e595c [ja] Support i18n 70-base64 node. (#591)
* [ja] Translate 70-base64 node.

* Fix PR review #591 "Buffer" -> "バッファ".

We have used Japanese katakana words of "buffer" in http-request and file-out nodes.

* Fix PR review #591 "Base64" -> "base64"

* Fix PR review #591 "Base64から文字列へデコード" -> "Base64から文字列へ変換"
2019-10-28 17:40:41 +00: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
Ola Tuvesson
38feb99072 Added "reduce" option to the Smooth function node (#577) 2019-09-19 09:11:23 +01:00
Dave Conway-Jones
2e5b526c55
fix rbe edge case of sending when change = 0 in narrowband mode
and add test
to close #569
2019-08-14 21:35:45 +01:00
Hiroyuki Okada
c2efcc727c add test script (#560)
Thank you
2019-08-07 10:04:05 +01:00
Dave Conway-Jones
84abd4bcb6
add tests for markdown node 2019-07-05 23:54:27 +01:00
Dave Conway-Jones
a172c8178d
Move Pi GPIO nodes to this repo 2019-05-20 19:35:05 +01:00
Dave Conway-Jones
f5de5bc707
fix overall nodes test 2019-05-20 19:24:28 +01:00
Dave Conway-Jones
a2269bb863
bump senitment node to include links to multi lang version 2019-03-15 10:03:05 +00:00
Dave Conway-Jones
c1ac48d6a6
add multilang sentiment node as separate node 2019-03-15 10:01:27 +00:00
Dave Conway-Jones
f1066285ae
add some more tests to rbe 2018-11-11 22:36:55 +00:00
Dave Conway-Jones
50fc196c6f
Add multilingual sentiment node
(but not publish - yet)
2018-07-19 12:39:07 +01:00
Dave Conway-Jones
a03b060c9a
mixup tests for ninon v5 2018-05-02 13:53:04 +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
6a28ecfbc2
Fixup Base64 node and add better tests
Revert correct <-> behaviour, make encoding info clearer, added type
checking - to close #401 and close #437
2018-04-29 17:36:18 +01:00
Dave Conway-Jones
b2de928860
update rest of parsers to allow property to be selected 2018-01-31 11:18:30 +00:00
Dave Conway-Jones
be79b6a1c6
add msg.property option to rbe, randon, smooth and base64 nodes 2018-01-30 21:42:14 +00: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
032a9d6435
add reset capability to rue node 2017-12-20 16:28:32 +00:00
Dave Conway-Jones
c013cfe1a6
Fix travis 2017-11-07 09:00:45 +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
Dave Conway-Jones
e89861f4e3
Fix RBE payload changing downstream (needs cloning before storing) 2017-09-11 17:33:50 +01:00
Dave Conway-Jones
7950b7d39a
Move msg pack node to more supported lib msgpack-lite 2017-08-09 16:58:15 +01:00
Dave Conway-Jones
6c3c16f210
update "core" extra nodes to use newer Buffer syntax 2017-06-24 13:53:22 +01:00
Dave Conway-Jones
3add95128d
bump rbe package for nom and fix test 2017-06-13 20:34:01 +01:00
Dave Conway-Jones
4768ecc16c
pigpiod html lint === 2017-05-24 19:45:31 +01:00
Dave Conway-Jones
76e33acae5
add ignore first message option to rue node 2017-05-24 13:14:55 +01:00
Dave Conway-Jones
774bc50589
add greater and greater or equal modes to RBE bandgap mode 2017-04-14 21:38:42 +01:00
Dave Conway-Jones
80942c5da8 update travis node.js levels 2017-02-15 18:34: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
93c85ca7cd Allow Smooth node to be reset by msg.reset
to close #273
2017-02-07 21:41:18 +00:00
Dave Conway-Jones
31cb3d1e46 fix random node initial value (and tests) 2016-12-27 21:25:57 +00:00
Dave Conway-Jones
a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones
da8dd1dc30 add a few tests
geohash, smooth, base64, msgpack
2016-04-23 23:57:16 +01:00
Dave Conway-Jones
c3a8a4088d Let rbe node compare to previous input OR output
closes #192 and #193
Also update info and test.
2016-03-21 00:01:50 +00:00
Dave Conway-Jones
6c3dbbbfbb Update RBE to add object compare
and narrowband mode (thanks @nlecaude for the idea)
2016-02-02 13:39:37 +00:00