Commit Graph

4272 Commits

Author SHA1 Message Date
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
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
Nick O'Leary 19eb8e9a6d
Update palette manager properly when module updated 2019-01-07 14:54:35 +00:00
Nick O'Leary 43b7aa40c3
Remove promises from Join node 2019-01-02 22:37:06 +00:00
Nick O'Leary 747af44fc1
Tidy up variable naming in split.js 2019-01-01 23:05:13 +00:00
Joerg Wende a73381e24b german translation v01 2018-12-22 09:22:25 +01:00
Nick O'Leary d5ef428edd
Remove promises from Change node 2018-12-21 14:37:04 +00:00
Nick O'Leary 5fa4d227b8
Merge pull request #2010 from node-red-hitachi/fix-require
Fix RED.require
2018-12-21 10:38:35 +00:00
Hiroyasu Nishiyama cc7e3b0c26 fix failure of RED.require 2018-12-21 14:39:51 +09:00
Nick O'Leary 473a2ae275
Remove all Promises from Switch node
Promises are expensive and should not be used in the main
message handling path. The Switch node used them a lot if
the node references context - with a lot of duplicate code
to handle async and sync code paths.

This change modifies the code to use callbacks throughout
that are just as performant in either case.
2018-12-20 22:57:47 +00:00
Nick O'Leary 7f5d47f39d
Update Link node UI to use TreeList 2018-12-20 13:15:42 +00:00
Nick O'Leary 6031f146aa
Add TreeList common widget 2018-12-20 13:15:31 +00:00