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
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
Hiroyasu Nishiyama
ca213589ac
update Japanese message catalogue for function node
2020-05-23 21:39:52 +09:00
Hiroyasu Nishiyama
c5ca9fafee
fix deletion of group
2020-05-23 21:20:23 +09:00
Nick O'Leary
1c94064c57
Remove unused _info/_type subflow env var magic values
2020-05-22 20:54:06 +01:00
Nick O'Leary
7969dd431f
[function] Make the function node top-level async
...
This allows you to use 'await' in a function node without
having to wrap it in another promise/async function.
2020-05-22 20:49:18 +01:00
Nick O'Leary
22e7ddcb1d
Merge branch 'dev' into pr_2490
2020-05-22 15:43:17 +01:00
Nick O'Leary
b1eafac67a
Fixup IE11 Array.from polyfill
2020-05-22 15:31:38 +01:00