Commit Graph

1472 Commits

Author SHA1 Message Date
Curtis Castrapel
e16c1de001 Error logging 2018-07-27 14:17:50 -07:00
Curtis Castrapel
2a6dda07eb Show and send error for pending certs 2018-07-27 14:15:14 -07:00
Curtis
4fa8f9ecc0
Merge pull request #1468 from castrapel/fix_db
http://docs.sqlalchemy.org/en/latest/core/pooling.html#disconnect-handling-pessimistic
2018-07-23 11:07:45 -07:00
Curtis Castrapel
9b29f9f819 Adding pessimistic sqlalchemy disconnection handling 2018-07-23 10:57:22 -07:00
Curtis Castrapel
faa1779204 Merge remote-tracking branch 'upstream/master' 2018-07-23 10:29:52 -07:00
Curtis Castrapel
2f51fea743 no bare except 2018-07-20 13:43:47 -07:00
Curtis Castrapel
c78077d8d6 Explicit capture exception during create failure 2018-07-20 13:43:47 -07:00
Curtis Castrapel
0bb7a6e125 Unpinning requests 2018-07-20 13:43:47 -07:00
Steven Reiling
bd9203fcbc 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-07-20 13:43:47 -07:00
Curtis Castrapel
af8cf2d550 updated requirements 2018-07-20 13:43:47 -07:00
Marti Raudsepp
d071d85486 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-20 13:43:47 -07:00
Marti Raudsepp
04ee1656ee 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-20 13:43:47 -07:00
root
56372c55b4 initial commit 2018-07-20 13:43:47 -07:00
Justin P
7146c4cb71 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-07-20 13:43:47 -07:00
Curtis
b0847e2fa1
Merge pull request #1457 from castrapel/better_sentry
Better sentry
2018-07-20 11:16:49 -07:00
Curtis Castrapel
f93e938cda no bare except 2018-07-20 10:53:47 -07:00
Curtis Castrapel
5a01840784 Explicit capture exception during create failure 2018-07-20 10:47:19 -07:00
Curtis Castrapel
0a0992fffe Merge remote-tracking branch 'upstream/master' 2018-07-20 10:08:40 -07:00
root
2a5f713f97 initial commit 2018-07-20 10:07:32 -07:00
Justin P
3ac440b6b5 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-07-20 10:07:32 -07:00
Curtis
db9891d8cf
Merge pull request #1433 from castrapel/update-requests
Unpinning requests
2018-07-17 19:24:57 -07:00
Curtis Castrapel
be9be6d3cd Unpinning requests 2018-07-17 18:38:15 -07:00
Curtis
b02c00bbf1
Merge pull request #1431 from Netflix/security_notifications_config
Adds an optional interval variable to notification service's
2018-07-13 15:51:26 -07:00
Steven Reiling
7f3454128d 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-07-13 14:08:31 -07:00
Curtis
4922f4dd40
Merge pull request #1426 from jpartain89/patch-1
Sinful Use of `$`
2018-07-12 21:53:17 -07:00
Curtis
e3de9baaeb
Merge branch 'master' into patch-1 2018-07-12 21:37:33 -07:00
Curtis
5df280e94d
Merge pull request #1429 from Brett-Wood/master
Missing file lemur/dns_providers/__init__.py
2018-07-12 21:37:12 -07:00
Curtis
5afc9ba739
Merge branch 'master' into master 2018-07-12 15:37:44 -07:00
Curtis
983636c502
Merge pull request #1430 from castrapel/upreqs71218
Update requirements
2018-07-12 15:37:31 -07:00
Curtis Castrapel
a19a47dba1 updated requirements 2018-07-12 13:24:44 -07:00
Marti Raudsepp
ead374db5f 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 13:23:38 -07:00
Marti Raudsepp
2f32014c75 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 13:23:38 -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
root
8dc52b859b initial commit 2018-07-11 11:57:36 -05:00
Justin P
86082009b9
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-07-09 23:24:35 -05: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