Skip to content

Commit

Permalink
Not reproductible: closing issue onRainbowError() : XMPPERROR #5
Browse files Browse the repository at this point in the history
Rewite some docs in nodes to match new node-red format, update the README.md
Refactor code
There are "Error while Deploy (stop/start)" which should be corrected with next dependency version (Rainbow Node.js SDK)
Added in Notified_IM node 2 filters: filterContact and filterCompany to only accept message from a user of from a company
Corrected issue: RegExp Filter typo #6
  • Loading branch information
Pascal Borschneck authored and Pascal Borschneck committed Jan 24, 2018
1 parent a172978 commit 64ae499
Show file tree
Hide file tree
Showing 5 changed files with 535 additions and 365 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Here is the list of the changes and features provided by the **node-red-contrib-ale-rainbow**

## [1.2.5] - 2018-01-24
- Not reproductible: closing issue onRainbowError() : XMPPERROR #5
- Rewite some docs in nodes to match new node-red format, update the README.md
- Refactor code
- There are "Error while Deploy (stop/start)" which should be corrected with next dependency version (Rainbow Node.js SDK)
- Added in Notified_IM node 2 filters: filterContact and filterCompany to only accept message from a user of from a company
- Corrected issue: RegExp Filter typo #6

## [1.2.4] - 2018-01-19
- Corrections for https://github.com/Rainbow-CPaaS/node-red-contrib-ale-rainbow/issues/3 to allow msg in a bubble
- Code refactoring: add missing state events, add started/stopped states
Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Accepted message format is:
- ```destJid``` is : Recipient JID (Jabber ID) for the IM. If not specified, Desintation JID configured at node level is used.


3. ```RBGet_IM``` : Input node to listen for new incoming IM from a Rainbow user or Bubble.
3. ```RBNotified_IM``` : Input node to listen for new incoming IM from a Rainbow user or Bubble.
You can add filters to select which message may pass through (by RegExp, user or company).
Delivered message format is:
```
{
Expand All @@ -60,7 +61,12 @@ Delivered message format is:

var msg = { payload: { loginemail:contact.loginEmail, displayname:contact.displayName, fromJid:contact.jid_im, presence:contact.presence, status:contact.status }};

5. ```RBGet_Presence``` : Input node to listen for presence update of contact list.
5. ```RBAck_IM_Read``` : Output node to Ack (mark as read) IM received.

⚠ msg.payload should contain the complete message received with Notified_IM node.
Race condition could occured. It is highly recommanded to add delay between IM reception and ack.

6. ```RBNotified_Presence``` : Input node to listen for presence update of contact list.
Delivered message format is:
```
{
Expand All @@ -81,7 +87,7 @@ Delivered message format is:
- ```When presence is online``` can be mobile
- ```When presence is busy``` can be presentation, audio, video or sharing

6. ```RBSet_Presence``` : Output node to set own presence .
7. ```RBSet_Presence``` : Output node to set own presence .
Accepted message format is:
```
{
Expand All @@ -90,7 +96,7 @@ Delivered message format is:
```
- ```payload``` is: presence (can be online, dnd, away or invisible).

7. ```RBGet_CnxState``` : Input node to get connection state .
8. ```RBGet_CnxState``` : Input node to get connection state .
Delivered message format is:
```
{
Expand Down
Loading

0 comments on commit 64ae499

Please sign in to comment.