Commit Graph

550 Commits

Author SHA1 Message Date
Nick O'Leary 5356373681
Finalise nodeSettings and update tlsConfigDisableLocalFiles
- increase test coverage around registerType
2017-03-09 21:06:49 +00:00
Nick O'Leary e55933706d
Merge branch 'nodeSettings' into 0.17 2017-03-09 20:00:54 +00:00
Kazuki-Nakanishi 3b3d696e45 Add the node setting tlsConfigDisableLocalFiles for tls node. (#1190)
* Add the node setting tlsConfigDisableLocalFiles for tls node.

* Fix the bug that shows node setting when specified in settings.js and exportable is false.
2017-03-09 19:58:34 +00:00
Kazuki-Nakanishi 34089aec70 Allow a node to declare what settings should be made available to the editor. (#1185)
* Implement register/exportNodeSettings.

* Change normaliseRegisterTypeName to normaliseNodeTypeName. Force it to name in a camel case.
2017-03-08 14:38:33 +00:00
kazuhitoyokoi 7a10636128 Add node whitelist function (#1184) 2017-03-08 10:00:00 +00:00
Nick O'Leary bd4c578230
NLS messages for Flow enabled/disable 2017-03-06 15:55:38 +00:00
Nick O'Leary 7698990e37
Allows flows to be enabled/disabled in the runtime 2017-03-06 15:29:05 +00:00
Nick O'Leary 73501f3ad3
Resync with master 2017-03-01 17:45:09 +00:00
Nick O'Leary 54ee655472
Log error stack traces if verbose flag is set 2017-03-01 17:00:27 +00:00
Nick O'Leary 571b9fb8e0 Merge pull request #1122 from CANDY-LINE/feature/i18n-issue
Fix empty extra node help content issue
2017-03-01 16:38:08 +00:00
Nick O'Leary fca77a868f
Allow a node to declare settings that should be exported 2017-03-01 15:01:07 +00:00
mblackstock 2bde07561f UI to upload certificates and keys for TLS, and send them to node red in configuration properties to store them in credentials file
by default upload buttons will be shown unless a cert or key path is already set
added new settings flag called 'tlsDisableLocalFiles' to disable UI for local paths for cloud hosted NR
2017-02-28 12:21:34 -08:00
Nick O'Leary 869fdbcc6a
Remove event passing for icons/examples from the api layer 2017-02-15 23:07:50 +00:00
Nick O'Leary fbd159a23a
Add placeholder text on label inputs and clear buttons 2017-02-08 10:48:26 +00:00
Nick O'Leary 185b16a858
Keep port label form in sync with output reordering 2017-02-08 10:48:25 +00:00
Nick O'Leary 0643f149b7
Extract line number if available from node load errors 2017-01-30 09:37:08 +00:00
Nick O'Leary f2235dacdc
Shuffle promises for creating default package.json 2017-01-28 14:21:22 +00:00
Nick O'Leary 85b2a03a42
Create a package.json file in userDir if one doesn't exist 2017-01-27 22:35:17 +00:00
Nick O'Leary ddb2ea4b5f
autoInstallModules option must honour version/pending_version 2017-01-25 11:07:02 +00:00
Nick O'Leary a69683183f
Refuse to update a non-local node module 2017-01-24 22:50:40 +00:00
Nick O'Leary e27f5d0460
Add node module update api and expose in palette editor 2017-01-21 23:46:44 +00:00
Daisuke Baba 5ba9a0eb3f Fix empty extra node help content issue 2017-01-19 16:55:57 +09:00
Nick O'Leary 11f4ae019c
Include module name in requests for node icons 2017-01-18 13:06:22 +00:00
Nick O'Leary d6f6b41145
Fix inner reference in install fail message catalog entry
Fixes #1120
2017-01-17 09:54:17 +00:00
Nick O'Leary 4b64aad5ce
Change hard error to verbose warning if using old node.js level 2017-01-14 23:57:39 +00:00
Nick O'Leary f699516fdb
Add node.js version check on startup 2017-01-12 10:40:04 +00:00
Nick O'Leary 0a96259ddf
Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
Nick O'Leary 3cd53f617a
Include unassigned keys to shortcut dialog 2017-01-11 11:41:25 +00:00
Nick O'Leary b1684e82d8
Dynamically generate keyboard shortcut help dialog 2017-01-11 11:35:48 +00:00
Nick O'Leary 28678acf74
Add debug logging around flow revision ids 2017-01-10 14:20:51 +00:00
Nick O'Leary 75855d5450
Initialise nodeApp regardless of httpAdmin setting
Closes #1096 #1095
2017-01-09 22:22:49 +00:00
Nick O'Leary e45cb7fac1
Ensure flows exist before delegating status/error events
Fixes #1069
2017-01-09 16:39:41 +00:00
Nick O'Leary 0e1013a570
Add install/remove dialog to increase friction
Closes #1109
2017-01-09 13:41:20 +00:00
zuhito 3c96218338 Add Japanese translation file(editor.json) (#1084) 2017-01-08 23:02:07 +00:00
Nick O'Leary f0a4ea099c
Fix whitespace in localfilesystem 2017-01-08 23:01:28 +00:00
btsimonh c8d6693fba fix bug where savesettings did not honor local settings variables (#1073)
* fix bug where savesettings did not honor local settings variables

* don't create lib/flows on read;  It's already created in localfilesystem.init and in saveLibraryEntry -
so removed call to promiseDir, and added a return of [] if accessing a folder which did not exist.
This is important because else when settings.readOnly is true, it still creates folders.

* Fix a CI failure where path passed to getLibraryEntry is empty;
treat this case as meaning it was wanting a folder, and return empty if the folder dioes not exist

* Add a test for getLibraryEntry( type, '/' ) as called by node-red

* change newsettings to camelCase newSettings
2017-01-08 23:00:27 +00:00
Nick O'Leary 81bbdfe413
Tidy up unused/duplicate editor messages
Closes #922
2017-01-08 22:54:46 +00:00
Nick O'Leary 1e37fed90b
Report node catalogue load errors
Closes #1009
2017-01-08 20:51:31 +00:00
Nick O'Leary 73a41707e5
Property expressions must not be blank 2017-01-06 21:58:17 +00:00
Nick O'Leary c989c533e8
Properly report module remove errors in palette editor
Fixes #1043
2017-01-06 16:53:54 +00:00
Nick O'Leary 4c6157a06e
Tidy up merge commit of validatePropertyExpression 2017-01-06 14:32:37 +00:00
Nick O'Leary e73216d4c1 Merge branch 'master' into 0.16 2017-01-06 14:30:13 +00:00
Nick O'Leary d131addd63
Allow tips to be enabled/disabled via menu option 2017-01-06 13:33:23 +00:00
Nick O'Leary 0c7705beff
Allow quoted property expressions
Fixes #1101
2017-01-06 11:23:53 +00:00
Nick O'Leary 555f96cfaf
Info-tips update 2017-01-05 23:33:19 +00:00
Nick O'Leary 59ffacb3df
Fix merge conflicts 2017-01-05 10:07:23 +00:00
Nick O'Leary 83acb66f00
NLS the diff dialog 2017-01-04 22:02:35 +00:00
Nick O'Leary 215c8fd261
NLS type search 2017-01-01 22:14:33 +00:00
Nick O'Leary 31a72b6562 Three-way-diff 2017-01-01 00:20:12 +00:00
Josh f143a6ba08 update welcome message to use logger so it can be turned off/on if required (#1083) 2016-12-23 11:31:23 +00:00