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
Nick O'Leary
de142ac9d6
Add css named variables for certain key colors
2021-05-25 21:03:01 +01:00
Nick O'Leary
468ef7ecff
Allow RED.settings.set to replace string property with object property
2021-05-25 21:02:14 +01:00
Steve-Mcl
4d768fd236
ensure context get/set key is a string
2021-05-25 14:53:06 +01:00
Steve-Mcl
bfc1f95190
remove redundant i18n entries
...
- no longer needed since moving inject onto edit form
2021-05-25 13:53:59 +01:00
Nick O'Leary
bc17ebd90e
Fix css of node help table of contents elements
2021-05-24 10:23:00 +01:00
Hiroyasu Nishiyama
bb1b3727cb
add test case
2021-05-23 10:42:28 +09:00
Hiroyasu Nishiyama
4dbebefb45
fix handling empty rules
2021-05-23 10:01:45 +09:00
Steve-Mcl
e1c5764fbf
move new inject button to existing edit form
...
- revert refactoring of building editableList (not needed now)
- remove node button modifier click & tray.show feature
- add inject button to editableList [buttons] array
- add `id` option to editableList to permit DOM access after creation
- get the new inject button via its `id` and float it to the right
- removed the popup tray buttons i18n entries
2021-05-22 10:52:44 +01:00
Steve-Mcl
70f975e4f0
move inject button off dialog and onto form
2021-05-21 13:26:50 +01:00
Steve-Mcl
845567d1ba
add 2 tests for user inject values
2021-05-20 22:53:32 +01:00
Steve-Mcl
f570447000
i18n for buttons on user inject values
2021-05-20 22:53:10 +01:00
Steve-Mcl
9d7b8f1f2f
change user prop name for injected values
...
- less chance for collision
2021-05-20 22:35:42 +01:00
Steve-Mcl
bae6bfc32d
Add inject values without deploy feature
2021-05-20 21:12:32 +01:00
Nick O'Leary
8a63390464
Merge pull request #2988 from hardillb/ALPNProtocols
...
Add ALPN support to TLS node
2021-05-19 17:39:19 +01:00
Ben Hardill
0b52cd8b31
Fixes from testing
...
I set up a NGINX instance to test this and found I'd missed some bits.
Still can't find a way to test this easily from a nodejs unit test
2021-05-19 10:41:24 +01:00
Nick O'Leary
f97569dd34
Clarify codeEditor options only relate to monaco
2021-05-18 16:46:16 +01:00
Nick O'Leary
a9164e63ab
Merge branch 'dev' into pr_2971
2021-05-18 16:30:13 +01:00
Ben Hardill
8c95067ec4
Add ALPN support to TLS node
2021-05-18 13:13:32 +01:00
Nick O'Leary
4f77bbeb2b
Update for 1.3.5
2021-05-18 11:52:49 +01:00
Nick O'Leary
8bbed2c831
Change node id generation to give fixed length values without '.'
2021-05-18 11:32:17 +01:00
Nick O'Leary
6b43a23c4b
Merge branch 'master' into dev
2021-05-14 21:18:32 +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
d49d9a783c
Merge branch 'master' into dev
2021-05-13 16:06:33 +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
fe64c6a841
Merge branch 'master' into dev
2021-05-13 14:30:02 +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
74628b7034
Update debug tests to handle compact comms format
2021-05-13 14:18:11 +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
fdf58e1225
Fix lint errors in editor hooks
2021-05-13 14:00:21 +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
1550e5343c
Merge branch 'master' into dev
2021-05-13 13:42:26 +01:00
Nick O'Leary
add3dd1077
Merge pull request #2986 from hardillb/get-got
...
Fix msg.responseUrl
2021-05-13 13:41:58 +01:00
Nick O'Leary
79a142fb19
Fix error log in runtime hooks module
2021-05-13 13:40:42 +01:00
Nick O'Leary
1a30fe4a1a
Improve red-ui-node-icon css and add red-ui-node-icon-small modifier class
2021-05-13 13:39:29 +01:00
Nick O'Leary
4ff991764e
Updates to encode/decode message when passed over debug comms link
2021-05-13 13:38:34 +01:00
Nick O'Leary
001f066769
Remove all input event listeners on a node once it is closed
...
This prevents in-flight messages being passed to the node after
it has closed.
2021-05-13 13:37:21 +01:00
Nick O'Leary
c47b553a8e
Add viewAddPort viewRemovePort viewAddNode viewRemoveNode hooks to view
2021-05-13 13:36:50 +01:00
Nick O'Leary
319af51f84
Add RED.hooks to editor
2021-05-13 13:35:12 +01:00
Nick O'Leary
5dbaaae68e
Merge branch 'master' into dev
2021-05-12 16:00:36 +01:00
Ben Hardill
8c1a749a5a
Fix msg.responseUrl
...
The original version would pick up the proxy servers port number
2021-05-12 11:08:57 +01:00
Nick O'Leary
fc8643f238
Merge pull request #2983 from hardillb/get-got
...
Get got working with proxies
2021-05-12 09:41:26 +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
d4096a9026
Merge pull request #2984 from node-red/migrate-sass
...
Migrate to sass module from node-sass
2021-05-11 18:56:06 +01:00
Nick O'Leary
b9e780cdcd
Add Node 16 with sass fixed
2021-05-11 18:14:05 +01: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