Nick O'Leary
fba505bc90
Fix vertical align of fa node icons
...
Fixes #2670
2020-08-05 13:53:49 +01:00
Kazuhito Yokoi
c50ed2c328
Add Japanese translation for empty rules in switch node
2020-08-05 11:22:23 +01:00
Nick O'Leary
7e11ff2b20
Update packages/node_modules/@node-red/nodes/locales/en-US/function/10-switch.html
2020-08-05 11:22:14 +01:00
Nathanaël Lécaudé
3fb83c46e2
Update 10-switch.html
...
Clarify switch help regarding booleans for the is empty / is not empty rules.
2020-08-05 11:22:04 +01:00
Nick O'Leary
85edee288f
Allow lasso selection to be restricted to active group
2020-08-05 11:16:53 +01:00
Nick O'Leary
1aa494a97a
Make ctrl-click on nexted group more intuitive
2020-08-05 10:38:14 +01:00
Nick O'Leary
a8e7627184
Support select-all inside active group
2020-08-04 21:01:08 +01:00
Nick O'Leary
d590bbdd2c
Fix copy/paste of nested groups
2020-08-04 20:59:51 +01:00
Nick O'Leary
80d65b5acb
Add Set(iterable) polyfill for IE11
2020-08-04 20:59:32 +01:00
Kazuhito Yokoi
1d250f7491
Add Japanese translation for empty rules in switch node
2020-08-04 21:41:23 +09:00
Nick O'Leary
dd741ec6d8
Merge pull request #2649 from natcl/patch-5
...
Clarify empty rules in switch node documentation
2020-08-03 16:59:25 +01:00
Nick O'Leary
e741af6d55
Update packages/node_modules/@node-red/nodes/locales/en-US/function/10-switch.html
2020-08-03 16:58:09 +01:00
Nick O'Leary
e691b1b7c3
Add additional check for git auth failure response
...
Fixes #2656
2020-08-03 16:55:36 +01:00
Sebastian Raff
29142128f2
german translation, wording ( #2660 ) ( #2666 )
...
to also close #2660
2020-08-02 18:34:10 +01:00
Nick O'Leary
758f44e25f
Improve performance of moving groups
2020-07-31 23:22:33 +01:00
Nick O'Leary
16c26d8098
Move runtime settings back to adminApi from editorApi
...
Fixes #2662
2020-07-31 15:26:21 +01:00
Nick O'Leary
a9d1a64c32
Merge pull request #2661 from node-red-hitachi/master-zh
...
Update Chinese message for debug node
2020-07-23 15:09:36 +01:00
Dave Conway-Jones
889224715b
Fix hhp-in to handle application/cbor as binary
...
as per discussion https://discourse.nodered.org/t/http-request-node-invalid-message-body-was-specified-to-be-cbor-but-could-not-decode-message-failed-to-parse/30503
2020-07-23 10:04:24 +01:00
Nick O'Leary
442b9d23f1
Remove filtering of duplicate fa icons
2020-07-22 14:51:07 +01:00
JIYE YU
e4dd895709
update Chinese message for debug node
2020-07-22 12:54:07 +09:00
Nick O'Leary
82677c304e
Show node help when switching node edit dialogs
...
Fixes #2652
2020-07-16 16:12:16 +01:00
Nick O'Leary
73d8dfe381
Allow sidebar tabs to be reordered
...
The sidebar tab buttons can now be dragged to reorder them.
Changes to the order are stored in user preferences.
2020-07-15 11:26:08 +01:00
Kunihiko Toumura
1177aa8aca
new-style callback function (yaml node)
2020-07-14 19:20:37 +09:00
Kunihiko Toumura
0eda0a4935
new-style callback function (xml node)
2020-07-14 19:18:05 +09:00
Kunihiko Toumura
a19dab0dc9
new-style callback function (json node)
2020-07-14 19:15:31 +09:00
Kunihiko Toumura
d8eb80b72e
new-style callback function (html node)
2020-07-14 19:10:56 +09:00
Kunihiko Toumura
4f3a6821d1
new-style callback function (http response node)
2020-07-14 19:08:22 +09:00
Kunihiko Toumura
77bd7541ca
new-style callback function (template node)
2020-07-14 19:05:41 +09:00
Kunihiko Toumura
ca46bc5366
new-style callback function (range node)
2020-07-14 19:02:41 +09:00
Kunihiko Toumura
2e19bc07df
new-style callback function (link in/out node)
2020-07-14 18:59:09 +09:00
Kunihiko Toumura
3f4de43b67
new-style callback function (status node)
2020-07-14 18:56:16 +09:00
Kunihiko Toumura
0d0bf62fc4
new-style callback function (catch node)
2020-07-14 18:53:21 +09:00
Kunihiko Toumura
3c8654fa25
new-style callback function (complete node)
2020-07-14 18:50:03 +09:00
Kunihiko Toumura
756a6ec5aa
new-style callback function (inject node)
2020-07-14 18:46:38 +09:00
Nick O'Leary
98c7364924
Ensure group theme picks up theme defaults properly
...
Fixes #2651
2020-07-13 20:44:53 +01:00
Nick O'Leary
43db1824be
Bump for 1.1.2
2020-07-10 20:13:05 +01:00
Nick O'Leary
7f671c9f3f
Ensure unknown nodes removed from outliner when node registers
...
Fixes #2646
2020-07-10 20:00:18 +01:00
Nathanaël Lécaudé
410009dd61
Update 10-switch.html
...
Clarify switch help regarding booleans for the is empty / is not empty rules.
2020-07-10 13:08:40 -04:00
Nick O'Leary
580cc00967
Fix all the touch screen issues
2020-07-10 16:00:38 +01:00
Nick O'Leary
612c565cfd
Add RED.view.redrawStatus to avoid full redraw on update
2020-07-10 16:00:18 +01:00
Nick O'Leary
979c5351a8
Ensure node/group xrefs are consistent on import
2020-07-10 15:59:28 +01:00
Nick O'Leary
97b7479081
Disable keyboard handler when dialogs are open
2020-07-09 20:41:55 +01:00
Nick O'Leary
1df2f5e96a
Allow Comms websocket auth to be done via token header
...
Fixes #2642
2020-07-09 19:07:51 +01:00
cinhcet
0601833387
msgid added in vm to avoid unneccesary if statement
2020-07-08 19:09:07 +02:00
Nick O'Leary
8b36279e52
Bump version 1.2.0-alpha.1
2020-07-08 15:57:32 +01:00
Nick O'Leary
1c337f6817
Fix connecting wires to subflow status or io ports on touchscreen
2020-07-08 13:22:26 +01:00
Nick O'Leary
6df26f2400
Bump for 1.1.1
2020-07-08 10:30:20 +01:00
Kazuhito Yokoi
5a3c832a98
Update Japanese message for debug node
2020-07-08 16:20:02 +09:00
cinhcet
5d7a625883
expose send, status, log, warn, error, debug, trace, name, id in setup code of function node
2020-07-08 01:30:29 +02:00
Nick O'Leary
ae1ca85924
Update Debug status label
2020-07-07 22:10:47 +01:00
Nick O'Leary
c9acfdb1d7
Set apiRootUrl for debug pop-out to load locales properly
...
Fixes #2629 , #2630
2020-07-07 21:14:44 +01:00
Nick O'Leary
11ac8fbf13
Ensure groups are removed when deleting subflows
2020-07-07 18:23:42 +01:00
Nick O'Leary
dc541444ba
Merge pull request #2638 from node-red/Clean-up-debug-status-/-remove-loops
...
fix debug status to not loop, make migration more seamless, detect status type objects
2020-07-07 13:37:05 +01:00
Nick O'Leary
8ea25bcd1c
Update build-custom-theme to handle keyframes properly
...
Fixes #2636
Also adds a header to the generated CSS identifing the version
of NR and date/time it was generated.
2020-07-07 11:38:07 +01:00
Nick O'Leary
f5e46a663a
Remove hardcoded css and allow group to default from theme
...
Fixes #2633
2020-07-07 11:01:05 +01:00
Nick O'Leary
64ec415a54
Add RED.view.DEBUG_SYNC_REDRAW to disable requestAnimationFrame
...
References #2631
2020-07-06 21:01:14 +01:00
Nick O'Leary
57154b2853
Authenticate websocket comms using user-provided token if present
...
Fixes #2642
2020-07-06 20:45:07 +01:00
Nick O'Leary
0243a902b2
Fix up subflow port wiring
2020-07-06 18:11:47 +01:00
Nick O'Leary
6c04402a98
Prevent wiring to node with no corresponding port
...
Fixes #2641
2020-07-06 17:32:44 +01:00
Nick O'Leary
ef7c9b5c2a
Get group order right in history events to ensure proper handling
2020-07-06 16:00:15 +01:00
Nick O'Leary
73448a6039
Avoid copying duplicate nodes to internal clipboard
2020-07-06 16:00:15 +01:00
Dave Conway-Jones
176a0ff99b
add words avout indepedence of messages being delayed.
2020-07-06 10:33:26 +01:00
Dave Conway-Jones
b96d562700
fix debug status to not loop, make migration more seamless, detect status type objects
2020-07-04 15:26:02 +01:00
Nick O'Leary
7a3ead8f3b
Merge branch 'dev'
2020-06-30 17:46:43 +01:00
Nick O'Leary
668678b2c4
Bump version to 1.1.0
2020-06-29 21:08:34 +01:00
Nick O'Leary
e2802175a5
Clear outline focus on config node sidebar panel
2020-06-29 21:07:21 +01:00
Nick O'Leary
44da085e0b
Tweak group margin to fit node status and look better
2020-06-29 20:43:25 +01:00
Nick O'Leary
362554ad3b
Switch JSONata expr does not require msg.parts.count
2020-06-29 09:32:52 +01:00
Dave Conway-Jones
f01866d76f
Fix backwards migration of inject without topic
2020-06-28 15:09:07 +01:00
Nick O'Leary
c171088838
Fix reparenting nodes in outliner when they change
2020-06-26 17:21:20 +01:00
Nick O'Leary
8bd8834237
Add default shortcut for core:show-help-tab
2020-06-26 15:58:02 +01:00
Nick O'Leary
84fc739c8d
Merge pull request #2626 from node-red-hitachi/dev-zhcn
...
Update both zh-CN and zh-TW translation for release 1.1.0
2020-06-26 15:54:47 +01:00
JIYE YU
a7fa2cf0c9
update zh-TW translation for release-1.1.0
2020-06-26 10:40:17 +09:00
JIYE YU
1137cd5ca5
update zh-CN translation for nodes information
2020-06-26 10:38:41 +09:00
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