Kaynağa Gözat

Changed Category

master
Massimo 5 yıl önce
ebeveyn
işleme
7557f5ca76
4 değiştirilmiş dosya ile 66 ekleme ve 2 silme
  1. +1
    -1
      boolean-logic-ultimate/BooleanLogicUltimate.js
  2. +39
    -0
      boolean-logic-ultimate/CHANGELOG.md
  3. +1
    -1
      boolean-logic-ultimate/InvertUltimate.html
  4. +25
    -0
      boolean-logic-ultimate/package.json

+ 1
- 1
boolean-logic-ultimate/BooleanLogicUltimate.js Dosyayı Görüntüle

@@ -100,7 +100,7 @@ module.exports = function(RED) {
// Detele the persist file
var _node = RED.nodes.getNode(_nodeid); // Gets node object from nodeit, because when called from the config html, the node object is not defined
try {
fs.unlinkSync("states/" + _nodeid.toString());
if (fs.existsSync("states/" + _nodeid.toString())) fs.unlinkSync("states/" + _nodeid.toString());
_node.status({fill: "red",shape: "ring",text: "Persistent states deleted ("+_nodeid.toString()+")."});
} catch (error) {
_node.status({fill: "red",shape: "ring",text: "Error deleting persistent file: " + error.toString()});

+ 39
- 0
boolean-logic-ultimate/CHANGELOG.md Dosyayı Görüntüle

@@ -0,0 +1,39 @@
# node-red-contrib-boolean-logic-ultimate
<p>
<b>Version 0.0.9 LTS (Long term stable)</b><br/>
- For invert node, changed the category in the palette list to match the boolean logic ultimate's category<br/>
</p>
<p>
<b>Version 0.0.8</b><br/>
- Delete persistent states when a new unexpected topic arrrives<br/>
- Better status representation<br/>
- Better and clearer configuration UI <br/>
</p>
<p>
<b>Version 0.0.7</b><br/>
- Fixed decimal error in the "Invert" node.<br/>
</p>
<p>
<b>Version 0.0.6</b><br/>
- Fixed crappy "Invert" node.<br/>
</p>
<p>
<b>Version 0.0.5</b><br/>
- Bypass persistency if node-red user hasn't permissions to write to the filesystem.<br/>
</p>
<p>
<b>Version 0.0.4</b><br/>
- Fixed conflict issue if you have the old boolean logic installed<br/>
</p>
<p>
<b>Version 0.0.3</b><br/>
- Fixed status display<br/>
</p>
<p>
<b>Version 0.0.2</b><br/>
- Fixed persistent state deletion upon node update/delete<br/>
</p>
<p>
<b>Version 0.0.1</b><br/>
- Initial release<br/>
</p>

+ 1
- 1
boolean-logic-ultimate/InvertUltimate.html Dosyayı Görüntüle

@@ -1,6 +1,6 @@
<script type="text/javascript">
RED.nodes.registerType('InvertUltimate',{
category: 'boolean logic',
category: 'boolean logic ultimate',
color: '#ff8080',
defaults: {
name: {

+ 25
- 0
boolean-logic-ultimate/package.json Dosyayı Görüntüle

@@ -0,0 +1,25 @@
{
"name": "node-red-contrib-boolean-logic-ultimate",
"version": "0.0.9",
"description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more",
"author": "Supergiovane (https://github.com/Supergiovane)",
"dependencies": {
"fs": "0.0.1-security"
},
"keywords": [
"node-red",
"boolean",
"logic"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Supergiovane/node-red-contrib-boolean-logic-ultimate"
},
"node-red": {
"nodes": {
"BooleanLogicUltimate": "boolean-logic-ultimate/BooleanLogicUltimate.js",
"InvertUltimate": "boolean-logic-ultimate/InvertUltimate.js"
}
}
}

Yükleniyor…
İptal
Kaydet