Commit Graph

581 Commits

Author SHA1 Message Date
Nick O'Leary 8f92a3e875
Do not log node errors if handled by a Catch node 2017-05-03 13:42:38 +01:00
Nick O'Leary ed1a55d9cd
Provide feedback when enable/disable node fails 2017-05-03 13:29:35 +01:00
Nick O'Leary 93ef84f495
Move palette editor to settings panel 2017-05-03 11:38:16 +01:00
Nick O'Leary 5938143002
Move view and keyboard into user settings dialog 2017-05-03 11:38:16 +01:00
Nick O'Leary 8135da71bd
Add basic user settings panel 2017-05-03 11:38:16 +01:00
Dave Conway-Jones 45fbd22e28
Update some core nodes info 2017-04-24 20:37:06 +01:00
Nick O'Leary 4ea33ea482
Pass a 'removed' parameter to node close handler 2017-04-21 23:36:21 +01:00
Nick O'Leary 72da7e6c54
Rename oauth auth scheme to strategy as it works for openid 2017-04-21 21:54:48 +01:00
Nick O'Leary fb05960d79
Allow oauth schemes provide a custom verify function 2017-04-21 21:17:18 +01:00
Nick O'Leary 7bd0943412
Provide single endpoint to load all node message catalogs
Replaces potentially dozens of http requests with one or two.
2017-04-21 11:49:35 +01:00
Dave Conway-Jones 2ac9c11ec9
Add tip to tab description editor
(and remove icons)
2017-04-16 21:08:32 +01:00
Dave Conway-Jones 1c470ab9e3
Make tab info edit box resizable 2017-04-16 20:25:15 +01:00
Nick O'Leary 5cb37148c6
Add editorTheme.logout.redirect to allow redirect on logout
Closes #1213
2017-04-12 21:41:16 +01:00
Nick O'Leary c54cf26848
Add support for oauth adminAuth configs 2017-04-12 10:09:03 +01:00
Nick O'Leary bfb548636e
Merge branch 'master' into 0.17 2017-04-11 14:53:44 +01:00
Nick O'Leary 36e1b2ba08
Don't process subscription for unauthenticated comms link
Fixes #851
2017-04-11 14:48:19 +01:00
Nick O'Leary 08d21ccba7
Clone credentials when passing to node
Fixes #1198
2017-04-10 21:45:04 +01:00
David 62b29ecb65 Make theme able to load custom javascript (#1211)
* Make theme able to load custom javascript
- Look for the field 'customScript' in editorTheme (settings.js)
- Add it to mustach context
- Load list on template side (index.mst)

* Add unit tests for customScripts

* Code review edits : generic behavior for theme.page.[css|scripts]
- Use the same way to share css and javascript files from a theme
- Allow string instead of array for theme.page.scripts
- Remove old customScript field
2017-04-10 15:46:44 +01:00
Nick O'Leary 67337e013a
Merge branch 'master' into 0.17 2017-04-10 15:45:21 +01:00
Andrey Bezugliy f987fa13ea Resolve dir argument of getLocalNodeFiles function (#1216)
* Resolve dir argument of getLocalNodeFiles function

The getLocalNodeFiles is called 3 times.  Each time it called, the callee needs to resolve the dir argument.
That was not done for several of calls, and local modules (specified in the "nodesDir" setting) were not returned to client because of that.

This fix will allow to make sure the dir is consistently resolved.

* Several changes in "localfilesystem_spec.js":
- Changed checkNodes to verify that every node's file property is resolved, i.e. containst absolute path, not relative.
- Added a unit-test "Finds nodes in settings.nodesDir (string,relative path)"
2017-04-10 15:41:20 +01:00
Nick O'Leary 73dfe631ce
Add .trace and .debug to Node prototype 2017-04-10 15:32:40 +01:00
Nick O'Leary 83ca8147ca
Merge branch 'pr_1197' into 0.17 2017-04-10 15:25:19 +01:00
Nick O'Leary 262db23f7d
First pass of new node-info style 2017-04-05 16:19:23 +01:00
Nick O'Leary b9379f2ddf
Provide notification when new flows deployed in the background 2017-03-17 21:29:03 +00:00
Kazuki-Nakanishi 38a950a6dc Add description to flow same as subflow 2017-03-17 01:29:19 +09:00
Nick O'Leary 07d131c945
Update jsonata 2017-03-12 22:04:38 +00:00
Ben Hardill a5d9e17a8c
Allow nodes to have translations not in core (#1183)
* Allow nodes to have translations not in core

Currently only languages in the core are checked when
the editor requests a translation. This means that if
a node includes more translations they are not checked.

This change removes the check against that short list,
but it only checks the first language from the browser
suported list

* remove whitespace
2017-03-12 22:04:37 +00:00
Kazuhito Yokoi a82926dd0d
Modify Japanese translation file for editor 2017-03-12 22:04:37 +00:00
Nick O'Leary 5c2e7ce407
Update jsonata 2017-03-12 22:03:14 +00:00
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
Ben Hardill 604ba7f4bc Allow nodes to have translations not in core (#1183)
* Allow nodes to have translations not in core

Currently only languages in the core are checked when
the editor requests a translation. This means that if
a node includes more translations they are not checked.

This change removes the check against that short list,
but it only checks the first language from the browser
suported list

* remove whitespace
2017-03-08 09:58:39 +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
Kazuhito Yokoi 01a177adfb Modify Japanese translation file for editor 2017-03-06 11:18:23 +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