Commit Graph

429 Commits

Author SHA1 Message Date
Nick O'Leary ff18618032
Highlight subflow node when log msg comes from inside
Fixes #1698
2018-04-17 12:44:58 +01:00
Dave Conway-Jones a327fd85e2
Fix template to default typed input field
to close #1697
2018-04-16 11:14:15 +01:00
Dave Conway-Jones 9d22a86ec8
fix typo in switch label, make function label consistent 2018-04-16 11:12:21 +01:00
Dave Conway-Jones 89bfc90f40
Make core nodes labels more consistent, to close #1673
and make them translateable
2018-03-30 14:31:59 +01:00
Nick O'Leary f31f23ff07
Allow template node to be updated more than once
Fixes #1671
2018-03-27 10:14:39 +01:00
Nick O'Leary 98f7271ac8
Merge pull request #1657 from node-red-hitachi/move-i18n-info-text
move i18n info text of core nodes under nodes/core/locales directory
2018-03-20 20:44:54 +00:00
Dave Conway-Jones 087cd121b8 add debug and trace to function node (#1654) 2018-03-20 20:40:36 +00:00
Nick O'Leary 3b12076d4b
Ignore subflow debug nodes when building filter
Fixes #1660

As the editor doesn't know the ids of subflow instance debug nodes
there's no easy way to build a list of them as part of the filter
options. So for now, disable the filter option if we don't know
about the debug node.
2018-03-03 22:41:02 +00:00
Hiroyasu Nishiyama 341ff9bf5c move i18n info text of core nodes under nodes/core/locales directory 2018-03-03 10:39:11 +09:00
Nick O'Leary 2029f6ea0a
Merge pull request #1638 from node-red-hitachi/i18n-info-jp
add Japanese info text of core nodes
2018-02-22 18:01:56 -08:00
Dave Conway-Jones fdae75c99b
ensure trigger gets reset when 2nd output is null
to fix #1644
2018-02-21 21:56:03 +00:00
Hiroyasu Nishiyama cad34742f6 merge i18n-info-jp-core 2018-02-15 22:46:18 +09:00
Hiroyasu Nishiyama e147fbb1fa add Japanese info text for core category nodes 2018-02-11 20:52:44 +09:00
Hiroyasu Nishiyama 3b7bf04e22 fix typo in info text of DELAY node 2018-02-11 02:07:51 +09:00
Dave Conway-Jones a596a4551a
undo exec node change (investigate test fail) 2018-02-06 11:42:33 +00:00
Dave Conway-Jones 5931e13b9c
move node.send in exec and httprequest nodes
just in case
2018-02-06 11:36:13 +00:00
Dave Conway-Jones 08bd6d963c
Ensure send is last thing trigger does 2018-02-04 21:25:25 +00:00
Dave Conway-Jones ff05fb14a6
ensure trigger doesn't set two simultaneous timeouts 2018-02-04 20:17:43 +00:00
Dave Conway-Jones a52f195d41
undo dumb non-fix to trigger. 2018-02-02 10:28:22 +00:00
Dave Conway-Jones 419019a656
add check for property to trigger (temporary fix for debug) 2018-02-02 10:23:28 +00:00
Dave Conway-Jones bf5d741f0d
Trigger node migration - ensure bytopic not blank 2018-02-01 09:21:16 +00:00
Dave Conway-Jones 57ebb93dc0
trigger node - add mention of per topic capability to info. 2018-01-30 11:16:04 +00:00
Nick O'Leary 2cea3b6435
Merge pull request #1557 from node-red/inject-node-spinner-and-hours-fixes
remove inject node at specific time spinner
2018-01-25 13:51:27 +00:00
Nick O'Leary b7a0a9d7c2
Merge branch 'master' into 0.18 2018-01-24 23:08:14 +00:00
Nick O'Leary 84711beec0
Merge branch '0.18' into projects 2018-01-22 23:17:28 +00:00
Dave Conway-Jones 00dcb304c7
add default values as placeholders to trigger so no-one is suprised. 2018-01-21 11:49:06 +00:00
Dave Conway-Jones 9bc72c1a06 let trigger node be reset by boolean message (#1554)
* let trigger node be reset by boolean message

with test

* fix trigger node boolean reset check to work with false

and add test
2018-01-17 09:51:53 +00:00
Dave Conway-Jones 558a66fbe5
restrict inject interval to less that 2^31 millisecs
(596 hrs, 24 days) to stop overflow causing fast loop. (defaults to 0)
to close #1485
2018-01-17 09:35:47 +00:00
Nick O'Leary 25f4a018d9
Merge branch '0.18' into projects 2018-01-16 11:21:54 +00:00
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