Nick O'Leary
711794cfe1
Merge pull request #2993 from Steve-Mcl/master
...
ensure context get/set key is a string
2021-06-02 15:20:25 +01:00
Nick O'Leary
c0e4cf2358
Fix handling of boolean subflow module properties
...
Fixes #3000
2021-06-02 14:48:54 +01:00
Nick O'Leary
a92f8f36c1
Keep proper track of moved/changed state in undo/redo history
...
Fixes #2999
2021-06-02 14:07:22 +01:00
Nick O'Leary
12698dc347
Add full ast parsing in Function node to spot node.done calls
...
Fixes #2998
2021-06-02 12:32:44 +01:00
Nick O'Leary
3e6a55f78e
Update to latest 6.x ws module
2021-06-02 11:58:51 +01:00
Steve-Mcl
a92f0c4c6e
fix context key validation + add tests
...
- adds a helper function validateContextKey to keep it DRY
- adds tests ensure key of null "" 1 {} [] [""] [1] [{}] all throw error
2021-05-26 13:04:09 +01:00
Steve-Mcl
4d768fd236
ensure context get/set key is a string
2021-05-25 14:53:06 +01:00
Hiroyasu Nishiyama
4dbebefb45
fix handling empty rules
2021-05-23 10:01:45 +09:00
Nick O'Leary
4f77bbeb2b
Update for 1.3.5
2021-05-18 11:52:49 +01:00
Nick O'Leary
be9521f659
Revert some of #2967 to fix treeList gutter width calculation
2021-05-14 21:17:47 +01:00
Nick O'Leary
90761fd840
Fix 'SyntaxError' in Function node when last line of on-stop is a comment
2021-05-13 17:23:25 +01:00
Nick O'Leary
d7dc7c4eda
Fix error handling in runtime/lib/api/nodes
2021-05-13 15:46:56 +01:00
Nick O'Leary
2bbdc85a29
Prevent unknown node from breaking editor
...
If a node provides a .js file that registers a type
but its .html is empty, then the editor will know about
the type, but there will be no node definition.
This fix handles that in some of the utility functions
for generating node appearance.
This wasn't an exhaustive check for these things - just
some obvious candidates that I hit in testing 'bad' nodes
2021-05-13 14:28:01 +01:00
Nick O'Leary
15aa249f64
Stop module with missing types from preventing editor load
2021-05-13 14:06:43 +01:00
Nick O'Leary
866f305686
Open subflow tab next to active tab rather than at the end
2021-05-13 13:57:29 +01:00
Nick O'Leary
c8653f19bf
Merge pull request #2985 from node-red-hitachi/update-function-node-info-text
...
Update Japanese info text of function node
2021-05-12 09:41:09 +01:00
Hiroyasu Nishiyama
b01100d818
Update Japanese info text of function node
2021-05-12 08:54:32 +09:00
Nick O'Leary
b77cd56a01
Migrate from node-sass to sass
...
node-sass is deprecated and doesn't work on Node 16.
sass is actively maintained and considered the canonical sass
implementation.
2021-05-11 18:13:21 +01:00
Nick O'Leary
9cdec156dc
Merge pull request #2974 from aheissenberger/fix-bundle-error
...
Fixed esbuild bundle error "installRetry" was declared a constant and changed
2021-05-11 17:45:07 +01:00
Nick O'Leary
6aa5968863
Fix Function tab label names in the node help text
...
Closes #2978
2021-05-11 17:15:27 +01:00
Nick O'Leary
8f7686cd7b
Handle sidebar tab that no longer exists when setting first active
2021-05-11 16:42:32 +01:00
Nick O'Leary
d8d384a979
Fix plugin loading when browser sends unrecognised lang
2021-05-11 16:42:00 +01:00
Nick O'Leary
ade318bb78
Support mousewheel scroll in tab bar
2021-05-11 15:58:01 +01:00
Nick O'Leary
ed3aa8189f
Shrink default notification box
...
Also reduces Inject/Debug notification display time as 5 seconds is a
long time for a message telling you it worked
2021-05-11 14:45:53 +01:00
Nick O'Leary
3e43597617
Prevent error whilst drag/drop importing from leaving dropTarget visible
...
Fixes #2982
2021-05-11 14:10:40 +01:00
Nick O'Leary
e641b0a965
Fix scaling issues when dragging nodes into scaled workspace
2021-05-10 21:03:27 +01:00
Hiroyasu Nishiyama
eddddc6c9b
fix duplicate csv node example ( #2980 )
2021-05-10 15:39:23 +01:00
Kazuhito Yokoi
5c31bd54e4
Fix incorrect shortcut keys in info tips
2021-05-06 20:09:35 +09:00
Nick O'Leary
db0ff74857
Reduce code duplication around node/label generation
2021-05-04 11:12:55 +01:00
Andreas Heissenberger
54c9d27fd8
fix
2021-05-03 17:35:50 +02:00
Andreas Heissenberger
01888ff078
fix "installRetry" was declared a constant and changed
2021-05-03 17:23:27 +02:00
Nick O'Leary
1af21735a9
Fix theme handling when no editorTheme.page setting
2021-04-29 15:32:26 +01:00
Nick O'Leary
9886af3cec
Fix jshint error in treeList
2021-04-29 14:09:21 +01:00
Nick O'Leary
08e73d9d7d
Merge pull request #2967 from hanc2006/master
...
Fixed remove item when depth=0 and wrong gutter calc treeList widget
2021-04-29 14:00:02 +01:00
Nick O'Leary
b0e349b215
Update for 1.3.4
2021-04-29 11:22:22 +01:00
Dave Conway-Jones
9ee8c1c791
Give delay node random mina nd max more space so you can see complete value
2021-04-29 10:36:13 +01:00
Nick O'Leary
cd3aba2b89
Allow nodes to access resolved theme files
...
Fixes #2968
2021-04-29 10:17:07 +01:00
Daniele
a150d8e289
Update packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js
...
Thanks for the tip, I'll remember next time.
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2021-04-28 23:37:26 +02:00
Nick O'Leary
6da8e92f20
Fix inject node output tooltip extra property count
2021-04-28 22:01:39 +01:00
Nick O'Leary
7df1a03b4b
Handle subflow modules that contain subflows
2021-04-28 21:50:00 +01:00
Nick O'Leary
91f5542a57
Fix importing node to currently flow rather than match its old z value
...
If you import a node whose z value is a known existing tab, it is getting
imported to that tab, rather than the expected behaviour of being imported
to the current tab.
This commit fixes that by checked if the node is being imported to a tab
that was included in the import, rather than pre-existing.
2021-04-28 20:54:31 +01:00
GitHub
d47a8aa562
Fix remove item when depth=0 and wrong gutter calc
2021-04-28 17:25:26 +02:00
Nick O'Leary
8e7efd98b2
Don't let 'escape' whilst moving nodes interrupt things
...
Fixes #2960
2021-04-26 16:48:21 +01:00
Nick O'Leary
f5a1c8bc49
Merge pull request #2957 from node-red-hitachi/fix-error-on-git-auto-commit
...
fix error on auto commit for no flow change
2021-04-26 11:54:05 +01:00
Nick O'Leary
4cb8e99430
Timeout http upgrade requests that are not otherwise handled
...
Fixes #2956
2021-04-26 11:45:28 +01:00
Nick O'Leary
bbac49ff38
Ensure function expand button is above vertical scrollbar
...
Fixes #2955
2021-04-26 10:18:25 +01:00
Nick O'Leary
1d12017f11
Sort context stores in TypedInput and ensure default first
...
Fixes #2954
2021-04-26 10:13:57 +01:00
Hiroyasu Nishiyama
a480919ec3
fix error on auto commit for no flow change
2021-04-26 09:05:53 +09:00
Dave Conway-Jones
4cebbf8d22
Fix CSV handling of special chars as separators
...
(ie escape regex special chars)
and add tests
to close #2950
2021-04-23 10:47:23 +01:00
Kazuhito Yokoi
372122037f
Fix margin between nodes on palette
2021-04-21 13:14:46 +09:00