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

1643 Commits

Author SHA1 Message Date
Dave Conway-Jones
3e82a363b8
Bump overall package to update test libraries 2023-03-27 23:23:10 +01:00
Dave Conway-Jones
bd23b5e3d3
Bump email to update mailparser as well 2023-03-27 23:18:14 +01:00
Dave Conway-Jones
8320571630
Fix defaulting of email auth value (and linting) 2023-03-27 20:34:46 +01:00
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
Paul Vivier
497270ba74
Fixed typo (#981) 2023-03-27 20:25:33 +01:00
Dave Conway-Jones
480ada0543
bump nodemailer version 2023-03-27 20:23:48 +01:00
Dave Conway-Jones
c0496fc067
tidy up DS_stores 2023-03-26 13:20:13 +01:00
dodther
a14ef95fb3
russian translate (#962)
add support internalization and russian translate.
2023-03-21 10:20:23 +00:00
Dave Conway-Jones
a55be34bc0
major change to snmp node to not stringify octet string type. 2023-03-15 10:22:34 +00:00
Dave Conway-Jones
bd15c5d6dd
fix pi gpio to catch close timing error 2023-03-15 10:21:31 +00:00
Dave Conway-Jones
553ae44ccb
B ump pusher to v1 due to large underlying library changes 2023-02-02 10:59:31 +00:00
Chad Gregory
0a0917b67a
Update pusher dependencies & code (#974)
* update pusher dependencies & code

* Update package.json

* update pusher icon

* Reverting some package.json changes

* add contributors

* Add padding to icon

* resize icon

* Updated available clusters

* update broken link to cluster option

* Update clusters for out node
2023-02-02 10:57:05 +00:00
Dave Conway-Jones
a8edd0cb56
Add Serialport css to try to highlight blank inputs 2023-01-31 12:24:33 +00:00
Dave Conway-Jones
559ce050da
fix serialport to append chars to buffer correctly 2023-01-31 11:27:31 +00:00
Dave Conway-Jones
f7f313c197
Fix timeswitch status to show time in timezone set in the properties
and bump library
2023-01-19 09:34:28 +00:00
Dave Conway-Jones
8553dc30f2
remove dubious use of rtl direction
to close #970
2023-01-13 11:42:06 +00: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
2b50bf38ec
Fix tail to update status
and retry if file goes away and comes back
2022-12-14 11:45:33 +00:00
Dave Conway-Jones
2da42c9495
Let sensehat ignore colour sensor warning
to close #958
2022-11-28 11:50:08 +00:00
Dave Conway-Jones
074ca44b5f
Add specific daemons node stdin error handler
to address issue #960
2022-11-16 12:02:30 +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
93614e09ee
bump daemon for PR to add msg.args 2022-10-26 15:23:57 +01:00
kaffetorsk
4c9afda6dd
node-red-daemon append arguments (#939)
* Allow msg.start to append arguments

* Update description

* Update README.md
2022-10-26 15:22:48 +01:00
Dave Conway-Jones
c15fa79e95
Bump for PR 2022-10-26 15:19:57 +01:00
Chao Zeng
3ca4456c2b
Refact: Separate LED selection and state control (#957)
Separation of class LED selection and state control.
The label of the LED corresponds to the silk screen of the iot2050.

Before we use one list to enumerate all the led and its state.
like: User1 Led Red User1 Led Green User1 Led Orange
      User2 Led Red User2 Led Green User2 Led Orange
if we need to add or delete the LED, we should change this list
After Separation of class LED selection and state control
one is Led selection: USER1 USER2
the other is status selection: Green Red Orange

For this structure, if the led or status changes, We don't need
to enumerate all the states.

Also there is a problem with the old version:
When we use one node to control led show green, then we use another node to control
led show red. The result we expect is led red, but the actually result is led orange.
This is caused the previous green do not turn off. State change is wrong.
This refact would also fix it.

Signed-off-by: chao zeng <chao.zeng@siemens.com>

Signed-off-by: chao zeng <chao.zeng@siemens.com>
2022-10-26 15:17:28 +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
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
5aa99eca73
ping - clone msg in order to fix handling arrays of multiple requests. 2022-10-02 10:33:25 +01:00
Dave Conway-Jones
c8975019ad
Fix ping node to pass through properties. 2022-09-30 10:05:59 +01:00
Dave Conway-Jones
3dcf739c0d
snmp clean up fix 2022-09-14 15:21:14 +01:00
Dave Conway-Jones
75a4361435
snmp - ensure response defined. 2022-09-14 15:05:29 +01:00
Dave Conway-Jones
9164fc234c
fix scope of results for lists
to close #949 - thanks @echobops
2022-09-10 13:20:07 +01:00
Dave Conway-Jones
e4dc3a2bcf
bump for 2050 update PR 2022-09-08 22:08:56 +01:00
Ivan Mikhaylov
721ccd2c15
mraa-gpio: sync iot2050 id with mraa library (#948)
Based on eclipse/mraa@a9f0ff22 iot2050 platform add.

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
2022-09-08 22:07:14 +01:00
Dave Conway-Jones
95e5e7341e
Bump intel mraa package for PR release 2022-09-06 13:26:57 +01:00
Ivan Mikhaylov
25d7d668ef
Add IOT2050 board into mraa Intel nodes (#940)
* mraa-gpio-led: add led

This patch introduces LED node in GPIO category.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-ain: add iot2050 board

Add IOT2050 board in list of possible boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-dout: add iot2050 board

Add IOT2050 board into list of possible boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-pwm: add iot2050 board

Add IOT2050 board into list of possible boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio: clean up on close for ain, pwm, dout

Required as nodejs will only lazily delete the node objects, and we may
race with the next user requesting the resources.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: add USER button

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
Co-authored-by: Jan Kiszka <jan.kiszka@siemens.com>
2022-09-06 13:19:28 +01:00
Dave Conway-Jones
da094fa70f
Slight tidy of readme 2022-08-23 14:43:34 +01:00
Dave Conway-Jones
bb53ef7137
bump for fixes from PR #945
to close #944
2022-08-23 14:34:24 +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
J.D. Mallen
29e0bed000
Address incorrect timestamps bug in node-red-node-timeswitch; increase readability (#945)
* Initial fixes before testing and reformatting

* Put sun event offset back in; reformat

* Tabs to spaces

* Fix "Start+X" OFF time; add more comments

* Undo some formatting changes

* Add contributors to package.json
2022-08-23 14:31:18 +01:00
Dave Conway-Jones
ecb2849675
timeswitch, fix display status to local timezone.
to close #944
2022-08-22 10:27:49 +01:00
Dave Conway-Jones
d913171f40
Pushbullet - Fix sms missing notifications issue
to close #936
2022-08-20 18:56:34 +01:00
Dave Conway-Jones
e5e8a33d80
bump notify and timeswitch deps 2022-08-19 11:40:53 +01:00
Dave Conway-Jones
5bb8b4d968
add version/engine support metadata 2022-07-27 14:08:02 +01:00
Dave Conway-Jones
a7b9380f25
fix mysql node error scope 2022-07-22 10:18:37 +01:00