diff --git a/README.rst b/README.rst
index a42241f3..c2bc008f 100644
--- a/README.rst
+++ b/README.rst
@@ -17,7 +17,7 @@ Lemur
:target: https://travis-ci.org/Netflix/lemur
.. image:: https://requires.io/github/kevgliss/lemur/requirements.svg?branch=master
- :target: https://requires.io/github/kevgliss/lemur/requirements/?branch=master
+ :target: https://requires.io/github/Netflix/lemur/requirements/?branch=master
:alt: Requirements Status
.. image:: https://badge.waffle.io/Netflix/lemur.png?label=ready&title=Ready
diff --git a/docs/requirements.txt b/docs/requirements.txt
index e9da437f..2874805f 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -14,7 +14,7 @@ Flask-Principal==0.4.0
Flask-Mail==0.9.1
SQLAlchemy-Utils==0.31.3
BeautifulSoup4
-requests==2.8.0
+requests==2.8.1
psycopg2==2.6.1
arrow==0.7.0
boto==2.38.0 # we might make this optional
diff --git a/lemur/static/app/angular/authorities/view/view.tpl.html b/lemur/static/app/angular/authorities/view/view.tpl.html
index 65a4c524..9d64f174 100644
--- a/lemur/static/app/angular/authorities/view/view.tpl.html
+++ b/lemur/static/app/angular/authorities/view/view.tpl.html
@@ -34,11 +34,9 @@
-
- Permalink
- |
+ Permalink
diff --git a/lemur/static/app/angular/certificates/certificate/tracking.tpl.html b/lemur/static/app/angular/certificates/certificate/tracking.tpl.html
index 11553ffe..cf337f0f 100644
--- a/lemur/static/app/angular/certificates/certificate/tracking.tpl.html
+++ b/lemur/static/app/angular/certificates/certificate/tracking.tpl.html
@@ -29,7 +29,7 @@
+ class="form-control" typeahead-wait-ms="1000" typeahead-template-url="angular/authorities/authority/select.tpl.html" required>
diff --git a/lemur/static/app/angular/certificates/services.js b/lemur/static/app/angular/certificates/services.js
index 89e68125..47faf9cb 100644
--- a/lemur/static/app/angular/certificates/services.js
+++ b/lemur/static/app/angular/certificates/services.js
@@ -89,7 +89,7 @@ angular.module('lemur')
});
return LemurRestangular.all('certificates');
})
- .service('CertificateService', function ($location, CertificateApi, LemurRestangular, DefaultService) {
+ .service('CertificateService', function ($location, CertificateApi, AuthorityService, LemurRestangular, DefaultService) {
var CertificateService = this;
CertificateService.findCertificatesByName = function (filterValue) {
return CertificateApi.getList({'filter[name]': filterValue})
@@ -100,6 +100,14 @@ angular.module('lemur')
CertificateService.create = function (certificate) {
certificate.attachSubAltName();
+ // Help users who may have just typed in their authority
+ if (!certificate.authority) {
+ AuthorityService.findActiveAuthorityByName(certificate.selectedAuthority).then(function (authorities) {
+ if (authorities.length > 0) {
+ certificate.authority = authorities[0];
+ }
+ });
+ }
return CertificateApi.post(certificate);
};
diff --git a/lemur/static/app/angular/wizard.html b/lemur/static/app/angular/wizard.html
index 1ff4b641..56918b2f 100644
--- a/lemur/static/app/angular/wizard.html
+++ b/lemur/static/app/angular/wizard.html
@@ -5,7 +5,7 @@
|