Nick O'Leary
d47906b525
Simplify example https settings
2020-06-25 20:10:26 +01:00
JIYE YU
13a59a882e
update zh-CN translation for editor-client
2020-06-25 18:31:36 +09:00
Nick O'Leary
07585f01e3
Ensure all examples are consistently named
2020-06-24 14:43:27 +01:00
Nick O'Leary
5042137006
Merge branch 'pr_2585' into examples
2020-06-24 13:50:50 +01:00
Nick O'Leary
a2ea79130c
Merge branch 'pr_2550' into examples
2020-06-24 13:49:56 +01:00
Nick O'Leary
979401f3ac
Merge branch 'pr_2549' into examples
2020-06-24 13:49:33 +01:00
Nick O'Leary
4c98db2269
Outliner - add empty item when last config node moved
2020-06-24 13:18:46 +01:00
Nick O'Leary
209c5f337c
Join node - clear timeout when msg.reset received
...
Fixes #2471
2020-06-24 10:02:42 +01:00
Nick O'Leary
8080ed4787
Merge pull request #2623 from node-red-hitachi/update-subflow-message-jp
...
Update subflow message jp
2020-06-23 16:18:36 +01:00
Hiroyasu Nishiyama
fb2d185c5f
fix typedInput error on empty subflow input types
2020-06-23 09:24:29 +09:00
Hiroyasu Nishiyama
f2d696b48e
update JP message catalogue for subflow input type
2020-06-23 08:39:44 +09:00
Dave Conway-Jones
5596d2df8e
catch tiny possible escape for "\n " in exec command node label.
2020-06-22 22:41:22 +01:00
Dave Conway-Jones
b72ca439e2
Fix tcp in node finishing packets when in streaming base64 receive mode.
2020-06-22 22:40:15 +01:00
Nick O'Leary
432ed264c2
Remove hardcoded css
...
Fixes #2603
2020-06-22 20:39:41 +01:00
Nick O'Leary
0a411cbe4f
Fix node button mouse pointer css
2020-06-22 14:37:52 +01:00
Nick O'Leary
581f71911a
Change node linebreak handling to use "\n "
2020-06-22 13:08:35 +01:00
Nick O'Leary
e548bf8bc2
Handle import of node with non-default number of outputs
2020-06-22 10:43:09 +01:00
Nick O'Leary
1d944bab51
Improve display of focussed form element
2020-06-18 22:25:19 +01:00
Nick O'Leary
6f407750f5
Fix clearing group label
2020-06-18 22:25:00 +01:00
Nick O'Leary
19ffe8f308
Default group label to be shown and improve toggle button
2020-06-18 22:24:44 +01:00
Nick O'Leary
c9069d472f
Make color/icon/label-pos pickers keyboard navigable
2020-06-18 22:23:50 +01:00
Nick O'Leary
68d3cc7507
Fix node toggle button initial opacity
2020-06-18 10:18:35 +01:00
Nick O'Leary
0c90376752
Align node labels on FF
...
FF doesn't seems to use alignment-baseline CSS class in the same
way Chrome does. Switched to domintant-baseline.
2020-06-18 10:11:22 +01:00
Hiroyasu Nishiyama
f5eb832cd2
merge template node example #1 and #4
2020-06-18 14:03:33 +09:00
Hiroyasu Nishiyama
c3a058a479
fixed switch node example#8 imported as flow
2020-06-18 13:56:01 +09:00
Hiroyasu Nishiyama
bc87210ce3
change scale and limit to limit and fixed typo
2020-06-18 13:35:09 +09:00
Hiroyasu Nishiyama
d595eb2614
change exec node example to use echo command and merge two examples
2020-06-18 13:12:58 +09:00
Hiroyasu Nishiyama
cb4d118ccc
remove delay node example#6 from cookbook
2020-06-18 11:25:05 +09:00
Hiroyasu Nishiyama
62c723866a
fix typos
2020-06-18 10:41:36 +09:00
Nick O'Leary
c9e54f2ba9
Bump for 1.1.0-beta.3
2020-06-17 10:54:15 +01:00
Nick O'Leary
e2c86c4b96
Fix wiring nodes from input back to output
2020-06-17 10:52:41 +01:00
Nick O'Leary
4469a334fd
Fix sometimes unable to keyboard-move group to left/up
2020-06-17 09:57:25 +01:00
Nick O'Leary
aca379db6e
Fix group position in outliner
2020-06-16 20:48:28 +01:00
Nick O'Leary
9ce5210c33
Handle unknown nodes with no icon
2020-06-16 20:34:45 +01:00
Nick O'Leary
4dd68452b4
Prevent node creep when switching tabs
2020-06-16 20:23:18 +01:00
Nick O'Leary
714b3d3fe0
Bump version to 1.1.0-beta.2
2020-06-16 15:21:03 +01:00
Nick O'Leary
2378e0d961
Fix up linting in search.js
2020-06-16 15:08:30 +01:00
Kazuhito Yokoi
52eb158231
Add Japanese translations for outliner, jsonata and runtime
2020-06-16 21:32:10 +09:00
Nick O'Leary
aebb7da3c7
Fix deleting node in group after changing selection
2020-06-16 10:54:50 +01:00
Nick O'Leary
56efd51c06
Fixup padding of quick-add search box
2020-06-15 22:31:47 +01:00
Nick O'Leary
76728d1783
Move config nodes under type-level hierarchy in outline
...
Also adds user-count label and button to open search
2020-06-15 22:31:47 +01:00
Nick O'Leary
5b1fe9aa0a
Emit nodes:change event for config node users list modified
2020-06-15 22:31:47 +01:00
Nick O'Leary
ebca8c0217
Increase group margin to avoid clash with status text
2020-06-14 23:44:26 +01:00
Nick O'Leary
752a080876
Fix event order when quick-adding node to group
2020-06-14 23:44:01 +01:00
Nick O'Leary
0541d9189d
Switch RED.events.DEBUG messages to warn to get stacktraces
2020-06-14 23:43:15 +01:00
Nick O'Leary
0e454b08c8
Fix empty item handling for subflows/config in outliner
2020-06-14 22:46:59 +01:00
Nick O'Leary
2d0ca20a03
Fix search indexing of group nodes
2020-06-14 22:46:46 +01:00
Nick O'Leary
61d9ccf263
Avoid regenerating every node label on redraw
2020-06-13 23:02:10 +01:00
Hiroyasu Nishiyama
1c30584153
fix code indentation
2020-06-13 23:33:45 +09:00
Hiroyasu Nishiyama
5c5bebd689
fix handling of multi-line node label
2020-06-13 23:28:10 +09:00
johanneskropf
d9548a2891
moved check for shell
2020-06-12 17:14:11 +02:00
johanneskropf
d25e027201
moved building of execOpt object to line 36
2020-06-12 17:10:31 +02:00
Nick O'Leary
93211470d1
Merge pull request #2611 from node-red-hitachi/fix-group-merge-activation
...
Disable group merge for single item or non-group items
2020-06-12 08:50:12 +01:00
Nick O'Leary
b5800205c4
Merge pull request #2610 from node-red-hitachi/fix-charAt-error-on-undefined
...
Fix char at error on undefined when opening websocket-listner
2020-06-12 08:49:34 +01:00
Nick O'Leary
eeebf04509
Merge pull request #2609 from node-red-hitachi/fix-remove-from-group
...
fix empty placeholder not shown on remove from group
2020-06-12 08:49:09 +01:00
Hiroyasu Nishiyama
5e8e739f78
fix position of empty group with multi-line label
2020-06-12 16:07:46 +09:00
Hiroyasu Nishiyama
a15adc43af
merge code for checking menu activation
2020-06-12 09:54:11 +09:00
Hiroyasu Nishiyama
07556592c1
disable merge group menu for single item or non-group item
2020-06-12 08:42:15 +09:00
Hiroyasu Nishiyama
7694349078
prevent charAt call on websocket listener
2020-06-11 23:00:56 +09:00
Hiroyasu Nishiyama
4f3cb3103e
make treelist of subflow/config nodes initialy has empty placeholder
2020-06-11 22:18:31 +09:00
Hiroyasu Nishiyama
842cd1ecf0
fix empty placeholder not shown on remove from group
2020-06-11 09:57:43 +09:00
Nick O'Leary
81a4f42673
Merge pull request #2607 from node-red-hitachi/fix-stringify-error
...
prevent conversion of circular structure
2020-06-10 13:38:32 +01:00
Hiroyasu Nishiyama
152e695f4c
prevent conversion of circular structure
2020-06-10 19:56:16 +09:00
Nick O'Leary
5a0c10b80e
Handle null status text in the editor
...
Fixes #2606
2020-06-10 10:58:44 +01:00
johanneskropf
06adf3d346
use bash as shell for exec command if on linux
...
This relates to:
https://github.com/node-red/node-red/issues/2604
and
https://discourse.nodered.org/t/exec-node-timeout-not-working-in-exec-mode/28040
and is a possible workaround for most issues related to kill described there.
This has only been tested on linux where this change applies so it would most definitely need more testing on windows/mac and maybe linux distributions where there is no bash(?).
2020-06-10 11:24:56 +02:00
Nick O'Leary
7be824640c
Fix snapToGrid
2020-06-10 01:02:48 +01:00
Nick O'Leary
c061487a16
Massively reduce our dependency on d3 to render the view
...
This is a slightly scary set of changes to be making. It overhauls
how the view is rendered.
Rather than use d3 for every single part of generating the view,
we new use native DOM functions as much as possible.
d3 is still used for the basic heavy lifting of working out what
nodes/links etc need to be added/removed from the view. But once
it comes to rendering them, d3 is side-lined as much as possible.
There's room for further improvement. This change focusses on Nodes
and Links. It has not touched groups, subflow-ports and link-nodes.
2020-06-10 00:45:20 +01:00
Nick O'Leary
97fd34150f
EditableList/TreeList - defer adding elements to DOM
...
Whenever a DOM element is modified, it causes the browser to re-examine
the whole hierarchy around the element to see if anything needs to change.
This can cause a lot of extra work if an element is added to the DOM and
then a lot of updates are applied to the element.
It is much better to get the element as close to its final state as
possible *before* adding it to the DOM.
2020-06-10 00:42:11 +01:00
Nick O'Leary
6d294a0c74
Prevent RED.stop being called multiple times if >1 signal received
2020-06-09 08:23:12 +01:00
Nick O'Leary
fe4ef354ac
Flag a node as removed when it is disabled
2020-06-08 20:59:00 +01:00
Nick O'Leary
d28b8b5e8d
Some performance improvements for TreeList
2020-06-08 17:13:05 +01:00
Nick O'Leary
f2b30d9a3f
Resize info/help sidebars whenever sidebar is opened
2020-06-08 13:17:06 +01:00
Nick O'Leary
0a614f2741
Add search defaults to outliner searchBox
2020-06-08 12:02:21 +01:00
Nick O'Leary
a9fb50787b
Add search presets option to searchBox widget
2020-06-08 12:01:29 +01:00
Nick O'Leary
ce7d7a8e01
Add RED.popover.menu as a new type of menu widget
2020-06-08 12:01:05 +01:00
Nick O'Leary
7006c00233
Add support for is:XYZ search flags
...
- is:unused
- is:config
- is:subflow
- is:invalid
2020-06-08 11:55:24 +01:00
Nick O'Leary
21866634b3
Track subflow instances on the subflow node itself
2020-06-08 11:49:43 +01:00
Nick O'Leary
34dfd50702
Bump node-red-admin 0.2.6
2020-06-06 10:35:07 +01:00
Nick O'Leary
d9502a6c00
Refresh outline filter whenever something changes
...
Fixes #2601
2020-06-05 22:19:46 +01:00
Nick O'Leary
95f7b9205a
Fix Help tab search box appearance
2020-06-05 17:14:25 +01:00
Nick O'Leary
d14d4944a0
Rename Node Information to Information in sidebar
2020-06-05 17:14:08 +01:00
Nick O'Leary
b4b2729e96
Do a sync-redraw after clearing to ensure clean state
2020-06-05 16:56:12 +01:00
Nick O'Leary
299b81f51b
Fix Link node filter
...
Fixes #2600
2020-06-05 16:20:40 +01:00
Nick O'Leary
ad6b18e66f
Make catch/status/complete/link filter case-insensitive
2020-06-05 16:00:02 +01:00
Nick O'Leary
091a462a42
Add 'add' option to touch radialMenu for quick-add dialog
2020-06-05 15:48:45 +01:00
Dave Conway-Jones
cb218a57f1
Merge branch 'dev' of https://github.com/node-red/node-red into dev
2020-06-05 11:22:42 +01:00
Dave Conway-Jones
ba8649117d
ensure trigger node detects changes to number of outputs
2020-06-05 11:22:38 +01:00
Nick O'Leary
20daebd965
Ignore whitespace when checking function setup/close code
2020-06-05 10:36:49 +01:00
Nick O'Leary
7c2786969a
Preserve event handlers when moving outliner items
2020-06-05 09:55:36 +01:00
Nick O'Leary
565aae5967
Add tooltips to outliner buttons
2020-06-05 09:55:36 +01:00
Dave Conway-Jones
16a634063a
Fix debug node status to migrate old nodes to correct default mode.
2020-06-05 09:48:12 +01:00
Nick O'Leary
4c28b5b227
Only validate nodes once they have all been imported
...
This ensures any checks for dependent config nodes will pass
2020-06-04 17:06:29 +01:00
Nick O'Leary
a7a949377b
Ensure configNode.users is updated properly on import
2020-06-04 17:06:11 +01:00
Nick O'Leary
c048b1a25b
Exit with non-0 rc if admin command fails
2020-06-04 11:02:48 +01:00
Nick O'Leary
f7e7f7ed01
Add $moment docs
2020-06-04 09:46:17 +01:00
Nick O'Leary
c8f6100a6a
Assume -d params are strings if they don't otherwise parse
2020-06-04 00:04:41 +01:00
Nick O'Leary
c0f4e07e10
Bump dependencies
2020-06-03 21:26:31 +01:00
Nick O'Leary
3b3a2d4edc
Merge pull request #2592 from node-red/admin-cli
...
Add node-red admin support
2020-06-03 20:59:19 +01:00
Nick O'Leary
43d5df4a12
Merge branch 'dev' into catch-more-signals
2020-06-03 19:26:50 +01:00
JeanCarl Bisson
aa8f4af339
Filter list of nodes on node type
2020-06-03 10:33:35 -07:00
Nick O'Leary
b6fbe7d07d
Merge pull request #2588 from node-red/status-filter-nodes
...
Add compact searchBox to status/catch/complete nodes
2020-06-03 17:29:05 +01:00
Nick O'Leary
bf9d6c7ac4
Bump to node-red-admin 0.2.4
2020-06-03 16:53:45 +01:00
Nick O'Leary
139ae547c6
Add filter to link node
2020-06-03 15:54:51 +01:00
Nick O'Leary
8b252b458c
Merge pull request #2590 from kazuhitoyokoi/dev-addjpnmsg
...
Add Japanese transaltions for http-request node, change node and https refresh logic
2020-06-03 14:31:52 +01:00
Nick O'Leary
efecfa328b
Fix up event handling when deleting groups and tabs
2020-06-03 14:23:26 +01:00
Nick O'Leary
5651e7107f
Bump to 0.2.3 node-red-admin
2020-06-03 10:48:52 +01:00
Nick O'Leary
b6b3ceef4d
Add some proper validation of module/url properties in install api
2020-06-03 10:45:28 +01:00
Nick O'Leary
3e74d75f28
Add node-red admin support
2020-06-02 23:39:36 +01:00
Nick O'Leary
6d737b9e4c
Remove unneeded code on object delete in outliner
...
See https://github.com/node-red/node-red/pull/2578#discussion_r434163293
2020-06-02 22:53:34 +01:00
Nick O'Leary
dec82589d1
Handle missing projects runtime setting
2020-06-02 22:53:05 +01:00
Nick O'Leary
f0193b0f67
Add better messages for 404 errors on admin api
2020-06-02 22:52:22 +01:00
Kazuhito Yokoi
fdf8eb0657
Add japanese transaltions for http-request node and https refresh logic
2020-06-02 14:55:53 +09:00
Nick O'Leary
2ce424b567
Add compact searchBox to status/catch/complete nodes
2020-06-01 21:09:58 +01:00
Nick O'Leary
8995fa9ed1
Update changelog for 1.1.0-beta.1
2020-06-01 14:57:37 +01:00
Nick O'Leary
d7505da997
Merge pull request #2586 from Steve-Mcl/dev
...
Support setting title on typedInput option/ check
2020-06-01 13:29:01 +01:00
Nick O'Leary
4b54a81dfd
Add test cases for setMessageProperty with non-object properties
2020-06-01 13:13:14 +01:00
Nick O'Leary
132254b3a5
Merge branch 'dev' into pr_2439
2020-06-01 11:56:19 +01:00
Steve-Mcl
9128b12960
Support setting title on typedInput option/ check
2020-06-01 11:25:42 +01:00
Nick O'Leary
e9104df047
Merge branch 'dev' into pr_2583
2020-06-01 10:20:40 +01:00
Nick O'Leary
bae52613ab
Merge branch 'master' into dev
2020-06-01 09:38:39 +01:00
Nick O'Leary
18af906fd3
Merge branch 'dev' of github.com:node-red/node-red into dev
2020-06-01 09:37:14 +01:00
Nick O'Leary
d45415ab22
Merge branch 'master' into dev
2020-06-01 09:36:20 +01:00
Hiroyasu Nishiyama
b4c033ca50
add missing inject node examples
2020-06-01 15:20:53 +09:00
Hiroyasu Nishiyama
b67f2d874b
add examples for function category nodes
2020-06-01 14:44:18 +09:00
Sam Machin
a8d8540346
fix for settings.set subsequent updates
...
By cloning the value the assert.deepEqual will now fail even for subsequent updates of the value without restarting Node-RED
2020-05-31 13:44:31 +01:00
Dave Conway-Jones
cbf1afc9fe
turn off installer funding messages
2020-05-31 11:21:53 +01:00
Dave Conway-Jones
8a798e620a
Ensure delay node rate limit timer is cleared on reset
2020-05-30 15:18:15 +01:00
Nick O'Leary
774751a25c
Tweak HTTP Request GET payload handling labels
2020-05-29 17:35:18 +01:00
Nick O'Leary
13718032f6
Merge branch 'dev' into pr_2478
2020-05-29 17:04:54 +01:00
Nick O'Leary
1b497b340b
Merge branch 'pr_2551' into dev
2020-05-29 16:52:19 +01:00
Nick O'Leary
bb41ab482c
Rework the https refresh logic
...
- puts the node version check first
- validates the refresh interval and keeps it in valid range
- simplifies the error messages
- uses parseFloat not parseInt so we can use fractions of hour
2020-05-29 16:50:53 +01:00
Nick O'Leary
215aab0fe4
Modify format of -D settings file
2020-05-29 11:44:13 +01:00
Nick O'Leary
666822cf51
Merge branch 'dev' into pr_2463
2020-05-29 11:04:38 +01:00
bartbutenaers
40101df6ec
Refresh interval in hours
2020-05-29 00:11:14 +02:00
bartbutenaers
4adcb9c439
Refresh interval in hours
2020-05-29 00:08:07 +02:00
dxdc
a6cd0bf7e9
Add moment-timezone dependencies
2020-05-28 06:08:40 -05:00
Nick O'Leary
8158744829
Merge pull request #2578 from node-red-hitachi/fix-group-delete
...
fix deletion of group
2020-05-28 11:18:08 +01:00
dxdc
fdda29f048
Support for moment-timezone
2020-05-28 01:20:10 -05:00
dxdc
effff3405b
Add support for moment in jsonata expressions, based on elasticio/jsonata-moment
2020-05-27 23:26:57 -05:00
Hiroyasu Nishiyama
9d8cbcb993
remove JSONata Arra.from check for IE11
2020-05-28 13:22:14 +09:00
Hiroyasu Nishiyama
3345f2f3b8
simplify code structure
2020-05-28 10:23:50 +09:00
Nick O'Leary
bcf1d986a4
Merge branch 'master' of github.com:node-red/node-red
2020-05-27 17:15:45 +01:00
Nick O'Leary
a51e74bfa1
Bump jquery/migrate to latest versions
2020-05-27 17:15:33 +01:00
Nick O'Leary
cf00acac04
Bump jquery/migrate to latest versions
2020-05-27 17:13:33 +01:00
Nick O'Leary
876a7a4646
Add bulk-activate actions for debug node
...
Adds the actions:
- core:activate-all-debug-nodes
- core:activate-all-flow-debug-nodes
to match the deactivate* actions.
Also adds:
- core:activate-selected-debug-nodes
- core:deactivate-selected-debug-nodes
Adds a new httpAdmin route - /debug/(enable/disable) - that can be
use to bulk enable/disable nodes via HTTP Post.
2020-05-27 12:20:23 +01:00
Nick O'Leary
95d1b7bc36
Merge branch 'dev' into pr_2570
2020-05-27 11:52:37 +01:00
Nick O'Leary
d4ae0b0a2e
Merge pull request #2576 from kazuhitoyokoi/dev-addjapanesetranslations
...
Update Japanese translations for trigger, tcp request, debug nodes
2020-05-27 10:26:42 +01:00
Kazuhito Yokoi
f87b40941f
Update Japanese translations for trigger, tcp request, debug nodes
2020-05-27 10:44:17 +09:00
Hiroyasu Nishiyama
05f816fc5d
not emit change event on group delete
2020-05-25 08:46:35 +09:00
Ristomatti Airo
f9a157fe18
Fix editor underscore visibility on Linux systems
...
- seems to relate to DejaVu Sans font rendering
- fixes #2104
2020-05-23 18:41:44 +03:00