hardillb

hardillb

Snowboarding, sailing, swimming, cycling, running, techie problem solver

Member Since 9 years ago

FlowForge Inc,

Experience Points
157
follower
Lessons Completed
1
follow
Lessons Completed
17
stars
Best Reply Awards
105
repos

1254 contributions in the last year

Pinned
⚡ A Node-RED node to control things via Amazon Alexa
⚡ A collection of parts to run a Multi Tenant Node-RED service
⚡ Takes a standard Raspbian Lite image and adds USB Ethernet gadget config
⚡ A container to generate matching mDNS CNAMEs for the virtual hosts used by jwilder/nginx-proxy
⚡ A quick and dirty implmentation of DNS-Over-HTTP
⚡ A MQTT Topic Tree viewer using the d3 collapsable tree and MQTT over websockets
Activity
Oct
22
1 day ago
Activity icon
issue

hardillb issue comment node-red/node-red

hardillb
hardillb

switch node "is of type" drop down selection is blank.

Current Behavior

Switch node -> select is of type -> click on drop down selector -> blank and can't set.

Expected Behavior

my previous versions: Switch node -> select is of type -> click on drop down selector -> list of types (string,number,boolean,...)

Steps To Reproduce

see above.

Example flow

paste your flow here

[ { "id": "77663dd7c00dbb08", "type": "inject", "z": "ce02946ffa6186be", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 580, "y": 460, "wires": [ [ "db9772e95c2693e7" ] ] }, { "id": "db9772e95c2693e7", "type": "switch", "z": "ce02946ffa6186be", "name": "", "property": "payload", "propertyType": "msg", "rules": [ { "t": "istype", "v": null, "vt": null }, { "t": "istype", "v": null, "vt": null } ], "checkall": "true", "repair": false, "outputs": 2, "x": 750, "y": 460, "wires": [ [ "4b80eb56ae05fefd" ], [ "4b80eb56ae05fefd" ] ] }, { "id": "4b80eb56ae05fefd", "type": "debug", "z": "ce02946ffa6186be", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 920, "y": 460, "wires": [] } ]

Environment

  • Node-RED version: 2.10
  • Node.js version:
  • npm version:
  • Platform/OS: Raspberry pi OS / Docker
  • Browser: vivaldi - Chrome based
hardillb
hardillb

Please check with v2.1.1

Oct
21
2 days ago
pull request

hardillb pull request node-red/node-red.github.io

hardillb
hardillb

Add comment about specifying Node-RED Supported version

Update Creating Nodes doc

Activity icon
created branch

hardillb in hardillb/node-red.github.io create branch node-red-version

createdAt 2 days ago
Activity icon
issue

hardillb issue comment node-red/node-red

hardillb
hardillb

Can't select "complete msg object" on debug node

Current Behavior

After upgrading to v2.1 today it no longer seems to be possible to select the "complete msg object" value in a debug node.

The option is still there in the menu, but clicking on it does nothing.

Expected Behavior

Expecting it to work like it did in 2.0 ;-)

Steps To Reproduce

Drag the debug node into a flow, edit it, and try to select the "complete msg object" option for output

Example flow

paste your flow here

Environment

  • Node-RED version: v2.1
  • Node.js version: 16.4.0
  • npm version: 7.18.1
  • Platform/OS: Linux (ubuntu 18.04)
  • Browser: Chrome
Activity icon
issue

hardillb issue comment node-red/node-red-docker

hardillb
hardillb

Minimal builds not getting built properly

What are the steps to reproduce?

Compare minimal to normal build output

What happens?

Minimal builds not getting built, all tags have full build tools installed

What do you expect to happen?

Minimal tags to be significantly smaller than normal builds

Please tell us about your environment:

[x] Platform/OS: NA

[x] Browser: NA

  • If you are a Portainer user, please attach a screenshot of your container details.

    Containers -> Click on the node-red container -> Scroll to Container Details and take a screenshot
    
  • If you are a command line user please execute the following command and attach the log file.

    docker inspect <container_id> > container.log
    
hardillb
hardillb

2.1.0 minimal builds are now back to being smaller than the regular builds

Oct
20
3 days ago
Activity icon
issue

hardillb issue comment node-red/node-red-nodes

hardillb
hardillb

node-red-node-sqlite 1.0.1 reports 5 high severity vulnerabilities

Node-RED v2.0.6

$ node -v
v14.18.1

$ npm -v
6.14.15

$ npm audit
                                                                                
                       === npm audit security report ===                        
                                                                                
found 0 vulnerabilities
 in 178 scanned packages

$ npm install node-red-node-sqlite
npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported

> [email protected] install /Users/Pierre/.node-red/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download 
[sqlite3] Success: "/Users/Pierre/.node-red/node_modules/sqlite3/lib/binding/napi-v3-darwin-x64/node_sqlite3.node" is installed via remote
+ [email protected]
added 82 packages from 161 contributors and audited 260 packages in 10.746s

5 packages are looking for funding
  run `npm fund` for details

found 5 high severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details

$ npm audit
                                                                                
                       === npm audit security report ===                        
                                                                                
┌──────────────────────────────────────────────────────────────────────────────┐
│                                Manual Review                                 │
│            Some vulnerabilities require your attention to resolve            │
│                                                                              │
│         Visit https://go.npm.me/audit-guide for additional guidance          │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Arbitrary File Creation/Overwrite on Windows via             │
│               │ insufficient relative path sanitization                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ tar                                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=4.4.18                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-node-sqlite                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ node-red-node-sqlite > sqlite3 > node-gyp > tar              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-5955-9wpr-37jh            │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Arbitrary File Creation/Overwrite via insufficient symlink   │
│               │ protection due to directory cache poisoning using symbolic   │
│               │ links                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ tar                                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=4.4.18                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-node-sqlite                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ node-red-node-sqlite > sqlite3 > node-gyp > tar              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-qq89-hq3f-393p            │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Arbitrary File Creation/Overwrite via insufficient symlink   │
│               │ protection due to directory cache poisoning using symbolic   │
│               │ links                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ tar                                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=4.4.16                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-node-sqlite                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ node-red-node-sqlite > sqlite3 > node-gyp > tar              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-9r2w-394v-53qc            │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Arbitrary File Creation/Overwrite due to insufficient        │
│               │ absolute path sanitization                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ tar                                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=3.2.2                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-node-sqlite                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ node-red-node-sqlite > sqlite3 > node-gyp > tar              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-3jfq-g458-7qm9            │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Arbitrary File Creation/Overwrite via insufficient symlink   │
│               │ protection due to directory cache poisoning                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ tar                                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=3.2.3                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-node-sqlite                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ node-red-node-sqlite > sqlite3 > node-gyp > tar              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-r628-mhmh-qjhw            │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 5 high severity vulnerabilities in 260 scanned packages
  5 vulnerabilities require manual review. See the full report for details.

Environment:

  • Node-RED 2.0.6
  • node-red-node-sqlite 1.0.1
  • node.js 14.18.1
  • npm 6.14.15
  • macOS 10.15.7
  • Chrome 95.0.4638.54
hardillb
hardillb

These all stem from the required sqlite3 package. We are using version 5.0.3 which is the latest available.

There is already an upstream issue for this and a PR to fix it that has been merged but appears not to have been released yet.

Until this ships there is nothing we can do about it.

Also as the tar package is only used during building the node (using node-gyp) when it is installed it is very unlikely to present any problems during use.

Oct
16
1 week ago
Activity icon
issue

hardillb issue node-red/node-red-nodes

hardillb
hardillb

node-red-node-pi-mcp3008 add mcp3201

there's support for mcp3202 can mcp3201 be added

Activity icon
issue

hardillb issue comment node-red/node-red-nodes

hardillb
hardillb

node-red-node-pi-mcp3008 add mcp3201

there's support for mcp3202 can mcp3201 be added

hardillb
hardillb

As described in the template you deleted when opening the this issue, feature requests should be made on the Discourse forum or on Slack, not in issues.

But the node-red-node-pi-mcp3008 node depends on the mcp-spi-adc node to access the hardware, we can only support the devices it supports and it does not appear to support the mcp3201.

Oct
15
1 week ago
pull request

hardillb pull request node-red/node-red-docker

hardillb
hardillb

Fix minimal builds in master

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

fixes #277

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality
Activity icon
issue

hardillb issue node-red/node-red-docker

hardillb
hardillb

Minimal builds not getting built properly

What are the steps to reproduce?

Compare minimal to normal build output

What happens?

Minimal builds not getting built, all tags have full build tools installed

What do you expect to happen?

Minimal tags to be significantly smaller than normal builds

Please tell us about your environment:

[x] Platform/OS: NA

[x] Browser: NA

  • If you are a Portainer user, please attach a screenshot of your container details.

    Containers -> Click on the node-red container -> Scroll to Container Details and take a screenshot
    
  • If you are a command line user please execute the following command and attach the log file.

    docker inspect <container_id> > container.log
    
pull request

hardillb pull request node-red/node-red-docker

hardillb
hardillb

Fix 1.3 minimal builds

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Fixes #277

Matches TAG_SUFFIX to "-minimal"

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality
push

hardillb push node-red/node-red-docker

hardillb
hardillb

Fix 1.3 minimal builds (#279)

  • 1.3.6 release and test GH Action build

  • Allow push for tagged releases

  • Remove spurius chars

  • Fix minimal builds

fixes #277

commit sha: a98026525ff43e0c2401ee1aa945dadf134151d0

push time in 1 week ago
push

hardillb push node-red/node-red-docker

hardillb
hardillb

Fix beta minimal builds (#280)

  • Fix beta tagging

  • Fix minimal builds

fixes #277

commit sha: 0eb990d9b34ca9c77ff22178e571ae522576fecb

push time in 1 week ago
pull request

hardillb pull request node-red/node-red-docker

hardillb
hardillb

Fix beta minimal builds

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Test TAG_SUFFIX for "-minimal"

Fixes #277

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality
pull request

hardillb pull request node-red/node-red-docker

hardillb
hardillb

Fix beta minimal builds

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Test TAG_SUFFIX for "-minimal"

Fixes #277

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality
pull request

hardillb pull request node-red/node-red-docker

hardillb
hardillb

Fix 1.3 minimal builds

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Fixes #277

Matches TAG_SUFFIX to "-minimal"

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality
Activity icon
created branch

hardillb in hardillb/node-red-docker create branch 1.3-minimal

createdAt 1 week ago
pull request

hardillb pull request node-red/node-red-docker

hardillb
hardillb

Fix minimal builds in master

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

fixes #277

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality
Activity icon
issue

hardillb issue comment node-red/node-red-docker

hardillb
hardillb

Minimal builds not getting built properly

What are the steps to reproduce?

Compare minimal to normal build output

What happens?

Minimal builds not getting built, all tags have full build tools installed

What do you expect to happen?

Minimal tags to be significantly smaller than normal builds

Please tell us about your environment:

[x] Platform/OS: NA

[x] Browser: NA

  • If you are a Portainer user, please attach a screenshot of your container details.

    Containers -> Click on the node-red container -> Scroll to Container Details and take a screenshot
    
  • If you are a command line user please execute the following command and attach the log file.

    docker inspect <container_id> > container.log
    
hardillb
hardillb

The problem is the test in the install-dev-tools.sh script is testing for minimal when it should now be testing for -minimal

Activity icon
issue

hardillb issue node-red/node-red-docker

hardillb
hardillb

Minimal builds not getting built properly

What are the steps to reproduce?

Compare minimal to normal build output

What happens?

Minimal builds not getting built, all tags have full build tools installed

What do you expect to happen?

Minimal tags to be significantly smaller than normal builds

Please tell us about your environment:

[x] Platform/OS: NA

[x] Browser: NA

  • If you are a Portainer user, please attach a screenshot of your container details.

    Containers -> Click on the node-red container -> Scroll to Container Details and take a screenshot
    
  • If you are a command line user please execute the following command and attach the log file.

    docker inspect <container_id> > container.log
    
push

hardillb push hardillb/node-red-docker

hardillb
hardillb

Remove reference to arch tags in 2.0 (#271)

With the move to docker buildx there are no seperate tags for each arch anymore so remove the references from the README.

Also the bug with detecting arm32v6 for Pi Zero appears to be fixed also removed that section.

hardillb
hardillb

Merge branch 'node-red:master' into master

commit sha: a57b1c685b2a3dd4c19f647f9a3ccf1d06f01eeb

push time in 1 week ago
Oct
14
1 week ago
push

hardillb push hardillb/node-red-docker

hardillb
hardillb

v 2.1.0-beta.2 release (#276)

  • v2.1.0-beta.2

  • Add debug to version tags

commit sha: d7aec3afb9134be26a99249a50560d8dda5f9816

push time in 1 week ago
Activity icon
created tag

hardillb in node-red/node-red-docker create tag v2.1.0-beta.2

createdAt 1 week ago
Activity icon
published release v2.1.0-beta.2 test release

hardillb in node-red/node-red-docker create published release v2.1.0-beta.2 test release

createdAt 1 week ago
push

hardillb push node-red/node-red-docker

hardillb
hardillb

v 2.1.0-beta.2 release (#276)

  • v2.1.0-beta.2

  • Add debug to version tags

commit sha: ff10484503fc32b8bab462d20183ea43dbc9e366

push time in 1 week ago
pull request

hardillb pull request node-red/node-red-docker

hardillb
hardillb

v 2.1.0-beta.2 release

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality
push

hardillb push hardillb/node-red-docker

hardillb
hardillb

Fix missed merge conflict (#274)

  • tag with :beta

  • Adding more tags

  • Fix missed merge conflict

hardillb
hardillb

Fixing missed merge conflics (#275)

  • tag with :beta

  • Adding more tags

  • Fix missed merge conflict

  • Another missed merge conflict

hardillb
hardillb

commit sha: f62766b2a602c61a9c84e60e9fad7225e0b36eb1

push time in 1 week ago
Previous