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

446 Commits

Author SHA1 Message Date
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
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
a786b37cb9
Make ssh key dialog accessible when opened from new proj dialog 2019-01-10 13:28:40 +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
19eb8e9a6d
Update palette manager properly when module updated 2019-01-07 14:54:35 +00:00
Nick O'Leary
6031f146aa
Add TreeList common widget 2018-12-20 13:15:31 +00:00
Nick O'Leary
020a469f3b
Fix visual jump when opening Comment editor on Safari
Part of #2008
2018-12-19 10:05:09 +00:00
Nick O'Leary
b837f7608c
Avoid marking node as changed if label state is default
Fixes #2009
2018-12-19 09:30:20 +00:00
Nick O'Leary
8502cf8498
Highlight port on node hover while joining 2018-12-18 21:45:33 +00:00
Nick O'Leary
33dade0584
Support drag-wiring of link nodes 2018-12-18 10:57:53 +00:00
Nick O'Leary
84cc2ad0fa
Allow TypeSearch to include a filter option 2018-12-18 10:57:33 +00:00
Nick O'Leary
64df557423
Allow sections to toggle in 2-element stack 2018-12-18 10:56:54 +00:00
Nick O'Leary
c0837ead0e
Add support for ${} env var syntax when skipping validation
Closes #1980

See also #825
2018-12-13 16:13:57 +00:00
Nick O'Leary
c283224000
Merge branch 'master' into dev 2018-12-13 11:14:58 +00:00
Nick O'Leary
368b76a183
Merge pull request #2000 from node-red-hitachi/i18n-markdown-tooltip
i18 support for markdown editor tooltips
2018-12-13 11:00:03 +00:00
Hiroyasu Nishiyama
2f884ec778 i18 support for markdown editor tooltip 2018-12-11 22:33:11 +09:00
Nick O'Leary
8c561e92c8
Actively expire login sesssions and notify user 2018-12-11 11:32:12 +00:00
Nick O'Leary
ea4d65ceee
Add RED.editor.registerTypeEditor for custom type editors 2018-12-10 22:21:21 +00:00
Nick O'Leary
6201247875
Tidy up markdown toolbar handling across all editors
Any editor for the markdown mode will now automatically get
the markdown toolbar added.

The comment node has been updated to handle this properly and
to not add two copies of its content to the sidebar.
2018-12-10 15:24:27 +00:00
Dave Conway-Jones
cf3b4e9e63
change check order for node.users
If node _def hasUsers is false then node.users may not exist... so won't have a length...
2018-12-08 18:09:33 +00:00
Nick O'Leary
0dd40a941b
Handle 3rd party node trying to use core node-red icon 2018-12-07 16:43:06 +00:00
Nick O'Leary
c76bd39280
Improve alignment of node label edit inputs 2018-12-06 10:54:23 +00:00
Nick O'Leary
09cd710f66
Add RED.notifications.hide flag
For use by the UI tests to suppress notifications from being displayed
in the editor. It is not for use by end-users and not exposed in any
way other than via javascript injection by the UI tests
2018-12-06 10:51:56 +00:00
Nick O'Leary
2060af8a92
Merge pull request #1987 from node-red-hitachi/fa-nonexist
Show arrow-in node when invalid font-awesome icon name was specified …
2018-11-30 23:13:33 +00:00
To-Thi Hoang
6b3b68a4e5 Diff panel DOM generation : Move generation of DOM for node properties to the click on the node row (instead of the diff panel opening). 2018-11-30 10:48:21 +01:00
nakanishi
8bda2d0add Show arrow-in node when invalid font-awesome icon name was specified for default icon 2018-11-29 16:57:39 +00:00
Nick O'Leary
4f0aa1bc02
Add 'open project' option to Projects Welcome dialog 2018-11-14 12:51:02 +00:00
Hiroyasu Nishiyama
cf931e8ddf Merge remote-tracking branch 'upstream/dev' into update-i18n-editor 2018-11-14 09:06:05 +09:00
Nick O'Leary
e4f67df2a1
Add 'type already registered' check in palette editor 2018-11-13 22:36:56 +00:00
Nick O'Leary
7515b745b5
Make sure editor footer is i18n enabled 2018-11-13 15:10:19 +00:00
Hiroyasu Nishiyama
0e902a7e71 i18n & JP message for node config tab 2018-11-13 23:29:14 +09:00
Nick O'Leary
2dfb443625
Handle missing tab.disabled property 2018-11-13 13:39:06 +00:00
Nick O'Leary
e6e7747ae1
Handle missing wires prop and string x/y props on import 2018-11-13 13:29:48 +00:00
Nick O'Leary
bfd98f3767
Add ability to delete context values from sidebar 2018-11-12 17:04:22 +00:00
Nick O'Leary
1c66c88f95
Allow copy-to-clipboard copy whole tabs 2018-11-09 09:51:55 +01:00
Nick O'Leary
dc880c672a
Make disabled flows more obvious in editor 2018-11-08 18:04:36 +01:00
Nick O'Leary
6a6d13b075
Allow import/export from file in editor 2018-11-05 22:32:39 +00:00
Nick O'Leary
7436e01188
Allow config nodes to be selected in sidebar and deleted 2018-11-03 21:32:38 +00:00
Nick O'Leary
e630919ef8
Handle subflow type in refreshLabelForm
Part of #1955
2018-11-02 13:59:10 +00:00
Nick O'Leary
2e3fd49b40
Merge pull request #1955 from node-red-hitachi/subflow-label
Show port label of subflow with input port
2018-11-02 13:59:04 +00:00
Nick O'Leary
dd54af2c08
Merge pull request #1961 from node-red-hitachi/update-JP-catalog-for-editor
Update message catalog for Node-RED editor
2018-11-02 13:17:27 +00:00
Hiroyasu Nishiyama
737bf411ff make projects menu use i18n 2018-11-02 21:25:14 +09:00
Nick O'Leary
6a4e7201fe
Disable subflow toolbar when multiple tabs are selected 2018-11-02 09:56:43 +00:00
nakanishi
5500b4fe35 Show port label of subflow with input port 2018-11-01 13:35:13 +09:00
Nick O'Leary
c0d8f904b3
Support ctrl-click selection of flow tabs 2018-10-30 22:18:16 +00:00
Nick O'Leary
7b28ba6078
Allow left-hand node button to act as toggle 2018-10-29 20:55:35 +00:00
Nick O'Leary
d4589ed7e3
Hide tooltips when a node is deleted 2018-10-26 23:17:09 +01:00
Nick O'Leary
5cfc52ea18
Support dbl-click in tab bar to add new flow in position 2018-10-26 23:09:41 +01:00
Nick O'Leary
3fcacd8339
Allow actions to have an argument 2018-10-26 23:09:41 +01:00
Nick O'Leary
49fe13f22f
Fix duplicate subflow detection on import 2018-10-26 23:09:41 +01:00
Nick O'Leary
70fb181b7b
Add more ui tooltips 2018-10-24 22:57:16 +01:00
Nick O'Leary
7dcca2c907
Add import notification with info on what has been imported
Closes #1862
2018-10-24 11:07:48 +01:00
Nick O'Leary
09abec15b1
Show error details when trying to import invalid json 2018-10-23 23:07:31 +01:00
Nick O'Leary
daf3e6a47a
Merge branch 'dev' into hide-label 2018-10-23 10:55:27 +01:00
nakanishi
c9db74ebca Show default icon when non-existent font-awesome icon was specified 2018-10-23 16:30:56 +09:00
Nick O'Leary
c66c5ea53c
Add configurable option for showing node label 2018-10-22 15:38:43 +01:00
Nick O'Leary
0a98ba6985
Tidy up appearance tab in edit dialog 2018-10-22 14:41:47 +01:00
Nick O'Leary
bb8e491856
Merge branch 'master' into dev 2018-10-22 11:02:23 +01:00
Nick O'Leary
55e897faac
Merge pull request #1927 from node-red-hitachi/faicon-height
Adjust the fa icon position for the node with height
2018-10-19 11:03:34 +01:00
Nick O'Leary
9751089807
Tidy up ace tooltip styling 2018-10-19 10:42:39 +01:00
Nick O'Leary
b2516117f5
Add event log to editor
Shows output from git pull/push and npm install in the editor
2018-10-18 23:49:47 +01:00
Nick O'Leary
2816b3edae
Add tooltip to flow add button 2018-10-17 13:45:57 +01:00
Nick O'Leary
242398c724
Slow down sidebar control appearance
Also hides WIP action info panel buttons
2018-10-17 13:18:08 +01:00
Nick O'Leary
289583325d
Allow palette to be hidden 2018-10-17 11:03:09 +01:00
nakanishi
1064e531f0 Adjust the fa icon position for the node with height 2018-10-17 10:31:47 +09:00
Nick O'Leary
dc3128fb3e
Add node module into to sidebar and palette popover 2018-10-16 14:05:23 +01:00
Nick O'Leary
d40aa7260f
Mark all newly imported nodes as changed 2018-10-16 11:36:46 +01:00
Nick O'Leary
fc8c4063f2
Add markdown toolbar to flow description editor 2018-10-16 11:36:24 +01:00
Nick O'Leary
0376e0d711
Allow a node label to be hidden 2018-10-08 16:25:11 +01:00
Nick O'Leary
6bd0682e8c
Better markdown editor preview 2018-10-07 14:24:32 +01:00
Nick O'Leary
e24c22f9be
Merge branch 'master' into dev 2018-10-07 12:02:29 +01:00
Nick O'Leary
f4ca8cd738
Merge branch 'master' into dev 2018-10-07 11:45:43 +01:00
Nick O'Leary
422109868d
Add markdown toolbar to node description editor 2018-10-06 23:14:04 +01:00
Nick O'Leary
bcc7834650
Add markdown formatting toolbar 2018-10-05 17:56:54 +01:00
Nick O'Leary
1161e4f6c1
Add tooltips to debug elements 2018-10-05 17:56:42 +01:00
Nick O'Leary
22ede79799
Add node body tooltip - limit to link nodes for now 2018-10-03 15:40:05 +01:00
Nick O'Leary
6cb3699ee9
Decrease opacity of flow-navigator 2018-10-03 14:13:36 +01:00
Nick O'Leary
cdcf39fe82
Update tooltip style and add to some editor buttons 2018-10-03 14:02:07 +01:00
Nick O'Leary
b2f50da322
Create custom ace javascript mode to handle Function sig
Fixes #1911
2018-10-02 23:01:34 +01:00
Nick O'Leary
023391e22a
Merge pull request #1899 from node-red-hitachi/fa-icon
Added font-awesome icons to user defined icon
2018-10-02 14:59:13 +01:00
Dave Conway-Jones
114420e8fd
If debug set not to go to sidebar hide the button
Add button.visible function to view.js
Make status independant of tosidebar setting
2018-10-01 12:59:06 +01:00
nakanishi
ba49b2c681 Hide brand icons of font-awesome from icon tile 2018-10-01 18:39:43 +09:00
nakanishi
8789d983ed Show icon element with either icon image or fa-icon 2018-09-28 17:07:55 +09:00
nakanishi
f13e02a1a9 Added font-awesome icons to user defined icon 2018-09-26 09:16:15 +09:00
Nick O'Leary
d887ab126b
Add --safe mode flag to allow starting without flows running 2018-09-25 11:20:50 +01:00
Nick O'Leary
80a15089b4
Add markdown-preview to expandable editor for ndoe descriptions 2018-09-21 17:21:04 +01:00
Nick O'Leary
a866aa9c18
Merge branch 'dev' into repackage 2018-09-21 11:47:34 +01:00
Nick O'Leary
2aae76c9bc
Merge branch 'dev' into repackage 2018-09-17 14:49:11 +01:00
Nick O'Leary
8c169dc82b
Add 'restart flows' option to deploy menu 2018-09-06 15:27:01 +01:00
Nick O'Leary
cfaaef7860
Merge branch 'dev' into repackage 2018-09-06 10:31:36 +01:00
Nick O'Leary
55d71659f8
Merge branch 'master' into repackage 2018-08-29 09:55:40 +01:00
Nick O'Leary
79e004a040
Merge branch 'master' into repackage 2018-08-24 14:13:09 +01:00
Nick O'Leary
3f37e96f78
Restore subflow category ui lost in the merge 2018-08-23 21:00:19 +01:00
Nick O'Leary
e57d8ba0ef
pull out editor-client and editor-api 2018-08-17 22:10:54 +01:00