mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
9a57958a1e
* 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>
88 lines
3.5 KiB
JSON
88 lines
3.5 KiB
JSON
{
|
|
"email": {
|
|
"email": "email",
|
|
"label": {
|
|
"getmail":"Get mail",
|
|
"auto": "automatically",
|
|
"trigger": "when triggered",
|
|
"to": "To",
|
|
"server": "Server",
|
|
"port": "Port",
|
|
"useSecureConnection": "Use secure connection.",
|
|
"userid": "Userid",
|
|
"password": "Password",
|
|
"repeat": "every",
|
|
"seconds": "seconds",
|
|
"folder": "Folder",
|
|
"protocol": "Protocol",
|
|
"useSSL": "Use SSL?",
|
|
"useTLS": "TLS option",
|
|
"disposition": "Disposition",
|
|
"none": "None",
|
|
"read": "Mark Read",
|
|
"delete": "Delete",
|
|
"criteria": "Criteria",
|
|
"criteriaFromMsg": "- set from msg.criteria -",
|
|
"all": "All",
|
|
"answered": "Answered",
|
|
"flagged": "Flagged",
|
|
"seen": "Seen",
|
|
"unanswered": "Unanswered",
|
|
"unflagged": "Unflagged",
|
|
"unseen": "Unseen",
|
|
"autotls": "Start TLS?",
|
|
"authtype": "Auth type",
|
|
"saslformat": "Format to SASL",
|
|
"token": "Token",
|
|
"never": "never",
|
|
"required": "if required",
|
|
"always": "always",
|
|
"rejectUnauthorised": "Check server certificate is valid",
|
|
"enableSecure": "Secure connection",
|
|
"enableStarttls": "Start TLS",
|
|
"starttlsUpgrade": "Upgrade cleartext connection with STARTTLS",
|
|
"certFile": "Certificate",
|
|
"keyFile":"Private key",
|
|
"users": "Users",
|
|
"auth": "Authenticate users",
|
|
"addButton": "Add",
|
|
"expert": "Expert"
|
|
},
|
|
"default-message": "\nFile from Node-RED is attached: __filename__",
|
|
"tip": {
|
|
"cred": "<b>Note:</b> Copied credentials from global emailkeys.js file.",
|
|
"recent": "Tip: Only retrieves the single most recent email.",
|
|
"mta": "<b>Note:</b> To use ports below 1024 you may need elevated (root) privileges. See help sidebar."
|
|
},
|
|
"status": {
|
|
"messagesent": "Message sent: __response__",
|
|
"fetching": "fetching",
|
|
"foldererror": "fetch folder error",
|
|
"messageerror": "fetch message error",
|
|
"message": "message #__number__",
|
|
"newemail": "received new email: __topic__",
|
|
"duplicate": "duplicate not sent: __topic__",
|
|
"inboxzero": "you have achieved Inbox Zero",
|
|
"sending": "sending",
|
|
"sendfail": "send failed",
|
|
"parseerror": "Failed to parse message",
|
|
"connecterror": "connect error",
|
|
"bad_criteria": "Invalid criteria"
|
|
},
|
|
"errors": {
|
|
"nouserid": "No e-mail userid set",
|
|
"nopassword": "No e-mail password set",
|
|
"notoken": "No token property set",
|
|
"nocredentials": "No Email credentials found. See info panel.",
|
|
"nosmtptransport": "No SMTP transport. See info panel.",
|
|
"nopayload": "No payload to send",
|
|
"fetchfail": "Failed to fetch folder: __folder__",
|
|
"parsefail": "Failed to parse message",
|
|
"messageerror": "Fetch message error: __error__",
|
|
"refreshtoolarge": "Refresh interval too large. Limiting to 2147483 seconds",
|
|
"invalidattachment": "Invalid attachment content. Must be String or buffer",
|
|
"bad_criteria": "Criteria must be a JSON array. See info."
|
|
}
|
|
}
|
|
}
|