Commit Graph

4282 Commits

Author SHA1 Message Date
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
Nick O'Leary 85de227003
Make Node._flow a writeable property
This is needed so an existing node constructor that does:

   Object.assign(this,config);

works when it tries to replace this._flow with config._flow.
2019-01-30 10:50:29 +00:00
Nick O'Leary d534a8952d
Do not propagate Flow.getNode to parent when called from outside flow 2019-01-29 21:49:20 +00:00
Nick O'Leary d23b32a830
Bump to 0.20.0-beta.4 2019-01-28 15:29:01 +00:00
Nick O'Leary ceba08a801
Update dependencies and tidy up sentiment 2019-01-28 15:27:40 +00:00
Nick O'Leary e0bb03a53f
More api documentation updates 2019-01-28 14:40:42 +00:00
Nick O'Leary 2e063f91bc
Merge pull request #2041 from kazntree/default-chromedriver
Remove chromedriver from devDependencies
2019-01-26 21:48:25 +00:00
Nick O'Leary 79062e2034
Move nodes to top-left corner when converting to subflow 2019-01-26 20:49:22 +00:00
Nick O'Leary 4baaaa8d59
Propagate Status/Error events from global config nodes 2019-01-25 15:46:39 +00:00
Nick O'Leary c99b35428b
Ensure status/error events are propagated to parent properly 2019-01-25 13:35:02 +00:00
Nick O'Leary 3c8e4f8bbf
Merge branch 'pr_2033' into dev 2019-01-23 16:29:14 +00:00
Nick O'Leary aa9a37da38
Add placeholder node when in quick-add mode 2019-01-23 16:27:13 +00:00
Nick O'Leary 85efb48c1f
Merge branch 'dev' into pr_2033 2019-01-22 16:13:26 +00:00
Nick O'Leary 888e7ee023
Merge pull request #2038 from kazuhitoyokoi/dev-fixbuginwebsocketnode
Fix bug in WebSocket configuration node
2019-01-22 16:13:06 +00:00
Kazuhito Yokoi d7bbf8a8da Fix bug in websocket node 2019-01-22 12:03:30 +09:00
Dave Conway-Jones e2ee88de84
offset menu so you can see node placement 2019-01-21 22:08:25 +00:00
Dave Conway-Jones 1d1ab5b7b2
don't pin new nodes to grid if not using grid 2019-01-21 16:15:38 +00:00
Nick O'Leary 54c863d48f
Make Node._flow non-enumerable to avoid circular refs 2019-01-21 14:19:19 +00:00
Nick O'Leary acc633b4b6
Don't collapse version control header when clicking refresh 2019-01-21 10:06:02 +00:00
Dave Conway-Jones 766ccf85c2
add fast entry via keyboard for string of nodes 2019-01-20 14:43:17 +00:00
kazntree 7ab5a2be47 remove chromedriver package, and instruct how to install it when running grunt test-ui 2019-01-20 19:10:54 +09:00
Nick O'Leary 7a6e1fe566
Check for undeployed change before showing open project dialog 2019-01-18 21:42:13 +00:00
Nick O'Leary 4749c92252
Add View Tools 2019-01-18 21:19:03 +00:00
Nick O'Leary 0e035e47df
Avoid duplicate links when missing node type installed
Fixes #2032
2019-01-17 22:35:58 +00:00
Nick O'Leary 1359545e13
Allow debug edit expression to be sent to status 2019-01-17 17:15:53 +00:00
Nick O'Leary 5b2f24f842
Handle i18n properly when key is a valid sub-identifier
Fixes #2028
The i18n library will, be default, return a string containing
an error message about the key resolving to an object. We cannot
distinguish that string from others to handle ourselves.

The `returnObjectTrees` option will cause it to return the object
rather than error. We can then test for that and return the original
key if the object is returned - which is the desired result.
2019-01-17 14:44:41 +00:00
Nick O'Leary bb73e30909
Merge pull request #2016 from jwende/dev
german translation v01
2019-01-17 14:25:15 +00:00
Nick O'Leary 490903ca25
Tidy up when usage in Flow and Node 2019-01-17 13:18:26 +00:00
Nick O'Leary 901b32297e
Restore RED.auth to node-red module api 2019-01-16 23:41:44 +00:00
Nick O'Leary dd72046922
Add some comments to Flow and Subflow classes 2019-01-16 23:33:04 +00:00
Nick O'Leary 6286b34d00
Add Flow.getSetting for resolving env-var properties
This lays the groundwork for subflow-specific settings
2019-01-16 22:38:04 +00:00
Nick O'Leary 81f4e0de56
Refactor Subflow logic into own class 2019-01-16 16:27:19 +00:00
Nick O'Leary da756fa568
WIP: Start refactor of nodes/Flow.js 2019-01-11 14:53:21 +00:00
Nick O'Leary 30aebc4ee3
Bump JSONata in util package 2019-01-11 10:08:09 +00:00
Nick O'Leary 45138ce5ca
Bump JSONata to 1.6.4:wq 2019-01-11 09:54:56 +00:00
Nick O'Leary f26b9feeaf
Change default dropdown appearance and sidebar tab menu handling 2019-01-10 23:30:51 +00:00
Nick O'Leary 9e47d933af
Handle multiple-select box when nothing selected
Fixes #2021
2019-01-10 15:21:27 +00:00
Nick O'Leary f309a9d537
Bump version to 0.20.0-beta.3 2019-01-10 13:34:47 +00:00
Nick O'Leary a786b37cb9
Make ssh key dialog accessible when opened from new proj dialog 2019-01-10 13:28:40 +00:00
Nick O'Leary 6a519a30a2
Update changelog 2019-01-09 17:04:33 +00:00
Nick O'Leary 81ae552e69
Project ui code using incorrect error property 2019-01-09 17:03:17 +00:00
Nick O'Leary 0ec04a3624
Allow notifications to be reused in place rather than stack
For example, clipboard actions now reuse the same notification.
Similarly the Inject node will reuse its notification when
injecting.
2019-01-09 14:02:46 +00:00
Nick O'Leary 81d5b47fce
Update ws dependency in sub-modules 2019-01-08 16:31:18 +00:00
Nick O'Leary ed31a0cf15
Update to WS 6.x and fix all it broke
Significant update to the ws module to get it completely up to date.

The jump from 1.x to 6.x has required a rewrite of our WS handling. Most
specifically the means by which you can have multiple ws servers on a
single http server has completely changed; we now have to handle the
'upgrade' event on the server ourselves.
2019-01-08 16:21:36 +00:00
Nick O'Leary 201d1926bc
Bump dependencies 2019-01-08 10:32:23 +00:00
Nick O'Leary 9ee6655bfa
Bump jsonata in submodule package.json 2019-01-07 17:03:32 +00:00
Nick O'Leary c4beab6b0d
Bump JSONata to 1.6.4
Fixes #2023
2019-01-07 16:59:38 +00:00
Nick O'Leary 34b6643913
Remove unused variable declaration in Change node 2019-01-07 15:00:32 +00:00
Nick O'Leary 98e391b867
Add audit logging to admin api 2019-01-07 14:59:48 +00:00