node-red/node-red — pull request #251 by Belphemur (2014-06-24 11:38:23+00:00)
Title: Rewrite credentials API to work with save on deploy.

Hi,

This is my pull request for the "save on deploy" part of #93.
The credentials are now fetched automatically when editing a node (as before) and only send when the user click the deploy button (with the flow).

I use a new property of the node : node._creds to store all the value needed. When the flow has been successfully send and save, the credentials information are removed from the node.

The Credentials are send into the node. There is no division between the flow and the credentials. The credentials are filtered before saving the flow.