* Let debug optionally target the status line (32 chars only)
* Add batching of messages to debug ws comms
* let Debug handle simple case of NaN
would also close#1530
* Fixup debug tests for batch comms (no new tests yet)
* mixup comms/api test to match new batch mode (no new tests)
* Add test for NaN being sent OK.
* redo original fix to padding / labels for new debug options
* fix debug test (re-add fix from #1444)
* Fix up merge issues in debug tests
* inject once with delay
* test for inject delay at once works
* give access to the once delay of the inject node
* change event not needed in HTML
* code review with Dave
* rename test
* tests for default and optional delay
* test once with delay and repeat
* initial support of SORT node
minor fix of sort node
fixed error message of sort node
fixed error handling of SORT node
add test case for SORT node
make limit of messages count computed once in SORT node
* update type in message & info description
* fix handling of pending messages in SORT node
* initial support of SORT node
minor fix of sort node
fixed error message of sort node
fixed error handling of SORT node
add test case for SORT node
make limit of messages count computed once in SORT node
* update type in message & info description
* updates to 80-template to allow setting template with msg.template
* updated 80-template_spec test for msg.template support
* fixed 80-template.js test
* Let trigger node support per topic mode
* ensure trigger node clones repeating message
* Add some tests for trigger by topic
* test trigger repeat for pass by ref error
* trigger test - add missing try/catch to all test with callback
* boost trigger node test coverage
* Call fsync() before closing file
* Fix race condition in tests due to incorrect stub.
The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().
In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.
* Test coverage for fsync() calls
For issue #1478
* Revert "Fix race condition in tests due to incorrect stub."
This reverts commit 4f71d7851b.
* Fix race condition in tests due to incorrect stub.
The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().
In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.
* Fix intermittent test failure in Exec node.
Occasionally, the error text on stderr will come in more than one piece. The test only worked correctly if a single message was received.
* Add rc property to exec node outputs 1 and 2
to close#1399
* improve test coverage and add tests for new msg.rc
* make spawn test slightly more robust to different environments
* added debug for spawn test
* let spawn error test be even more relaxed
* don't necessarily clone msg.payload in exec node stderr
as per suggestion
* Fix a problem of file append test on Windows
* Skip the test case of file node that fails on Windows
* Remove close() call
* Fixed a recreated file test case on Windows
* Handle escape characters in template node which uses Mustache format and JSON output mode
* Handle escape characters in template node which uses Mustache format and JSON output mode
* Make theme able to load custom javascript
- Look for the field 'customScript' in editorTheme (settings.js)
- Add it to mustach context
- Load list on template side (index.mst)
* Add unit tests for customScripts
* Code review edits : generic behavior for theme.page.[css|scripts]
- Use the same way to share css and javascript files from a theme
- Allow string instead of array for theme.page.scripts
- Remove old customScript field
* Resolve dir argument of getLocalNodeFiles function
The getLocalNodeFiles is called 3 times. Each time it called, the callee needs to resolve the dir argument.
That was not done for several of calls, and local modules (specified in the "nodesDir" setting) were not returned to client because of that.
This fix will allow to make sure the dir is consistently resolved.
* Several changes in "localfilesystem_spec.js":
- Changed checkNodes to verify that every node's file property is resolved, i.e. containst absolute path, not relative.
- Added a unit-test "Finds nodes in settings.nodesDir (string,relative path)"