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

522 Commits

Author SHA1 Message Date
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