enyojs/ares-project — pull request #522 by adicherafik (2013-09-06 15:37:52+00:00)
Title: ENYO-3045: Pre-select the platform's signing key in the UI Phonegap Build as defined in "project.json".

when the Phonegap build panel is displayed, the default signing key of each platform is selected.

A modifications are also done to improve the usability of this component :
* The message "Loading signing keys ..." is displayed while the Ajax request to get the user data is pending
* The inputs "key password" & "storage key password" and the button "save" are shown only when a signing key is selected.
* If the Ares user is authentified with a Phonegap account "A" > change to the Phonegap account "B" > comeback to the account "A" . Then the existing signing keys are not recreated.
* If the Ares user is authentified with a Phonegap account "A" which contains a set of signing keys for a given platform & switch to the Phonegap account "B" which contain also a set of signing keys in the same platform. Then the picker contains only the signing keys of the account "B".

Ready for review.
Tested on Chrome (Windows 7)
Enyo-DCO-1.1-Signed-off-by: Rafik Adiche mahmoud-rafik.adiche@hp.com.