* 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>
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>
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>
* 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>
* 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