Commit Graph

4024 Commits (6a1e4fac5af2c69b951a65015f92b37ff1d2e399)

Author SHA1 Message Date
Gerrit Riessen 0b0f1f8701
Update index.mst
Update two additional path specifications
2023-12-15 11:32:26 +01:00
Gerrit Riessen e1f2e0656b
Client Events: fix off-in-on pattern emulating once
This fixes an issue when RED.events.off(..) is called in a RED.events.on(..) callback:

```
let cb = () => {
  RED.events.off("event-name", cb)
  ....
}
RED.events.on("event-name", cb)
```

This pattern emulates a once(..), i.e., execute a callback once-only for an event.

Discussed in [Forum](https://discourse.nodered.org/t/event-offing-an-on-event-to-perform-only-once/83726)
2023-12-15 10:54:11 +01:00
Gerrit Riessen b5e955bd5e
Update index.mst
Avoid escaping slashes (`/`) in asset paths. 

Content is currently generated as:

```
<title>Node-RED</title>
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="mask-icon" href="red&#x2F;images&#x2F;node-red-icon-black.svg" color="#8f0000">
<link rel="stylesheet" href="vendor/jquery/css/base/jquery-ui.min.css?v=">
<link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.min.css?v=">
<link rel="stylesheet" href="red/style.min.css?v=">
<link rel="stylesheet" href="vendor/monaco/style.css?v=">
</head>
<body spellcheck="false">
<div id="red-ui-editor"></div>
<script src="vendor/vendor.js?v="></script>
<script src="vendor&#x2F;monaco&#x2F;monaco-bootstrap.js?v="></script>
<script src="red&#x2F;red.min.js?v="></script>
<script src="red&#x2F;main.min.js?v="></script>
```

It still works of course, so feel free to ignore this change.
2023-12-13 17:29:39 +01:00
Kazuhito Yokoi d287b8867b Add Japanese translations for v3.1.3 2023-12-08 15:28:49 +09:00
Nick O'Leary c584d51432
Bump for 3.1.3 release 2023-12-07 18:27:33 +00:00
Nick O'Leary 2f1565fbc9
Add missing en-us messages 2023-12-07 18:19:37 +00:00
Nick O'Leary 37d1539fda
Bump for 3.1.2 release 2023-12-07 14:12:53 +00:00
Nick O'Leary 1e518396d6
Merge pull request #4470 from wangyiyi2056/Add-action-list-Chinese-translation
Added action list Chinese (Simplified and Traditional) translation + v3.1.1 changes
2023-12-07 13:59:54 +00:00
Nick O'Leary 617b98ed49
Merge pull request #4466 from GogoVega/add-action-list-translation
Add French translation of `action-list` + v3.1.1 changes
2023-12-07 13:56:25 +00:00
Nick O'Leary 2963f3f1b8
Ensure nested groups inside subflows have their g props remapped 2023-12-07 11:47:02 +00:00
wangyiyi2056 17e4bdbff1
Merge branch 'master' into Add-action-list-Chinese-translation 2023-12-07 09:19:46 +08:00
Nick O'Leary eebab4a921
Relax some node validators to allow undefined value 2023-12-06 10:30:49 +00:00
Nick O'Leary b06494c5be
Merge pull request #4465 from node-red/4464-fix-switch-typeof-validation
Fix switch validation of typeof field
2023-12-06 10:09:39 +00:00
wangyiyi2056 a0562bef81 Added action list Chinese translation + v3.1.1 2023-12-05 22:50:03 +08:00
Nick O'Leary 94abaaff1e
Use move cursor when hovering on group border 2023-12-04 11:49:29 +00:00
GogoVega 03732869e4
Fix that little guy hiding 2023-12-02 18:53:06 +01:00
GogoVega 41868e2652
Apply v3.1.1 changes 2023-12-02 16:16:03 +01:00
GogoVega 81bfba3cea
Add actions list translation 2023-12-02 16:10:52 +01:00
Nick O'Leary 8a04eb2e29
Update packages/node_modules/@node-red/nodes/core/function/10-switch.html 2023-12-01 19:40:49 +00:00
Nick O'Leary 1777fc749d
Fix switch validation of typeof field
Fixes #4464
2023-12-01 13:11:07 +00:00
Nick O'Leary 4bb2157cab
Bump for 3.1.1 release 2023-11-30 15:49:57 +00:00
Nick O'Leary 9fe653f821
Merge branch 'master' into fix-debug-filter 2023-11-30 15:08:14 +00:00
Nick O'Leary 7ebf84f38c
Fix debug filter 2023-11-30 14:50:28 +00:00
Nick O'Leary d42e75ebd0
Handle unknown node reference inside subflow module 2023-11-30 14:46:43 +00:00
Nick O'Leary 1c3644e338
Fix various issues with debug pop-out window 2023-11-30 11:23:35 +00:00
Nick O'Leary 2dfabb523b
Merge pull request #4457 from node-red/4456-fix-group-in-subflow-lookup
Ensure subflow instances keep track of their groups
2023-11-29 16:41:52 +00:00
Nick O'Leary 3e2d20e536
Merge pull request #4455 from GogoVega/4429-fix-validateNodeProperty
Fix `validateNodeProperty` without validator provided
2023-11-29 16:19:41 +00:00
Nick O'Leary ee7ee083b0
Merge pull request #4440 from node-red/4429-add-typed-validators
Add validators to any fields using msg-typed Input
2023-11-29 16:18:53 +00:00
Nick O'Leary fb54c05d9f
Ensure subflow instances keep track of their groups 2023-11-29 16:12:12 +00:00
Nick O'Leary 21f807aa66
Merge pull request #4453 from node-red/4413-debounce-uninstall-notifications
Debounce node-removed notifications
2023-11-29 16:11:18 +00:00
Nick O'Leary 6b088bda12
Merge pull request #4452 from node-red/4443-add-modules-install-audit-event
Add modules.install audit event when external module installed
2023-11-29 16:11:04 +00:00
Nick O'Leary a32ee869ae
Merge pull request #4448 from bonanitech/first-commit-has-no-parents
Don't try to load the parents of the first commit
2023-11-29 16:10:42 +00:00
GogoVega a2d7772958
Fix validateNodeProperty if no validator provided 2023-11-28 20:13:25 +01:00
Stephen McLaughlin 6ec052be18
Merge pull request #4454 from node-red/4380-mqtt-undefined-value
Guard against node.broker being undefined
2023-11-27 17:48:02 +00:00
Nick O'Leary 9c71d52d69
Check node.broker is a string before trying to use it
Fixes #4380
2023-11-27 17:27:32 +00:00
Nick O'Leary 171c146ec5
Debounce node-removed notifications
Fixes #4413
2023-11-27 17:14:15 +00:00
Nick O'Leary bc6afa2164
Add modules.install audit event when external module installed 2023-11-27 16:58:14 +00:00
Nick O'Leary 6633730bf1
Allow import of modules with subpath in specifier
Fixes #4446
2023-11-27 16:44:56 +00:00
Mauricio Bonani 2964a4da5e Don't try to load the parents of the first commit 2023-11-24 16:22:29 -05:00
Nick O'Leary d2a8338d4a
Rename mermaidOptions to mermaid for contrib themes 2023-11-20 17:50:59 +00:00
Nick O'Leary e945deeab6
Allow mermaid theme to be set via editorTheme and custom themes
Fixes #4274
2023-11-20 17:47:39 +00:00
Nick O'Leary 722fe02933
Add validators to any fields using msg-typed Input
Fixes #4429
2023-11-20 17:17:52 +00:00
Nick O'Leary 3dec609459
Merge pull request #4438 from node-red/update-deps-2
Update node-red-admin version
2023-11-20 10:00:44 +01:00
Nick O'Leary e73b9f646d
Update nr package to match 2023-11-17 10:44:34 +00:00
Nick O'Leary c6a8eee73d
Merge pull request #4416 from node-red/mqtt-check-topic-length
check topic length > 0 before publish
2023-11-07 17:46:33 +00:00
Nick O'Leary 74d431ea36
Merge pull request #4427 from node-red/4394-update-page-title-on-flow-nav
Update browser title with flow name if set
2023-11-07 17:40:36 +00:00
Nick O'Leary 409a559a13
Merge pull request #4411 from node-red/4376-handle-falsy-env-vars
Handle false-like env vars properly
2023-11-07 17:40:18 +00:00
Nick O'Leary 6829535350
Merge pull request #4409 from node-red/4381-avoid-multiple-settings-saves
Only save settings once during node load process
2023-11-07 17:40:03 +00:00
Nick O'Leary 6488111f79
Merge pull request #4423 from node-red/4415-handle-excluded-core-nodes
Ensure typeSearch handles undefined node definitions
2023-11-07 17:39:46 +00:00
Nick O'Leary 923339c1d8
Merge pull request #4426 from node-red/4044-group-bb-import
Ensure group w/h are imported if present
2023-11-07 17:39:30 +00:00
Nick O'Leary c52985d245
Update browser title with flow name if set
Fixes #4394
2023-11-07 17:24:04 +00:00
Nick O'Leary 88e6c71aa0
Ensure group w/h are imported if present
Fixes #4044
2023-11-07 17:09:22 +00:00
Nick O'Leary 4d08e297c4
Hide node status background when there is no status to show
Fixes #4418
2023-11-07 16:34:36 +00:00
Nick O'Leary ad2b30691f
Ensure typeSearch handles undefined node definitions
Fixes #4415
2023-11-03 11:28:04 +01:00
Dave Conway-Jones 369bad01b8
check topic length > 0 before publish
to close #4414
2023-11-03 08:55:38 +00:00
Nick O'Leary b6ecc6d9ea
Handle false-like env vars properly 2023-11-02 00:40:55 +01:00
Nick O'Leary 0117df0960
Only save settings once during node load process 2023-11-01 16:18:03 +01:00
Nick O'Leary e5307f6604
Add a close button to the restart-required notification
Fixes #4392
2023-11-01 14:39:51 +01:00
Nick O'Leary 8d9b6dd859
Merge pull request #4405 from node-red/4396-fix-global-config-cred-lookup
Ensure global-config nodes lookup cred values properly
2023-11-01 14:20:56 +01:00
Nick O'Leary 01821ead0f
Merge pull request #4371 from ralphwetzel/master
Extend typedInput "num" type validity check to NaN, binary, octal & hex
2023-11-01 14:20:31 +01:00
Nick O'Leary 1451fb9e2f
Merge pull request #4399 from kazuhitoyokoi/master-fixrepeat4inject
Fix unintended new line in node name
2023-11-01 14:17:21 +01:00
Nick O'Leary 245751bb23
Merge pull request #4382 from hazymat/master
Ctrl-Enter does not close tray (Monaco) #4377
2023-11-01 14:15:08 +01:00
Nick O'Leary 861dc0c383
Ensure global-config nodes lookup cred values properly
Fixes #4396
2023-11-01 11:07:48 +01:00
Kazuhito Yokoi fae3a5c26a Fix unintended new line in node name 2023-10-29 14:58:03 +09:00
Dave Conway-Jones 1a52c0adfc
fix buffer viewer to handle 0b style binary 2023-10-24 23:15:34 +01:00
Mat Smith 44c0bbc61e Ctrl-Enter does not close tray (Monaco) #4377 2023-10-12 18:53:34 +01:00
ralphwetzel 5ac50fae3a Extend typedInput "num" type validity check to NaN, binary, octal & hex 2023-09-26 20:00:48 +02:00
Nick O'Leary ee48a2f2bf
Merge pull request #4362 from node-red/4342-subflow-err
Handle credential env var evaluation when no value set
2023-09-25 18:20:28 +01:00
Nick O'Leary 680d5b8216
Merge pull request #4364 from node-red/4323-redo-mermaid-integration
Rework mermaid integration to support off-DOM rendering
2023-09-25 18:08:48 +01:00
Nick O'Leary c9320c190d
Ensure creds object is not undefined when evaling env vars 2023-09-25 18:08:02 +01:00
Nick O'Leary ec6e42e655
Merge pull request #4361 from node-red/4342-fix-subflow-env-self-reference
Fix env evaluation when one env references another in the same object
2023-09-25 18:04:58 +01:00
Nick O'Leary bba6b6f71d
Merge pull request #4365 from node-red/4334-context-labels
Add missing nls labels to context menu
2023-09-25 18:04:35 +01:00
Nick O'Leary a489b270d1
Remove extra debug 2023-09-25 17:38:16 +01:00
Nick O'Leary 51cb61940d
Improve validation of switch/change node rules
Fixes #4340
2023-09-25 17:33:59 +01:00
Nick O'Leary ce2f896b45
Add missing nls labels to context menu
Fixes #4334
2023-09-22 16:29:33 +01:00
Nick O'Leary 6635ff9a69
Rework mermaid integration to support off-DOM rendering 2023-09-22 15:23:01 +01:00
Nick O'Leary 41797f8cef
Handle credential env var evaluation when no value set 2023-09-22 13:56:54 +01:00
Nick O'Leary 797cea5394
Fix env evaluation when one env references another in the same object
Fixes #4342
2023-09-22 13:49:54 +01:00
Nick O'Leary fc54848318
Merge pull request #4349 from braincube-io/feat/fmo/makeCsvExportFast
Performance : make CSV export way faster by not re-allocating and handling huge string
2023-09-19 09:22:54 +01:00
Nick O'Leary 2f9f8cda81
Merge pull request #4350 from node-red/Fix-delay-node-passing-on-reset-regression
Fix regression in delay node to not pass on msg.reset
2023-09-19 09:21:33 +01:00
Nick O'Leary 4e55408fed
Merge pull request #4346 from kazuhitoyokoi/master-fixheight4templete
Fix height of description editor in template node
2023-09-19 09:20:09 +01:00
Nick O'Leary 88aa61ea77
Merge pull request #4329 from GogoVega/french-translation-v3.1-beta.4-changes
Add French translation of v3.1.0-beta.4 changes + slight improvements
2023-09-19 09:19:49 +01:00
Nick O'Leary 2ccdeb968c
Merge pull request #4332 from node-red/4330-fix-multiple-input-handlers
Handle nodes with multiple input handlers properly
2023-09-19 09:19:22 +01:00
Dave Conway-Jones 718a7bfc26
Update 89-delay.js 2023-09-18 19:32:01 +01:00
Franck 27ca30aa82 PERF : make csv way faster by not allocating and handling huge string 2023-09-18 15:16:15 +02:00
Kazuhito Yokoi e1cecc9601 Fix height of description editor in template node 2023-09-16 15:46:07 +09:00
GogoVega 4c13f5a0af
Adapting the translation depending on the context 2023-09-09 14:34:33 +02:00
GogoVega f5a9942d5e
Fix translation mistakenly erased 2023-09-09 10:59:59 +02:00
Nick O'Leary ee2d91fb4a
Handle nodes with multiple input handlers properly
Fixes #4330
2023-09-08 16:26:10 +01:00
Nick O'Leary 6ca41ba69d
Handle undefined linkType value for existing link-call nodes 2023-09-08 16:03:08 +01:00
GogoVega 7f9d142038
Add translation of v3.1-beta.4 changes 2023-09-08 15:45:00 +02:00
GogoVega 44a1f83b26
Add some capital letters 2023-09-08 15:39:46 +02:00
Nick O'Leary d9bbac20f3
Merge pull request #4320 from node-red/dev
Sync `dev` to `master` for 3.1.0 release
2023-09-06 14:04:36 +01:00
Nick O'Leary a48c57dd17
Merge pull request #4321 from node-red/rel-310
Bump version and changelog for 3.1.0 release
2023-09-06 13:57:44 +01:00
Nick O'Leary 77b235655c
Bump version and changelog 2023-09-05 21:29:20 +01:00
Nick O'Leary 8dc0261993
Merge pull request #4319 from Rotzbua/fix_duplicate
Fix duplicate declaration
2023-09-05 20:41:38 +01:00
Rotzbua 65d2ad68d3
Fix duplicate declaration 2023-09-05 19:02:39 +02:00
Nick O'Leary ab6d537c3e
Default filter to All Catalogues and show nodes for small lists 2023-09-05 17:49:50 +01:00
Nick O'Leary 3a6078a56a
Merge pull request #4317 from node-red/update-deps-31
Dependency updates
2023-09-05 17:21:06 +01:00
Nick O'Leary b0c3fefcab
Dependency updates 2023-09-05 17:16:05 +01:00