1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
Commit Graph

1372 Commits

Author SHA1 Message Date
Dave Conway-Jones
edc640be4d
Update 36-rpi-gpio.js 2021-01-12 12:42:41 +00:00
Dave Conway-Jones
14983c9722
mail - check attachment valid contents if possible
to close #728
2021-01-12 12:41:41 +00:00
Dave Conway-Jones
c0c6d75535
Merge branch 'master' of https://github.com/node-red/node-red-nodes 2021-01-12 10:14:08 +00:00
Ben Hardill
9c805f43fa
Bump version number of pi-gpiod node (#732)
* Update pi-gpiod.html

Corrected URL for pigpiod web page (lines 174 / 420)

To close #729
2021-01-12 10:13:12 +00:00
Dave Conway-Jones
00fbae3ef6
fix random number returning strings ! 2021-01-05 22:12:21 +00:00
Kazuhito Yokoi
fa2ea96e67
Add Japanese translations for sqlite node (#725)
* Add Japanese translations for sqlite node

* Improve Japanese translations for sqlite node

* Restructure message catalog
2020-12-17 08:26:32 +00:00
Kazuhito Yokoi
cbcb3036be
Add Japanese translations for random node (#724) 2020-12-14 13:35:39 +00:00
Dave Conway-Jones
354370e6e0
Tidy up random node info. 2020-12-13 17:38:17 +00:00
juggledad
9eb031e912
Update node-red-random to add option to dynamically pass in 'To' and 'From' (#707)
* Add option to dynamically pass in 'From' and 'To' - fixed bug when 'From' was greater than 'To' by flipping the two

* Set initial values of 'From' and 'To to "" to allow dynamic overriding them
2020-12-13 12:58:13 +00:00
Dave Conway-Jones
0ac07a1c6f
update neopixel info 2020-12-12 17:18:18 +00:00
Dave Conway-Jones
8130f8c007
add extra gpoio support to neopixel node 2020-12-12 14:26:31 +00:00
Dave Conway-Jones
c61e8b60b7
Add dedicated Worldmap mode
better handling of other types
2020-12-07 17:34:44 +00:00
Dave Conway-Jones
466b1c3deb
add worldmap features to exif node.
field of view, popup, filename, icon, etc.
2020-12-06 17:34:27 +00:00
Dave Conway-Jones
9e948b9fdf
bump gpio version 2020-12-04 13:48:40 +00:00
Dave Conway-Jones
8c7409d041
let pi keyboard to retry connection 2020-12-04 13:47:29 +00:00
Dave Conway-Jones
91217d6e62
allow mcp node to be visible when not in Pi
mark as inactive status
to close #718
2020-12-01 23:43:48 +00:00
Dave Conway-Jones
2d5d553c4d
revert ping changes for HA
to address #662
2020-11-20 18:07:35 +00:00
Dave Conway-Jones
4884550215
Tidy up pushbullet (no fixes)
remove old migration code)
2020-11-16 21:26:32 +00:00
Dave Conway-Jones
e5f41880c3
ump mongo package for fix PR 2020-11-16 15:44:53 +00:00
Ross Cruickshank
8363a774e9
mongodb cusor handling #714 (#715)
match cursor handling with parameter
2020-11-16 15:43:53 +00:00
Dave Conway-Jones
9e7a8d5764
bummp twitter and pi-gpio packages for recent PRs 2020-11-16 14:58:54 +00:00
Takayoshi Kawamorita
906a48fa61
The problem that the input contents disappear when multiple keys are input at the same time. (#717) 2020-11-16 14:54:48 +00:00
Matt Borja
640a6d0cb2
Improve error handling for read-only applications (#709)
Applications pending approval will return a different response body than what is presently supported.

Below is a copy of the actual response that comes back in this scenario:
```
{"status":401,"rateLimitTimeout":null,"body":{"request":"/1.1/statuses/update.json","error":"Read-only application cannot POST."}}
```

Whereas the current implementation assumes the presence of an `errors` array, reading off the first element (i.e. `result.body.errors[0]`), the above scenario throws an exception as `result.body.errors` is now `undefined` and cannot be indexed).

The proposed update seeks to account for this while retaining existing functionality and has been tested (error message in debug now properly says "Read-only application cannot POST."
2020-11-11 11:26:56 +00:00
Dave Conway-Jones
3aab556d4a
bump serialport package for ja translations 2020-11-01 23:16:24 +00:00
1ft-seabass
4136b0f30f
Updated io\serialport\locales\ja\25-serial.json (#713) 2020-11-01 23:14:02 +00:00
Nick O'Leary
e198c5d16f
Merge pull request #712 from node-red/annotate-image
Add annotate-image node
2020-10-30 09:51:47 +00:00
Nick O'Leary
056836d1e5
Tidy up edit dialog 2020-10-30 09:51:03 +00:00
Nick O'Leary
3d3841e651
Fix license 2020-10-29 22:47:30 +00:00
Nick O'Leary
58e8cdc8d3
Add annotate-image node 2020-10-29 22:45:02 +00:00
Dave Conway-Jones
395bf77441
bump mongo node for release 2020-10-28 11:25:03 +00:00
Kazuhito Yokoi
e68a438bb0
Fix status error in mongoDB node (#711) 2020-10-28 11:22:03 +00:00
piyonakajima
efcf91a6df
Add Japanese translations for mongoDB node (#710) 2020-10-28 11:21:14 +00:00
Dave Conway-Jones
07e5d9fd65
email node - add msg.priority and msg.headers options 2020-10-26 09:08:10 +00:00
Dave Conway-Jones
3b7fb0aa95
tidy up xmpp node 2020-10-24 15:02:45 +01:00
Kazuhito Yokoi
770ad94e95
Add Japanese translations for Sense HAT node (#704) 2020-10-23 16:12:49 +01:00
Dave Conway-Jones
eddeef9630
Update .travis.yml 2020-10-19 22:42:25 +01:00
Dave Conway-Jones
ae75e7f7a8
Update .travis.yml 2020-10-19 22:38:31 +01:00
Dave Conway-Jones
789abedd96
Update .travis.yml 2020-10-19 22:30:36 +01:00
Dave Conway-Jones
43f7326c12
try nyc instead of instanbul 2020-10-19 21:33:50 +01:00
Dave Conway-Jones
6f351943cb
email node - remove promises for node8
and fixup tests
2020-10-19 21:33:32 +01:00
Dave Conway-Jones
ffa5761756
add smtp-package for tests 2020-10-19 14:44:09 +01:00
Dave Conway-Jones
ef1ebe7b44
Fix email tests and add one for MTA node 2020-10-19 14:32:09 +01:00
Dave Conway-Jones
14087a9f77
Add MTA node to email 2020-10-19 12:24:18 +01:00
Nick O'Leary
8f2c631410
Bump pushbullet node version 2020-10-13 22:38:18 +01:00
Nick O'Leary
1253e7b6be
Merge pull request #701 from guzba/patch-1
Attempt to mitigate stream server connect feedback loop
2020-10-13 22:36:19 +01:00
guzba
ff9d21827d
Attempt to mitigate stream server connect feedback loop
Pushbullet dev here. Around 36 hours ago we started receiving around 750 additional requests per second to connect to our stream server. I blocked around 50 - 100 IP addresses to mitigate the spam. This spam traffic has continued unchanged since then.

I don't know for sure what caused this, but one user came forward reporting issues with their Node-Red setup after I banned the IPs (status code is my banned IP status code which is pretty compelling evidence). I can't be sure what is causing the issue since no User-Agent is included in the requests, but it for sure is at least partly Node-Red API users. I'd like to work on mitigating this since mitigating the spam traffic costs money.

My first theory here is in this PR. I am not aware of any guarantees that you'll never get multiple 'error' events, so it makes sense to clear the timeout before setting a new one to reconnect. Even if it is just defensive, it may not have much cost? If you do get multiple error events without this change, it is possible to trigger many connect() requests which can error out and then trigger many more connect() requests with lots of timeouts, which is not good.

Another thing to consider is that this library's dependency for PB (https://github.com/alexwhitman/node-pushbullet-api) already has code to reconnect if a websocket connection is lost without having been properly closed. I think an even better solution is verifying this works and then deleting the reconnect logic from here.

I'm not an expert on Node-Red though so I am only trying to offer suggestions to ensure everyone is a good citizen when using our API :) Thanks!
2020-10-13 16:27:30 -05:00
Dave Conway-Jones
f599797144
bump for latest PRs 2020-10-05 09:45:38 +01:00
Ross Cruickshank
9cc61cb0f1
mongdb - move projection into find pipeline (#697)
new node.js client API moved projection into options object - switched to pipeline stage instead #695
2020-10-05 09:28:58 +01:00
Ross Cruickshank
4ae0818a4b
mongodb - dereference aggregateCursor (#696)
new node.js client library moved  aggregate response  - using toArray to  return result-set in msg.payload #693
2020-10-05 09:28:39 +01:00
Dave Conway-Jones
aa45796a98
bump pushbullet package for PR 2020-09-27 12:59:02 +01:00