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
564902b886
Allow $ and _ at start of property identifiers
...
Fixes #1063
2016-11-21 21:36:18 +00:00
Dave Conway-Jones
8d5286703f
reimplement $(env var) replace to share common code.
...
and add test to utils
2016-11-17 13:56:17 +00:00
Dave Conway-Jones
74f2180fa4
Fix error message for missing node html file, and add test.
...
To close #1053
2016-11-16 22:46:01 +00:00
Dave Conway-Jones
d042169f2e
Let credentials also use $(...) substitutions from ENV
...
to close #1051
(and add to test)
2016-11-16 21:47:13 +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
telogis-nodered
44a0f1b505
Palette editor fixes ( #1033 )
...
* ensure remove button is only enabled for local modules when refreshing palette editor
* ensure local field is propagated to the nodes when a new module is added to the registry
2016-11-16 14:12:31 +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
bf90509526
Add jsonata support to Change/Switch nodes
2016-11-10 23:58:34 +00:00
Nick O'Leary
f9e09e87d6
Hit enter to edit first node in selection
2016-11-07 21:51:03 +00:00
Ben Hardill
0a5a42b32a
Fix node.error() not printing when passed false ( #1037 )
...
This should fix #1036
2016-11-07 18:28:35 +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
5f0cab8cc2
Add log.removeHandler function
2016-10-20 23:31:40 +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
67d5b39c96
Status messages from nodes in subflows not delegated properly
...
Fixes #1016
2016-10-19 21:06:45 +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
8e7d52e645
Avoid reencyrpting credentials if they haven't changed
2016-10-11 14:27:35 +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
d29abc2724
Encrypt credentials by default
2016-09-23 10:38:30 +01:00
Nick O'Leary
f9b972349d
Move credential load/save storage functions under get/setFlows
2016-09-21 21:58:50 +01:00
Nick O'Leary
e06cadd761
Pass full runtime object to storage and flow sub-components
2016-09-21 10:22:04 +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
7220af3ef0
Move palette editor to left hand side
2016-08-04 16:49:36 +01:00
Nick O'Leary
da818cf420
Add initial palette sidebar
2016-07-29 12:52:00 +01:00
Nick O'Leary
0ade8ff7a2
Add log warning if node module required version cannot be satisfied
2016-07-28 15:43:26 +01:00
Nick O'Leary
d6b326c134
Handle empty credentials file
...
Closes #937
2016-07-26 22:23:49 +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
Nick O'Leary
d57425a15e
Fix node enable/disable over restart - load configs after settings init
2016-07-15 00:11:28 +01:00
Dave Conway-Jones
e360e57a5b
Fix node.status to check hasOwnProperty("text")
2016-07-06 17:22:45 +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
f62cf6818b
Clear context in node test helper
...
Fixes #858
2016-07-03 23:08:53 +01:00
Nick O'Leary
c05e9da9c5
Allow node properties to be same as existing object functions
...
Fixes #880
2016-07-03 23:00:48 +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
0441c83fd7
Fix use of hasOwnProperty in Flow
...
Closes #907
2016-06-14 20:30:37 +01:00
Nick O'Leary
08ade44dc8
Handle more edge cases with RED.util.normalisePropertyExpression
2016-06-13 22:00:42 +01:00
Nick O'Leary
945fbbc065
Capture error stack on node.error
...
Closes #879
2016-06-12 11:07:05 +01:00
Nick O'Leary
4dc9c7714c
Clear node context on close
...
Fixes #870
2016-06-11 22:53:27 +01:00
Nick O'Leary
762eb07dd4
Add support for array-syntax in typedInput msg properties
2016-06-07 23:01:23 +01:00
Nick O'Leary
3959fcdc88
Handle null return from Function node in array of messages
2016-06-06 11:40:02 +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
Dave Conway-Jones
69f83cb905
fully log node warnings on start
...
(i.e. don’t need -v for simple errors on start)
2016-05-26 10:38:24 +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
db433efbef
Link nodes show hidden wires when selected
...
☕ ️
2016-05-17 09:18:32 +01:00
Nick O'Leary
594ff8cd3d
Add support for loading scoped node modules
...
Fixes #885
2016-05-06 10:16:41 +01:00
Nick O'Leary
337f5f9b98
Handle missing tab nodes in a loaded flow config
2016-05-04 22:09:11 +01:00
Nick O'Leary
41445a1b48
Merge branch 'config' into 0.14.0
...
explain why this merge is necessary,
2016-05-04 15:44:48 +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
0c53b5310a
Protect against node types with reserved names such as toString
...
Fixes #880
2016-04-28 14:17:48 +01:00
Nick O'Leary
45ff86eae5
Do not rely on the HTML file to identify where nodes are registered from
2016-04-28 11:23:42 +01:00
Nick O'Leary
8080ebceb4
Fix linting error on Flow.js
2016-04-27 12:37:20 +01:00
Nick O'Leary
b744491dd2
Ensure config nodes are instantiated in the right order
2016-04-27 12:33:02 +01:00
Nick O'Leary
2a089f7d90
Ensure parent nodes marked as changed due to child config node changes
2016-04-27 12:33:02 +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
Gabe Johnson
b909e32201
Prevent RED.node.registerNode from overriding a constructor's prototype ( #865 )
...
* prevent registry.registerNodeConstructor from overriding a constructors protoype
* fix for node < v5.0.0
* exercise another code path
* altering __proto__ for node < v0.12
* move inheritance code to helper function
2016-04-07 22:18:28 +01:00
Nick O'Leary
e1d09349ff
Add link nodes
2016-04-07 17:08:51 +01:00
Nick O'Leary
1d54761d48
Fix comparison of Buffers (again)
2016-04-01 10:32:11 +01:00
Nick O'Leary
7cb9b2da66
Use Buffer.equals not Buffer.compare for node 4+
2016-04-01 10:23:00 +01:00
Nick O'Leary
b1896e3737
Fix RED.util.compareObjects for Function created objects and Buffers
2016-04-01 10:13:11 +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
428fbb8622
Fix uncaught exception on deploy whilst node sending messages
2016-03-16 15:37:44 +00:00
Nick O'Leary
27d3e165b0
Message catalog updates for zero-length flow file handling
2016-03-12 00:04:27 +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
f2191e94b3
Better handling of zero-length flow files
...
Closes #819
If a flow file is found to be zero-bytes:
If there is a non-empty backup, restore the backup and resolve
If there is no backup or it is also empty, resolve empty flow
If a flow file is found to be invalid json:
Log and resolve empty flow
2016-03-11 22:42:04 +00:00
Nick O'Leary
708365c4ac
Allow runtime calls to RED._ to specify other namespace
2016-03-06 20:43:19 +00:00
Nick O'Leary
55e66ebcac
Allow node modules to include example flows
2016-03-02 23:34:24 +00:00
Nick O'Leary
dcd8b3699c
Create node_modules in userDir
...
This ensures npm install puts modules under .node-red even if there's
already a node_modules dir in the parent directory.
2016-03-01 22:08:37 +00:00
Dave Conway-Jones
b89e866d39
Add os/platform info to default debug
2016-02-22 17:47:16 +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