Dave Conway-Jones
4cbe264869
Change file node to use node 4 syntax (drops support for 0.8)
2016-12-22 13:17:08 +00:00
Dave Conway-Jones
3a8820397b
clean up status on close for several core nodes.
2016-10-10 11:08:06 +01:00
Dave Conway-Jones
b9b5eaccae
better handle utf8 file output chars
2016-01-06 12:27:47 +00:00
Dave Conway-Jones
60539d890b
Fix File node check of msg.payload to close #700
...
Also add feature to allow creation of directory(ies) if path to file
does not exist.
2015-07-10 14:59:23 +01:00
Nick O'Leary
9ca102cf81
Ensure error messages are toStringed
2015-07-02 10:49:39 +01:00
Nick O'Leary
5ea68dafc4
More node i18n tidy ups
2015-07-02 10:49:38 +01:00
Scott Yoshizawa
2fe859b111
NLS Core nodes
...
NLS exec node
NLS function/temple/delay nodes
NLS function/template/delay/trigger/comment nodes
NLS io nodes (mqtt/httpin/websocket/watch/serial)
NLS messages.json for tcpin
NLS io nodes (tcpin & udp half)
NLS io nodes (udp)
NLS logic nodes (switch/change)
NLS logic (range) and parsers (csv&html) nodes
NLS parser nodes (json/xml)
NLS test case update for logic/parsers
NLS analysis and hardware nodes
NLS storage nodes (file/redisout/mongodb) and test
NLS storage node (tail)
NLS social nodes (feedparse/email/irc)
NLS socal node (twitter half change)
NLS social node (twitter) and core node (unknown)
2015-07-02 10:46:57 +01:00
dceejay
6f84526364
Remove pre-req for mkdirp package.
...
(fs-extra has all the features needed already)
2015-04-14 18:41:48 +01:00
dceejay
9afb4a9315
reverse overide behaviour on file, http and email. Node properties now
...
have priority. Warn user if msg.property tries to override.
Warning should be removed at next major verion bump.
2015-03-19 21:25:43 +00:00
Nick O'Leary
be61cf6a88
Add node.error handling to core nodes
2015-03-16 13:58:01 +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
dceejay
27f9056360
Add status to file node when you overide filename
...
(so you can see what it writes to... )
2015-01-29 18:53:59 +00:00
Dave C-J
5f74a1d237
Update file, http and email nodes to only show deprecation warning
...
if msg property is a real overide to node property ( !== ).
Fix for comment by @drJeckyll to Issue #399
2014-12-01 22:58:25 +00:00
Dave C-J
5da45b404c
Add delete option to File node
...
to replace msg.delete option - now deprecated but not removed.
Addresses some of the confusion for Issue #399
2014-11-08 15:34:54 +00:00
Anna Thomas
069a47f35a
Added node warnings when message properties override set node properties
2014-11-05 17:23:27 +00:00
Mark Hindess
0d9abbb8b6
Minor fixes to messages sent from "file in" nodes.
...
Specifically:
* in the error case, set msg.filename to be the name of the file used (as
is done in the non-error case),
* in the error case, delete msg.payload so that subsequent nodes only need
check for a msg.payload to act upon if they don't care about error cases,
and
* in the non-error case, delete msg.error to avoid passing through errors
from earlier nodes to a subsequent node that does care about error cases
Messages sent will now always have well-defined behaviour with respect to
the payload, filename, and error in both error and non-error cases.
2014-10-09 11:19:14 +01:00
Dave C-J
4f496c37be
Force file node to write "binary" - so as not to expand binary like chars
...
into utf encoding. Helps with writing strings that happen to be binary
encoded rather than buffers.
2014-09-26 21:19:32 +01:00
Mark Hindess
72dcb53d23
Fix logic so defined msg.payload is not prereq for delete.
2014-09-09 20:01:54 +01:00
Mark Hindess
22b32b1684
Avoid wasting time preparing the payload if operation is a delete.
2014-09-08 19:53:03 +01:00
Dave C-J
78edf89e52
Allow File node to write out buffers of binary data
2014-07-29 08:57:27 +01:00
Mark Hindess
6c4611a934
Fix EOL to be dos or unix not both in same file.
2014-07-23 22:07:02 +01:00
Dave C-J
045f658ef9
More defensive handling of missing filename in file node.
...
(in line with jshint)
2014-06-30 23:23:01 +01:00
Dave C-J
790ad8eb68
Tidy up jsHint errors in parser nodes
2014-06-30 20:43:31 +01:00
Dave C-J
346ca21803
Make sure file name gets passed on in file node
2014-06-08 14:58:19 +01:00
tjkoury
785d4a66f0
Added error handling to 50-file.js
2014-06-02 15:25:48 -04:00
Dave C-J
2cdaed1325
Add "use strict" to most core nodes.
...
(skipping ones that may have other work in progress)
2014-05-29 22:13:21 +01:00
Nick O'Leary
8e7fc011f0
File In node loses message properties
2014-05-08 11:13:35 +01:00
Nick O'Leary
ff49d2b217
Migrate to new node function style
2014-05-03 23:32:04 +01:00
Nick O'Leary
d0b6fd078c
Add File In node
2014-04-30 22:48:30 +01:00
Dave C-J
7290512794
Allow File out node to handle objects more usefully.
2014-04-14 15:49:49 +01:00
Dave C-J
58774c366d
Add .delete property to File output node
...
Fix to close #162
2014-02-20 21:00:54 +00:00
Nick O'Leary
cef652eef7
File node: allow filename to be overridden
2014-02-05 10:26:17 +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