Commit Graph

1353 Commits

Author SHA1 Message Date
Curtis Castrapel 5e34287530 no bare except 2018-08-07 07:46:57 -07:00
Curtis Castrapel dd7c9e3f88 Explicit capture exception during create failure 2018-08-07 07:46:57 -07:00
Curtis Castrapel d8652fad36 Unpinning requests 2018-08-07 07:46:57 -07:00
Curtis Castrapel 58ec0bab09 updated requirements 2018-08-07 07:46:57 -07:00
Marti Raudsepp 094b2fd5a9 Clean up module imports
Example:
* import lemur.common.utils -> from lemur.common import utils
* import sqlalchemy.types as types -> from sqlalchemy import types
2018-08-07 07:46:57 -07:00
Marti Raudsepp 85285b5e62 Cache parsed certificate instead of re-parsing for each field
Use @cached_property decorator to cache the results of parse_certificate().

This significantly cuts down on the number of times certs need to be
parsed for a list view.
2018-08-07 07:46:57 -07:00
Curtis Castrapel 16dc7dc2f6 no bare except 2018-08-07 07:46:57 -07:00
Curtis Castrapel f53067ab29 Explicit capture exception during create failure 2018-08-07 07:46:56 -07:00
Curtis Castrapel efd33db69d Unpinning requests 2018-08-07 07:46:56 -07:00
Steven Reiling 5b13032aec Adds an optional interval variable to notification service's
create_default_expiration_notifications and introduces a new optional
configuration variable, LEMUR_SECURITY_TEAM_EMAIL_INTERVALS, to allow admins
control over the centralized email notification defaults.
2018-08-07 07:46:56 -07:00
Curtis Castrapel 177208f9da updated requirements 2018-08-07 07:46:56 -07:00
Marti Raudsepp b8d017418a Clean up module imports
Example:
* import lemur.common.utils -> from lemur.common import utils
* import sqlalchemy.types as types -> from sqlalchemy import types
2018-08-07 07:46:56 -07:00
Marti Raudsepp ce6e64bd17 Cache parsed certificate instead of re-parsing for each field
Use @cached_property decorator to cache the results of parse_certificate().

This significantly cuts down on the number of times certs need to be
parsed for a list view.
2018-08-07 07:46:56 -07:00
root 6ce044806b initial commit 2018-08-07 07:46:56 -07:00
Justin P 68203436e0 Sinful Use of `$`
Using the `$` sign within any block of text already marked as a code block is a grievous sin due to the fact that it makes it 100% pointless for you to have USED THE CODE BLOCK IN THE FIRST PLACE!

The `$` becomes included in the text we're trying to highlight for us to be able to actually use in our own projects.

Why post the info if you don't want us to use it.

Thank you.
2018-08-07 07:46:55 -07:00
Curtis Castrapel 4f4be51ac8 Merge remote-tracking branch 'upstream/master' 2018-07-12 11:21:31 -07:00
Marti Raudsepp 149caa5602 Clean up module imports
Example:
* import lemur.common.utils -> from lemur.common import utils
* import sqlalchemy.types as types -> from sqlalchemy import types
2018-07-12 11:21:18 -07:00
Marti Raudsepp b472e5e648 Cache parsed certificate instead of re-parsing for each field
Use @cached_property decorator to cache the results of parse_certificate().

This significantly cuts down on the number of times certs need to be
parsed for a list view.
2018-07-12 11:21:18 -07:00
Marti Raudsepp 64132ba92b Expose certificate dateCreated via API 2018-07-12 11:21:18 -07:00
Curtis Castrapel 9ef356f59d reformat code (noop) 2018-07-12 11:21:17 -07:00
Curtis Castrapel 825844107e updates 2018-07-12 11:21:17 -07:00
Curtis 5b70504144
Merge pull request #1395 from intgr/import-police
Clean up module imports
2018-07-09 10:13:08 -07:00
Marti Raudsepp 0398c6e723 Clean up module imports
Example:
* import lemur.common.utils -> from lemur.common import utils
* import sqlalchemy.types as types -> from sqlalchemy import types
2018-07-07 23:56:23 +03:00
Curtis c568e41296
Merge pull request #1388 from intgr/cache-parsed-cert
Cache parsed certificate instead of re-parsing for each field
2018-07-06 09:40:40 -07:00
Marti Raudsepp d690ea32bc Cache parsed certificate instead of re-parsing for each field
Use @cached_property decorator to cache the results of parse_certificate().

This significantly cuts down on the number of times certs need to be
parsed for a list view.
2018-07-03 17:31:44 +03:00
Curtis 48c378127f
Merge pull request #1394 from intgr/date-created
Expose certificate dateCreated via API
2018-07-02 13:12:22 -07:00
Marti Raudsepp 50846eb682 Expose certificate dateCreated via API 2018-07-02 18:24:18 +03:00
Curtis 5c0cc69d22
Merge pull request #1409 from castrapel/up-reqs-6292018
reformat code (noop)
2018-06-29 15:39:05 -07:00
Curtis 74d9fa58be
Merge branch 'master' into up-reqs-6292018 2018-06-29 15:28:21 -07:00
Curtis Castrapel 1a02740b67 reformat code (noop) 2018-06-29 15:24:31 -07:00
Curtis acd473683e
Merge pull request #1408 from castrapel/update-reqs
Update reqs
2018-06-29 14:14:02 -07:00
Curtis Castrapel 090619151e updates 2018-06-29 14:03:45 -07:00
Curtis Castrapel 846027b9e3 Merge remote-tracking branch 'upstream/master' 2018-06-28 13:51:23 -07:00
Curtis Castrapel f9539cfba5 tests 2018-06-28 11:12:55 -07:00
Curtis Castrapel 9375862ee2 lint 2018-06-28 11:12:55 -07:00
Curtis Castrapel 4818cc4eb9 lint 2018-06-28 11:12:55 -07:00
Curtis Castrapel 65461d7418 Update requirements 2018-06-28 11:12:55 -07:00
Curtis Castrapel ad73abced1 Support concurrent issuance in Route53 for LetsEncrypt 2018-06-28 11:12:55 -07:00
Doppins 261b024bf4 Upgrade dependency boto3 to ==1.7.39 2018-06-28 11:12:54 -07:00
Curtis Castrapel 20292275b5 update requirements while we're at it 2018-06-28 11:12:54 -07:00
Curtis Castrapel e912b8e075 Graceful cancellation of pending cert and order details in log for acme failure 2018-06-28 11:12:54 -07:00
Curtis Castrapel 4551cc11df update requirements 2018-06-28 11:12:54 -07:00
Curtis Castrapel 14b8892cce Limit dns queries to 10 attempts 2018-06-28 11:12:54 -07:00
Curtis Castrapel 284e57ad68 boto update. They updated between this and the last change 2018-06-28 11:12:54 -07:00
Curtis Castrapel b46023bb4c lint 2018-06-28 11:12:54 -07:00
Curtis Castrapel 3002945d55 Fix unique dyn situation where zone does not match tld, and there's a deeper zone 2018-06-28 11:12:53 -07:00
Curtis Castrapel 0d4df75375 update requirements 2018-06-28 11:12:53 -07:00
Dmitry Zykov 78c4a86371 remove linuxdst plugin 2018-06-28 11:12:53 -07:00
Curtis c0c6ff51e2
Merge pull request #1372 from castrapel/acme_validation_dns_provider_option
R53: Extend only TXT records
2018-06-20 10:50:15 -07:00
Curtis 4384cbb953
Merge branch 'master' into acme_validation_dns_provider_option 2018-06-20 10:34:38 -07:00