1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Commit Graph

145 Commits

Author SHA1 Message Date
Kazuhito Yokoi
2f5ec8b5bf Fix inserting new subflow node to existing wire between nodes 2019-07-26 17:51:49 +09:00
Nick O'Leary
55645e3730
Properly escape node types in palette
We were only escaping the first instance of any invalid dom char
and not all of the
2019-06-28 22:39:27 +01:00
Nick O'Leary
c1104d1cd6
Revealing node position needs to account for zoom level
Fixes #2172
2019-06-21 12:53:09 +01:00
Nick O'Leary
04bdcbd490
Do not save subflow env vars with blank names 2019-06-21 12:46:53 +01:00
Nick O'Leary
87a815fd6f
Don't allow a link node virtual wire to connect to normal port 2019-06-21 12:45:50 +01:00
Nick O'Leary
8486f4d43a
Copy data-i18n attribute on TypedInput
Fixes #2211
2019-06-19 10:10:17 +01:00
Nick O'Leary
6a57d25f4a
Trigger change evnt on typedInput when type changes and options present
Fixes #2160
2019-05-17 11:45:16 +01:00
Kazuhito Yokoi
44b75f0b92 Adjust node animation speed 2019-04-16 11:02:51 +09:00
Kazuhito Yokoi
162bd6a8c3 Fix node drag and drop animation 2019-04-16 09:47:08 +09:00
Nick O'Leary
0fa165c606
Revert error handling in palette manager 2019-04-05 13:45:06 +01:00
Nick O'Leary
d92040b804
Add error message if catalog invalid json 2019-04-04 11:36:12 +01:00
Nick O'Leary
9832394f8e
Allow subflow instance to override env var with falsey values
Fixes #2113
2019-03-28 13:33:54 +00:00
Nick O'Leary
dd89ea3731
Prevent wire from normal node to link virtual port
Fixes #2114
2019-03-28 10:48:48 +00:00
Nick O'Leary
1d7be6457f
Ensure node names are sanitized before being presented 2019-03-13 16:08:11 +00:00
Nick O'Leary
781b3aff1b
Merge branch 'dev' into pr_2076 2019-03-05 14:37:33 +00:00
Nick O'Leary
b011b9203b
Keep subflow palette appearance in sync with edits 2019-03-05 14:37:07 +00:00
Kazuhito Yokoi
f80b172022 Add condition to handle existing node 2019-03-05 21:29:03 +09:00
Kazuhito Yokoi
66fc4b536c Automatic placing of node icon 2019-03-05 21:21:23 +09:00
Kazuhito Yokoi
1f97ccdddb Fix module name bug in library 2019-03-05 19:38:56 +09:00
Nick O'Leary
43f21fc7aa
Add list-flows action and button 2019-03-04 22:37:51 +00:00
Nick O'Leary
e7f54f005c
Merge pull request #2060 from jeancarl/dev
Transfer input attributes (placeholder, type) to generated TypedInput field
2019-02-28 10:50:15 +00:00
Kazuhito Yokoi
91cc03dd80 Fix typo and update message catalog 2019-02-19 14:24:37 +09:00
Nick O'Leary
9d673a213e
Use absolute flow file path in project settings
This ensures the diff logic can recognise the project flow file
and apply merge resolution to paths that git knows
2019-02-17 22:18:40 +00:00
JeanCarl
97e789538e
Transfer placeholder and type to generated TypedInput field 2019-02-15 14:40:19 -08:00
Nick O'Leary
e05ff01d57
Allow a project to be located below the root of repo 2019-02-15 22:11:25 +00:00
Nick O'Leary
afd2ccfb4f
Detect the cloning of an empty git repo properly 2019-02-14 14:00:25 +00:00
Nick O'Leary
057127f4de
Hitting enter in Comment node name field clicks markdown button
When Enter is pressed in a form, the browser will find the first
submittable element and trigger it. By default <button> elements
have type set to 'submit' which causes them to be targetted by
this behaviour.

Adding `type="button"` prevents this behaviour. This change
targets some main offenders - in particular the markdown toolbar.

There are of lots of other `<button>` elements without this attribute
set, so they need tidying up. Not currently aware of any others that
exist in a <Form> so may be immune from this behaviour.
2019-02-13 20:41:34 +00:00
Dave Conway-Jones
2937b25d6d
Shift status text left if no shape specified 2019-02-13 14:36:36 +00:00
Nick O'Leary
be1b9c0e43
Handle treeList labels as text not html 2019-02-11 16:15:25 +00:00
Nick O'Leary
06cc08d9f7
Better align node status text to status dot 2019-02-09 21:27:54 +00:00
Nick O'Leary
bdc1da70c1
Change subflow edit dialog titles 2019-02-09 21:20:20 +00:00
Nick O'Leary
7cef990ba6
Resize subflow edit dialog properly 2019-02-09 20:44:21 +00:00
Nick O'Leary
724acff591
Properly sanitize node names in deploy warning dialogs 2019-02-07 09:11:06 +00:00
Nick O'Leary
a301bf8bf5
Fix XSS issues in library ui code 2019-02-06 22:25:25 +00:00
Nick O'Leary
37b3601c47
Link Node - scroll to current flow in node list 2019-02-06 15:38:35 +00:00
Nick O'Leary
d48a09e68b
Add env type to subflow env var types
Also remove date and regex types
2019-02-06 13:58:31 +00:00
Nick O'Leary
2a8f0a4eab
Display parent subflow properties in edit dialog 2019-02-05 23:08:39 +00:00
Nick O'Leary
aab0f2dcd5
Merge pull request #2047 from node-red-hitachi/fix-use-common-i18n-label
Fix use of i18n label
2019-02-05 08:31:38 +00:00
Kazuhito Yokoi
f1a5e8a42c
Fix direction value of subflow output 2019-02-05 16:27:02 +09:00
Hiroyasu Nishiyama
ff759a8074 use common i18 label for variable name placeholder 2019-02-05 13:12:21 +09:00
Nick O'Leary
1fe8b388a3
Allow subflow env-var list to resize with the dialog 2019-02-04 17:20:31 +00:00
Dave Conway-Jones
c409af0ea8
Add local time display option to numerics in debug window 2019-02-04 15:51:42 +00:00
Nick O'Leary
5110eaff96
Merge branch 'dev' into pr_2042 2019-02-04 14:39:00 +00:00
Nick O'Leary
3bcff91328
Add Status Node to Subflow to allow subflow-specific status
Closes #597
2019-02-01 23:44:50 +00:00
Nick O'Leary
efe8fbbd11
Better handling of multiple flow merges
Fixes #2039

Keeps better track of what was merged so a subsequent merge
properly identifies new-vs-old and doesn't remove thinks by mistake
2019-01-30 15:12:01 +00:00
Hiroyasu Nishiyama
0b05b883cb add test cases 2019-01-30 00:04:41 +09:00
Hiroyasu Nishiyama
f88a4b1791 fixed comments from @knolleary 2019-01-28 22:14:08 +09:00
Hiroyasu Nishiyama
2b43e3ee23 add placeholder for env var name 2019-01-27 21:56:13 +09:00
Nick O'Leary
79062e2034
Move nodes to top-left corner when converting to subflow 2019-01-26 20:49:22 +00:00
Hiroyasu Nishiyama
a413f3cded Add support of subflow env var 2019-01-26 23:15:20 +09:00