Commit Graph

71 Commits

Author SHA1 Message Date
dandds
60509dab8c additional logging to CRL checks 2018-08-17 16:05:49 -04:00
dandds
be52c8b9b2 make crl_check a CRLCache method 2018-08-17 11:13:01 -04:00
dandds
d453a9592c remove unused checksum function 2018-08-17 11:03:27 -04:00
dandds
ca2763fd03 handle case where certificate issuer is not in existing cache 2018-08-17 11:02:20 -04:00
dandds
714c82364f more specific name for CRL revocation exception 2018-08-17 10:48:49 -04:00
dandds
1f7848741b simpler CRL implementation; load as-need because we cannot marshal openssl objects in python 2018-08-16 15:54:42 -04:00
dandds
e931560dc6 more straightforward crl check function 2018-08-16 14:45:46 -04:00
dandds
2db84fb19a build individual x509 stores for each CRL 2018-08-16 14:21:03 -04:00
dandds
1acb55fde6 beginning of a CRL loader rewrite 2018-08-16 13:02:49 -04:00
dandds
920ad1c554 Requests.status_count can be scoped to creator 2018-08-15 11:43:12 -04:00
dandds
e97fdbf140 implement real KPI counts 2018-08-14 16:57:27 -04:00
dandds
4c587864ef add Requests method for counting all requests with a given status 2018-08-14 16:23:41 -04:00
dandds
3d9987ac13 use if-modified-since header to optimize CRL updates 2018-08-13 13:56:20 -04:00
Devon Mackay
d656229879 Add remove bad CRL files from the tmp download dir 2018-08-13 12:35:28 -04:00
dandds
6fa57c310a Merge pull request #158 from dod-ccpo/over-one-mill-159007546
Over one mill 159007546
2018-08-13 11:19:29 -04:00
dandds
1387423a1c fix "pending CCPO approval" alert display logic 2018-08-13 11:03:23 -04:00
Patrick Smith
c3971b123e Merge branch 'master' into ui/input-field-frontend-validation 2018-08-12 12:16:46 -04:00
Patrick Smith
168436b156 Use multiple date formats in DateRange validator 2018-08-10 13:46:50 -04:00
dandds
c4ddba1d72 better name for CRL validator log method 2018-08-09 15:02:09 -04:00
dandds
b61f97880e remove unused exception 2018-08-09 15:02:09 -04:00
dandds
855c0bc3c4 tests for AuthenticationContext 2018-08-09 15:01:43 -04:00
dandds
4da814aaf4 move crl validator 2018-08-09 15:01:43 -04:00
dandds
07ce940650 create AuthenticationContext to consolidate auth logic 2018-08-09 15:01:43 -04:00
dandds
3a41d9f81c pass logger in to CRL validator 2018-08-09 15:01:06 -04:00
dandds
c0d72cd0d6 utility function for getting user email from x509 certificate 2018-08-09 15:01:06 -04:00
dandds
28665c32f9 Merge pull request #152 from dod-ccpo/log-errors
Log errors
2018-08-09 12:41:00 -04:00
dandds
fc436af134 log errors in error handlers 2018-08-09 11:48:33 -04:00
Patrick Smith
e1da908f93 Use helper method for allowing submission 2018-08-09 09:42:25 -04:00
Patrick Smith
115c84680c Fix link to financial verification page 2018-08-09 09:42:25 -04:00
richard-dds
d307a255b1 Fix some issues from a tricky merge 2018-08-08 15:46:16 -04:00
richard-dds
47957384fc Merge branch 'master' into request-creator-name 2018-08-08 15:28:36 -04:00
dandds
2b56ce6260 use existing Requests function for creator check 2018-08-08 14:11:54 -04:00
dandds
337dd2414b catch bad request_id in request form GET 2018-08-08 14:05:59 -04:00
dandds
d5ed99089c raise exceptions, map to http error codes 2018-08-08 13:54:15 -04:00
dandds
1a5800cbc5 Requests domain module can determine if user can view request 2018-08-08 13:53:35 -04:00
richard-dds
cb45db291e Rollback transaction if user creation fails 2018-08-08 13:43:52 -04:00
richard-dds
e99ddd491a Create Request.creator relationship
- Rename creator_id to user_id
2018-08-08 13:43:52 -04:00
richard-dds
e437b0d6ba str -> RequestStatus coercion is no longer necessary 2018-08-07 17:07:25 -04:00
richard-dds
49b9fca793 Use Enum for request statuses 2018-08-07 16:41:47 -04:00
richard-dds
0c9005aaf6 Fix and refactor action_required_by 2018-08-07 16:22:24 -04:00
richard-dds
52bd76e6ee Use proper status names for requests 2018-08-07 15:32:24 -04:00
dandds
2fd34194b3 fix some additional login handling bugs 2018-08-06 15:03:09 -04:00
dandds
6c4e27655d do not apply auth to static endpoints 2018-08-06 15:03:09 -04:00
dandds
d693db7dbb apply authentication to the whole app, track exceptions 2018-08-06 14:06:06 -04:00
dandds
e2e0868a83 fix bug in login-dev endpoint; set current_user on login 2018-08-06 11:37:25 -04:00
dandds
be079a62dc apply auth requirement to virtually all endpoints 2018-08-06 10:45:33 -04:00
dandds
ad1e1e771b extract get_current_user, fix tests 2018-08-06 10:44:24 -04:00
dandds
ea5c9732ba implement authentication redirect 2018-08-06 10:44:24 -04:00
richard-dds
13146e9362 Implement log_in_user 2018-08-06 10:44:00 -04:00
richard-dds
df0b4e64c0 Add Users.get_by_dod_id 2018-08-06 10:44:00 -04:00