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

1503 Commits

Author SHA1 Message Date
dceejay
d4a27f88a1 Allow Email node to send html, and add attachments.
(outbound only at present)
2015-02-08 11:33:04 +00:00
dceejay
1513dbfcdd Add strict flag to debug (for consistency with others) 2015-02-08 11:32:26 +00:00
Nick O'Leary
ae7f1b38a8 Add line/col reporting to Function runtime errors 2015-02-07 19:52:14 +00:00
Nick O'Leary
83dad88ad3 Fix debug reporting of warning/errors 2015-02-07 19:29:43 +00:00
Nick O'Leary
c7f13e3d0c Add needsPermission protection to core nodes 2015-02-06 13:57:15 +00:00
Nick O'Leary
010abbd3d5 Remove deprecated nodes 2015-02-06 11:33:04 +00:00
Nick O'Leary
a494954275 Add permissions and user menu 2015-02-05 13:00:55 +00:00
Nick O'Leary
66005a2688 Use jquery ajax rather than d3 2015-02-05 13:00:49 +00:00
Nick O'Leary
c8ccacb035 Switch node sortable entries diable inputs in FF 2015-02-05 10:46:01 +00:00
dceejay
3334c795e0 Correct spelling in Pi error messages, fix mouse icon file type 2015-02-04 23:27:51 +00:00
Nick O'Leary
c8d2d690f0 Rename HTTP In content-length metric 2015-02-04 21:10:18 +00:00
Nick O'Leary
f2d4648384 Support of HTTP Node metrics 2015-02-04 20:48:46 +00:00
dceejay
86ca75bcd5 Pi Node status not displaying 0 fixed. 2015-02-04 19:02:32 +00:00
dceejay
a08b29dbd1 Add info to Twitter out node to make it obvious how to do DMs. 2015-02-04 11:36:43 +00:00
Nick O'Leary
f462446213 Make Function duration status optional 2015-02-04 10:01:46 +00:00
hbeeken
6b96c1876a changing function node metrics to new infrastructure 2015-02-04 09:46:54 +00:00
dceejay
a22f819f40 Bit more consistent error handling / status updates for Pi GPIO node 2015-02-03 17:22:44 +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
dceejay
84e6417877 Change inject node to use tick boxes for days of week instead of select. 2015-02-03 11:21:29 +00:00
dceejay
5e5a220f68 Better ref link for CSS selectors list for HTTP parser node. 2015-01-30 10:00:20 +00:00
dceejay
f451d0644a Allow msg.PATCH method on http request node
Simple fix  to Close PR #524
(no CLA)
2015-01-30 10:00:20 +00:00
dceejay
f6c6301733 Add done() async close to tcp node(s) 2015-01-29 21:43:23 +00:00
dceejay
0709a118e3 more fun trying to close Pi and Arduin nodes async style with done()
(more consistent use of call done().)
2015-01-29 21:43:23 +00:00
Nick O'Leary
da67e69544 Add drag handle to switch node rules 2015-01-29 20:38:19 +00:00
dceejay
0ed8d28342 Add Markdown capability to Comment node
body is rendered in the info tab and can be styled with Markdown
2015-01-29 18:53: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
dceejay
8c075bfde3 Make HTML select node point to Cheerio select docs. 2015-01-29 18:53:59 +00:00
dceejay
cae755d948 Cleanup closing down of Pi gpio nodes 2015-01-29 18:53:58 +00:00
Nick O'Leary
ca9d84b1b7 Allow Switch rules to be drag-ordered 2015-01-29 16:28:18 +00:00
dceejay
8b61c121e6 Small changes to info box language for file watch node 2015-01-21 15:05:35 +00:00
Nick O'Leary
ffe417976c Merge pull request #532 from hindessm/random-delay-fixes
Random delay fixes
2015-01-16 15:46:53 +00:00
Dave Conway-Jones
8b3fbae3f6 Merge pull request #516 from dsundberg/websocket_ext
Added option to specify remote WebSocket URL in web socket node.
2015-01-15 17:17:21 +00:00
dansu
9a0177b900 Added support for websocket-client in 22-wesocket node, selectable in ui
as Listen to/Connect to drop down.
2015-01-15 08:57:42 +01: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
dceejay
eee2996e8a Make Pi GPIO node wait for close before restarting
Looking to address Issue #530
2015-01-14 09:55:30 +00:00
dceejay
fcec704b7b Reset some changes to sample to be in line with how most of our nodes
actually are.
2015-01-12 19:11:07 +00:00
dceejay
2066d53d3f Handle quotes in JSON inside CSV files in CSV node...
so they come out as real JSON rather than being stripped.
2015-01-09 20:32:05 +00:00
Dave Conway-Jones
8822335700 Merge pull request #522 from motiooon/patch-1
adding skip to the mongodb input node
Great - looks good - many thanks @motiooon
2015-01-09 20:27:09 +00:00
Gabriel Baciu
f461b121e1 mongodb node take a skip property so pagination can be achieved 2015-01-09 14:32:21 -05:00
dceejay
92b393d3df really enforce binary for exec node stdout when required. 2015-01-08 12:35:42 +00:00
dceejay
4fb2a44d74 correct exec binary stdout to be consistent with spawn stdout.
Binary = buffer
String = utf8
2015-01-07 21:33:15 +00:00
dceejay
00429ebe70 Update exec node to handle binary stdout 2015-01-07 21:12:01 +00:00
dceejay
25537e01d4 Add byte mode and mouse buttons to Pi node 2015-01-06 22:06:28 +00:00
Anna Thomas
ed6272ce12 Fixed check for array in MongoDB aggregate function
Fixes #525
2015-01-05 10:57:49 +00:00
dceejay
9e4187d6a8 New Pi GPIO node based on RPI.GPIO library.
Adds PWM support of outputs and easier access to interrupts for inputs.
2014-12-27 13:11:44 +00:00
Dave C-J
b4dc66944a Make sample node more representaive of a real node...
(OK not really real but at least it now doesn't fail if you try to run it)
2014-12-26 15:28:31 +00:00
Dave C-J
a51056a91f Be a bit more relaxed about IRC node reconnect - it does happen eventually.
Trying to nail down Issue #447
2014-12-18 23:22:36 +00:00
Dave C-J
bf8d549cf7 Add "advanced" options to XML parsing node
Allows setting of attrkey and charkey
Push to close #348
2014-12-15 17:05:18 +00:00
Dave C-J
1261bf97ea Remove : from inject node label - people didn't like it.
Claim they can tell the difference between topic and payload as they wrote
the flow...
2014-12-15 17:03:18 +00:00
Dave C-J
41552625e0 remove spurious line of debug from http node 2014-12-15 17:01:58 +00:00
Dave C-J
27ef7d972f Add Binary paylaod option to Http request node
Also add JSON parse option to output
Allow user to select override using msg.method to stop getting warning.
Fix to close #399
2014-12-09 14:40:03 +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 Conway-Jones
e9b1e287ba Merge pull request #500 from jacktech24/master
Fixed bug, in Arduino output node
2014-11-28 10:52:12 +00:00
Nick O'Leary
da7b3ce9e4 Incorrect reference to routes in http in node
Fixes #503
2014-11-28 10:09:38 +00:00
jacktech24
4e28a308b0 fixed bug, replaced servoWrite with analogWrite where it should be 2014-11-25 20:42:17 +01:00
Anna Thomas
6ba0d83778 Fixes collection only being set by first message 2014-11-17 10:33:31 +00:00
Dave C-J
ca2ef7e71f Pi GPIO node was not displaying Model B+ pin numbers correctly
on subsequent edit.
2014-11-16 18:23:24 +00:00
Dave C-J
977a9e1c83 Better attempt at making Inject node label more "useful".
Addresses Issue #489
2014-11-16 18:22:33 +00:00
Dave C-J
7da108e129 Reverting fix for #489 while we debate the issue more fully.... 2014-11-14 23:50:49 +00:00
Dave C-J
7b14e753cd Let Twitter node save place as a location property rather than text. 2014-11-14 23:42:35 +00:00
Dave C-J
9863b6e178 Add payload to Inject label to make more helpful
Close #489
2014-11-14 17:28:08 +00:00
Nick O'Leary
0789b82c15 Restore dialog size on reopn properly 2014-11-13 22:14:05 +00:00
Nick O'Leary
a477c0b827 Fix serial config node edit layout 2014-11-13 20:53:15 +00:00
Nick O'Leary
3cb423a0b4 Fix func/temp/comment editor resizing 2014-11-13 17:21:12 +00:00
Dave C-J
ed9951f065 Add PWM support to Pi GPIO Node - pin 12 (GPIO1)
(only pin that has hardware pwm support)

Note: It will interfere with any other audio output as they share 
same hardware/timers.
2014-11-10 20:03:51 +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
Dave C-J
8b7e367416 tweak CSV parser to better handle GSM style phone numbers. 2014-11-08 15:34:54 +00:00
Dave C-J
b861f490c6 tiny tidy-up on TCP request node 2014-11-07 12:28:34 +00:00
Dave C-J
9c92eeb9f5 Allow tcp request node to accept msg.host and msg.port as inputs
Overrides only allowed if edit setting left blank.
2014-11-06 10:21:14 +00:00
Nick O'Leary
67449eb65a Merge pull request #470 from anna2130/msg-property-overrides
Message properties overriding set node properties
2014-11-05 22:05:34 +00:00
Anna Thomas
069a47f35a Added node warnings when message properties override set node properties 2014-11-05 17:23:27 +00:00
zobalogh
11a29b4633 Adding location support to Twitter 2014-11-05 12:00:37 +00:00
Dave C-J
273acc0ec4 Let MQTT input node receive binary packets
Try to auto select output type to be string or buffer to be backwards compatible
Fixes #435
2014-11-04 21:56:15 +00:00
Nick O'Leary
f89ddb5f7a Merge pull request #463 from njh/redis-object
Added support for storing a msg.payload of type object in a Redis hash
2014-11-01 21:19:45 +00:00
Dave C-J
694649e8f9 Update feedparse in line with underlying npm. 2014-10-31 18:59:57 +00:00
Anna Thomas
9f925140c9 Updated MongoDB node info 2014-10-31 15:41:13 +00:00
Nick O'Leary
dfc79e3122 Preserve unknown node type properties across deploys
Closes #5
2014-10-30 21:41:42 +00:00
Nicholas Humfrey
afde3d0ab8 Added support for storing a msg.payload of type object in a Redis hash 2014-10-30 10:09:40 +00:00
Mark Hindess
f06b52625f Fix tweet post error reporting. 2014-10-30 08:38:49 +00:00
Mark Hindess
d859412785 Fix node.lastSent initial value after refactoring. 2014-10-30 08:19:52 +00:00
Dave C-J
348b642d25 Return sensible name to display for Delay node Queue mode 2014-10-29 18:26:43 +00:00
Dave C-J
a1830def8e Fix http in node close wrinkle if cors enabled but not used. 2014-10-29 18:26:09 +00:00
Anna Thomas
ce6513e7f7 Change node can set msg property to another msg property. Closes #456 2014-10-28 15:50:50 +00:00
Nick O'Leary
48d3b8f37a Inject node interval error
part two of #455
2014-10-27 19:41:29 +00:00
Nick O'Leary
4c573b208c Merge branch 'master' of github.com:node-red/node-red 2014-10-27 19:36:43 +00:00
Nick O'Leary
a5228875a6 Inject node calculating hour interval period incorrectly
Fixes #455
2014-10-27 19:36:26 +00:00
Dave C-J
bbaf7bf247 correcting typos in trigger node... oops 2014-10-27 08:54:21 +00:00
Dave C-J
0bb78ae491 Try to ensure TCP node closes server connections on redeploy
(to clean up properly - especially in case of port changes)

Closes Issue #454
2014-10-25 17:52:24 +01:00
Dave C-J
d9363f4974 Reduce logging for exec node
(can be re-enabled by using node -v red.js ... )
2014-10-25 17:50:55 +01:00
Dave C-J
b54e9edfa6 Add "topic based fair queue" option to delay node 2014-10-24 20:00:25 +01:00
Dave C-J
cf81de415a Minor UI tweaks to RPi node 2014-10-24 20:00:25 +01:00
Nick O'Leary
4cd78692e2 Handle debug boolean complete properties 2014-10-23 15:28:47 +01:00
Nick O'Leary
53a9a5fe93 Merge pull request #422 from anna2130/debug
Updated debug node to output other msg properties
2014-10-20 16:35:24 +01:00
Anna Thomas
17e4bf1a11 Tidy up node label and edit dialog 2014-10-20 12:52:07 +01:00
Nick O'Leary
bec4e429f9 Merge pull request #433 from anna2130/change-node-multi-level-properties
Change node: Multi-level properties
2014-10-20 11:12:59 +01:00
Dave C-J
472fdc65a9 Allow Raspberry Pi node to set initial output level.
Fix for #443
Also allow (optional) initial read of input pins on deploy.
Moved to Category Raspberry Pi 
(other Pi related nodes will be updated to match soon).
2014-10-19 13:54:21 +01:00
Dave C-J
28a4ba1aad Don't let IRC node try to join channels multiple times...
Addresses #447
2014-10-18 20:38:58 +01:00
Dave Conway-Jones
dd9fc6a250 Merge pull request #437 from hindessm/file-query-node-usability
Minor fixes to messages sent from "file in" nodes.
2014-10-14 17:54:47 +01:00
Dave C-J
7802939bb0 fix IRC node (once again)
refactoring created incorrect object references - which weren't picked up.
(sorry) -  Addresses Issue 439
2014-10-09 20:50:46 +01: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
Nick O'Leary
21e349c22a Ensure httpNodePath is handled properly in HTTP/WS nodes
Cope with httpNodePath not ending with a / when it comes to
displaying the node details. The runtime is not affected.
2014-10-08 11:03:18 +01:00
Anna Thomas
97e5c2e571 Added multi-level property functionality 2014-10-07 16:12:35 +01:00
Anna Thomas
f96b40cff2 Updated debug node to output other msg properties 2014-10-07 10:25:56 +01:00
Mark Hindess
e0927d190f Don't use abbreviation 'mins' and 'minutes' in the same sentence.
I don't think saving three letters justifies the use of a non-standard
abbreviation.  If we really need to save letters, then the SI units would
be better and for most people to read.
2014-10-07 08:40:06 +01:00
Dave C-J
0c636ca707 Wind down excessive logging on IRC node
now only logs connects/reconnects, errors and "raw" input commands
(so you can debug them when you get it wrong)
All other messages appear on the node output anyway.
2014-10-06 10:20:40 +01:00
Dave C-J
d49ed69a0a Remove listener limit on IRC node server connection.
Fixes #431
2014-10-05 21:36:42 +01:00
Dave C-J
4b73a92f71 Cross platform fix for Arduino Serial port not there.
Fix for #428
2014-10-04 22:56:52 +01:00
Dave C-J
e95d4a9010 Update Ardunio node slightly in line with latest Windows Serialport patches.
(But there is still a possibly bad underlying problem 
- error not being caught -  in the upstream npm - reported.)
2014-10-04 22:26:02 +01:00
Dave C-J
d950ceceea Tweak IRC fix #430 to not create multiple clients on extended reconnects 2014-10-03 22:27:58 +01:00
Dave C-J
43f55c6038 Add IRC server link check and retry after timeout
Fix for #430
2014-10-03 21:15:09 +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
Nick O'Leary
d3956f9816 Ensure valid mongo selector object 2014-09-26 11:30:09 +01:00
Nick O'Leary
dbaa1ed59c Don't cache api requests in the editor
Fixes #413
2014-09-24 09:57:45 +01:00
Nick O'Leary
8742bf354b Missing brackets in sample node
Closes #414
2014-09-23 23:15:34 +01:00
Nick O'Leary
1f95071a37 Only normalise known headers in http node 2014-09-22 20:48:06 +01:00
Anna Thomas
23b5ac4582 Allow user to select collection in mongo nodes using msg.collection 2014-09-22 16:16:21 +01:00
Anna Thomas
4f2e4b58e4 Added update functionality to mongodb out node 2014-09-22 16:09:56 +01:00
Nick O'Leary
abd3d752f5 Add deprecation warnings to nodes 2014-09-22 15:57:16 +01:00
Dave C-J
ed1da5cf7b Add try/catch to websocket to fix #402
Also allow buffer out as binary if required. (ie don't try and stringify a buffer)
2014-09-18 17:10:01 +01:00
Dave C-J
a718f34c58 Expand the non-functional sample to have an input to make it more useful 2014-09-18 17:06:35 +01:00
Nick O'Leary
da61fe12d0 Add dynamic node api
Closes #322
- nodes modules can be installed/removed dynamically at runtime
- nodes can be enabled/disabled
- onpaletteadd/onpaletteremove api added to node definitions
- initial implementation of nr-cli
2014-09-17 23:57:29 +01:00
Nick O'Leary
ebb0d1a46d Handle invalid property values in Switch node
Fixes #404
2014-09-17 22:31:26 +01:00
Dave C-J
f04e42e4da Fix bug in number handling in CSV parser
Thanks Anupam !
2014-09-16 19:05:16 +01:00
Dave C-J
22329ca106 Add hourly option to Inject Node time interval mode,
Fix a few UI wrinkles when editing.
2014-09-15 12:32:28 +01:00
Nick O'Leary
c4932e3cf9 Merge pull request #401 from anna2130/master
Added count and aggregate operations to MongoDB In node
2014-09-15 09:37:56 +01:00
Anna Thomas
bc8acd24ae Added count and aggregate operations to MongoDB In node 2014-09-15 09:33:36 +01:00
Dave C-J
a0ac79384d Tidy up some little wrinkles in Inject node html labels etc 2014-09-14 18:38:30 +01:00
Dave C-J
7e2dbb13e4 Major Update to CSV node.
now handles lines, files, column names in first row, etc etc
2014-09-12 16:50:01 +01:00
Dave C-J
400f51d921 Allow IRC name changes when node chanel not set.
Trying to f ix #397
2014-09-09 22:14:52 +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
fd04b5851b Remove unused variables. 2014-09-08 21:53:15 +01:00
Mark Hindess
5d9c16ffbf Remove redundant msg != null checks. 2014-09-08 21:10:06 +01:00
Nick O'Leary
d30f1e639b Merge pull request #391 from hindessm/remove-undefined-reference-to-node
Remove reference to undefined variable 'node'.
2014-09-08 20:38:00 +01:00
Nick O'Leary
27149fe10f Merge pull request #390 from hindessm/fix-base64-udp-send
Fix base64 udp send
2014-09-08 20:20:22 +01:00
Nick O'Leary
3880bd7ca4 Merge pull request #389 from hindessm/remove-spurious-dollar
Remove spurious dollar.
2014-09-08 20:20:12 +01:00
Nick O'Leary
7ec7354755 Merge pull request #388 from hindessm/fix-emailkey-variable
Fix variable name emailkey which should be globalkeys.
2014-09-08 20:20:03 +01:00
Nick O'Leary
afa201790d Merge pull request #387 from hindessm/fix-scope-of-data
Avoid wasting time preparing the payload if operation is a delete.
2014-09-08 20:19:54 +01:00
Dave C-J
cba4791b65 MQTT node better check for topic existing 2014-09-08 20:19:25 +01:00
Mark Hindess
3ec07a9161 Remove reference to undefined variable 'node'. 2014-09-08 20:19:20 +01:00
Mark Hindess
6368a43a02 Fix base64 encoding of msg.payload in UDP out node. 2014-09-08 20:13:08 +01:00
Mark Hindess
39d0419b65 Remove spurious dollar. 2014-09-08 20:04:11 +01:00
Dave C-J
ab4d3c025e MQTT node should only send message if topic actually specified (string) 2014-09-08 20:01:28 +01:00
Mark Hindess
19c3a7f36c Fix variable name, emailkey should be globalkeys.
Also, remove unused reference to util.
2014-09-08 19:59:22 +01:00
Mark Hindess
22b32b1684 Avoid wasting time preparing the payload if operation is a delete. 2014-09-08 19:53:03 +01:00
Nick O'Leary
1a5a548fbf Incorrect credentials in mongo node
Closes #386
2014-09-08 19:25:12 +01:00
Nick O'Leary
3e3b388ca7 Prevent adding empty twitter creds
Closes #372
2014-09-08 14:41:39 +01:00
Nick O'Leary
b3fa866385 Remove last remnants of bootstrap icons from core
Closes #376
2014-09-08 14:18:34 +01:00
Mark Hindess
3f054bdf7e Migrate to fa icons. 2014-09-08 12:07:39 +01:00
Dave C-J
a03861cb6d Indent range node UI more in style with other nodes. 2014-09-07 22:13:10 +01:00
Dave C-J
426453d925 make tcp and udp node fa icons more consistent 2014-09-07 22:12:25 +01:00
Dave C-J
ef9255a87c set defaults in trigger node rather than confusing placeholders 2014-09-07 22:11:58 +01:00
Dave C-J
5872541b1b Tweak info of watch and file nodes to be more style consistent with others. 2014-09-07 22:11:00 +01:00
Nick O'Leary
67d5bc2399 Merge pull request #380 from hindessm/trivial-html-fixes
Fix two trivial HTML bugs.
2014-09-05 23:12:32 +01:00
Nick O'Leary
c91a3f3f78 Delay node drop immediate not working
Fixes #381
2014-09-05 16:04:35 +01:00
Dave C-J
083dc213f0 Check to see serialport exists before opening in Arduino node
Fixes #382

now warns if chosen serial port doesn't exist - rather than crashing.
So is now recoverable without manually editing flows.

(Also moved to fa-icons and Arduino category)
2014-09-05 15:10:40 +01:00
Nick O'Leary
56768fbf2c HTTP In delete configuration missing errorHandler
Fixes #384
2014-09-05 13:19:05 +01:00
Nick O'Leary
293725afcd Reuse vm context to speed up Function nodes
If the NODE_RED_FUNCTION_TIME environment variable is set, the
function nodes publish a status of how long the function took
to run, in ms.
2014-09-05 10:40:57 +01:00
Mark Hindess
e90054c93c Fix two trivial HTML bugs. 2014-09-04 19:59:30 +01:00
Dave C-J
06542d95f2 fix email html fa icons... seemed to get lost in merge conflict 2014-09-04 08:20:13 +01:00
Dave C-J
fc679adefb Allow TCP node option to break connections per message (and auto
reconnect) - eg for file trnasfer to indicate EOF.

Change to FA icons.
2014-09-03 20:06:29 +01:00
Dave C-J
e136080888 Tiny wrinkle (non critical) in httpin node 2014-09-03 20:04:38 +01:00
Dave C-J
a05c0f4bb2 Fix RPi node - gpio path as per @Croady suggestion 2014-09-03 20:03:52 +01:00
Dave C-J
fa8d31609e fix merge email.js 2014-09-03 19:39:26 +01:00
Dave C-J
7da7887ed2 Add info to IRC node re RAW commands 2014-09-03 19:37:19 +01:00
Mark Hindess
0a009e2a15 Rename RED.utils to RED.util. Fixes #364. 2014-09-03 13:20:45 +01:00
Nick O'Leary
0138eb3f5f Merge pull request #343 from zobalogh/range-tests
Adding range tests
2014-09-01 10:23:55 +01:00
Nick O'Leary
9876570189 Merge delay node test
Fixes #346
Closes #347
2014-09-01 10:22:29 +01:00
Nick O'Leary
961c9f3fa9 Add ability to tweet images
Closes #117
2014-09-01 10:16:37 +01:00
Dave C-J
06e48e9cb1 make IRC node handle RAW messages more cleanly. 2014-08-31 23:50:56 +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
42c3ee430f Slight tweak to IRC status updates to clear on start. 2014-08-30 13:24:09 +01:00
Dave C-J
dfc427c192 Downplay twitter geo-area capability (from warn to log) 2014-08-30 13:23:24 +01:00
Dave C-J
c3926f6513 Better template handling in CSV node - (can cope with quoted column names etc) 2014-08-30 13:22:22 +01:00
Dave C-J
64c95f1d1b Make IRC node channel check case-insensitive. Closes #365
Thanks _jhr007_ for the heads up.

Also now handle multiple output channels from a node. 
And add status indicators for connectied/joined.
2014-08-30 10:41:12 +01:00
Dave C-J
0a3c889cc6 Allow IRC to listen on multiple channels from one or multiple nodes...
Issue #362
2014-08-29 16:41:32 +01:00
Dave C-J
e256110eac Slight tweak to text spacing in IRC node
(Thanks to _jhr007_ for spotting)

Also taking chance to update to fa icons.

Closes #359
2014-08-28 21:05:00 +01:00
Mark Hindess
a9e72858df Add ensure string helper for nodes. 2014-08-28 14:25:41 +01:00
Nick O'Leary
e09ac859d3 Merge pull request #354 from hindessm/redis-string-fix
Make more effort to stringify sensibly when storing in redis.
2014-08-28 14:15:53 +01:00
Nick O'Leary
2dac28a421 Add hidden input to prevent edit form submit on enter
closes #349
2014-08-27 21:48:27 +01:00
Mark Hindess
025e4ab6d1 Make more effort to stringify sensibly when storing in redis. 2014-08-27 12:41:56 +01:00
Dave C-J
c38aa91a4d put Debug node active flag back to boolean. (mea culpa) 2014-08-25 15:42:12 +01:00
Dave C-J
a74009caa9 more consistent use of "true"/"false" for options in Debug node 2014-08-25 15:37:31 +01:00
Dave C-J
40c87ab14c Make defaults into strings rather than boolean.
Fixes #350
2014-08-25 15:09:52 +01:00
Dave C-J
ecbf4add6b Modify Tail node to only send new messages
Now with test that works with it.
Part of Issue #326
Now need to redo with libs that support windows.
2014-08-22 12:44:55 +01:00
Dave C-J
a8ade083d4 Add QoS and Retain to the MQtt node options 2014-08-22 12:44:54 +01:00
Dave C-J
f1d2b7ffa0 change file and mongodb nodes to use fa icons 2014-08-22 12:44:54 +01:00
zobalogh
3823150e46 Adding range node tests 2014-08-19 11:45:17 +01:00
Nick O'Leary
8ddfa9eb29 Migrate email node to credentials system 2014-08-18 17:15:14 +01:00
Nick O'Leary
c0842455b9 Update email node to use nodemailer 1.x api
Fixes #334
2014-08-18 15:47:37 +01:00
Nick O'Leary
76e8512869 Temporarily remove Mongo Update option
Part of #335
2014-08-18 11:30:48 +01:00
Nick O'Leary
907ce5c079 MQTT Node: allow publishing of Buffer payloads
Closes #341
2014-08-18 11:27:52 +01:00
Nick O'Leary
105b25287f Reverting tail node change to fix build
Fixes #337

A useful change but need the corresponding tests to be updated and also properly publicised on the mailing list as it is a change in behaviour.
2014-08-13 22:43:15 +01:00
Dave Conway-Jones
b3c3bffeaa tweak tail.js to only send changed/new lines. 2014-08-12 19:33:41 +01:00
Nick O'Leary
43ad8706aa Update tail node tests to use resource file 2014-08-07 14:55:34 +01:00
hbeeken
38c541361e Removing unreachable catch blocks 2014-08-04 10:57:00 +01:00
Mark Hindess
96ea81894d Avoid corrupting message payload while logging. 2014-07-30 08:17:40 +01:00
Mark Hindess
deff93f95e Simplify debug node message processing.
Make processing more consistent irrespective of complete flag.
Avoid processing when node is inactive.
Avoid duplicate code.
2014-07-29 09:41:47 +01:00
Dave C-J
78edf89e52 Allow File node to write out buffers of binary data 2014-07-29 08:57:27 +01:00
Nick O'Leary
00a9542edf Fix typo in example file 2014-07-29 08:55:29 +01:00
Nick O'Leary
e07a523c3b Fix node html compression and refactor registry 2014-07-28 16:37:39 +01:00
Mark Hindess
d7445a5bb9 Replace tabs with 4 space indent. 2014-07-23 22:10: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
Nick O'Leary
55679694c9 HTTP In - fix header iterator 2014-07-23 21:28:53 +01:00
Nick O'Leary
c079576e49 Remove websocket listeners on close
Fixes #285
2014-07-23 21:18:07 +01:00
Dave C-J
82036dd84a Simple fix to check/force http: to close #288
Checks url starts http: or https: - if not add http: - at least then it breaks gently.
Also add resultant url to any error payload if request  fails in order to make debug easier.
2014-07-23 12:09:34 +01:00
Nick O'Leary
bead24e760 HTTP In node: Check credentials exist before using 2014-07-22 11:33:52 +01:00
Dave C-J
0b308deb79 Slight tidy to MQTT - move to fa icons - use built in close method. 2014-07-21 20:29:10 +01:00
Mark Hindess
fd6682cfce Trivial spelling fix. 2014-07-21 08:54:37 +01:00
Nick O'Leary
9d481858a0 Update twitter node to new credential api 2014-07-20 22:00:02 +01:00
Nick O'Leary
4302deb5a6 Change credential boolean prefix 2014-07-20 20:42:41 +01:00
Nick O'Leary
d67a54a66a Update HTTP Request node to new credentials api 2014-07-19 00:26:46 +01:00
Nick O'Leary
760dd022dc Migrate MQTT nodes to new credentials api 2014-07-19 00:25:22 +01:00
Nick O'Leary
c379f1b197 Migrate mongo node to new credential api 2014-07-19 00:25:22 +01:00
Dave C-J
4770a06679 yet more JShint cleaning. 2014-07-18 21:49:48 +01:00
Dave C-J
252135532d more JShint cleaning and fa icons added 2014-07-18 21:49:20 +01:00
Dave C-J
aaab0d0d0b Add B+ GPIO support to Pi Node 2014-07-18 15:08:16 +01:00
Nick O'Leary
f80c41058c Properly escape html entities in debug
Fixes #276
2014-07-17 22:13:04 +01:00
Dave C-J
8b6c14b05d update mongodb to fa-icons and fix name position in edit config... 2014-07-17 17:21:35 +01:00
Dave C-J
fea68d4eda add strict to redisout and fa-icons 2014-07-17 10:25:52 +01:00
Mark Hindess
79853d8583 Add status support to the redisout node. 2014-07-16 23:10:34 +01:00
Mark Hindess
5073cf8dd7 Reduce scope of variable declaration to be consistent with MQTTInNode code. 2014-07-16 21:45:02 +01:00
Mark Hindess
77f6652fa9 Remove spurious variable declaration. 2014-07-16 21:45:02 +01:00
Dave Conway-Jones
debd5c4496 Spelling correctin http node info, close #266 2014-07-14 09:26:09 +01:00
Dave C-J
62496d80d5 tray/catch error in Websocket node to close #264 2014-07-13 17:39:56 +01:00
Dave C-J
bc53d302ff and add fa icons to websocket 2014-07-11 21:32:51 +01:00
Dave C-J
1a1c6a73b6 Update icon to fa icons for parser nodes and sentiment 2014-07-11 21:01:16 +01:00
Dave Conway-Jones
b84aba5c98 minor spelling correction 2014-07-11 08:20:47 +01:00
Dave C-J
de352dcdc2 Change template node to allow templating of any property of msg 2014-07-10 08:23:44 +01:00
Nick O'Leary
3db84d5bf1 HTTP Out payload: relax null checking 2014-07-09 09:51:43 +01:00
Nick O'Leary
4d031891e5 Http Out: remove excess debug 2014-07-09 09:48:09 +01:00
Nick O'Leary
a7e7254317 Handle null response payloads 2014-07-09 09:46:10 +01:00
Nick O'Leary
8e24a958b7 HTTP Out - stringed the wrong bit 2014-07-09 09:43:02 +01:00
Nick O'Leary
bd80cf4f83 HTTP Out - header properties must be strings 2014-07-09 09:08:43 +01:00
Dave C-J
c10c687653 Add TCP request node to TCP node "family" 2014-07-08 13:45:00 +01:00
Dave C-J
2c5d5148b8 tweak tail node to use -F (thanks to tip from Mike Smerekov)
pending other changes
2014-07-08 12:28:02 +01:00
Dave C-J
6fb9739245 Add strict to function node 2014-07-08 12:27:09 +01:00
Dave C-J
35965e55b5 Add on error method to exec node... (should have been there before :-) 2014-07-08 08:48:46 +01:00
Nick O'Leary
c18119f26e Debug pane should use local timezone 2014-07-01 23:14:44 +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
c7f0f9639a tidy up jsHint errors in exec and trigger nodes
Add "use strict" to the sample node
2014-06-30 20:44:35 +01:00
Dave C-J
52779ac518 Tidy up jsHinst errors in parser nodes 2014-06-30 20:44:01 +01:00
Dave C-J
790ad8eb68 Tidy up jsHint errors in parser nodes 2014-06-30 20:43:31 +01:00
Nick O'Leary
3fcc1b5680 Missing variable declaration in tail node 2014-06-27 12:29:13 +01:00
Dave C-J
6d54050b4f Tweak colour of new trigger node to match delay node. 2014-06-26 13:05:34 +01:00
Nick O'Leary
1602d9496f Add trigger node 2014-06-25 21:36:28 +01:00
Dave C-J
7c7f030aa8 Tweak serial to outpur correct number of chars from buffer.
Having counted the correct number into the buffer it seems a shame
not to send them all out to the next node...
(Also allow separator char to be specified as hex (eg  0x0a))
2014-06-24 22:27:02 +01:00
Dave C-J
cf70fee8c7 Add new HTML (cheerio/jquery like) parser node ... 2014-06-24 13:22:16 +01:00
Dave C-J
ed3be7f82e Add italic style to name for exec function...
been missing for ages... who knows why :-)
2014-06-17 20:07:29 +01:00
Dave C-J
6f6ecfc7a8 Make sure buffers are nulled to ensure cleanup. 2014-06-17 20:06:54 +01:00
Dave C-J
c61d4d3209 revert logging of every url request from http reg node. 2014-06-12 21:16:41 +01:00
Dave C-J
fc94429266 Add missing name field to file (in) node
(and tweak icons to new style)
2014-06-08 22:54:21 +01:00
Dave C-J
2d9e72816f Update comment node to fa icons - plus matching node icon. 2014-06-08 22:13:12 +01:00
Dave C-J
fe1b7c54ff Update serial info to match new capabilities. 2014-06-08 15:39:38 +01:00
Dave C-J
7d6f70545a and honour text (utf8) mode in single char mode. aaargh. 2014-06-08 15:27:15 +01:00
Dave C-J
12b8fa36dc Serial port - missed no split char option. If no split char then send every
character in char mode.
2014-06-08 15:21:02 +01:00
Dave C-J
00f87cbcd6 Add strict mode and latest icons to http node(s) 2014-06-08 15:05:08 +01:00
Dave C-J
0cbc277a2c Add binary capabilities to Serial node - along with timeout, fixed
buffer size and binary output options. Also updated icons and added strict
checking.
2014-06-08 14:58:19 +01:00
Dave C-J
c10ed13322 Add flash of status to exec node 2014-06-08 14:58:19 +01:00
Dave C-J
346ca21803 Make sure file name gets passed on in file node 2014-06-08 14:58:19 +01:00
Nick O'Leary
72476cc8a7 Set content-length in HTTP response node
Fixes #233
2014-06-07 23:18:50 +01:00
tjkoury
785d4a66f0 Added error handling to 50-file.js 2014-06-02 15:25:48 -04:00
Dave C-J
4e1d45b508 Tweak to Watch Node info to close #236 2014-06-01 18:02:25 +01:00
Dave C-J
8c8f75df69 Catch more errors in file watcher node. 2014-05-31 19:44:02 +01:00
Nick O'Leary
70147d0b6b Remove 'retined' property from node.status calls 2014-05-30 20:30:26 +01: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
Dave C-J
7ad28de52a Add use strict to mqtt node, allow will parm to be passed. 2014-05-29 09:00:28 +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
Dave C-J
dcc0adf2f7 Update Arduino to a better supported npm, that supports callbacks
for inputs... (less processor load). Also adds connected status to
visualisation.
2014-05-23 15:35:55 +01:00
Dave C-J
db125974c0 Tidy up inject tabs/spaces one more time. 2014-05-19 22:08:50 +01:00
TJKoury
21a72336fd Update 20-inject.html
Tabs got wonky, fixed it.
2014-05-19 16:43:30 -04:00
tjkoury
57e5f52d02 Fixed spinner issue in inject node with non-hardcoded offset 2014-05-19 16:42:36 -04:00
tjkoury
804dd67b4a Fixed spinner issue in inject node with non-hardcoded offset 2014-05-19 16:40:37 -04:00
tjkoury
4f56f36cde Fixed spinner issue in inject node 2014-05-19 15:38:07 -04:00
Nick O'Leary
8f1dd62515 Allow Serial nodes to close asynchonously 2014-05-14 21:34:17 +01:00
Dave C-J
1bbd6297ba Actually make xml2js and json2xml deprecated
as well as just moving them
2014-05-14 14:32:44 +01:00
Dave C-J
0e35b65afd Deprecate xml2js and jsn2xml nodes
Replaced by single XML node
2014-05-14 14:18:11 +01:00
Dave C-J
6f981d29ec Patch to suppoer use strict
Fixes Issue #205
Manual merge due to other changes
2014-05-14 11:44:19 +01:00
Dave C-J
55245610dd Patch to Support use strict
Fixes Issue #206
(manual merge due ot other changes)
2014-05-14 11:43:51 +01:00
Dave C-J
6f0e619611 add Status to email, http nodes (update copyright on tcp) 2014-05-13 11:39:59 +01:00
Nick O'Leary
59eccb116a Add RED._debug 2014-05-13 00:00:17 +01:00
Dave C-J
7e71a118eb Add status indicators to serial and tcp (client) nodes 2014-05-12 16:32:19 +01:00
Nick O'Leary
7e85eb297d Make status display toggleable and add to MQTT nodes 2014-05-10 23:33:02 +01:00
Dave C-J
69873bacb6 Tiny EFL tweaks to IRC. Thanks again Belphemur 2014-05-09 15:03:41 +01:00
Antoine Aflalo
0ea2c92d23 Adding a listener to "names" and improve documentation
Being able to get the list of connected user when join the channel can be interesting, that why I added the listener.
I improved the documentation by adding all the possible status and their description.
2014-05-09 11:48:41 +03:00
Nick O'Leary
8e7fc011f0 File In node loses message properties 2014-05-08 11:13:35 +01:00
Nick O'Leary
ba126e90d9 TypeError on debug node
Fixes #223
2014-05-08 11:12:13 +01:00
Nick O'Leary
16f8673ec0 Add comms module 2014-05-07 20:47:25 +01:00
Nick O'Leary
e6794a0c75 Twitter: add rate limit warning 2014-05-07 20:45:59 +01:00
Dave C-J
fb0cae0935 Reduce GPIO setup on Pi node to try to make it play nice with other peripherals 2014-05-06 20:58:36 +01:00
Nick O'Leary
4b160dc3a9 Function error not recognised as TypeError 2014-05-06 13:49:22 +01:00
Dave C-J
e47839b7e7 Tweaks to shorten Serialport html names.
and remove redundant code.
2014-05-06 11:12:56 +01:00
Nick O'Leary
baaf8167d3 Delay node dropping intermediate messages incorrectly 2014-05-06 10:07:57 +01:00
Nick O'Leary
14e882f250 Remove rogue console.log 2014-05-05 21:44:04 +01:00
Nick O'Leary
b64b1f2956 Serial port select combo-box 2014-05-05 21:42:01 +01:00
Dave C-J
671723374d Allow serial port to be manual entry or pick from list. 2014-05-05 11:39:59 +01:00
Dave C-J
b806854867 Revert serial port config to a text box - while we look at how best to
provide a list - but allow free input. (for Pi that doesn't enumerate tyAMA0)
2014-05-05 09:02:01 +01:00
Dave C-J
bc1fb3b404 Tiny formatting tidy ups. 2014-05-05 09:02:01 +01:00
Nick O'Leary
ff49d2b217 Migrate to new node function style 2014-05-03 23:32:04 +01:00
Nick O'Leary
7eed375111 Split up nodes.js into components 2014-05-03 22:28:17 +01:00
Dave C-J
df9744084c Tweaks to email error rmessages 2014-05-02 15:16:11 +01:00
Dave C-J
1309b9a72d Add new/updated Email node including credentials per node.
Deprecating old IMAP node as now part of this general Email node
2014-05-02 14:37:41 +01:00
Nick O'Leary
4dda4aeef2 Remove sentiment tip to be consistent 2014-05-01 23:12:19 +01:00
Nick O'Leary
d0b6fd078c Add File In node 2014-04-30 22:48:30 +01:00
Nick O'Leary
1df963e0ed Generate content-length on HTTP Request node 2014-04-30 22:05:27 +01:00
Dave C-J
e49eb3c685 Tweak layout of serial port config (Thanks Frank) 2014-04-30 14:09:08 +01:00
Dave Conway-Jones
f60430305e Merge pull request #207 from fvdpol/master
Add configuration of serial protocol settings (25-serial node)
2014-04-30 13:53:36 +01:00
Dave C-J
0b49b2cdda Add parser function nodes for XML, JSON and CSV.
Each is dual function - pass in (for example) and get out a js object, pass in a js object and get back out the xml string.
The CSV node must be configured with a column template that specifys the required property names for that column (csv->js), or the properties of the object that should be made into the csv (js->csv)
2014-04-29 17:01:30 +01:00
Dave C-J
f2e9b43866 Functional Fix for Inject node
addresses Issue #209
Interval is now wholly timeout based.
Now works on Sundays
2014-04-29 16:20:45 +01:00
Nick O'Leary
13deef189d Add ws heartbeat to keep connection alive through firewall 2014-04-24 23:42:44 +01:00
Frank van de Pol
c62a42169f Typo 2014-04-21 23:42:07 +02:00
Frank van de Pol
9d1bb39018 Add configuration of serial protocol settings
- Add support for configuration of protocol parameters (data bits,
party, stop bits)
- Set serial device/port using select list (discovered ports)
- Provide default settings for existing flows that do not yet have
serial protocol settings
2014-04-21 23:35:28 +02:00
Nick O'Leary
c20128b80f MQTT Client - missing null check 2014-04-21 21:14:03 +01:00
Nick O'Leary
0b7fa1ab5c Fix MQTT client reconnect logic 2014-04-21 20:40:56 +01:00
Nick O'Leary
729036ec0b Fix HTTTP Request url template 2014-04-20 20:50:20 +01:00
Nick O'Leary
eee8f89146 Clear MQTT Connection watchdog on error 2014-04-19 22:19:06 +01:00
Nick O'Leary
4ae5f34d2e Make Template node help clearer 2014-04-18 15:33:29 +01:00
Nick O'Leary
0a2dab67c7 Remove deprecated nodes
As announced here https://groups.google.com/forum/#!topic/node-red/-2nG6nKaxFI
2014-04-16 22:21:50 +01:00
Nick O'Leary
4219681cfa Single-click on debug message reveals node
Closes #192
2014-04-16 12:59:23 +01:00
Nick O'Leary
a386c028b0 Handle null debug messages
Fixes #200
2014-04-16 11:37:41 +01:00
Nick O'Leary
9ad4d50442 Merge pull request #187 from monteslu/sentiment
Add support for word overrides feature in sentiment node
2014-04-16 11:07:29 +01:00
Nick O'Leary
653c02bb15 Add drop-intermediate option to Delay rate node 2014-04-15 23:08:02 +01:00
Nick O'Leary
d5b36fcadc Add mustache template support to the HTTP Request url 2014-04-15 22:49:39 +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
be5f6762f7 Add Array detection to Debug node output 2014-04-14 15:49:17 +01:00
Nick O'Leary
de9ee37b42 Fix 'cannot set property boolean of undefined' 2014-04-12 23:09:47 +01:00
Dave C-J
ae02cf8d71 Make 0's appear in switch node dialog (were seen as nulls) 2014-04-11 10:56:59 +01:00
Dave C-J
df0ecbaf3a Disable unselectable option in Raspberry Pi node 2014-04-11 10:56:20 +01:00
Dave C-J
96ed3055bf tweak sample nodes - slightly 2014-04-11 10:55:14 +01:00
Nick O'Leary
10d9dee4aa Escape html chars in Inject/Debug and Info pane 2014-04-09 14:50:53 +01:00
Dave C-J
a08789a086 Change parseXML node to no longer have special debug options
(as can now be done in the debug node... so more consistent)
2014-04-08 16:06:58 +01:00
Dave C-J
e38b321c33 Tweak to Pi GPIO node to throw exceptions more in line with latest thinking 2014-04-08 16:06:58 +01:00
Dave C-J
069f42f0c5 Add console.log option to debug node
Fixes #194
2014-04-08 11:31:35 +01:00
Dave C-J
61285a0ee8 Fixes to spawn behaviour - (well more to catching bad behaviour)
It needs a redo - but patched so it doesn't die horribly.
2014-04-06 23:25:40 +01:00
Nick O'Leary
214338eb62 Fix Function node
accidental leakage of in-progress work
2014-04-02 23:56:46 +01:00
Nick O'Leary
bcefa6c9ef Properly deprecate httpget node 2014-04-02 21:21:51 +01:00
Nick O'Leary
c52db897b3 Remove boilerplate help from Function node
Fixes #180
2014-04-02 21:20:58 +01:00
Nick O'Leary
fa2d2771a7 Add websocket error handlers
Fixes #190
2014-04-01 23:18:34 +01:00
Nick O'Leary
e7dcdb075a Update udp node bind local options 2014-03-31 13:06:57 +01:00
Dave C-J
1d23cdad9f Improve labels for Pi GPIO pins 2014-03-31 11:18:37 +01:00
Dave C-J
1f6155f118 Fix to allow blank password for Basic Auth in httprequest node 2014-03-31 10:28:37 +01:00
Nick O'Leary
a3fa6dada5 Rework local port UI in udp node 2014-03-30 23:05:59 +01:00
Nick O'Leary
e2bac40b17 Update range node ui 2014-03-29 23:05:46 +00:00
Nick O'Leary
99ab6eaafd Tidy-up language in change node 2014-03-29 21:57:20 +00:00
Luis Montes
8b138ff2c8 add support for word overrides in sentiment node 2014-03-29 14:27:09 -07:00
Dave C-J
79f8d057a1 tweak "leave blank for random" text for outgoing port
as per Nick's suggestion
2014-03-28 08:53:25 +00:00
Dave C-J
e5e457a410 UDP node fixes. Allow fixing of outbound port.
Fixes #178
Also fixed multicast binding to work more correctly.
Note: - if you fix the outbound port it will then be unvailable for input - as we are not setting up a pool.
2014-03-27 23:27:43 +00:00
Ben Hardill
4e00ab3b2d fix delay node name when using random setting 2014-03-25 11:09:38 +00:00
Dave C-J
2a0491542d Fix for IMAP node - inbox 0 error. 2014-03-23 11:43:34 +00:00
Nick O'Leary
f666b0e6f9 TCP Node port in use not caught properly 2014-03-17 16:09:07 +00:00
Dave C-J
d87cc471a0 Tiny change to presets for range node - more useful example irl. 2014-03-11 16:38:52 +00:00
Nick O'Leary
15002f6872 Add headless mode
closes #2

httpAdminRoot / httpNodeRoot can be set to false to disable their respective bits. If both are set to false, (or httpRoot is set to false), and httpStatic is not defined, then it will not start the http server.
2014-03-08 22:35:35 +00:00
Nick O'Leary
5e58cc9fc1 HTTP In help text should use httpNodeRoot 2014-03-08 21:54:13 +00:00
Nick O'Leary
f81ebf0e64 Fix too specific wildcard matching in MQTT node 2014-02-23 20:14:27 +00:00
Nick O'Leary
f7a72a48ea Improve socket error handling in MQTT client
Fixes #155
2014-02-20 21:56:29 +00:00
Dave C-J
58774c366d Add .delete property to File output node
Fix to close #162
2014-02-20 21:00:54 +00:00
Dave C-J
0bc4a3bbb1 update UDP node to not bind output port if not required to do so.
Fix to Close #165
2014-02-20 20:59:05 +00:00
Dave C-J
46765d5737 Turn down console.log-ing in udp node 2014-02-20 18:11:08 +00:00
Nick O'Leary
d97e23947d Add uid to mqtt client log messages
This is a semi-temporary change to help debug the multiple-connection issue seen with the MQTT client
2014-02-19 22:17:20 +00:00
Nick O'Leary
b4ef1d354d Catch mqtt socket write error after disconnect
Part of #155
2014-02-19 21:30:46 +00:00
Nick O'Leary
d8f2f24b44 Add optional basic-auth to HTTP Request node
Closes #160
2014-02-19 20:31:42 +00:00
Ben Hardill
da167c8607 remove un needed commented out line 2014-02-18 10:28:46 +00:00
Ben Hardill
560d106ba2 Merge remote-tracking branch 'upstream/master' 2014-02-18 10:25:21 +00:00
Ben Hardill
7af88f63f5 Fix delay node singleton issue
Fixes #154
2014-02-18 10:23:44 +00:00
Nick O'Leary
b8953abb28 Add clientid to mqtt-broker label
Fixes #161
2014-02-17 22:42:31 +00:00
Nick O'Leary
6b278fdceb Add httpNodeCors setting
Adds a dependency on the 'cors' npm module
2014-02-17 22:32:53 +00:00
Nick O'Leary
09f162d933 Fix overriding method in HTTP Req node 2014-02-17 22:16:42 +00:00
Nick O'Leary
b7e3e2d739 Add username/password to Mongo nodes
Fixes #159
2014-02-16 23:17:15 +00:00
Nick O'Leary
7c24d4d760 Separate out httpAdmin and httpNode 2014-02-16 00:39:30 +00:00
Nick O'Leary
e6cf783d52 HTTP In GET error handler fix 2014-02-15 22:36:01 +00:00
Nick O'Leary
35fb4bb47a Add rawBody middleware
Fixes #151
2014-02-12 21:30:49 +00:00
Nick O'Leary
7c24c7465a HTTP Request: allow message to override https
Fixes #147
2014-02-06 22:14:27 +00:00
Nick O'Leary
20de0c7c89 Move to twitter-ng module
Fixes #136

This will require an `npm update` to keep things working
2014-02-05 20:26:56 +00:00
Nick O'Leary
cef652eef7 File node: allow filename to be overridden 2014-02-05 10:26:17 +00:00
Dave C-J
ae03562f86 Slight UI tweak to Inject node - move fire once below options 2014-02-05 08:09:16 +00:00
Dave C-J
f3f52fa586 Inject - cleanup messing with crontab... just don't do it. 2014-02-04 22:31:51 +00:00
Dave C-J
40232f95ed Clear inject once flag properly. Issue #145 2014-02-04 22:19:55 +00:00
Dave C-J
b1de42b297 Tweak Inject Fire at Once options as per Issue #145 2014-02-04 21:50:35 +00:00
Dave C-J
bdd9d901ec inject node - Remove couple of lines of excess console.log 2014-02-03 19:06:49 +00:00
Ben Hardill
ad1f967a8d Fix random wait in delay node
Fixes #143
2014-02-03 13:08:20 +00:00
Dave C-J
e19f2956a8 tiny tweak to inject to fix name and hide un-needed text box.
tweak exec node text to be less alarmist
2014-02-02 18:12:28 +00:00
Dave C-J
b882846516 Quick fix for serial hangs (with serialport1.3.1)
While we investigate further.
2014-02-02 16:52:32 +00:00
Nick O'Leary
c47c72cf48 Improve inject node payload options 2014-02-02 15:37:34 +00:00
Dave C-J
3dee0f1e20 Add small bit of extra node.log to exec node to make it obvious what it is doing. 2014-01-27 19:24:15 +00:00
Dave C-J
3a2ed39b51 Add new Range Node 2014-01-27 19:23:35 +00:00
Dave C-J
aa044970c9 Add extra labels to extra Pi GPIO pins 2014-01-14 19:23:50 +00:00
Dave C-J
ad675c00d8 enhance fs.notify help text
windows paths need double slashes \\
2014-01-13 20:25:58 +00:00
Dave C-J
82f58393c7 enhance labels for Pi GPIO pins 2014-01-13 20:24:57 +00:00
Dave Conway-Jones
08559838cc Merge pull request #133 from cpswan/master
Enable Pi to use of all 17 WiringPi pins
2014-01-13 12:04:31 -08:00
Nick O'Leary
79aeeea640 Handle duplicate PUBREL
Fixes #138

If the connection to a broker is lost mid qos 2 flow, there is a window where we have processed the PUBREL, released the message and deleted it from our store, but not sent the PUBCOMP. When the connection is re-established, and the PUBREL is resent by the broker, we assume the message still exists - and hit the error reported.

The fix is to check the message is valid before trying to process it. We send the PUBCOMP to complete the flow regardless.
2014-01-13 11:32:16 +00:00
Nick O'Leary
6b3010f95b Guard against null client in MQTT nodes
Fixes #130

There was a timing window where a client could connect to a broker just as new flows were deployed that would cause the on-connect callback to be called after client has been set to null. This caused an NPE.

The fix is to check client isn't null in the event handler.
2014-01-13 11:27:09 +00:00
Dave C-J
10b7f402c3 Update MQTT node Icon color to be different from Twitter one
Fixes #132
2014-01-08 16:44:47 +00:00
Dave C-J
cbad188be8 Update to fs.watch node to use new fs.notify API
requires npm update fs.notify
2014-01-08 16:44:05 +00:00
Dave C-J
b652d26b6b Add invite event to irc node 2014-01-03 10:57:49 +00:00
Dave C-J
e5536b848a Changes to IRC node
addresses fix for #106
moved channel to node properties (won't break but will flag as undeployed changes)
changed defaults to be irc.freenode.net
allow input of a msg.raw as an array of a raw irc command (undocumented)
2014-01-02 11:15:03 +00:00
Chris Swan
9839e87580 pintable + tablepin maps for all 17 WiringPi pins 2013-12-31 08:54:06 +00:00
Chris Swan
982ad91581 Drop down options for all 17 pins in WiringPi 2013-12-31 08:50:24 +00:00
Nick O'Leary
1c010c568d Fix keepalive handling in MQTT client
Fixes #124
2013-12-29 20:16:27 +00:00
Nick O'Leary
24c373ecc2 Tidying up the Change node after a lot of churn 2013-12-24 23:16:36 +00:00
Frank van de Pol
44e920fde2 Disable the notification for the Change node editor
Disable the notification on the Change node.
Once the infrastructure for validation error messages is implemented
this can be re-enabled and retrofitted to the
new structure.
2013-12-24 23:29:40 +01:00
Frank van de Pol
1ebc5979aa Add validation to Change node editor for invalid regex
This change adds input validation to the gui of Change Nodes to prevent
the user from unintentionally entering an invalid regular expression
(in case the ‘use regular expressions’  option is enabled).

The user will be notified (using the RED notification mechanism) on the
specific error code to help resolve the issue.
2013-12-24 20:28:08 +01:00
Frank van de Pol
b411d59d43 Make log message in invalid regular expressions more verbose
Make logging of erratic regular expressions more verbose to help
identification and resolving of the configuration issue:

eg.:
old: 24 Dec 18:40:09 - [error] [change:Strip kW] Invalid regex: *kW
new: 24 Dec 18:40:09 - [error] [change:Strip kW] Invalid regular
expression: /*kW/: Nothing to repeat

old: 24 Dec 20:15:57 - [error] [change:Strip kW] Invalid regex: *kW
new: 24 Dec 20:15:57 - [error] [change:Strip kW] Invalid regular
expression: /[kW/: Unterminated character class
2013-12-24 20:17:42 +01:00
Frank van de Pol
231f8b6a4d undo my changes to the Change node; revert to original
undo the local changes to the Change node to get back aligned with the
master tree
2013-12-24 20:02:30 +01:00
Frank van de Pol
b81f251023 merge from upstream 2013-12-24 18:53:38 +01:00
Dave C-J
00202a3930 wrong syntax for checking check box... in change node 2013-12-24 17:07:07 +00:00
Dave C-J
e0921f84c4 still flattening wrinkles in change node...
(I blame the Xmas "spirit" ;-)
2013-12-24 17:01:53 +00:00
Dave C-J
dafb2f1d38 Removed excess debugging from change node (sorry) 2013-12-24 16:54:19 +00:00
Dave C-J
6b2e666600 Make sure old flows with change node - work as-is/was.
Signed-off-by: Dave C-J <dave@conway-jones.co.uk>
2013-12-24 16:24:31 +00:00
Dave C-J
b7531bae4d Added proper choice for regex support to change node
(and better error catching)
Addresses Issue #121
2013-12-24 16:18:18 +00:00
Dave C-J
2ba5e0fe3e Add socketTimeout to settings.js for TCP server sockets
Fixes #125
adds an optional socketTimeout param to settings.js file to add a TCP server
socket timeout. Default is no timeout.
2013-12-24 13:12:17 +00:00
Nick O'Leary
a9668a1999 Better error message if twitter auth flow fails
Closes #123
2013-12-23 14:44:35 +00:00
Nick O'Leary
c6264e8040 Add newline when wrapping function to allow comments
Fixes #122
2013-12-22 22:22:47 +00:00
Frank van de Pol
a03b4e4dd4 Added validation logic to Change editor for validity of regular expressions
This change adds input validation to the gui of Change Nodes to prevent
the user from unintentionally entering an invalid regular expression.
The user will be notified on the specific error code to help resolve
the issue.
2013-12-22 17:46:25 +01:00
Frank van de Pol
655e777a3e Add exception handing to Change node
Adding exception handling to the change node to prevent node-RED from
crashing on invalid regular expressions eg. “*kW” (missing escape
before the asterix)
2013-12-22 14:00:25 +01: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
Nick O'Leary
95b8600da7 Automatically follow 301-redirects in HTTP request node
Fixes #30
2013-12-20 11:11:50 +00:00
Nick O'Leary
73f3ea52a5 Add session awareness to TCP nodes
Closes #63,#65
2013-12-19 21:16:25 +00:00
Nick O'Leary
751ac7b9ee Handle Buffer objects properly in Serial out node
Fixes #115
The serial out node does a JSON.stringify if the payload is an object. This was incorrectly being applied to Buffer objects, causing the output seen in issue #115.

The Buffer is now passed through as-is (with the newline appended if so configured).
2013-12-13 10:27:52 +00:00
Nick O'Leary
344660dfee Refinements to Unknown-node handling
Refinement to #113
2013-12-12 15:51:15 +00:00
Dave C-J
ac884bfdf3 Add "Unknown node" type to core.
Relates to Issue #5
not the best/complete solution - but a start.
2013-12-08 21:55:34 +00:00
Nicholas O'Leary
3984b6b702 Add websocket node docs
Part of #105
2013-12-08 20:41:57 +00:00
Nicholas O'Leary
cce5f33a97 Allow JSON sending/receiving in websocket node
Fixes #105
2013-12-08 20:31:56 +00:00
Nicholas O'Leary
f22cd381ee Add JSONP support to http response node
Fixes #102
2013-12-08 19:40:27 +00:00
Dave C-J
fae34f8244 Let serialport retry reconnects etc
Partial fix to Issue #111

This doesn't fix the screaming loop issue if you try to write to an unplugged
serial port - but does attempt to fix the not retrying to reconnect part of 
the issue.

Both were introduced by changes to the underlying serialport npm.
2013-12-08 16:59:36 +00:00
Dave C-J
67e16adfd0 Added output "New Line" char to Serial
Addresses Issue #104
adds the option to re-use the character used the split input into lineson input as an append to every line sent out to the serial port.
2013-12-06 21:04:35 +00:00
Nicholas O'Leary
d2ce6af486 Switch node: infer intent to compare numbers
Fixes #108
2013-12-06 20:26:55 +00:00
Nicholas O'Leary
4475e74187 Overlapping mqtt subs get duplicate messages 2013-12-06 14:19:21 +00:00
Nicholas O'Leary
5767478871 Switch node null/not null tests don't always work
a === null / a !=== null

is different to

    typeof a == "undefined" / typeof a != "undefined"
2013-12-03 01:12:29 +00:00
Ben Hardill
f44272877e Merge remote-tracking branch 'upstream/master' 2013-11-30 18:10:03 +00:00
Ben Hardill
4b3f26bed5 Fix milliseconds in delay 2013-11-30 18:08:44 +00:00
Dave C-J
399617dc58 Make Imap node always read once on start
Closes Issue #96

Imap node now logs (in console) if it finds duplicate email on read or not.
It doesn't send on duplicates. It also now DOES fire once on startup AND re-deploy to populate anything downstream... at least that is the excuse for the change.

Signed-off-by: Dave C-J <dave@conway-jones.co.uk>
2013-11-29 19:16:11 +00:00
Nicholas O'Leary
9690ebe9c1 Add session awareness to WebSocket node
This allows a websocket-in node to receive data, process it in a flow
and then send it back to the originating websocket client via a
websocket-out node.
2013-11-26 23:33:57 +00:00
Dave C-J
ab04fcf7c0 Update IMAP node to use new 0.8.x API
Fixes Issue #96

this necessitates an update to the underlying npm
npm install --force imap
2013-11-26 19:55:40 +00:00
Nicholas O'Leary
7040aaa179 Add clientid/username/password to MQTT nodes
Alternative implementation, closes #42

The username/password as not stored in the main flow file for security reasons;
they are stored in the adjacent credentials file. This does mean an extra step
to importing an MQTT node, as the user has to manually edit it to re-add username
and password if needed.
2013-11-25 22:50:08 +00:00
Nicholas O'Leary
796080471d Twitter: add help text about rate limits 2013-11-25 21:46:15 +00:00
Nicholas O'Leary
83072dcda4 Twitter node: tags field not required if DM's selected
Fixes #91
2013-11-25 10:32:21 +00:00
Dave C-J
3982dcdaf1 Add change node to core/logic - allows simple(r) manipulation of some payloads and msg.properties to save having to write functions for these basic tasks. You can replace contents (regex based or simple swap), and add, modify or delete proerties. 2013-11-24 22:25:35 +00:00
Dave C-J
0a78838c71 Add default name to switch node (for when name not specified - to be more consistent with other nodes) 2013-11-24 22:22:35 +00:00
Nicholas O'Leary
c1d495b62a Twitter node: DM's come in with a different structure 2013-11-24 20:54:10 +00:00
Nicholas O'Leary
cb8a3f064e Twitter doc updates and rate limit fixes 2013-11-24 16:48:24 +00:00
Nicholas O'Leary
9104b4200a Update feedparser node for underlying module api changes 2013-11-24 16:03:30 +00:00
Dave C-J
f051fbd1e1 Make imap node check for email right away on start/restart. Add some more console logging for re-assurance of things happening - or not. 2013-11-24 13:10:48 +00:00
Nicholas O'Leary
f2ed2365cd Twitter: monitor direct messages 2013-11-23 21:48:17 +00:00
Nicholas O'Leary
8176506d72 Twitter node: incorrect default user setting
caused by #80
2013-11-22 23:09:49 +00:00
Nicholas O'Leary
e88dcd4aba Get tweets from specific people
fixes #80
2013-11-22 23:07:08 +00:00
Nicholas O'Leary
88be896f1c Add WebSocket nodes 2013-11-22 21:28:05 +00:00
Nicholas O'Leary
7463ef92cb Add httpRoot tip to http node 2013-11-22 21:26:18 +00:00
Dave C-J
ff8db09fd9 Add "otherwise" option to switch node - also added ability to stop checking after first match or keep matching (as-is today). Fixes Issue #88 2013-11-22 16:25:02 +00:00
Dave C-J
1967046cc8 Slight tweak to sentiment info to reflect reality. 2013-11-21 17:14:05 +00:00
Nicholas O'Leary
a0aed93c69 Make Debug topic slightly darker for better contrast
Fixes #82
2013-11-20 22:17:21 +00:00
Nicholas O'Leary
2028880b48 Debug activation message the wrong way around
As reported under #47
2013-11-19 15:51:33 +00:00
Nicholas O'Leary
f5284f5e1f Twitter Oauth path needs to account for httpRoot
Fixes #78
2013-11-18 21:20:50 +00:00
Dave C-J
3c32186a9d force parsexml node to be async (just in case) 2013-11-15 09:15:26 +00:00
Dave C-J
f2b7fada9d Tweaks to email and imap info now that the relative paths no longer make sense. 2013-11-15 08:59:55 +00:00
Dave C-J
c17687e5db allow twitter multipe sech terms... space for AND and , for OR. (not sure why I had knobbled it in first place...) 2013-11-15 08:59:06 +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
Nicholas O'Leary
affcc8ae65 Update all core nodes to use NODE_RED_HOME rather than relative paths 2013-11-14 15:44:54 +00:00
Nicholas O'Leary
82b863805d Move Debug ws endpoint to /debug/ws
fixes #61
2013-11-14 14:40:34 +00:00
Nicholas O'Leary
d2208fae83 Collapse TCP nodes into single pair of files 2013-11-14 14:39:26 +00:00
Nicholas O'Leary
2a5f4abd49 Document msg.tweet property of Twitter In node 2013-11-14 14:38:59 +00:00
Dave C-J
11523a6ced duplicate http get or post params into msg.payload to make life easier for debug etc. other properties remain as-is 2013-11-14 13:25:12 +00:00
Nicholas O'Leary
510fab7b8f IMAP node should not try to load settings file directly 2013-11-13 22:20:36 +00:00
Nick O'Leary
5b69dfb2f2 Merge pull request #70 from hardillb/master
Add Random delay to Delay node
2013-11-13 07:37:37 -08:00
Ben Hardill
ca72e187f9 and another typo 2013-11-13 15:36:54 +00:00
Ben Hardill
e2a532434e Added missing () to validator 2013-11-13 15:25:29 +00:00
Nicholas O'Leary
8426c9802b Allow unlimited event listeners on mqttConnectionPool
Fixes #71
2013-11-13 15:00:55 +00:00
Nicholas O'Leary
07a5d3626e Typo in HTTP Request Node prevents POSTs
fixes #68
2013-11-11 14:25:50 +00:00
Ben Hardill
f3a84eacf3 Added some limits to the spinners, and updated the image 2013-11-10 19:49:16 +00:00
Ben Hardill
e9a64f7bdf Added random delay to delay node 2013-11-10 17:25:55 +00:00
Nicholas O'Leary
22f46a4317 Inject Node: Interval between times not sticking
fixes #67
2013-11-09 17:07:57 +00:00
Nicholas O'Leary
3b49c85a8e Remove extra slash in Debug WS connection url and respect http/https
Fixes #59,#60
2013-11-06 21:33:25 +00:00
Nicholas O'Leary
8f71ee4631 Unable to pass custom headers to HTTP Response node
fixes #54
2013-11-06 21:08:00 +00:00
Dave C-J
25596b06b1 Add json2xml node - to complement the xml2json one... 2013-11-04 20:29:33 +00:00
Dave C-J
d9ed5b46c4 Various little tweaks - less console.log more util.log, add exra try/catch to serial, add wiring-pi url to Pi "error message". 2013-11-03 19:10:35 +00:00
Dave C-J
09348eb353 Improve IRC UI options to Fix Issue #53. Now a three way select - either send whole msg object to channel, just msg.payload to channel or msg.payload to users specified in msg.topic 2013-11-02 12:12:47 +00:00
Nicholas O'Leary
b12b02ebb9 Change node deprecation message 2013-10-31 16:41:52 +00:00
Dave C-J
8891548909 Make simple payload types be objects for mongodb to stor sensibly. 2013-10-31 16:33:14 +00:00
Dave C-J
bbc1b70a5a Moved deprecated nodes to deprecated folder - added "this node is deprecated" warnings. 2013-10-31 09:43:22 +00:00
Nicholas O'Leary
76def0a320 Remove deprecated Connect api 2013-10-30 21:18:07 +00:00
Nicholas O'Leary
426e866113 Move nodes over to node-red-nodes repo 2013-10-30 21:13:52 +00:00
Nicholas O'Leary
948cbc537e Add toggle button support to core, tidying up debug node 2013-10-28 16:45:31 +00:00
Dave C-J
87fdc74ed0 Make debug button move/partially hide when disabled to make it obvious. Also thicken border of node selected from within debug window - again to make it "pop" so it is obvious. Fixes #47 2013-10-28 10:01:12 +00:00
Dave C-J
deef63334f update sample to use environment variable for path to RED. 2013-10-28 09:59:36 +00:00
Dave C-J
c193779f67 update to mongodb node to allow both save and insert. 2013-10-28 09:58:56 +00:00
Nicholas O'Leary
488a039781 Add err handler on tcpout/listener. Fixes #50 2013-10-27 17:57:46 +00:00
Dave C-J
6fb8506722 Better fix to Close Issue#48. udp out node now accept msg.ip and msg.port properties - and udp in node now produces them also. Note- the ststically configured vlues WILL take precedence - so if you want to use msg.ip and msg.port then do not configure them in the edit dialog 2013-10-25 11:27:21 +01:00
Dave C-J
a4160a6bea Partial fix for Issue #45 - allows msg.destip and msg.port properties to override static config.
Signed-off-by: Dave C-J <dave@conway-jones.co.uk>
2013-10-24 19:58:57 +01:00
Dave C-J
f1f00da1a8 Allow http request node to pass through existing msg properties rather than wiping clean (in case needed on other side...)
Also one more try / catch to xml parser... could still barf if provoked.
2013-10-23 21:27:54 +01:00
Dave Conway-Jones
30f3a46d46 Fix for Issue#45 2013-10-23 08:42:14 +01:00
Nicholas O'Leary
dc0d62cb28 HttpRequest: unable to overide url with https url 2013-10-23 00:03:32 +01:00
Dave Conway-Jones
ae13db90a9 missing ; - oops 2013-10-22 21:07:20 +01:00
Dave C-J
3b60e1a0e3 Added error trap to xml2js node. 2013-10-22 20:25:14 +01:00
Dave C-J
c4f30a6111 remove extra logging from exec , add sun icon 2013-10-20 20:37:40 +01:00
Dave C-J
e775346946 Let Blinkstick accept upper case colours 2013-10-20 20:37:01 +01:00
Nicholas O'Leary
778e0d2086 HTTPRequest: custom headers not passed on 2013-10-20 00:09:15 +01:00
Nicholas O'Leary
f8e8bf22c0 SwitchNode: allow use of properties beneath the top level 2013-10-19 21:04:17 +01:00
Dave C-J
547ae0cd72 Added a bit more error cathing to tail node 2013-10-19 14:58:05 +01:00
Dave C-J
b1c9e95209 removed Arduino pins "warning" - way too agressive... 2013-10-18 17:03:41 +01:00
Nicholas O'Leary
294224de9b TailNode: kill tail process on close 2013-10-18 10:04:03 +01:00
Dave C-J
426444b042 Tweaks to timer node - limit delays/rate to +ve numbers... add bit more info, slight tidy up. 2013-10-17 22:45:17 +01:00
Dave C-J
f3040ae95c Add warning to Arduino node (as underlying firmata won't allow pins to be both inputas and outputs at the same time) 2013-10-16 19:10:34 +01:00
Nick O'Leary
f3ec90eee0 Merge pull request #14 from hardillb/master
Pull request for Pause Node
2013-10-16 04:49:05 -07:00
Dave C-J
d8a6e28950 Remove some excess console.log and tidy up some close calls 2013-10-15 21:12:30 +01:00
Dave C-J
4780c2bfe8 Tweaks to edit icons, and make Twitter show seach tags as label rather than just Twitter 2013-10-15 21:11:45 +01:00
Nicholas O'Leary
3bab2a0b8d Remove console.log from exec node 2013-10-14 23:19:01 +01:00
Nicholas O'Leary
e6fe875e25 Rogue console.log 2013-10-14 09:33:25 +01:00
Nicholas O'Leary
bbe37dd944 One console.log too many 2013-10-13 20:29:29 +01:00
Nicholas O'Leary
32fcd12919 Add switch node 2013-10-13 20:28:21 +01:00
Nicholas O'Leary
fff61861c1 Deprecated old socket nodes 2013-10-13 19:25:53 +01:00
Ben Hardill
74c57faa6c moved to use the on("close", function(){}) rather than overload the close
function
2013-10-13 17:40:20 +01:00
Ben Hardill
74d8958526 Merge remote-tracking branch 'upstream/master' 2013-10-13 17:33:19 +01:00
Dave C-J
9741c36fdb New UDP node to go with updated TCP node - includes multicast support 2013-10-11 21:42:34 +01:00
Dave C-J
ee92967efa Fixes for Arduino (firmata) node - to try to make it work on a Pi... very slow to initialise... was never coming ready in time... hopefully fixes Issue #35 2013-10-10 15:36:23 +01:00
Dave C-J
c5da163d50 update sample node to reflect better way to close nodes. 2013-10-10 15:36:23 +01:00
Nicholas O'Leary
80b76fba88 HttpRequest: don't send body for GET/DELETE methods 2013-10-10 09:56:24 +01:00
Dave C-J
ae6fa8b6c0 Add bluetooth icon 2013-10-10 08:46:45 +01:00
Nicholas O'Leary
6205190c78 Fix jumping focus with Orion editor 2013-10-09 22:12:06 +01:00
Nicholas O'Leary
6298a13f06 Add warning if http response node doesn't get a msg.res object 2013-10-09 20:45:51 +01:00
Nicholas O'Leary
e907341d69 Restore twitter in node topic 2013-10-09 20:18:09 +01:00
Dave C-J
a1de6d2d0b added more debug / state checking to Arduino node 2013-10-07 23:36:44 +01:00
Dave C-J
f1bcf130aa Fix for irc client - to make connection "lazy", so it doesn't start untill needed. 2013-10-07 18:46:06 +01:00
Dave C-J
56476312c1 Fix wrong type of string being detected by TCPin node 2013-10-07 16:25:23 +01:00
Nicholas O'Leary
f0f2a71e3a Yet more twitter tweaking 2013-10-05 23:09:55 +01:00
Nicholas O'Leary
257525fcda Inject node: no-repeat not showing correctly 2013-10-05 22:34:48 +01:00
Dave C-J
c7bbfeeb7c suppress warning from underlying xmpp library - missing stringprep is unlikely to cause a problem unless using higher utf8 codes, but it doesn't compile at present so more trouble for users than it's worth. 2013-10-04 22:13:25 +01:00
Nicholas O'Leary
deddd077dc Inject: fail to show correct edit view for fixed time (fixes #34) 2013-10-03 15:16:52 +01:00
Ben Hardill
25d8a59d6c Fix some layout issues in the config popup and made the rate limit mode shut down the timer and make sure it sends the first message straight away when the buffer is empty. 2013-10-03 12:41:30 +01:00
Dave C-J
d36cc4fb4c Twitter tweak 2013-10-02 23:40:08 +01:00
Dave C-J
5c8b2f20db untweaked and retweaked Tweet 2013-10-02 23:37:26 +01:00
Dave C-J
e316c4734f Make "alert" nodes more consistent. 2013-10-02 21:16:26 +01:00
Dave C-J
148f6f418e slightly better IRC error catching 2013-10-02 21:15:12 +01:00
Dave C-J
f6da96e7e1 Tweak Twitter Properties UI to improve flow 2013-10-02 21:14:02 +01:00
Nicholas O'Leary
914c84e234 Merge branch 'master' of github.com:node-red/node-red 2013-10-02 19:43:01 +01:00
Nicholas O'Leary
eafc1e4f5d Failed to set http request headers - fixes #32 2013-10-02 19:42:52 +01:00
Ben Hardill
56da5faae2 Improved the configuration screen to allow larger range of delays/rates and to make it more obvious what the values mean 2013-10-02 12:31:12 +01:00
Ben Hardill
0b1c14c07e Merge remote-tracking branch 'upstream/master' 2013-10-02 11:04:26 +01:00
Ben Hardill
85bf6ab51f merged dalay and rate limit node 2013-10-02 11:03:43 +01:00
Dave C-J
43ff2fa52b Fix chicken/egg with push alert nodes... couldn't see info about config until config was correct... 2013-10-01 19:13:02 +01:00
Nicholas O'Leary
d332600149 Add new http request node 2013-10-01 17:03:17 +01:00
Ben Hardill
e7266ba2b6 Added warning when buffer size grows above 1000 msgs 2013-10-01 13:18:23 +01:00
Ben Hardill
d37e816cd1 Merge remote-tracking branch 'upstream/master' 2013-10-01 12:45:12 +01:00
Ben Hardill
dd293da6fb Fix some scope issues in delay node and add rate limiting node 2013-10-01 12:42:31 +01:00
Nicholas O'Leary
68e7e5e226 Add HTTP Response node to make http flows easier to handle 2013-09-28 22:18:41 +01:00
Dave C-J
4d6fa00150 Tiny help changes to comment and LevelDB nodes 2013-09-28 14:12:32 +01:00
Dave C-J
ec5fc4fabd levelDB - oops forgot to close database on close... non fatal but lots of messages ... fixed 2013-09-27 17:33:55 +01:00
Dave C-J
1918322ef0 Okay - leveldb node is back... addressing Issue #26 2013-09-27 16:07:57 +01:00
Ben Hardill
a4fb33ee73 Merge remote-tracking branch 'upstream/master' 2013-09-27 10:56:26 +01:00
Ben Hardill
fafbcdce26 renamed pause node to delay node 2013-09-27 10:55:46 +01:00
Dave C-J
9c6fb698ea Tweak some node labels to make the behaviour more consistent (at least per palette section) 2013-09-27 10:38:59 +01:00
Nicholas O'Leary
6783322e5f Better serial port error handling 2013-09-25 15:19:15 +01:00
Dave C-J
f23762ef9a move MongoDB delete function to output node as it's logically the end of a flow. 2013-09-25 12:04:12 +01:00
Dave C-J
021b4cd610 Added delete to MongoDB node 2013-09-24 20:38:37 +01:00
Dave C-J
c95fc633e3 remove/hide some over zealous warn messages from blinkstick 2013-09-24 18:45:47 +01:00
Dave C-J
b39e7d8a2b Fix R-Pi gpio node to not use reset - just set all io to input on start instead... 2013-09-24 18:45:02 +01:00
Dave C-J
019a4ff397 Patch for serial node - if no delimiter selected then it was holding onto the last character in the buffer. 2013-09-23 08:28:40 +01:00
Dave C-J
8eb2bcbd9c looks like LevelDB has been abandoned on Node :-( searching for simple alternatives 2013-09-20 09:11:05 +01:00
Dave C-J
62fa61254e retire LevelDB early due to inderlying non-compilation of code issues... 2013-09-19 20:05:20 +01:00
Nicholas O'Leary
5390d9bc66 console.log in haste... remove at leisure 2013-09-19 17:01:00 +01:00
Ben Hardill
b110e4de17 Merge remote-tracking branch 'upstream/master' 2013-09-19 16:22:39 +01:00
Nicholas O'Leary
3e538cd145 Debug sidebar: only display 200 most recent entries 2013-09-19 14:22:24 +01:00
Nicholas O'Leary
8821f88743 Make TCP nodes more intuitive
The edit dialog for the TCP nodes is (IMHO) clearer to use now
and provides options for how to handle the incoming messages.

The general error handling to much improved as well.
2013-09-19 13:02:27 +01:00
Dave C-J
3c456eaec4 Enhance Comment block with a editbox to allow for longer comments and possible help etc 2013-09-19 11:07:57 +01:00
Dave C-J
9b320d93ea Much tidier Raspberry Pi GPIO node - requires @drogon 's Wiring-Pi installed... more to come 2013-09-19 10:08:00 +01:00
Dave C-J
0878071a91 Tweak to LEDborg to use fs.exists rather than fs.read... no need to read and catch exception 2013-09-18 17:25:15 +01:00
Dave C-J
052aad50e6 Add LevelDB node to the mix - a file based key value store... persistent across reboots etc. 2013-09-18 17:15:36 +01:00
Nicholas O'Leary
62e7b253c9 HTTP node not closeing properly 2013-09-18 09:21:12 +01:00
Dave C-J
d3ed9afe03 Tweaks to Debug. realigned UI to be consistent with other nodes, Increased maxlength limit to 1000, Made circular object handling the default. 2013-09-17 11:11:09 +01:00
Nicholas O'Leary
0ceee215f3 Add notification for loss of connection to server 2013-09-16 22:21:31 +01:00
Dave C-J
6fc2555a2f Fix for Debug node circular references (Issue 17) - Also now limit debug message length ...(more). Added debugMaxLength setting to settings.js - default 512 - so can be overridden if required. (no doubt this will change) 2013-09-16 18:00:33 +01:00
Dave C-J
939178720a Fixed regex for LEDs to look for 0-9a-fA-F 2013-09-16 17:55:49 +01:00
Dave C-J
5a5a4644db Add PiBorg's LEDBorg to the hardware family... (only works on Pi - and only if installed :-) 2013-09-15 19:39:18 +01:00
Ben Hardill
b63876f5ae Merge remote-tracking branch 'upstream/master' 2013-09-15 15:58:55 +01:00
Dave C-J
585e50229e Merge branch 'master' of github.com:node-red/node-red 2013-09-15 11:36:19 +01:00
Dave C-J
f8988ca583 Made Blink1 and BlinkStick msg.payloads consistent so both accept hex #rrggbb or decimal rrr,ggg,bbb. (This will also break any existing Blink1 deployments...) 2013-09-15 11:35:56 +01:00
Ben Hardill
79853f5a60 Merge remote-tracking branch 'upstream/master' 2013-09-14 14:02:46 +01:00
Nicholas O'Leary
95c815d994 Update Debug tooltip to make sidebar easier to find 2013-09-14 10:21:09 +01:00
Dave C-J
500c3ec146 tweak debug - so booleans are obvious. 2013-09-13 23:28:39 +01:00
Dave C-J
b0e9dbb929 Partial fix for Issue #17 2013-09-13 22:55:16 +01:00
Dave C-J
36ae1dd0ef added/allowed text colour names for BlinkStick 2013-09-13 13:05:10 +01:00
Dave C-J
8300952254 Merge branch 'master' of github.com:node-red/node-red 2013-09-13 12:25:24 +01:00
Dave C-J
b7179fe373 Better detection of BlinkStick - yet to do text colour values 2013-09-13 12:23:46 +01:00
Nicholas O'Leary
755d17766c Add cron-like scheduling to inject 2013-09-12 17:21:46 +01:00
Ben Hardill
670a6cd933 Added a close function to clean up unfired timeouts on a redeploy 2013-09-10 23:18:15 +01:00
Ben Hardill
c85ab75fe3 Removed this.topic from the label function 2013-09-10 22:44:36 +01:00
Ben Hardill
75d1adcb18 Merge remote-tracking branch 'upstream/master' 2013-09-10 14:54:19 +01:00
Ben Hardill
2d9250e046 move pause node from contrib to core and changed order number from 99 to 89 2013-09-10 13:23:16 +01:00
Nicholas O'Leary
f7bdece081 Fix the irc label breakage 2013-09-09 21:42:12 +01:00
Nicholas O'Leary
77a6b0a71d Import fails on nodes with config labels 2013-09-09 09:59:35 +01:00
Dave C-J
9a26916d29 over zealous error checking for device... - now under zealous - tricky to debug without actual hardware in hand :-) 4/10 must try harder 2013-09-08 16:45:51 +01:00
Dave C-J
163d0c624a added prototype BlinkStick node... 2013-09-08 13:05:41 +01:00
Ben Hardill
e255cf7659 Adding a validator to the timeout field and included the timeout in the lable by default 2013-09-08 12:18:14 +01:00
Dave C-J
06930cb65c added (some) query capability to MongoDB node. 2013-09-08 11:21:52 +01:00
Dave C-J
065d47d173 handle more errors for sockets. one step forward. 2013-09-08 11:21:26 +01:00
Ben Hardill
d13a569c49 fix require path in 99-pause.js 2013-09-07 17:37:08 +01:00
Ben Hardill
ae0f3bff8b Adding pause node to allow for arbitrary pauses to be added to flows 2013-09-07 17:19:52 +01:00
Nicholas O'Leary
7b4927ff5d Full fix for #11 2013-09-07 14:27:41 +01:00
Dave C-J
07ff9aa061 Issue #11 - only show error code on Alert toaster (rather than full error) 2013-09-07 11:26:22 +01:00
Dave C-J
38d309dcf3 improved error handling (and labelling) for socket node... but not perfect by a long way... 2013-09-06 21:43:54 +01:00
Nicholas O'Leary
3255ae4187 Fixes #10 2013-09-06 21:03:51 +01:00
Dave Conway-Jones
b8f82fd9ae More useful response to 404... (if backend died) 2013-09-06 20:03:15 +01:00
Dave Conway-Jones
28b7009f33 Catch board not configured error without crashing 2013-09-06 13:57:43 +01:00
Dave Conway-Jones
6922a71995 tweak Arduino node colours and default port 2013-09-06 09:26:19 +01:00
Nicholas O'Leary
32796dd74c Got to start somewhere 2013-09-05 15:02:48 +01:00