Nick O'Leary
f9769a73fe
Retry auto-install of modules that fail
...
- introduces autoInstallModulesRetry - default 30000
- backs off interval if repeated failures
- fixes notification to the editor of an auto-reinstall
2017-07-08 17:30:17 +01:00
Nick O'Leary
1542f73fa5
Fix global leaks in theme.js
2017-07-04 09:43:16 +01:00
Nick O'Leary
70a22187f7
editorTheme not setting custom css/scripts properly
2017-07-04 09:33:27 +01:00
Nguyen Thai Vinh
6db2c04585
Fix Bug: Can not display node icon when npm package has scope ( #1305 ) ( #1309 )
2017-06-30 21:49:35 +01:00
Nick O'Leary
78076122ba
Remove console.log
2017-06-30 10:39:28 +01:00
Kazuhito Yokoi
dfc4e99560
Add Chinese translation file (editor.json) ( #1303 )
2017-06-29 11:38:21 +01:00
Kazuhito Yokoi
283d5c64cb
Update Japanese translation files (jsonata.json and messages.json) ( #1300 )
...
* Update Japanese translation file(jsonata.json)
* Update Japanese translation file(messages.json)
2017-06-28 09:26:07 +01:00
Kazuhito Yokoi
3134bc432b
Improve editor messages (jsonata.json and messages.json) ( #1299 )
...
* Modify typo and improve messages in jsonata.json
* Change csv to CSV(messages.json)
2017-06-28 09:25:35 +01:00
Nick O'Leary
b63d243e33
Update JSONata to 1.2.4
...
Closes #1275
2017-06-26 13:55:22 +01:00
Kazuhito Yokoi
61339face6
Add and improve Japanese translation file(editor.json, infotips.json and messages.json) ( #1284 )
...
* Update Japanese translation(editor.json)
* Add Japanese translation file(infotips.json)
* Add Japanese translation file(messages.json)
2017-06-26 10:08:05 +01:00
Kazuhito Yokoi
7aa08ff885
Add Japanese translation file(jsonata.json) ( #1271 )
2017-06-26 09:41:16 +01:00
Nick O'Leary
d9dc171c28
Add buffer mode to typedInput
2017-06-13 21:01:27 +01:00
Nick O'Leary
7e35c9c754
Return flow rev on reload api when api v2 enabled
...
Closes #1273
2017-06-05 15:16:26 +01:00
Kazuhito Yokoi
21d3a3dd1e
Modify typo in jsonata.json ( #1270 )
2017-05-31 08:44:44 +01:00
Nick O'Leary
00460d856b
Add copy path/value buttons to debug messages
2017-05-10 15:49:56 +01:00
Nick O'Leary
401d386812
Add force-deploy option when conflict detected
2017-05-05 15:52:37 +01:00
Nick O'Leary
6b07f58e8e
NLS jsonata test messages
2017-05-05 13:43:39 +01:00
Nick O'Leary
dbf0486acb
Add JSONata expr tester and improved feedback
2017-05-05 11:23:24 +01:00
Nick O'Leary
2249b9449c
NLS Expression/JSON editor and fix their height calculation
2017-05-03 17:17:36 +01:00
Nick O'Leary
30920b1b78
Add $context/$flow/$global functions to jsonata
2017-05-03 15:48:30 +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
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
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
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
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
Kazuhito Yokoi
01a177adfb
Modify Japanese translation file for editor
2017-03-06 11:18:23 +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
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
Nick O'Leary
11f4ae019c
Include module name in requests for node icons
2017-01-18 13:06:22 +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
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
75855d5450
Initialise nodeApp regardless of httpAdmin setting
...
Closes #1096 #1095
2017-01-09 22:22:49 +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
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
c989c533e8
Properly report module remove errors in palette editor
...
Fixes #1043
2017-01-06 16:53:54 +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
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
Nick O'Leary
c720d78c39
Ensure runtime event notification gets cleared on restart
2016-12-05 14:39:34 +00:00
Nick O'Leary
8d21e441a0
Add notification when runtime stopped due to missing types
...
Part of #832
2016-12-05 13:24:24 +00:00
Nick O'Leary
eeaff6b553
Add insert-function button to expression editor
2016-11-16 14:54:51 +00:00
Nick O'Leary
6efd048fd6
Rename insecureRedirect to requireHttps
2016-11-16 14:24:27 +00:00
Paul Slater
6e9e694f66
Add setting to cause insecure redirect ( #1054 )
...
* add support for editor insecure redirect setting
set insecureRedirect: true to cause the editor app to redirect insecure connections
* document insecureRedirect
* use req.originalUrl instead of req.url
url has the path removed, whereas originalUrl preserves the path - ie /red
2016-11-16 14:17:47 +00:00
Nick O'Leary
26f5305593
Add jsonata function help
2016-11-15 23:22:25 +00:00
Dave Conway-Jones
db2425c473
Seperated info messages to their own file
...
auto detect size still needs work
2016-11-14 19:10:02 +00:00
Nick O'Leary
f9e09e87d6
Hit enter to edit first node in selection
2016-11-07 21:51:03 +00:00
Nick O'Leary
1c3a97a71a
Make red.min.js a reusable library
2016-11-03 14:34:37 +00:00
Nick O'Leary
3ab0d0d865
Handle missing httpNodeRoot setting properly
2016-10-21 13:50:47 +01:00
Nick O'Leary
fc9835512d
Add work-in-progress update button to palette-editor
2016-10-21 10:29:26 +01:00
Nick O'Leary
bd391963bc
Add Crtl/Shift/p shortcut for manage palette
2016-10-20 14:01:37 +01:00
Nick O'Leary
49f72881f4
Disable palette editor if npm not found
2016-10-12 22:30:32 +01:00
Nick O'Leary
5344949c71
Tidy up /flows api responses
2016-10-12 10:24:10 +01:00
Nick O'Leary
85b1c1fe97
Increase default apiMaxLength to 5mb and add to default settings
...
Closes #1001
2016-10-10 10:14:08 +01:00
Nick O'Leary
f2d36b84b5
Don't hide install button on already-installed node modules
2016-10-09 22:23:47 +01:00
Nick O'Leary
b4be1184fd
Add v2 /flows api and deploy-overwrite protection
2016-10-09 22:02:40 +01:00
Nick O'Leary
b00985f99f
Replace palette-edit button with menu option
2016-09-30 20:33:27 +01:00
Nick O'Leary
300a8d3a89
Click to close search box
2016-09-30 13:27:53 +01:00
Nick O'Leary
18c8bbb0fc
Add workspace search option
2016-09-29 23:46:29 +01:00
Nick O'Leary
252040f03b
Add import-to-new-tab option
2016-09-23 22:02:12 +01:00
Nick O'Leary
d915b280d4
Add new options to export-nodes dialog
2016-09-19 13:54:23 +01:00
Nick O'Leary
d7d30aa972
Default config nodes to global scope unless in a subflow
...
Closes #972
2016-08-26 13:26:42 +01:00
Nick O'Leary
57479edc59
Merge branch 'palette-ui' into 0.15.0
2016-08-26 13:01:03 +01:00
wajnberg
ccc08be0ee
Bidi support for Text Direction and Structured Text ( #961 )
...
* Bidi support for Text Direction and Structured Text
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com>
* Adding documentation for functions in bidi.js and format.js
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com>
* Removing unused functions from format.js
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com>
2016-08-25 16:47:30 +01:00
Nick O'Leary
eb17562f4d
NLS the palette editor
2016-08-14 23:08:37 +01:00
Nick O'Leary
11656382a7
Allow palette-editor to be disabled via editorTheme
2016-08-10 20:15:17 +01:00
Nick O'Leary
e4d788ad0b
Add install tab to palette-editor
2016-08-09 10:43:03 +01:00
Nick O'Leary
da818cf420
Add initial palette sidebar
2016-07-29 12:52:00 +01:00
Nick O'Leary
92d5af7446
Ensure 'false' property values are displayed in info panel
...
Fixes #940
2016-07-15 22:33:17 +01:00
Jesse Naranjo
dc24c05229
Keyboard shortcuts dialog update ( #923 )
...
* Added Ctrl+Z to the Keyboard Shortcuts dialog.
* Added Arrow Keys and Shift + Arrow Keys shortcuts to the Keyboard Shortcuts dialog.
* Added the [Backspace] key to the Keyboard Shortcuts dialog.
2016-07-03 23:10:51 +01:00
Nick O'Leary
6c00194d35
Handle comms link closely whilst completing the initial connect
2016-06-30 00:44:06 +01:00
Nick O'Leary
78b1bf8f25
Merge branch '0.14.0'
2016-06-17 21:30:09 +01:00
Dave Conway-Jones
98b24ae630
Merge pull request #798 from natcl/master
...
Add pinned tab icon for Safari
2016-06-17 14:24:36 +01:00
Nick O'Leary
0afe98b399
Move rename flow dialog to editor tray
2016-05-31 23:20:25 +01:00
Trisooma
f1ce0fab8b
Option to enable cors for editor ( #886 )
...
Adds httpAdminCors setting
2016-05-31 14:55:03 +01:00
Nick O'Leary
b5d3f505e3
Defer loading of token sessions until they are accessed
...
Fixes #895
2016-05-31 14:39:50 +01:00
Nick O'Leary
291240dd94
Add editableList widget and update Switch/Change nodes to use it
2016-05-20 22:13:28 +01:00
Josh
3454e5ac77
Flows lib honours flowFilePretty setting ( #837 )
...
* Flow lib now adheres to pretty flow file, ui also adheres to this as well
* added settings mock object in flows_spec get api test
* reverted api changes, fixed parse of flow only
* try spell flows correctly
2016-05-17 22:09:57 +01:00
Nick O'Leary
9e26aeea1d
Handle scoped node modules in the api
2016-05-17 21:56:03 +01:00
Nick O'Leary
fa90eeac55
Make all dialog buttons consistent with editor tray
2016-05-03 21:36:22 +01:00
Nick O'Leary
ce25fc658b
Move edit tray buttons to top
2016-05-03 15:45:29 +01:00
Nick O'Leary
333acccff6
Add subflow dialogs to the tray
2016-04-27 12:33:01 +01:00
Nick O'Leary
6354b68bae
Config node tray
2016-04-27 12:33:01 +01:00
Dave Conway-Jones
59b34c2b3f
Add timestamp as a default typedInput
...
and update Inject and change nodes to match,
and add some tests.
2016-04-18 14:38:36 +01:00
Nick O'Leary
6b0bef61a5
Prompt for login if comms reconnect fails authentication
2016-04-11 08:49:49 -07:00
Nick O'Leary
0c227be02d
Back off comms reconnect attempts after prolonged failures
2016-04-11 08:49:49 -07:00
Nick O'Leary
44693dd23a
Enable finer grained permissions in adminAuth
2016-04-10 15:30:13 +01:00
Nick O'Leary
75a7be41eb
Better notification message when action is not permitted
2016-04-10 15:30:13 +01:00
Nick O'Leary
0cd4a2b4ec
Add api/flow_spec tests
...
Part of #840
2016-03-18 21:01:21 +00:00
Nick O'Leary
e941c22f6c
Warn if editor routes are accessed but runtime not started
...
Closes #816
2016-03-12 00:03:50 +00:00
Nick O'Leary
55e66ebcac
Allow node modules to include example flows
2016-03-02 23:34:24 +00:00
Nick O'Leary
3ec8ecd4de
Disable perMessageDeflate on WS servers
...
Workaround for this issue: https://github.com/websockets/ws/pull/632
as it has been fixed in the 1.x release that drops support for
node 0.10...
2016-02-10 21:43:37 +00:00
Nathanaël Lécaudé
7615743aa5
Update theme.js
2016-02-08 09:20:07 -05:00
Nick O'Leary
03558b012c
Bump version and dependencies
2016-01-18 11:09:52 +00:00
Nick O'Leary
6dc640b129
Add hidden count when config node filtered
2016-01-13 10:30:24 +00:00
Nick O'Leary
a0cc1e6b0c
Add config node filter
2016-01-12 23:03:33 +00:00
Nick O'Leary
50399c6bfa
Rework config sidebar and deploy warning
2016-01-12 17:54:53 +00:00
Nick O'Leary
9bca2a91c9
Tidy up view menu
2016-01-10 21:25:05 +00:00
Nick O'Leary
66eaaf5a48
Add 'view' menu and reorganise a few things
2016-01-09 20:39:03 +00:00
Nick O'Leary
41f3b0c333
Fix variable leak in theme.js
2016-01-08 13:41:33 +00:00
Nick O'Leary
70f3e72a20
Move version number as title of NR logo
2016-01-08 13:36:49 +00:00
Nick O'Leary
1850185d1e
Add grid-alignment options
2016-01-07 14:39:01 +00:00
Nick O'Leary
43c6df49d7
Update typedInput nls
2016-01-06 17:01:13 +00:00
Nick O'Leary
1f848b205b
Add propertySelect support to Change node
2016-01-06 17:01:13 +00:00
Nick O'Leary
b95dc2ecce
Add propertySelect jquery widget
2016-01-06 17:01:13 +00:00
Nick O'Leary
c4b1795396
Add add/update/delete flow apis
2016-01-06 17:01:13 +00:00
Nick O'Leary
fd2e47ed73
WIP: add flow api
2016-01-06 17:01:12 +00:00
Nick O'Leary
f03aff7006
Tidy up API passed to node modules
2016-01-06 17:01:12 +00:00
Nick O'Leary
d2be7f8c8f
Move locale files under api/runtime components
2016-01-06 17:01:12 +00:00
Nick O'Leary
87d77efa57
Add flow reload admin api
2016-01-06 17:01:11 +00:00
Nick O'Leary
1ca3ca07d5
api/nodes accessing comms module incorrectly
2016-01-06 17:01:11 +00:00
Nick O'Leary
f62b7afede
Remove all uses of fs.exists as it is deprecated
...
The tests still use it in places - particular localfilesystem tests,
but those tests need to be redone with sinon stubbing in place and
not rely on real fs operations.
2016-01-06 17:01:11 +00:00
Nick O'Leary
8fb955e182
Move comms from runtime to api component
2016-01-06 17:01:11 +00:00
Nick O'Leary
f43738446e
WIP: separate runtime and api components
2016-01-06 17:01:11 +00:00
Nick O'Leary
cb01920ee6
Allow nodes to be installed by path name
2015-11-09 16:52:14 +00:00
Nick O'Leary
985875cc75
Move node install/remove from server component to node engine
2015-11-08 14:06:36 +00:00