Commit Graph

4961 Commits (v-flow)

Author SHA1 Message Date
Nick O'Leary 81387396c0
Move vertical ports off the node to prevent crowding 2019-12-04 16:06:53 +00:00
Nick O'Leary e2b7377ab7
Better vertical path routing 2019-11-25 11:15:48 +00:00
Nick O'Leary fb1918d839
Update quick-add dialog handling for vertical flow 2019-11-22 22:09:09 +00:00
Nick O'Leary 5d5a112c2b
Move node state icons to left edge 2019-11-22 20:51:06 +00:00
Nick O'Leary 4a6941a0d2
Various vertical flow layout tweaks
- ports are set off the node a bit more, with a bigger
   gap between them
 - status has moved to the top edge next to the input
 - change/error icons moved to top-left corner
2019-11-22 17:12:51 +00:00
Nick O'Leary 8e8cac60b0
Simplify vertical wire path 2019-11-22 15:40:59 +00:00
Nick O'Leary 61f42f9efa
Align centre of nodes in vertical flow view 2019-11-21 22:08:24 +00:00
Nick O'Leary fc590c66c0
Merge pull request #2386 from sakazuki/vertical-view
Vertical flow view
2019-11-21 22:06:55 +00:00
sakazuki 45a6348669 change default vertical option to false 2019-11-09 11:14:45 +09:00
sakazuki 981a9c4f8f fix hideLabel handling 2019-11-03 10:29:17 +09:00
sakazuki 22dd2cd084 fix position of status text, change & error mark 2019-11-02 16:44:51 +09:00
sakazuki 69d5ffe1ed adjust source position of link to draw 2019-11-02 13:52:58 +09:00
sakazuki d3afa8fd47 bump to v1.0.2. wip 2019-11-02 11:57:13 +09:00
Nick O'Leary e94634544c
Add script to generate npm publish script 2019-10-14 15:50:48 +01:00
Nick O'Leary 07fe5b247b
Bump for 1.0.2 2019-10-14 13:17:48 +01:00
Nick O'Leary c1c694035d
Allow node.status() to be passed number/bool types
Adds to the existing support for string types. Also
adds unit tests for all three cases
2019-10-14 13:06:59 +01:00
Nick O'Leary 147d2a02be
Ensure node status is refreshed whenever node is edited
Fixes an issue where, if the number of node outputs was changes
the node would resize, but the status text would not reposition
until a new status message arrived.

This change marks status as dirty whenever the node has been
edited, forcing it to be redrawn.
2019-10-14 13:05:45 +01:00
Nick O'Leary 6f91786f4d
Fixup Change node use of node.done 2019-10-11 11:08:25 +01:00
Nick O'Leary f62a933d1c
Ensure z property included in full message debug payload
Fixes #2315 #2316
2019-10-11 11:07:48 +01:00
1ft-seabass 451835fbeb Fixed editor.json (#2321) 2019-10-11 08:55:23 +01:00
Nick O'Leary 547e7a1b21
Allow node emitted events to have multiple arguments
This is fixing a regression introduced in 1.0 where a custom
`Node.emit` function was added that could only handle a single
argument.
2019-10-10 16:35:12 +01:00
Nick O'Leary 053e3ba923
Merge pull request #2313 from kazuhitoyokoi/master-fixvisualeditor
Fix menu in visual JSON editor
2019-10-10 14:31:19 +01:00
Nick O'Leary bf65dcd49b
Merge pull request #2314 from ThierryLeGal/addItem-insert-divider
Insert divider in menu by calling RED.menu.addItem('id', null);
2019-10-10 14:29:14 +01:00
Nick O'Leary a1d186112a
Merge pull request #2323 from boisei0/jsdoc-red-util
Fixed docstrings to have them match the function signature
2019-10-10 14:26:52 +01:00
Arlena Derksen ca7a298509 Fixed docstrings to have them match the function signature (name of parameters). 2019-10-10 14:57:19 +02:00
Kazuhito Yokoi ff4d58f648 Fix invalid JSON data in template node (#2322) 2019-10-10 10:34:10 +01:00
kitazaki a1e10e99fa Update 10-file.html (#2320) 2019-10-09 14:51:38 +01:00
Ryoichi Obara 16bda530f6 Remove unnecessary comma. (#2312) 2019-10-09 08:41:33 +01:00
Ryoichi Obara bf9e04d9db Unify translations of "boolean". (#2318) 2019-10-09 08:40:36 +01:00
Ryoichi Obara 8df86a75b1 Interval of inject node should be 596 hours or less. (#2319) 2019-10-09 08:39:08 +01:00
Thierry Le Gal 5056203023 Insert divider in menu by calling RED.menu.addItem('id', null); 2019-10-07 14:47:20 +02:00
Kazuhito Yokoi a0026e66ce Fix element to collapse items in visual JSON editor 2019-10-07 16:13:04 +09:00
Nick O'Leary f75dd2209d
Bump for 1.0.1 2019-10-04 11:13:46 +01:00
Nick O'Leary e35f6d9e35
Allow TLS config node to provide just CA cert
Fixes #2297
2019-10-04 11:02:00 +01:00
Nick O'Leary 3cb00ce4e0
Merge pull request #2308 from kazuhitoyokoi/master-fixgridsetting
Fix grid setting in flow editor
2019-10-04 10:53:01 +01:00
Nick O'Leary 8e18cf5986
Merge pull request #2306 from kazuhitoyokoi/master-fixtooltips
i18n support in tooltips
2019-10-04 10:50:27 +01:00
Nick O'Leary 81f80600f5
Merge pull request #2307 from kazuhitoyokoi/master-fixinjectnode
Fix width on inject node property
2019-10-04 10:49:48 +01:00
Kazuhito Yokoi 895156675f Fix grid setting 2019-10-04 18:15:32 +09:00
Kazuhito Yokoi 1c424e2e0a Fix width on inject node property 2019-10-04 15:33:31 +09:00
Kazuhito Yokoi 0124bb17e8 i18n support in tooltips 2019-10-04 12:22:09 +09:00
Hiroyasu Nishiyama 2c89b2d262 update Japanese info text of range node (#2302) 2019-10-03 20:32:56 +01:00
Nick O'Leary c7bbe2f1fe Add env vars to enable safe mode and projects (#2301)
* Add NODE_RED_ENABLE_SAFE_MODE and NODE_RED_ENABLE_PROJECTS

* Allow env-vars to be set to false to disable features
2019-10-03 20:31:16 +01:00
Nick O'Leary 88609a8829
Merge pull request #2303 from pdong/bug/node-color-change-when-not-on-a-flow
Fix issue where subflow color did not update when not on a flow
2019-10-03 15:59:35 +01:00
Nick O'Leary 329beb166c
Merge pull request #2305 from kazuhitoyokoi/master-fixlargeicon4subflowtab
Fix large icon on subflow tab in IE
2019-10-03 15:54:34 +01:00
Nick O'Leary e36f3d937c
Merge branch 'pr_2304' 2019-10-03 15:53:58 +01:00
Nick O'Leary 1395092ca6
Add viewbox to default icon 2019-10-03 15:53:26 +01:00
Nick O'Leary c09004dbc8
Fix error when setting typedInput to boolean true/false 2019-10-03 15:04:49 +01:00
Kazuhito Yokoi 7efe4a2776 Fix large icon on subflow tab in IE 2019-10-02 18:22:43 +09:00
Dave Conway-Jones b763e0b0cb
Let switch node between rule work both ways round
and add test
2019-10-02 09:52:26 +01:00
Kazuhito Yokoi ddd0d1bef3 Fix invisible icons in IE 2019-10-02 17:39:38 +09:00