Dave Conway-Jones
1921796d6d
slight inject css adjust to line up text
2018-01-15 09:02:52 +00:00
Dave Conway-Jones
5307c74f85
remove inject node at specific time spinner
...
to close #1406
perform better validation / truncation of input for crontab,
adult spacing on page to be less cramped/more aligned
2018-01-14 22:16:51 +00:00
Nick O'Leary
41582045d0
Tidy-up inject node once-timer on close
2018-01-13 21:17:14 +00:00
Dave Conway-Jones
7b1787fdbb
Debug to status option ( #1499 )
...
* 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
2018-01-13 16:14:03 +00:00
Colin Law
71fee0025d
Add description of Timeout field in exec node info tab ( #1550 )
2018-01-13 15:33:15 +00:00
Klaus Landsdorf
4ff6e792cd
Inject node - let once delay be editable ( #1541 )
...
* 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
2018-01-11 21:50:53 +00:00
Nick O'Leary
9ba011003a
Merge branch 'master' into 0.18
2018-01-11 21:20:51 +00:00
Hideki Nakamura
207d3d3340
Clear debug message when switching projects ( #1523 )
...
* Clear debug sidebar when switching project
* Delete a unnecessary comment
* Clear any filters the users has enabled
* Clear filter settings only when the user opens a project
2018-01-05 16:13:02 +00:00
Colin Law
a868cb97d9
Move all node.send to end of timer functions in trigger node (issue #1527 ) ( #1539 )
2018-01-02 08:28:08 +00:00
Dave Conway-Jones
f737ea96f3
Don't send message if it doesn't exist. and give it time not to exist.
...
to close #1527
2017-12-19 17:54:26 +00:00
Dave Conway-Jones
256e5360d4
ensure core node labels are italic when named ( #1498 )
2017-12-06 22:47:13 +00:00
Ross Cruickshank
f21c8154ed
enable template config via msg.template for stored or generated templates ( #1503 )
...
* 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
2017-12-05 12:24:06 +00:00
Nick O'Leary
64191e8303
Merge master to 0.18
2017-12-03 22:32:28 +00:00
Nathanaël Lécaudé
f09e61a59a
Added parsed YAML support for template node ( #1443 )
2017-11-30 13:38:50 +00:00
Dave Conway-Jones
cc88ebd2b9
Let trigger node support per topic mode ( #1398 )
...
* 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
2017-11-17 17:35:18 +00:00
Dave Conway-Jones
f39d9d6f1b
clone messages before delayed send ( #1474 )
...
and accept floats for delay interval.
2017-11-17 17:27:29 +00:00
Dave Conway-Jones
2b9aa94f3a
Add rc property to exec node outputs 1 and 2 ( #1401 )
...
* 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
2017-11-02 16:55:44 +00:00
Hiroki Uchikawa
22772ca33e
Fix debug message format for Buffer ( #1444 )
...
and add a test case
2017-10-23 12:13:28 +02:00
Hiroyasu Nishiyama
23c2a771d3
fixed unmatched HTML tags ( #1437 )
2017-10-11 13:31:37 +01:00
Dave Conway-Jones
58a890e836
completely remove unnecessary callback
...
to Fix #1436
2017-10-11 08:52:28 +01:00
Dave Conway-Jones
6a869e120c
speed up debug window - only process required number of messages ( #1378 )
...
* speed up debug window - only process required number of messages
* tiny optimisation to debug utils stack handler
* remove unnecessary callback
(and rename function)
2017-10-10 21:53:25 +01:00
Dave Conway-Jones
ae7c298b1a
let default apply if msg.delay not set in override mode. ( #1397 )
...
* let default apply if msg.delay not set in override mode.
* Update tests to match
* allow msg.delay to be 0 if wanted
and test for that
2017-10-10 21:40:09 +01:00
Kazuhito Yokoi
ef53dca062
Handle escape characters in template node which uses Mustache format and JSON output mode ( #1377 )
...
* 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
2017-09-21 13:38:45 +01:00
Nick O'Leary
85392496e7
Allow setTimeout in Function node to be promisified in node 8
2017-09-12 15:13:13 +01:00
Dave Conway-Jones
a844ca161f
Spinner fixes ( #1371 )
...
* Fix for function node invalid spinner values
to close #1370
* better validation of spinners for inject and delay
(don’t allow negative numbers)
* remove need for declaring local min variable
2017-08-21 22:00:23 +01:00
Nick O'Leary
4a2e3586f1
Allow delay node in rate-limit mode to be reset
...
Fixes #1360
2017-08-04 21:09:00 +01:00
Nick O'Leary
eaf08a9971
Keep local/remote diff objects in sync as they expand
2017-07-31 23:29:36 +01:00
Kazuhito Yokoi
a40b3dd377
Modify messages in node properties to refer messages.json ( #1339 )
2017-07-19 13:50:34 +01:00
Kazuhito Yokoi
3a2f56cb95
Fix column name in link nodes to refer language file ( #1330 )
2017-07-07 11:43:07 +01:00
Nick O'Leary
a4d33879dc
Use namespaces with link node title attributes i18n name
...
Fixes #1329
2017-07-06 17:57:53 +01:00
Nick O'Leary
266274135e
Handle importing only one end of a link node pair
2017-07-04 23:40:37 +01:00
Nick O'Leary
a10439b67c
Make sending to Debug synchronous again
...
Fixes #1323
Being asynchronous meant the msg that was eventually sent to
Debug could be a modified version from later in the flow, if
the flow was other synchronous.
2017-07-04 23:30:51 +01:00
Nick O'Leary
f7bb4a7d60
Expose context.keys within Function node
2017-07-04 14:52:14 +01:00
Nick O'Leary
92654a71fb
Remove unused oldDepth from Delay node
2017-07-03 21:27:45 +01:00
Nick O'Leary
18615640e0
Update delay node status without spawning unecessary intervals
2017-07-03 21:23:14 +01:00
Nick O'Leary
b8c80a2310
Avoid stringify ServerResponse and Socket in Debug node
...
Fixes #1311
2017-07-03 20:55:04 +01:00
Nick O'Leary
d8a3d2793f
Trigger node not handling a duration of 0 as block mode
...
Fixes #1316
2017-07-03 15:20:37 +01:00
Nick O'Leary
6201ed4d55
Prevent event thread contention when sending to Debug node
...
Closes #1311
2017-07-01 22:01:56 +01:00
Nick O'Leary
fd93fef73e
Better template node help example
2017-06-27 21:53:12 +01:00
Dave Conway-Jones
d99432bff1
Use correct Buffer.from method rather than constructor
...
exec, tcp, ump and file nodes
2017-06-27 17:11:36 +01:00
Nick O'Leary
df9e50445e
Merge branch 'master' into 0.17
2017-06-26 10:18:42 +01:00
Dave Conway-Jones
a824caf712
update core nodes to use newer Buffer syntax
2017-06-24 13:53:45 +01:00
Dave Conway-Jones
395210e4f0
destroy editor to ensure fully removed on close (function, template, comment)
...
to close #1279
2017-06-24 12:15:03 +01:00
Simon Asp
adebdf36a5
Bug fix in exec node. White spaces in arguments now works ( #1285 )
2017-06-18 11:55:39 +01:00
Dave Conway-Jones
f12031ee9e
redo delay node status messages to be interval based
2017-06-14 22:25:44 +01:00
Nick O'Leary
d9dc171c28
Add buffer mode to typedInput
2017-06-13 21:01:27 +01:00
Dave Conway-Jones
d407f31ae5
stop delay node spamming web socket (when in fast rate limit mode)
2017-06-09 19:42:12 +01:00
Nick O'Leary
7502a2b1ff
Update trigger help
2017-06-05 14:01:24 +01:00
Dave Conway-Jones
ef90f19eaa
Make exec node explicitly call SIGTERM for default
2017-06-05 09:47:42 +01:00
Nick O'Leary
b44e70115b
Delay/Range node help tidy up
2017-05-26 14:27:53 +01:00
Nick O'Leary
ac31957707
Update delay node ui
2017-05-26 13:51:58 +01:00
Nick O'Leary
479b18354d
More core node info help tidy up
2017-05-24 16:55:53 +01:00
Nick O'Leary
dfe1cd4f90
Tidy up more core node help text
2017-05-23 17:26:23 +01:00
Nick O'Leary
bd14acb68a
Change debug message menu icon
2017-05-22 22:21:52 +01:00
Nick O'Leary
2a3e355437
Add per-node filter option to Debug pane
2017-05-22 11:35:55 +01:00
Nick O'Leary
8a7bb1be9f
Log error when non-msg-object is returned from a Function
2017-05-15 13:54:05 +01:00
Nick O'Leary
a5ade39d7c
Fix selection of link nodes
2017-05-13 22:39:06 +01:00
Nick O'Leary
080469cdf5
Ensure debug node marked changed when button pressed
2017-05-12 22:35:29 +01:00
Nick O'Leary
835ad29417
Fix pop-out debug window for all the recent updates
2017-05-12 22:22:47 +01:00
Nick O'Leary
c09bea4710
Add debug message menu
2017-05-12 22:12:55 +01:00
Nick O'Leary
5feb07583b
Don't include msg. in debug message copied paths
2017-05-12 10:19:50 +01:00
Dave Conway-Jones
49389d6f06
Add new msg.delay option to delay node
...
and msg.reset to clear/fluch existing delays
2017-05-11 16:13:40 +01:00
Nick O'Leary
e79da408a8
Allow debug msg elements to be pinned
2017-05-11 15:08:10 +01:00
Nick O'Leary
61e0e50e7b
Remove unused modified flag on debug messages
2017-05-10 16:11:26 +01:00
Nick O'Leary
00460d856b
Add copy path/value buttons to debug messages
2017-05-10 15:49:56 +01:00
Dave Conway-Jones
45fbd22e28
Update some core nodes info
2017-04-24 20:37:06 +01:00
Nick O'Leary
4689d56955
Allow a node to decide for itself if its button should be enabled or not
...
This means:
1. an Inject node that has only been moved can still inject
2. the Debug node is now marked as changed when its button is clicked
which, without this fix, then prevented the button from being
clicked to toggle its state again
2017-04-23 23:20:50 +01:00
Nick O'Leary
b6510d66e0
Update debug node to register the settings it uses
2017-04-22 09:03:52 +01:00
Nick O'Leary
bb2649d063
Ensure ace editor instances are freed if edit cancelled
2017-04-21 09:05:03 +01:00
Dave Conway-Jones
a281b8c74e
Make exec node spawn and exec outputs more consistent
...
(with an option to revert if necessary)
and new info docs
2017-04-13 11:36:54 +01:00
Nick O'Leary
bfb548636e
Merge branch 'master' into 0.17
2017-04-11 14:53:44 +01:00
Nick O'Leary
301ac279ff
Handle IncomingMessage/ServerResponse object types in debug
...
Fixes #1202
2017-04-10 21:59:59 +01:00
Nick O'Leary
62876ca377
Toggling debug node enabled/disabled state should set state dirty
...
Fixes #1203
2017-04-10 16:11:01 +01:00
Nick O'Leary
624befd704
Restructure info tab
2017-04-06 23:17:30 +01:00
Nick O'Leary
262db23f7d
First pass of new node-info style
2017-04-05 16:19:23 +01:00
Dave Conway-Jones
3f349c3531
remove requirement for cmd in exec node config + new style info
2017-03-29 21:44:58 +01:00
Dave Conway-Jones
9928e8562a
let inject "between time" also fire at start - Plus new info
2017-03-24 14:01:26 +00:00
Dave Conway-Jones
b1e3fc5761
remove repeat symbol from inject if repeat is 0
2017-03-23 22:04:53 +00:00
Dave Conway-Jones
27b7fb54e8
nail trigger test for windows AND linux
2017-03-06 19:06:10 +00:00
Dave Conway-Jones
c6436f47eb
let exec node take msg.kill SIG... param and pid param
...
and redo test
2017-03-06 15:27:29 +00:00
Dave Conway-Jones
4a8a5ed8d4
Add port labels to inject node (to show types)
2017-03-03 10:21:07 +00:00
Dave Conway-Jones
c4554b71d3
Add link label value as portLabels
2017-03-02 23:12:06 +00:00
Nick O'Leary
6cf53c611b
merge exec fixes
2017-03-02 13:41:01 +00:00
Nick O'Leary
d8720ee325
Third output from Exec node must be consistent for success/failure conditions
2017-03-02 13:34:01 +00:00
Nick O'Leary
73501f3ad3
Resync with master
2017-03-01 17:45:09 +00:00
cinhcet
ee0bd49918
exec node returns 0 on the third output if command ended without error. ( #1160 )
...
* exec node returns 0 on the third output if command ended without error.
Otherwise, the status of the node is updated and the error code is send through the third output.
* info text updated and the second output returns only something if stderr is not empty
* proper stderror handling
* proper handling of stderr
2017-02-22 22:22:06 +00:00
Nick O'Leary
fbd159a23a
Add placeholder text on label inputs and clear buttons
2017-02-08 10:48:26 +00:00
Nick O'Leary
d7c516ab00
Port label editor starting point
2017-02-08 10:48:24 +00:00
Dave Conway-Jones
ada8e447cc
exec node can be killed on demand
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
1841fc18fa
let trigger node set repeated outputs
2017-02-07 21:14:16 +00:00
Nick O'Leary
d008b1970c
Add option to parse Template result as JSON before sending
2017-01-25 17:12:53 +00:00
Nick O'Leary
7759aacb35
Ensure custom mustache context parent set in Template node
...
fixes #1126
2017-01-23 15:34:34 +00:00
Nick O'Leary
fd6f7cd881
Display debug node name in debug panel if its known
2017-01-23 13:57:06 +00:00
Nick O'Leary
5349bf7628
Don't filter debug properties starting with _
...
Fixes #1117
2017-01-14 21:34:09 +00:00
Nick O'Leary
a79e4d1bb3
Node logged errors not displayed properly in debug pane
...
Fixes #1116
2017-01-14 21:33:11 +00:00
Nick O'Leary
0a96259ddf
Update copyright header for JS Foundation
2017-01-11 15:24:33 +00:00
Nick O'Leary
ce6594c8cc
Do not tie debug src loading to needsPermission
...
Fixes #1111
2017-01-10 09:43:46 +00:00
Nick O'Leary
0e362943bf
Add option to colourise debug console output
...
Closes #1103
2017-01-08 22:38:40 +00:00
Nick O'Leary
aafcfef387
Add property validation to nodes using typedInput
2017-01-06 23:18:50 +00:00
Nick O'Leary
4b83d8160f
Add common validator for typedInput fields
...
Closes #1104
2017-01-06 22:20:09 +00:00