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

138 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
480ada0543
bump nodemailer version 2023-03-27 20:23:48 +01:00
Dave Conway-Jones
9bae313b72
revert mailparser to fix node12 (for now) 2022-12-24 14:03:49 +00:00
Dave Conway-Jones
b046740e7f
Update package.json 2022-12-22 11:45:00 +00:00
Dave Conway-Jones
bb0a6fd272
bump email packages 2022-12-22 11:39:36 +00:00
Dave Conway-Jones
b9053cf962
email - better cleanup of deleted messages ? 2022-12-22 11:38:00 +00:00
Dave Conway-Jones
c3a5716fe7
Let email node be able to send blank topic
and let msg.description be " also
to close #959
2022-11-08 13:52:37 +00:00
Dave Conway-Jones
4c0ecc70bc
add smtp keywords 2022-10-29 16:51:14 +01:00
Dave Conway-Jones
06c9bd65a7
Let email node better report catchable connection errors
to close #956
2022-10-16 17:50:39 +01:00
Dave Conway-Jones
4a1f3dd749
Bump nodemailer lib to latest 2022-10-14 13:36:58 +01:00
Dave Conway-Jones
543afd119a
bump to email libs and doc to remove old insecure access ref. 2022-08-23 14:32:34 +01:00
Dave Conway-Jones
6830ce4fba
email node - add done capability to retrieving mail node. 2022-07-19 12:59:41 +01:00
Dave Conway-Jones
8431e624f7
Bump email node dependencies 2022-06-29 10:01:16 +01:00
David D'Hauwe
13b839cfda
Smtp server security note and hide unrelevant fields (#924)
* Email Mta Node added security and authentication

* Documentation updated

* Original formatting restored

* email-mta added note for port security
hide fields when not relevant
2022-06-14 22:13:16 +01:00
David D'Hauwe
0fa0816506
Smtp server (#923)
* Email Mta Node added security and authentication

* Documentation updated

* Original formatting restored
2022-06-10 10:14:38 +01:00
Dave Conway-Jones
8ca551d4bd
Bump email libs 2022-04-08 13:27:54 +01:00
Dave Conway-Jones
fb9c90f68c
fix email inreplyto to do the sensible thing 2022-03-19 10:31:40 +00:00
Kazuhito Yokoi
dbd7004ae5
Add Japanease translations for e-mail node (#890) 2022-03-10 22:27:26 +00:00
Dave Conway-Jones
1a7077c938
bump email node 2022-02-24 17:15:22 +00:00
Dave Conway-Jones
8d8195ec02
Bump packages and tidy poplib linting 2022-01-03 17:33:14 +00:00
Dave Conway-Jones
e6930274e2
Bump email
and include poplib to avoid example warning.
2022-01-01 19:11:01 +00:00
Sam Machin
2d28a2304f
Update package.jsons for mono-repo (#851)
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question.  as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository
2021-11-02 15:22:30 +00:00
Dave Conway-Jones
5db644bd57
bump some libs - email, annotate image, core 2021-10-27 14:03:49 +01:00
Dave Conway-Jones
c5bd7da8dc
bump for doc updates 2021-07-31 09:35:52 +01:00
meeki007
b12571527f
node-red-node-email: Added documentation use of: Use secure connection & update Readme documentation (#824)
Updated README,md to better reflect the updated documentation found in the node
2021-07-31 09:33:41 +01:00
Dave Conway-Jones
761bb30ada
Email node - better handling of criteria errors 2021-07-16 14:41:12 +01:00
Dave Conway-Jones
4859a8bcc0
bump email deps for cve
to close #815
2021-06-30 09:08:09 +01:00
Dave Conway-Jones
0d1a41f18a
clarify email node tls? option flag 2021-05-11 09:22:09 +01:00
Dave Conway-Jones
246463752e
Add StartTLS option to email node 2021-04-15 10:32:40 +01:00
HiroP0
13d534ee54
added support for imap 'autotls' option to 'email in' node (#796)
* added support for imap 'autotls' option to 'email in' node
2021-04-14 17:28:03 +01:00
Dave Conway-Jones
61a03d7cc3
Tidy email node README to remove false "only one mail" statement.
and tidy some other newer functionality. like plaintext.
to close #792
2021-04-03 16:55:45 +01:00
Dave Conway-Jones
1c256fd3b3
refix email attachments array 2021-04-01 09:36:36 +01:00
Maximilian Gutwein
4697636055
Add support for separate plaintext in outgoing mails (#788)
* Add support for separate plaintext in outgoing mails

* Rename msg.plain to msg.plaintext
2021-03-31 20:51:43 +01:00
Dave Conway-Jones
c1e83bf06f
Email - nsure imap tries to disconnect nicely first.... then destroy
to close #784
2021-03-28 16:55:28 +01:00
Dave Conway-Jones
ed45d5622b
bump email package for de translations 2021-03-25 09:48:03 +00:00
heikokue
14b1e3aefb
email node: improved EN help and added DE help (#781) 2021-03-25 09:45:45 +00:00
Dave Conway-Jones
169be33591
bump tail, sqlite, email, feedparser, pigpiod for German translations 2021-03-13 14:15:58 +00:00
heikokue
80b9316d92
added/improved DE translation of forms (#765) 2021-03-12 13:23:26 +00:00
Dave Conway-Jones
14983c9722
mail - check attachment valid contents if possible
to close #728
2021-01-12 12:41:41 +00:00
Dave Conway-Jones
07e5d9fd65
email node - add msg.priority and msg.headers options 2020-10-26 09:08:10 +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
14087a9f77
Add MTA node to email 2020-10-19 12:24:18 +01:00
Dave Conway-Jones
d3a3bc158c
email - show valid folders in error if fetch fails 2020-09-23 23:54:09 +01:00
Dave Conway-Jones
973fd8c6ec
bump email package version 2020-09-23 10:20:58 +01:00
Vincent Hou
606f9c71e7
Update 61-email.js (#689)
Fixed disposition issue caused by `this`.
2020-09-23 08:35:08 +01:00
Dave Conway-Jones
46f3dfc382
email don't retry connection while still busy. 2020-08-28 09:36:06 +01:00
juggledad
3afc2622f3
Updated README to expand the way msg.from works (#654) 2020-05-23 07:57:31 +01:00
Dave Conway-Jones
0b590236a0
bump some node-red-node deps and packages
some due to  long outstanding doc PRs
2020-04-03 22:29:43 +01:00
Dave Conway-Jones
55f6609a4f
Fix email node timeout when triggered manually 2020-02-09 14:11:54 +00:00