Commit Graph

5839 Commits

Author SHA1 Message Date
Nick O'Leary 101e96dcb3
Merge pull request #2665 from node-red/msg-router
Pluggable Message Routing
2020-09-29 20:36:23 +01:00
Nick O'Leary 59adf82895
Merge pull request #2707 from node-red/trigger-delay-override
Allow trigger node delay to be overridden with msg.delay
2020-09-29 20:29:10 +01:00
Nick O'Leary 3b68f56b15
Update top-level copyright statements 2020-09-29 20:28:15 +01:00
Nick O'Leary 2962c4372c
Support setting trigger loop interval with msg.delay 2020-09-29 17:47:09 +01:00
Nick O'Leary 517e376582
Restore support for runtimeSyncDelivery flag 2020-09-29 17:39:29 +01:00
Nick O'Leary 7a90fe5aec
Fix flow api unit tests 2020-09-29 17:35:43 +01:00
Nick O'Leary ea45dde63a
Remove when.js from runtime/lib/flow/index 2020-09-29 17:20:01 +01:00
Nick O'Leary 22a301b55e
Add flows:* events and deprecate nodes-* events 2020-09-29 16:29:10 +01:00
Nick O'Leary 605177dcf0
Validate hook names when they are added 2020-09-29 16:28:52 +01:00
Nick O'Leary 460e1f5563
Fixup merge error 2020-09-29 12:19:27 +01:00
Nick O'Leary 6f25337b99
Add docs for RED.hooks 2020-09-29 12:19:27 +01:00
Nick O'Leary 08148a07b2
Update Node/Flow to trigger msg routing hooks 2020-09-29 12:19:27 +01:00
Nick O'Leary 27c0e45940
Remove unused router component 2020-09-29 12:19:27 +01:00
Nick O'Leary bdd736315a
Add RED.hooks engine 2020-09-29 12:19:27 +01:00
Nick O'Leary d57ec0cd53
Refactor lib/flows code to include initial router component 2020-09-29 12:19:26 +01:00
Nick O'Leary 952c9d8bdb
Upgrade to latest nodemon to fix restart
The grunt-nodemon module we were using is no longer
maintained and is stuck on a 1.x version of nodemon.

At that version, node-red doesn't restart properly
due to our increased signal handling in the core.

This change removes grunt-nodemon and replaces it
with nodemon itself, with a custom task to wrap it
that does the same work as grunt-nodemon was doing.
2020-09-29 12:11:10 +01:00
Nick O'Leary cf84ec78fa
Allow trigger node delay to be overridden with msg.delay 2020-09-28 21:10:23 +01:00
Nick O'Leary b595e84c30
Update jsdoc of util.getMessageProperty 2020-09-28 14:26:20 +01:00
Nick O'Leary 6e5f115bd5
Improve jsdoc of util.getObjectProperty to clarify thrown error
See #2703
2020-09-28 14:23:23 +01:00
Nick O'Leary a1ab00c93e
sort package dependencies 2020-09-28 14:13:53 +01:00
Nick O'Leary 6e5c4e832e
Update dependencies 2020-09-28 11:58:22 +01:00
Nick O'Leary 48ea487974
Update changelog 2020-09-28 11:40:38 +01:00
Nick O'Leary 54dc98a90b
Merge pull request #2035 from node-red/simple-git
Add option for simplified git workglow
2020-09-28 11:39:17 +01:00
Nick O'Leary c5bdd3d056
Allow user to manage project version string 2020-09-28 11:30:46 +01:00
Nick O'Leary 64d6e1f8e1
Changing timing in trigger node test 2020-09-28 10:50:19 +01:00
Nick O'Leary 69d60ffb24
Add simplified git workflow to auto-commit changes 2020-09-28 10:41:33 +01:00
Nick O'Leary e6ffa3d143
Cache settings when doing initial load 2020-09-28 10:41:05 +01:00
Nick O'Leary bb4330e486
Clone settings before passing to storage layer
Avoids the storage layer modifying the in-memory object
2020-09-28 10:40:03 +01:00
Nick O'Leary 1a4d720978
Improve timings in trigger node test 2020-09-25 23:32:59 +01:00
Nick O'Leary 91c2f479bb
Fix settings file migration test 2020-09-25 18:29:47 +01:00
Nick O'Leary b61701fa17
Remove UI tests from travis config 2020-09-25 18:00:32 +01:00
Nick O'Leary cb9f910642
Update changelog 2020-09-25 17:19:02 +01:00
Nick O'Leary 4b8d07f301
Merge branch 'pr_2644' into dev 2020-09-25 17:11:39 +01:00
Nick O'Leary 2db3a4f1ef
Add unit tests for function node init code 2020-09-25 17:11:10 +01:00
Nick O'Leary ead1f65887
Disable selection FA icons when dbl clicking node 2020-09-25 16:03:21 +01:00
Nick O'Leary aae9866866
Update changelog 2020-09-25 15:58:33 +01:00
Nick O'Leary 085ff84bc9
Merge pull request #2704 from node-red/split-config
Split .config.json into separate files
2020-09-25 15:56:32 +01:00
Nick O'Leary e12975cf0b
Do not remove old config.json file to ease downgrade path 2020-09-25 15:50:26 +01:00
Nick O'Leary a33cf6b532
Merge branch 'master' into dev 2020-09-25 11:53:37 +01:00
Nick O'Leary 5be25d9538
Merge branch 'pr_2705' 2020-09-25 11:53:15 +01:00
Nick O'Leary 2b29eeb795
Add unit test for module path 2020-09-25 11:52:48 +01:00
t.kawamorita 785561a0cc fix getModuleFiles function 2020-09-25 11:58:03 +09:00
Nick O'Leary b46dc88346
Update changelog 2020-09-24 18:12:52 +01:00
Nick O'Leary 96d81ef72b
Add slight delay to fix config.json file tests 2020-09-24 16:54:24 +01:00
Nick O'Leary 81dc3de26a
Ensure errors in ACE NRJavaScript mode are on valid lines
In the case of an "Unmatched {" error, it flags the { on
the line we wrap the user's code in. That doesn't help the
user.

This fix moves such an error to the first valid { in the file.

It handles ignoring { in comments or strings. It fails to ignore
{ inside regex. But that's an edge case on top of an edge case.
2020-09-24 16:29:05 +01:00
Nick O'Leary 4d0c572c2e
Fix .config.json unit tests 2020-09-24 15:42:52 +01:00
Nick O'Leary fb2da0ee9e
Split .config.json into separate files 2020-09-23 17:29:09 +01:00
Nick O'Leary b8b0247717
Default flowFilePretty to true if projects enabled 2020-09-23 10:57:58 +01:00
Nick O'Leary 103e212aee
Fix size of context sidebar refresh toggle buttons 2020-09-22 23:44:10 +01:00
Nick O'Leary 2f33575907
Merge branch 'dev' of github.com:node-red/node-red into dev 2020-09-21 20:12:42 +01:00