Nick O'Leary
efb9dce92f
Merge pull request #2543 from node-red/editor-events
...
Add more consistent events in the editor
2020-04-22 13:51:36 +01:00
Kazuhito Yokoi
f024e0bbed
Fix test cases for UI testing
2020-04-21 21:58:18 +09:00
Dave Conway-Jones
3f1bb6771a
Dont try and clone properties of a null object
2020-04-21 11:14:11 +01:00
Dave Conway-Jones
0b3ced5203
add test for cr lf in input and enhance odd quotes tests
2020-04-21 10:58:36 +01:00
Nick O'Leary
373267c53b
Add more consistent events in the editor
...
This introduces a much more consistent set of events within the editor
for whenever a element is added, removed or modified.
The events emited on the `RED.events` event system. The event names
take the form: `"<thing>:<action>"`.
`<thing>` can be one of:
- nodes
- flows
- subflows
- groups
- links
`<action>` can be one of:
- add
- remove
- change
The payload of the events is the object in question.
There is also:
- flows:reorder - when tabs are reordered. Payload is array of flow ids.
- workspace:clear - when the workspace is emptied - part of switching projects
The `nodes:change` event was already used by RED.nodes.dirty() to cause
the Deploy button to become active. This renames that event to:
- workspace:dirty - Payload is boolean flag for the dirty state
This commit also updates the Palette to use the subflows:change event to
only redraw subflows that have actually changed rather than refresh them
all whenever one of them *might* have changed. This removes a noticable
flicker of the icon which was needlessly being redrawn.
2020-04-20 22:23:34 +01:00
Nick O'Leary
ae3e250269
Merge branch 'dev' of github.com:node-red/node-red into dev
2020-04-20 21:57:46 +01:00
Vladimir Kuznetsov
33200b2d08
Fix: Remove nodejs deprecation warning in 21-httpin node
2020-04-15 15:39:59 +02:00
Nick O'Leary
b032e00d01
[groups] increase group border radius
2020-04-14 22:39:42 +01:00
Dave Conway-Jones
fda95dfc5d
csv node: remove xs console.log
2020-04-14 11:02:14 +01:00
Dave Conway-Jones
bc96f2d0cb
udp node: when reusing input socket honour the broadcast mode.
2020-04-11 22:33:11 +01:00
Hiroyasu Nishiyama
c649e1b4a2
update promise & message handling
2020-04-10 23:06:43 +09:00
Nick O'Leary
f54ed8ebd1
Prevent button label wrapping in typedInput
2020-04-09 20:20:52 +01:00
Nick O'Leary
b82167fefa
Bump for 1.0.5
2020-04-09 14:15:46 +01:00
Paul Wieland
2efc2bc186
Update 20-inject.html
...
Scroll the div down automatically when the user changes the repeat drop down.
2020-04-08 13:37:51 -04:00
Nick O'Leary
f572c11912
Bump dependencies
2020-04-08 17:43:32 +01:00
Paul Wieland
4595a77c41
tip removed from inject node, cleanup i18n
2020-04-08 12:30:13 -04:00
Paul Wieland
7c1853431a
Update 20-inject.html
...
Cleanup old payload, topic & type.
Move name and remove tip.
2020-04-08 12:29:55 -04:00
Nick O'Leary
e26eb85718
Fine tune typedInput flexbox handling on option-button
2020-04-08 17:06:11 +01:00
Nick O'Leary
821b5686f2
Merge branch 'master' into pr_2492
2020-04-08 12:42:33 +01:00
Nick O'Leary
c989f466ed
Update changelog
2020-04-08 12:38:49 +01:00
Nick O'Leary
97c771f93a
Ensure file context does not write 'undefined' to store
...
Fixes #2522
2020-04-08 11:32:39 +01:00
Nick O'Leary
54dbdde9cb
Merge pull request #2532 from martinLim45/master
...
Set flow.disabled when disabled property is false
2020-04-07 10:05:36 +01:00
martinLim45
513957eea1
Set flow.disabled when disabled property is false
2020-04-07 16:41:49 +09:00
Dave Conway-Jones
5eed4672ed
rtrigger node - reapply - passing topic through to output fix that seemed to only half merge
2020-04-06 22:58:00 +01:00
Nick O'Leary
aafa4fe0b9
Bump dev branch to 1.1.0
2020-04-06 20:29:22 +01:00
Nick O'Leary
572c03631d
Do not collapse whitespace in Debug string messages
2020-04-06 15:40:06 +01:00
Nick O'Leary
2f869a55e2
Handle nodes with no wires array
2020-04-06 15:39:48 +01:00
Hiroyasu Nishiyama
161f6090c1
update initialize & finalize processing of function node
2020-04-06 16:34:41 +09:00
Nick O'Leary
efad7270b7
Add polyfills for IE11
2020-04-03 16:57:15 +01:00
Dave Conway-Jones
24eb78d137
add ja translations
2020-04-03 16:55:43 +01:00
Dave Conway-Jones
e969a1c97c
Let CSV node only send headers once
...
(and then reset that on msg.reset)
and also accept msg.columns csv string to set column headers if not specified in node.
And Add tests
2020-04-03 15:54:19 +01:00
tmdoit
4f31632863
Fix: Allow CR and LF control chars to be a part of the value ( #2526 )
...
To properly parse CSV data.
2020-04-03 15:10:33 +01:00
Dave Conway-Jones
1d417c07cd
TCP out - tidy up select of which rows to display
...
to help address #2525
2020-04-03 11:14:23 +01:00
Nick O'Leary
344c9fe57e
Merge branch 'master' into dev
2020-04-02 23:24:42 +01:00
Nick O'Leary
9d4400349b
Fix timer reference in node close handling
2020-04-02 23:24:18 +01:00
Nick O'Leary
24f7000918
[groups] Remove padStart because IE11
2020-04-02 23:23:41 +01:00
Nick O'Leary
6ff3286d78
Merge branch 'master' into dev
2020-04-02 16:52:55 +01:00
Nick O'Leary
f058de8bcd
Update TypedInput to use flexbox and remove resizing code
2020-04-02 16:49:58 +01:00
Nick O'Leary
fbfc74e5ca
[groups] Ensure newly imported nodes have width/height
2020-04-02 11:58:08 +01:00
Nick O'Leary
1b5654001c
Merge pull request #2396 from amodelbello/master
...
Replace pvorb/clone with lodash.clonedeep to prevent errors when cloning complex objects
2020-04-01 20:22:40 +01:00
Nick O'Leary
e0f3e94e2b
Merge branch 'dev' into master
2020-04-01 20:22:25 +01:00
Nick O'Leary
5da89892b4
[groups] Draw group selection above all other groups
2020-04-01 14:10:35 +01:00
Nick O'Leary
a6ecb54cc4
Clear node.close timeout to avoid unnecessary work on restart
2020-03-31 19:25:20 +01:00
Nick O'Leary
04da13eaf9
Merge branch 'pr_2523' into dev
2020-03-31 15:59:31 +01:00
Nick O'Leary
7fa4df082e
Force sync redraw of view when replacing unknown nodes
2020-03-31 15:58:51 +01:00
Nick O'Leary
ae001c5e82
Merge branch 'master' into dev
2020-03-31 15:35:46 +01:00
Nick O'Leary
e7f942eda7
Update nodeTabMap when replacing unknown nodes
2020-03-31 15:34:48 +01:00
Hiroyasu Nishiyama
fa8236ee2c
update for recent change of dev branch
2020-03-31 20:32:07 +09:00
Hiroyasu Nishiyama
08ec04c889
merge upstream/dev
2020-03-31 19:05:22 +09:00
Hiroyasu Nishiyama
e5150ea012
force redraw after node installation
2020-03-31 16:48:20 +09:00