Provide a "Show SSH Public Key" option in the Add/Change Repository page.
Review Request #2091 — Created Jan. 30, 2011 and submitted — Latest diff uploaded
Provide a "Show SSH Public Key" option in the Add/Change Repository page. Finding the SSH public key can be difficult on a standard Review Board setup, and if the user has access only to the repository parts of the admin UI, they can't get the public key. This provides a "Show SSH Public Key" button in the top-right of the Add/Change Repository page, which will toggle the display of a box containing the public key.
Tested with and without a key. Toggled the entry. Tada.
reviewboard/admin/views.py |
---|
reviewboard/htdocs/media/rb/css/admin.css |
---|
reviewboard/htdocs/media/rb/js/repositoryform.js |
---|
reviewboard/scmtools/forms.py |
---|
reviewboard/scmtools/sshutils.py |
---|
reviewboard/templates/admin/scmtools/repository/change_form.html |
---|