Nick O'Leary
81dc3de26a
Ensure errors in ACE NRJavaScript mode are on valid lines
...
In the case of an "Unmatched {" error, it flags the { on
the line we wrap the user's code in. That doesn't help the
user.
This fix moves such an error to the first valid { in the file.
It handles ignoring { in comments or strings. It fails to ignore
{ inside regex. But that's an edge case on top of an edge case.
2020-09-24 16:29:05 +01:00
Nick O'Leary
103e212aee
Fix size of context sidebar refresh toggle buttons
2020-09-22 23:44:10 +01:00
Nick O'Leary
2f33575907
Merge branch 'dev' of github.com:node-red/node-red into dev
2020-09-21 20:12:42 +01:00
Nick O'Leary
576c528573
Merge pull request #2698 from node-red/import-dupes
...
Improved handling of importing duplicate subflow/config nodes
2020-09-21 18:30:15 +01:00
Nick O'Leary
3c444d3fb3
Merge branch 'master' into dev
2020-09-21 14:25:30 +01:00
Nick O'Leary
7cb499cde9
Sanitize unknown node type when displaying
2020-09-21 14:00:01 +01:00
Nick O'Leary
5a174ba014
Add comment highlighting to JSONata and fix regex handling
...
Closes #2701
2020-09-21 11:52:33 +01:00
Nick O'Leary
041feb4e86
Ensure sf instance nodes update in outliner when import-replace sf
2020-09-18 20:56:16 +01:00
Nick O'Leary
19726cf428
Fix setting of esversion in nrjavascript worker
2020-09-16 23:21:52 +01:00
Nick O'Leary
aaf134b1c5
Update ACE to 1.4.12-src-min-noconflict
...
Fixes #1988
2020-09-16 19:13:40 +01:00
Nick O'Leary
a48f0827ae
Detect importing duplicate nodes and help user resolve
2020-09-16 11:59:13 +01:00
Nick O'Leary
5686158245
Allow toggleButton icons to be optional
2020-09-16 11:59:13 +01:00
Nick O'Leary
3824cdde68
Allow treeList to have a header component
2020-09-16 11:59:13 +01:00
Nick O'Leary
e619b9bf7b
Merge pull request #2691 from node-red/recover-nodes
...
Recover nodes with invalid z property
2020-09-16 11:56:29 +01:00
Nick O'Leary
b7243c2226
Merge branch 'master' into dev
2020-09-16 11:54:34 +01:00
Nick O'Leary
baffe4861c
Handle undefined value in Debug view of Array and Object
...
Fixes #2696
2020-09-07 21:05:27 +01:00
Nick O'Leary
dc8991a1da
Ensure recoverd nodes tab is added to outliner properly
2020-09-03 20:24:50 +01:00
Nick O'Leary
7bd0ca2212
Handle nodes with invalid z property
...
Closes #2170
2020-09-03 18:31:33 +01:00
Nick O'Leary
4dd619b8c6
Merge branch 'master' into dev
2020-09-03 16:14:55 +01:00
Nick O'Leary
be880c25f9
Merge pull request #2682 from node-red/upload-npm
...
Add support for file upload on /nodes api
2020-09-03 15:01:31 +01:00
Nick O'Leary
3ad1803057
Merge pull request #2655 from node-red/reorder-sidebar
...
Reorderable sidebar tabs
2020-09-03 14:07:17 +01:00
Nick O'Leary
02c20e97b7
Only recalculate group label offsets when needed
2020-09-03 13:49:42 +01:00
Nick O'Leary
716dc781e4
Reuse first group name/style when merging elements
...
Fixes #2680
2020-09-03 13:28:35 +01:00
Nick O'Leary
d9900d8e4c
Fix copy/paste of node into active group
...
Fixes #2686
2020-09-03 13:12:08 +01:00
Nick O'Leary
3b9065b057
Prevent Enter on search box from reloading page
...
Fixes #2678
2020-09-03 11:22:41 +01:00
Nick O'Leary
b21667834e
Tweak upload dialog margin
2020-08-26 10:37:21 +01:00
Nick O'Leary
183fa59c83
Add tgz upload button to palette manager
2020-08-26 00:15:36 +01:00
Nick O'Leary
bcd85b11a1
Merge branch 'master' into dev
2020-08-05 15:19:54 +01:00
Nick O'Leary
ec368ae3fd
Bump for 1.1.3
2020-08-05 14:59:25 +01:00
Nick O'Leary
d28c264422
Fix jshint error on polyfill
2020-08-05 14:58:43 +01:00
Nick O'Leary
fba505bc90
Fix vertical align of fa node icons
...
Fixes #2670
2020-08-05 13:53:49 +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
Nick O'Leary
758f44e25f
Improve performance of moving groups
2020-07-31 23:22:33 +01:00
Nick O'Leary
442b9d23f1
Remove filtering of duplicate fa icons
2020-07-22 14:51:07 +01: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
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
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
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
Nick O'Leary
11ac8fbf13
Ensure groups are removed when deleting subflows
2020-07-07 18:23:42 +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
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
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
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
JIYE YU
a7fa2cf0c9
update zh-TW translation for release-1.1.0
2020-06-26 10:40:17 +09:00
JIYE YU
13a59a882e
update zh-CN translation for editor-client
2020-06-25 18:31:36 +09: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
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
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
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