Skip to content

Commit

Permalink
Merge branch 'master' into migration-0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
Klervix committed Jul 16, 2019
2 parents f503279 + 3d402ec commit 8bb4640
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,6 @@


<h3 align="center">- Node-RED open-source nodes -</h3> <h3 align="center">- Node-RED open-source nodes -</h3>



<h1 align="center"> <h1 align="center">
<a href="https://github.com/NGRP/node-red-contrib-viseo/wiki/Home"> <a href="https://github.com/NGRP/node-red-contrib-viseo/wiki/Home">
<img src="https://raw.githubusercontent.com/wiki/NGRP/node-red-viseo-bot/img/doc/header.png" alt="VISEO Bot Maker" width="100%"> <img src="https://raw.githubusercontent.com/wiki/NGRP/node-red-viseo-bot/img/doc/header.png" alt="VISEO Bot Maker" width="100%">
Expand Down
2 changes: 1 addition & 1 deletion node-red-contrib-bot-message/bot-event.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h4>Events handled</h4>
<dt>After reply </dt> <dt>After reply </dt>
<dd>after the bot replied to the user</dd> <dd>after the bot replied to the user</dd>
<dt>Before reply </dt> <dt>Before reply </dt>
<dd>juste before the bot to reply to the user</dd> <dd>just before the bot reply to the user</dd>
</dl> </dl>


<h4>Precedence</h4> <h4>Precedence</h4>
Expand Down
2 changes: 1 addition & 1 deletion node-red-contrib-bot-message/bot-transaction.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const input = (node, data, config) => {
helper.emitAsyncEvent('reply', node, beforeData, config, (newData) => { helper.emitAsyncEvent('reply', node, beforeData, config, (newData) => {
helper.emitAsyncEvent('replied', node, newData, config, () => {}) helper.emitAsyncEvent('replied', node, newData, config, () => {})
if (node.prompt) return; if (node.prompt) return;
node.send(data) node.send(data);
}); });
}); });
}; };
Expand Down
2 changes: 1 addition & 1 deletion node-red-contrib-bot-message/package.json
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
{ {
"name" : "node-red-contrib-viseo-bot-message", "name" : "node-red-contrib-viseo-bot-message",
"version" : "0.5.0-alpha.1", "version" : "0.5.0-alpha.2",
"description" : "VISEO Bot Maker - Sends messages to the user", "description" : "VISEO Bot Maker - Sends messages to the user",
"dependencies" : { "dependencies" : {
"mustache" : "^2.3.0", "mustache" : "^2.3.0",
Expand Down
9 changes: 8 additions & 1 deletion node-red-contrib-file/node-file-xlsx.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@


}, },
inputs: 1, inputs: 1,
outputs: 1, outputs: 2,
outputLabels: ["stdout", "stderr"],
icon: "xlsx.svg", icon: "xlsx.svg",
align: "left", align: "left",
paletteLabel: 'XLSX file', paletteLabel: 'XLSX file',
Expand Down Expand Up @@ -204,6 +205,12 @@


<p>Manipulate a XLSX file. </p> <p>Manipulate a XLSX file. </p>


<h3>Outputs</h3>
<ol class="node-ports">
<li>Standard output</li>
<li>Standard error</li>
</ol>

<h3>Details</h3> <h3>Details</h3>
<p>Properties</p> <p>Properties</p>
<dl class="message-properties"> <dl class="message-properties">
Expand Down
7 changes: 3 additions & 4 deletions node-red-contrib-file/node-file-xlsx.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -88,13 +88,12 @@ async function input(RED, node, data, config) {
} }
catch(ex) { catch(ex) {
node.warn(ex); node.warn(ex);
helper.setContextValue(RED, node, data, config.output || "payload" , { "error": ex}, config.outputType); helper.setContextValue(RED, node, data, config.output || "payload" , ex, config.outputType);
return node.send(data); return node.send([undefined,data]);
} }


helper.setContextValue(RED, node, data, config.output || "payload" , res, config.outputType); helper.setContextValue(RED, node, data, config.output || "payload" , res, config.outputType);
return node.send(data); return node.send([data, undefined]);

} }




Expand Down
2 changes: 1 addition & 1 deletion node-red-contrib-file/package.json
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
{ {
"name": "node-red-contrib-viseo-file", "name": "node-red-contrib-viseo-file",
"version": "0.3.0-alpha.4", "version": "0.3.0-alpha.5",
"description": "VISEO Bot Maker - Manage data with files", "description": "VISEO Bot Maker - Manage data with files",
"dependencies": { "dependencies": {
"node-red-viseo-helper": "~0.1", "node-red-viseo-helper": "~0.1",
Expand Down

0 comments on commit 8bb4640

Please sign in to comment.