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

1555 Commits

Author SHA1 Message Date
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
Frakke0
e980c8c04d
Fix not shown error (#692)
Fixed response to shown as string and not object
2020-09-27 12:57:09 +01:00
Dave Conway-Jones
d3a3bc158c
email - show valid folders in error if fetch fails 2020-09-23 23:54:09 +01:00
Dave Conway-Jones
973fd8c6ec
bump email package version 2020-09-23 10:20:58 +01:00
Vincent Hou
606f9c71e7
Update 61-email.js (#689)
Fixed disposition issue caused by `this`.
2020-09-23 08:35:08 +01:00
Dave Conway-Jones
fbad6e4c2d
clarify linting confusion 2020-09-17 10:02:54 +01:00
Dave Conway-Jones
c21fb22918
Linting and bump package for new clustered PR. 2020-09-17 09:21:50 +01:00
Ross Cruickshank
cde422f34a
mongodb: update to add support replicaset clusters (ICD4Mongo) (#688) 2020-09-17 09:17:43 +01:00
Dave Conway-Jones
d26cb057f9
add host property to outgoing msg
to close #687
2020-09-15 16:12:03 +01:00
Ross Cruickshank
4becf68848
use mongodb 3.6.1 client, add clustering support (#685) 2020-09-14 17:21:41 +01:00
Dave Conway-Jones
7e8571af42
update lib versions for grunt 2020-09-11 22:21:52 +01:00
Dave Conway-Jones
f95f0639f4
bump sqlite lib 2020-09-11 12:44:05 +01:00
Dave Conway-Jones
2625022fbc
bump pigpio package for env variable pin setting pr 2020-08-31 10:48:48 +01:00
Pablo Acosta-Serafini
0b4c1ff977
Enable the use of environment variables to define GPIO pin number (#676)
* Enable the use of environment variables to define GPIO pin number

* Pin field moved below table. Field width made the same as table. Restored
fa-icon and "Pin" label. Closed validation escapes.
2020-08-31 10:45:41 +01:00
Dave Conway-Jones
46f3dfc382
email don't retry connection while still busy. 2020-08-28 09:36:06 +01:00
Dave Conway-Jones
53ad00f165
bump serialport dependency, add ja translation for baudrate message, fix linting, bump package 2020-08-27 13:00:10 +01:00
Orfait
53f32ec521
[serialport] Allow baudrate change at run time (#675)
* Added baudrate change in serialport

* Added baudrate change to "serial request" (not only "serial out")

* Added doc
2020-08-27 09:20:09 +01:00
Dave Conway-Jones
ea729546d4
add sms_changed to pushbullet handler 2020-08-24 12:12:32 +01:00