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

20 Commits

Author SHA1 Message Date
dceejay
5352fc87ee add extra tests to debug, delay & template 2015-03-22 09:38:42 +00:00
dceejay
71ff828947 Tidy up all console.log util.log from core nodes.
Try to make log,warn,error more consistent behaviour.

Especially make sure any existing catches produce errors
2015-02-25 19:10:59 +00:00
Nick O'Leary
07acc6642f Merge pull request #460 from hindessm/fix-lastSent-initial-value
Fix node.lastSent initial value after refactoring.
2015-02-03 13:27:48 +00:00
Mark Hindess
5510dffe18 Fix random delay mode to be random delay not random rate-limited stack.
Documentation says "Introduces a delay into a flow or rate limits
messages." but this node was doing delay and rate limit in random mode
which doesn't seem that useful. Worse it was a stack not a queue. I
can't think of any sane use cases for that behaviour.
2015-01-14 14:19:21 +00:00
Mark Hindess
7909ca24d3 Fix random delay in milliseconds case and change test to reproduce bug.
Because there was no multiplier the node.randomFirst was a string so
the later '+' was a concatentation. The test failed to catch this because
it uses integers not strings to configure the node.
2015-01-14 10:18:47 +00:00
Mark Hindess
d859412785 Fix node.lastSent initial value after refactoring. 2014-10-30 08:19:52 +00:00
Dave C-J
b54e9edfa6 Add "topic based fair queue" option to delay node 2014-10-24 20:00:25 +01:00
Nick O'Leary
c91a3f3f78 Delay node drop immediate not working
Fixes #381
2014-09-05 16:04:35 +01:00
Nick O'Leary
9876570189 Merge delay node test
Fixes #346
Closes #347
2014-09-01 10:22:29 +01:00
Dave C-J
8c8c9b13b9 Addressing the first message bug in #346.
Not closing the Issue (yet) as there still seems to be some discussion re timing.
2014-08-31 13:29:38 +01:00
Dave C-J
b67e70e09f Fix Delay node milliseconds label to read ms.
(and add use strict)
2014-05-23 23:15:28 +01:00
Nick O'Leary
baaf8167d3 Delay node dropping intermediate messages incorrectly 2014-05-06 10:07:57 +01:00
Nick O'Leary
ff49d2b217 Migrate to new node function style 2014-05-03 23:32:04 +01:00
Nick O'Leary
653c02bb15 Add drop-intermediate option to Delay rate node 2014-04-15 23:08:02 +01:00
Ben Hardill
da167c8607 remove un needed commented out line 2014-02-18 10:28:46 +00:00
Ben Hardill
7af88f63f5 Fix delay node singleton issue
Fixes #154
2014-02-18 10:23:44 +00:00
Ben Hardill
ad1f967a8d Fix random wait in delay node
Fixes #143
2014-02-03 13:08:20 +00:00
Dave C-J
15669b7f1f Only declare node variables inside node declaration.
Fix for Issue #119
(also reformatted with spaces hence what looks like massive changes...)
2013-12-21 17:31:05 +00:00
Ben Hardill
4b3f26bed5 Fix milliseconds in delay 2013-11-30 18:08:44 +00:00
Nicholas O'Leary
48dabffefc Move all nodes into core subdirectory
This makes it easier to distinguish core nodes from those added later
2013-11-14 15:52:19 +00:00