Nick O'Leary
a0f736bb88
Validate user-provided language parameter before passing to i18n
2021-01-25 17:06:27 +00:00
Alex Kaul
441eb3bb29
Fix scrollbars ( #2825 )
...
* Update Russian Locale
* Fix scrollbars
2021-01-25 11:02:43 +00:00
Ben Hardill
ca44af0625
Prevent crash when coreNodesDir is empty ( #2831 )
...
* Fix for HTTP-Request not sending body for GET
Background in SO question:
https://stackoverflow.com/q/60356824/504554
* Prevent crash when coreNodesDir points to empty dir
This should prevent a crash when you point to an empty core nodes
directory.
* Matching upstream master
2021-01-25 10:56:23 +00:00
Nick O'Leary
9e179170ee
Add i18n function to editor plugins when they are registered
...
Adds a `_` function to the plugin definition object that will automatically
prepend the plugin's module namespace to any call. This saves the plugin
from having to prepend its namespace all of the time.
2021-01-20 15:35:44 +00:00
Nick O'Leary
9f71dbb006
Fixup merge
2021-01-18 16:25:41 +00:00
Nick O'Leary
7531314e3f
Add RED.plugins module to editor
2021-01-18 16:25:40 +00:00
Nick O'Leary
a006b52052
Initial plugin runtime api implementation
2021-01-18 16:25:40 +00:00
Nick O'Leary
bebebaa3dd
Merge pull request #2820 from node-red/export-preview
...
Add preview to Export Dialog
2021-01-18 16:25:16 +00:00
Tiago Ferreira
55ff035fc9
Ability to add projects path to the settings file ( #2816 )
...
* add the ability to set the projects path
* Update packages/node_modules/@node-red/runtime/locales/en-US/runtime.json
use directory to keep consistency with the project
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
* Update packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/projects/index.js
only show the projects directory is projects are enabled
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
* use "directory" instead of "folder" to keep consistency with the Node-RED project
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2021-01-18 13:18:07 +00:00
Hiroyasu Nishiyama
d8c8d7bc57
hide unused input field ( #2823 )
2021-01-16 16:58:13 +00:00
martinb
b0acb58442
Merge tag '1.2.7' into release/1.2.7
2021-01-14 15:46:22 +01:00
Nathanaël Lécaudé
2b28ae3402
Add settings.execMaxBufferSize to control buffer size of exec node ( #2819 )
...
Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>
closes #2817
2021-01-14 14:38:39 +00:00
Dave Conway-Jones
aa47bae2ad
Exec node - don't append msg.payload to command by default ( #2818 )
...
* exec change default to not append payload
2021-01-13 10:12:19 +00:00
Nick O'Leary
ccfde84769
Merge pull request #2812 from node-red/property-types
...
Support node property typing
2021-01-12 23:56:01 +00:00
Nick O'Leary
b1df6d5149
Add preview of exported nodes to Export dialog
2021-01-12 18:23:15 +00:00
Hiroyasu Nishiyama
d51aefa156
initial support for npm module installation
2021-01-11 19:32:16 +09:00
Nick O'Leary
c40412d7c6
Merge pull request #2690 from node-red/sf-module
...
[sf-modules] Support npm subflow modules
2021-01-08 21:16:05 +00:00
Nick O'Leary
b0bc7ecacb
Merge pull request #2763 from node-red/simple-git-setting
...
Allow project workflow to be configured via settings file
2021-01-08 15:20:11 +00:00
Nick O'Leary
5489bd37c9
Fix handling of default workflow mode when projects not active
2021-01-08 15:05:34 +00:00
Nick O'Leary
ea2e3f25d8
Implement node property typing
...
See https://github.com/node-red/designs/pull/37
2021-01-08 14:19:12 +00:00
Nick O'Leary
09b37cf538
Merge pull request #2796 from fellinga/feature/lang-select
...
add optional lang select
2021-01-07 17:15:36 +00:00
Nick O'Leary
e30a01310e
Merge pull request #2788 from kevinGodell/dev
...
middleware integration
2021-01-07 17:11:48 +00:00
Nick O'Leary
d5cc5b2574
Use subflow.info for help text and meta.type for node type
2021-01-07 15:34:27 +00:00
Nick O'Leary
160ca6add4
remove console.log
2021-01-07 11:26:21 +00:00
Nick O'Leary
da96c85d32
Handle subflow modules with their own npm dependencies
2021-01-07 11:26:20 +00:00
Nick O'Leary
de15a1c36f
Add subflow meta data edit pane
2021-01-07 11:10:58 +00:00
Nick O'Leary
814fc8bc69
Add SubflowModule class for running subflow modules
2021-01-07 11:10:58 +00:00
Nick O'Leary
0c9fd25d3e
Nodes log via parent flow to allow flow-info to be added
2021-01-07 11:10:34 +00:00
Nick O'Leary
9a660f3fe9
Support npm subflow modules
2021-01-07 11:10:33 +00:00
Nick O'Leary
6e1466e411
Tidy some subflow env props css
2021-01-07 10:42:35 +00:00
Nick O'Leary
7913b3cbc2
Merge branch 'master' into dev
2021-01-07 10:17:50 +00:00
Nick O'Leary
65b4ef6c3d
Remove ES6 from editor code
2021-01-07 10:06:08 +00:00
Nick O'Leary
0284ef401e
Fix loading individual module catalog
2021-01-06 20:20:32 +00:00
Nick O'Leary
8a87f93741
Use npm info to check pending install version
2021-01-06 20:03:22 +00:00
Nick O'Leary
af19536222
Better logging when deprecated editorTheme.palette.* settings used
2021-01-06 17:36:59 +00:00
Nick O'Leary
abe77ab96f
Bump for 1.2.7
2021-01-06 11:49:31 +00:00
Nick O'Leary
ea720bb4a5
Bump dependencies
2021-01-06 11:41:17 +00:00
Nick O'Leary
3885107e6e
Merge pull request #2805 from kelvininc/user_menu_theme_improvement
...
Allow to explicit use userMenu in the theme configuration
2021-01-06 11:37:22 +00:00
Nick O'Leary
30a68fefec
Ensure subflow-scoped config nodes do not get moved on import
...
Fixes #2789
2021-01-06 11:22:52 +00:00
Tiago Ferreira
fa84c4e461
Allow to explicit use userMenu in the theme configuration
...
Unit test to ensure that works after the theme is initialize
Allow to explicti use userMenu in the theme configuration
2020-12-29 22:06:02 +00:00
Nick O'Leary
5743a5f91d
Filter palette manager nodes based on allow/deny list
2020-12-27 21:34:21 +00:00
Nick O'Leary
9d2d060dec
Fix unit tests for externalModules
2020-12-27 20:59:31 +00:00
fellinga
b36e7e172e
add settings to init
2020-12-27 14:44:32 +01:00
Nick O'Leary
aacb92a7ae
Implement allow/denyList when loading/installing modules
2020-12-27 12:49:17 +00:00
fellinga
4943bde3d4
add optional lang select
2020-12-27 12:59:12 +01:00
Nick O'Leary
fc459be531
Deprecate editorTheme.palette.editable for externalModules.palette.allowInstall
...
Also deprecates editorTheme.palette.editable for externalModules.palette.allowUpload
2020-12-23 23:29:07 +00:00
Nick O'Leary
3151502a3f
Deprecate autoInstallModules for externalModules.autoInstall
2020-12-23 22:05:58 +00:00
Kevin Godell
79b10ed18a
allow for adding an array of middleware functions
2020-12-22 16:30:38 -06:00
Kevin Godell
34b27f2e68
allow for adding an array of middleware functions
2020-12-22 16:28:33 -06:00
David Mödinger
c433f736a5
Improvements to DE translation ( #2192 )
...
* Gitter->Raster inconsistency
* Set to -> Festlegen bei // Setzen als
2020-12-17 08:25:35 +00:00
Nick O'Leary
496b5a092f
Ensure subflow credential objects exist
...
Fixes #2783
2020-12-15 17:20:22 +00:00
johnwang71
be828af3e2
Fix bug: Crash & quit while handling exception with undefine msg.error. i.e. flow with 3 nodes, http-in, delay 5-10s, http-out; client with 3s timeout request the flow; TypeError: Cannot read property 'hasOwnProperty' of undefined\r at Flow.handleError (/usr/src/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:474:27)
2020-12-14 18:18:50 +08:00
Nick O'Leary
9b1c114c3f
Merge pull request #2772 from node-red/api-tidy
...
Fully remove when.js dependency
2020-12-07 14:05:15 +00:00
Nick O'Leary
4df27d4b0b
Fix typos in parser examples
2020-12-07 14:04:42 +00:00
Nick O'Leary
e3445dae46
Merge pull request #2749 from node-red-hitachi/parser-example
...
add examples for parser category nodes
2020-12-07 14:01:14 +00:00
Nick O'Leary
f5fcf23678
Merge branch 'pr_2751' into dev
2020-12-07 13:58:53 +00:00
Nick O'Leary
0a6c08e2c3
Merge pull request #2750 from node-red-hitachi/split-join-node-mapi
...
Messaging API support in Split/Join nodes
2020-12-07 13:54:47 +00:00
Nick O'Leary
b80a7459cf
Merge pull request #2733 from node-red-hitachi/delay-node-mapi
...
Messaging API support in Delay node
2020-12-07 13:53:51 +00:00
Nick O'Leary
f6480e6e0c
Merge pull request #2744 from node-red-hitachi/sort-node-mapi
...
Messaging API support in Sort node
2020-12-07 13:52:34 +00:00
Nick O'Leary
41d12c433e
Merge pull request #2734 from node-red-hitachi/csv-node-mapi
...
Messaging API support in CSV node
2020-12-07 13:50:09 +00:00
Nick O'Leary
169a2484f2
Merge pull request #2738 from node-red-hitachi/batch-node-mapi
...
Messaging API support in Batch node
2020-12-07 13:33:04 +00:00
Steve-Mcl
be52ec1390
mark more TODO areas (mostly debugging)
2020-12-07 12:48:33 +00:00
Steve-Mcl
00db43198d
design/TODO comments
2020-12-07 12:26:27 +00:00
Steve-Mcl
6bac207611
better handling of server properties
2020-12-07 12:25:51 +00:00
Nick O'Leary
df1eb631e1
Merge pull request #2752 from bartbutenaers/readonly-typedinput
...
Allow TypedInput to be disabled
2020-12-07 12:21:53 +00:00
Steve-Mcl
6150ae787d
userProperties input type correction
2020-12-07 11:50:33 +00:00
Nick O'Leary
fc7967d455
Fix missing promise on setUserSettings
2020-12-07 11:49:02 +00:00
Nick O'Leary
fca21ac126
Rename paletteEditorEnabled to installerEnabled
2020-12-07 11:49:01 +00:00
Nick O'Leary
6fb96fa3c1
Move exec and events components to util module
...
The exec and events components are common components that
are used by both runtime and registry. It makes sense to
move them into the util package.
This also adds some docs to the registry module
2020-12-07 11:49:01 +00:00
Nick O'Leary
a1f565f756
Use more async funcs in runtime/lib/api to reduce Promise creation
2020-12-07 11:49:01 +00:00
Nick O'Leary
5992ed1fab
Fully remove when.js dependency
2020-12-07 11:49:01 +00:00
Nick O'Leary
beccdac717
Merge branch 'master' into dev
2020-12-07 11:48:38 +00:00
Steve-Mcl
b72ea63100
config node userProperties should only permit json
2020-12-07 11:45:02 +00:00
Steve-Mcl
27550f2d4b
automatically use resposeTopic if topic is empty
2020-12-07 09:43:52 +00:00
Steve-Mcl
6917919f35
show name as @x if alias is set but topic is not
...
- e.g. @1 denotes alias 1 is set but topic is empty
2020-12-07 09:41:43 +00:00
Steve-Mcl
48d6fe5918
Merge branch 'dev' into mqtt5
2020-12-07 08:21:59 +00:00
Dave Conway-Jones
78f1cb8a66
ensure trigger timestamp option sends .now()
...
To close #2771
2020-12-01 23:05:22 +00:00
Nick O'Leary
4bfe9a9ae9
Bump for 1.2.6
2020-11-25 21:09:45 +00:00
Nathanaël Lécaudé
c5d38d8962
Library: properly handle symlinked folders
2020-11-25 21:08:43 +00:00
Nick O'Leary
3999690062
Support Windows paths when installing tarball by path name
...
Fixes #2769
2020-11-25 21:04:24 +00:00
Nathanaël Lécaudé
b1c0d6b452
Library: properly handle symlinked folders
2020-11-24 18:29:39 -05:00
Kazuhito Yokoi
d57edaa4c1
Update Japanese translations for 1.2.5 ( #2764 )
2020-11-19 15:09:30 +00:00
Steve-Mcl
3033d2086e
Merge remote-tracking branch 'upstream/dev' into mqtt5
2020-11-19 13:45:56 +00:00
Nick O'Leary
0f7d185a61
Ensure runtime side picks up default project workflow mode
2020-11-18 16:37:39 +00:00
Nick O'Leary
81f200641b
Allow default project workflow to be set via settings
2020-11-18 16:37:39 +00:00
Nick O'Leary
c6129b44a1
Merge branch 'master' into dev
2020-11-18 16:36:56 +00:00
Nick O'Leary
8ebcee32c2
Bump for 1.2.5
2020-11-17 23:09:07 +00:00
Nick O'Leary
2b801a756a
Fix import of config nodes with unknown z property
2020-11-17 23:07:43 +00:00
Nick O'Leary
795416a84d
Bump for 1.2.4
2020-11-17 21:03:24 +00:00
Nick O'Leary
545dda166f
Support bigint types in Debug sidebar
2020-11-17 20:50:29 +00:00
Nick O'Leary
f19ec5d9b6
Clear retained status of deleted nodes
2020-11-17 13:29:13 +00:00
Nick O'Leary
6ea978d83d
Prevent needless retention of node status messages
2020-11-16 21:05:13 +00:00
Alex Kaul
42f3b70a22
Update Russian Locale ( #2761 )
2020-11-16 18:44:18 +00:00
Nick O'Leary
1cd10f074b
Update projects dialogs to use TypedInput-cred input
2020-11-16 11:37:32 +00:00
Nick O'Leary
bed1d31bc8
Restore cursor position in TypedInput cred-mode
2020-11-16 11:37:04 +00:00
Nick O'Leary
99478897c5
Ensure config nodes with invalid z are imported somewhere
2020-11-14 14:10:32 +00:00
Nick O'Leary
2a8290a4b7
Bump version to 1.3.0-beta.1
2020-11-13 18:23:35 +00:00
Alex Kaul
4023ab3f28
Add Russian Locale ( #2531 )
2020-11-12 17:01:44 +00:00
Kazuhito Yokoi
70f3b7450f
Add Japanese translation for http-in node ( #2758 )
2020-11-12 10:21:45 +00:00
Dave Conway-Jones
ca4960e097
Fix CSV node repeating array output
...
and add tests to cover it
2020-11-10 14:43:59 +00:00
Nick O'Leary
ebe604e1af
Ensure user keyboard shortcuts override defaults
...
Fixes #2753
2020-11-09 21:13:20 +00:00
bartbutenaers
32b04cd32f
Disable TypedInput
2020-11-06 08:48:14 +01:00
bartbutenaers
e149174696
Disable TypedInput
2020-11-06 08:45:50 +01:00
Nick O'Leary
15b49f4db8
Disable 'use strict' checking in Function node
...
Fixes #2743
2020-11-05 13:48:55 +00:00
Dave Conway-Jones
b1cc7b3296
de-duplicate colour keys
2020-11-05 09:38:34 +00:00
Dave Conway-Jones
65d90a6dff
Add gray/grey alternate options for status
2020-11-05 09:20:47 +00:00
Dave Conway-Jones
a58f4c2ec2
remove " from npm install prefix option
...
to fix npm 7
2020-11-05 09:19:47 +00:00
Kunihiko Toumura
f038069fe2
Messaging API support in Trigger node
2020-11-05 15:09:41 +09:00
Kunihiko Toumura
407cb3e7d5
Messaging API support in Split/Join nodes
2020-11-04 21:43:20 +09:00
Hiroyasu Nishiyama
b8bc62ee11
add example for YAML node
2020-11-03 20:54:04 +09:00
Hiroyasu Nishiyama
ccbd179f23
add example for XML node
2020-11-03 20:06:27 +09:00
Hiroyasu Nishiyama
dac7830bd4
add example for JSON node
2020-11-03 20:06:18 +09:00
martinb
468cfeffb6
make split node work with out of order messages as long as one of the messages has msg.parts.count set to the proper value
2020-11-03 09:35:21 +01:00
Hiroyasu Nishiyama
bc82ca2106
add examples for HTML node
2020-11-03 17:32:53 +09:00
Hiroyasu Nishiyama
725c962236
add examples for CSV node
2020-11-03 14:34:34 +09:00
Hiroyasu Nishiyama
6720c1aa46
update Japanese message catalogue for 1.2.3 release
2020-11-03 09:16:13 +09:00
Nick O'Leary
281d8b7cec
Bump for 1.2.3
2020-11-02 21:31:27 +00:00
Nick O'Leary
2c6cda1f27
Handle import errors on initial load and report to user
2020-11-02 21:14:24 +00:00
Kunihiko Toumura
d7dfeaf0c1
Messaging API support in Sort node
2020-11-02 13:31:27 +09:00
Kunihiko Toumura
dbfbd54e1f
Messaging API support in Batch node
2020-10-29 16:16:03 +09:00
Nick O'Leary
9d7a450821
Add mutex lock to saveSettings storage call
...
Fixes #2736
2020-10-28 21:59:22 +00:00
Kunihiko Toumura
8007bea7db
Messaging API support in CSV node
2020-10-26 20:25:52 +09:00
Kunihiko Toumura
dc1ab7e331
Add support for Messaging API to delay node
2020-10-26 16:52:18 +09:00
Steve-Mcl
a0d197d0c0
Merge branch 'dev' into mqtt5
2020-10-25 09:52:33 +00:00
Steve-Mcl
a776ba248e
correction to retain handling def value
2020-10-25 09:50:57 +00:00
Nick O'Leary
0ecd9673b8
Only apply recovery tab on initial load
...
Fixes #2731
2020-10-21 10:36:47 +01:00
Nick O'Leary
ff0be73b1f
Migrate to nyc instead of istanbul for code coverage
2020-10-19 21:10:34 +01:00
Nick O'Leary
8049e44dec
Update CHANGELOG for 1.2.2
2020-10-19 13:25:38 +01:00
Nick O'Leary
dc26022fb4
Prevent node z property getting set to 0 or ""
2020-10-19 13:24:04 +01:00
Nick O'Leary
e8e44f9a32
Only apply z-recovery logic to flow nodes
2020-10-19 13:23:43 +01:00
Nick O'Leary
12d56b8b03
Fix api call to reload flows
...
Fixes #2726
2020-10-19 12:56:40 +01:00
Nick O'Leary
e62fd7ed15
Remove bad z property from import config nodes
2020-10-19 12:53:03 +01:00
Nick O'Leary
978eb95acd
Bump for 1.2.1
2020-10-15 16:22:37 +01:00
Nick O'Leary
e34f4acb22
Fix race condition in .config file migration
...
Fixes #2724
2020-10-15 16:21:28 +01:00
Steve-Mcl
195aeb5caf
mqttv5 progress
2020-10-14 23:30:03 +01:00
Nick O'Leary
15a600c763
Fix tab selection after sidebar tab reorder
2020-10-14 22:10:03 +01:00
Nick O'Leary
82ad5839fa
Update changelog and bump dependencies
2020-10-13 21:49:11 +01:00
Nick O'Leary
9af883231d
Merge pull request #2722 from node-red-hitachi/fix-link-selection
...
fix selection of link node not existing within active workspace
2020-10-13 13:56:53 +01:00
Hiroyasu Nishiyama
9bfe8ac007
fix selection of link node not existing within active workspace
2020-10-12 20:16:21 +09:00
Nick O'Leary
f46367d77b
Fix import of merged flow
2020-10-12 11:20:44 +01:00
Steve-Mcl
38649de85f
debugging
2020-10-10 10:56:10 +01:00
Nick O'Leary
eb2e1c0c45
Merge pull request #2718 from node-red-hitachi/fix-upload-button-width-on-safari
...
Fix upload button width on Safari
2020-10-09 17:12:35 +01:00
Steve-Mcl
33bb86cbcf
mqtt5 1st draft
2020-10-08 20:24:35 +01:00
Jiye Yu
baffc2d6ca
update Chinese translation for NodeRed v1.2 ( #2719 )
2020-10-08 13:17:04 +01:00
Hiroyasu Nishiyama
96ab508c91
move width specification of upload button to scss
2020-10-08 09:07:11 +09:00
Nick O'Leary
57e42659e3
Merge pull request #2716 from node-red-hitachi/fix-sidebar-tab-popup
...
Fix unexpected line break of sidebar tab name popover
2020-10-07 12:33:02 +01:00
Nick O'Leary
f059e97697
Merge pull request #2717 from node-red-hitachi/i18n-module-list-refresh-tooltip
...
i18n module refresh tooltip
2020-10-07 11:37:01 +01:00
Hiroyasu Nishiyama
516e6430eb
fix upload button width on safari
2020-10-07 13:42:43 +09:00
Hiroyasu Nishiyama
f194a8ecf4
i18n module refresh tooltip
2020-10-07 11:08:23 +09:00
Hiroyasu Nishiyama
13f046f310
fix unexpected line break of sidebar tab name popover
2020-10-07 09:57:34 +09:00
Nick O'Leary
1edf5acb87
Merge pull request #2714 from node-red-hitachi/update-function-node-help-text
...
Update info text of Function node
2020-10-06 17:46:11 +01:00
Nick O'Leary
af636870d4
Add better error message if context file gets corrupted
2020-10-06 15:42:52 +01:00
Hiroyasu Nishiyama
379b8ada61
update info text of function node
2020-10-06 13:45:00 +09:00
Nick O'Leary
5e63471983
Use markdown editor if editText called with md mode
2020-10-05 20:38:05 +01:00
Nick O'Leary
086f0f8450
Prevent group actions when in non-default mouse mode
2020-10-02 16:07:22 +01:00
Nick O'Leary
97a4b3dc2a
Merge branch 'pr_2709' into dev
2020-10-02 11:14:16 +01:00
Kazuhito Yokoi
4eb8d681c1
Update Japanese translations needed for 1.2 ( #2710 )
2020-10-02 11:07:01 +01:00
Hiroyasu Nishiyama
2066584164
fix to make Japanese import dialogue message single line
2020-10-01 19:25:21 +09:00
Nick O'Leary
a954c198fb
Bump version for 1.2.0-beta.1
2020-09-30 10:20:41 +01:00
Nick O'Leary
101e96dcb3
Merge pull request #2665 from node-red/msg-router
...
Pluggable Message Routing
2020-09-29 20:36:23 +01:00
Nick O'Leary
2962c4372c
Support setting trigger loop interval with msg.delay
2020-09-29 17:47:09 +01:00
Nick O'Leary
517e376582
Restore support for runtimeSyncDelivery flag
2020-09-29 17:39:29 +01:00
Nick O'Leary
7a90fe5aec
Fix flow api unit tests
2020-09-29 17:35:43 +01:00
Nick O'Leary
ea45dde63a
Remove when.js from runtime/lib/flow/index
2020-09-29 17:20:01 +01:00
Nick O'Leary
22a301b55e
Add flows:* events and deprecate nodes-* events
2020-09-29 16:29:10 +01:00
Nick O'Leary
605177dcf0
Validate hook names when they are added
2020-09-29 16:28:52 +01:00
Nick O'Leary
460e1f5563
Fixup merge error
2020-09-29 12:19:27 +01:00
Nick O'Leary
6f25337b99
Add docs for RED.hooks
2020-09-29 12:19:27 +01:00
Nick O'Leary
08148a07b2
Update Node/Flow to trigger msg routing hooks
2020-09-29 12:19:27 +01:00
Nick O'Leary
27c0e45940
Remove unused router component
2020-09-29 12:19:27 +01:00
Nick O'Leary
bdd736315a
Add RED.hooks engine
2020-09-29 12:19:27 +01:00
Nick O'Leary
d57ec0cd53
Refactor lib/flows code to include initial router component
2020-09-29 12:19:26 +01:00
Nick O'Leary
cf84ec78fa
Allow trigger node delay to be overridden with msg.delay
2020-09-28 21:10:23 +01:00
Nick O'Leary
b595e84c30
Update jsdoc of util.getMessageProperty
2020-09-28 14:26:20 +01:00
Nick O'Leary
6e5f115bd5
Improve jsdoc of util.getObjectProperty to clarify thrown error
...
See #2703
2020-09-28 14:23:23 +01:00
Nick O'Leary
6e5c4e832e
Update dependencies
2020-09-28 11:58:22 +01:00
Nick O'Leary
c5bdd3d056
Allow user to manage project version string
2020-09-28 11:30:46 +01:00
Nick O'Leary
69d60ffb24
Add simplified git workflow to auto-commit changes
2020-09-28 10:41:33 +01:00
Nick O'Leary
e6ffa3d143
Cache settings when doing initial load
2020-09-28 10:41:05 +01:00
Nick O'Leary
bb4330e486
Clone settings before passing to storage layer
...
Avoids the storage layer modifying the in-memory object
2020-09-28 10:40:03 +01:00
Nick O'Leary
4b8d07f301
Merge branch 'pr_2644' into dev
2020-09-25 17:11:39 +01:00
Nick O'Leary
2db3a4f1ef
Add unit tests for function node init code
2020-09-25 17:11:10 +01:00
Nick O'Leary
ead1f65887
Disable selection FA icons when dbl clicking node
2020-09-25 16:03:21 +01:00
Nick O'Leary
085ff84bc9
Merge pull request #2704 from node-red/split-config
...
Split .config.json into separate files
2020-09-25 15:56:32 +01:00
Nick O'Leary
e12975cf0b
Do not remove old config.json file to ease downgrade path
2020-09-25 15:50:26 +01:00
Nick O'Leary
a33cf6b532
Merge branch 'master' into dev
2020-09-25 11:53:37 +01:00
Nick O'Leary
5be25d9538
Merge branch 'pr_2705'
2020-09-25 11:53:15 +01:00
t.kawamorita
785561a0cc
fix getModuleFiles function
2020-09-25 11:58:03 +09:00
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
4d0c572c2e
Fix .config.json unit tests
2020-09-24 15:42:52 +01:00
Nick O'Leary
fb2da0ee9e
Split .config.json into separate files
2020-09-23 17:29:09 +01:00
Nick O'Leary
b8b0247717
Default flowFilePretty to true if projects enabled
2020-09-23 10:57:58 +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
9d5f5ee94b
Update to MQTT 4.2.1
...
Closes #2694
2020-09-16 16:56:39 +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
70b6674f44
Replace Math.random with crypto.getBytes for session tokens
2020-09-11 14:09:54 +01:00
Nick O'Leary
ef67b8481e
Check file exists before trying to take backup
2020-09-11 13:26:00 +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
Melvin Groenhoff
d84c2b780b
Fix this
context when calling multiple event listeners ( fixes #2692 ).
2020-09-04 10:20:30 +02: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
2f2a6367c2
Merge pull request #2684 from node-red/skip-html
...
Avoid loading node html if disableEditor set
2020-09-03 15:02:09 +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
17812f0d77
Merge pull request #2683 from node-red/write-to-temp
...
Update util.writeFile to write to tmp file before rename
2020-09-03 15:00:31 +01:00
Nick O'Leary
0c5eae2349
Merge pull request #2679 from rorysavage77/mutex-for-flow-modification
...
Updated flow modification methods to support mutex serialization
2020-09-03 14:17:56 +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
Kunihiko Toumura
0c5586ddfb
Add 'done' metric log for message tracing
2020-08-18 09:28:50 +09:00
Nick O'Leary
33855bcb8b
Skip loading node html if disableEditor set
2020-08-14 00:20:44 +01:00
Nick O'Leary
b0b2c32654
Update util.writeFile to write to tmp file before rename
2020-08-13 17:17:40 +01:00
Nick O'Leary
6f1ed76b4c
Add support for file upload in /nodes api
2020-08-13 15:54:54 +01:00
Rory A. Svage
f81cee0be2
Message
2020-08-07 16:44:52 -04: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
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