Commit Graph

25 Commits

Author SHA1 Message Date
Nick O'Leary 9d481858a0 Update twitter node to new credential api 2014-07-20 22:00:02 +01:00
Nick O'Leary 4302deb5a6 Change credential boolean prefix 2014-07-20 20:42:41 +01:00
Nick O'Leary b604db83f6 Tweak the credential handling
- use node.credentials rather than node._creds for consistency with the runtime
 - simplify the structure of node.credentials
2014-07-19 00:25:22 +01:00
Antoine Aflalo 4d97d9d300 Rewrite credentials API to work with save on deploy. 2014-07-16 11:25:40 +03:00
Nick O'Leary 1d5e8de6f6 Add function documentation to editor.js 2014-05-27 16:06:25 +01:00
Antoine Aflalo 364f44451f Validation of credentials inputs. 2014-05-16 11:20:36 +03:00
Nick O'Leary a5cf4b17bf New config nodes not picking up defaults 2014-05-09 15:23:33 +01:00
Antoine Aflalo 6a7b3cf62c REST API for Credentials
Adding RED.nodes.registerCredentials to register the credentials definition server sided.
Adding the property credentials in the template definition client-side.

Connecting the editor to the credential API.
I added a TODO for the validation of Credentials field.
As the other field, the developer should be able to set the credentials as required and also give a validation function.
2014-05-09 13:47:21 +03:00
Nick O'Leary 0d6525623d Refactor editor.js to reduce duplication of editor setup
Part of #93

This reduces the duplication in code that creates the both the normal-
and the config-node dialogs.

It also identifies the key points that credentials handling should
be introduced.
2014-05-06 23:44:35 +01:00
Nick O'Leary 8a646f73b3 Config node validation should define to node-defined func 2014-04-08 16:19:58 +01:00
Nick O'Leary d784889b75 Validate properties after calling oneditprepare 2014-04-08 15:32:58 +01:00
Nick O'Leary cefa0ae5b6 Node defaults of 0 not showing in edit form
Fixes #186
2014-03-28 21:00:11 +00:00
Nick O'Leary 68d5ebf388 Allow multiple config types in a node
Fixes #170
2014-02-28 20:58:04 +00:00
Nick O'Leary e403924d2b Only refresh info if editing_node not null 2014-02-27 16:28:12 +00:00
Nick O'Leary 325600ea61 Update info sidebar on node edit
Fixes #168

Moves info sidebar to its own file so it can be refreshed from other parts of the UI
2014-02-26 22:59:53 +00:00
Nick O'Leary d8f2f24b44 Add optional basic-auth to HTTP Request node
Closes #160
2014-02-19 20:31:42 +00:00
Nick O'Leary cfd8d137cf Add config-node sidebar tab
Accessed from the drop-down menu
2014-01-25 22:31:43 +00:00
Nick O'Leary 48d37df199 Track node.changed state over undo
Part of #33
2013-12-19 21:34:25 +00:00
Nicholas O'Leary 6a4aa1ff21 Disable escape-to-close on edit dialog
Closes #84
2013-11-21 11:02:31 +00:00
Nicholas O'Leary 1fc4a65307 Handle un-validated config nodes on open
Part of #33
2013-11-18 21:17:29 +00:00
Nicholas O'Leary cbe57aa96c Validate config node properties
Fixes #74
2013-11-17 17:49:32 +00:00
Nicholas O'Leary e703fa1b6b Add 'changed' property to nodes to track undeployed changes
Part of #33
2013-11-15 23:40:36 +00:00
Nicholas O'Leary 8c6aa07d91 Allow node properties to be objects/arrays 2013-10-12 21:54:07 +01:00
Nicholas O'Leary 1d4adecaa0 Validate functions should be called in context of the node 2013-09-17 13:23:08 +01:00
Nicholas O'Leary 32796dd74c Got to start somewhere 2013-09-05 15:02:48 +01:00