106 Commits

Author SHA1 Message Date
dandds
05de0665d4 basic implementation of email parsing for CAC user login 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
Patrick Smith
edcd8bb921 Require PE id to be defined in financial verification form 2018-08-09 10:52:27 -04:00
Patrick Smith
e1da908f93 Use helper method for allowing submission 2018-08-09 09:42:25 -04:00
richard-dds
dd849df388 Use enum value to store status displayname 2018-08-08 16:18:12 -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
dec8d92076 update tests to rely on newest RequestFactory 2018-08-08 14:45:51 -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
7b8934e0cb add Flask error handlers 2018-08-08 13:54:15 -04:00
dandds
2cfc142417 simple implementation of request view authorization 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
df93db4cd8 Create more varied requests in seed script 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
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
033578fa21 implement database sessions for test factories 2018-08-07 15:23:50 -04:00
dandds
b9f4a4be71 remove all references to tornado 2018-08-06 15:39:30 -04:00
dandds
61270fbb40 use user factory for testing 2018-08-06 15:03:09 -04:00
richard-dds
fef66f335e requests fixture no longer needed 2018-08-06 14:27:35 -04:00
dandds
b89dd07fef use DOD_SDN from mocks 2018-08-06 14:14:11 -04:00
dandds
d693db7dbb apply authentication to the whole app, track exceptions 2018-08-06 14:06:06 -04:00
dandds
7ea3f682e0 better test name 2018-08-06 12:59:01 -04:00
dandds
e2e0868a83 fix bug in login-dev endpoint; set current_user on login 2018-08-06 11:37:25 -04:00
dandds
ac95bf371e implement CRL checking from authnid 2018-08-06 11:12:58 -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
6dce89df1b 401 unauthorized page for bad logins 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
richard-dds
c6af29f213 Simplify method signatures in Users 2018-08-06 10:44:00 -04:00
richard-dds
b72a16569f Convert Users, Roles, WorkspaceUsers, TaskOrders to use classmethods 2018-08-06 10:44:00 -04:00
richard-dds
7b5d76e260 Install pytest-flask as a dev package 2018-08-06 10:44:00 -04:00
dandds
4f8c0b81a0 import authnid sdn utils 2018-08-06 10:44:00 -04:00
dandds
f0a7bfcd0e add CRL functionality from authnid 2018-08-06 10:44:00 -04:00
dandds
45b47c41bf update tests for Flask 2018-08-02 16:03:54 -04:00
richard-dds
106b87b96e Allow for multiple date formats 2018-08-02 13:18:10 -04:00
richard-dds
bf279b7eee Create mock eda client 2018-08-02 13:18:10 -04:00
dandds
b5c1745266 fix missing import from rebase 2018-08-01 09:06:48 -04:00
dandds
55bd55a0b5 move logic for creating many PE Numbers to the domain repo 2018-07-31 11:50:34 -04:00
dandds
ba4ea97d4b remove reference to fundz in config and api mocks 2018-07-31 11:50:34 -04:00
dandds
65239b7882 fix pe number test to add non-existent pe number 2018-07-31 11:50:33 -04:00
dandds
cb30ee99ca remove fundz_client in favor of pe numbers repo 2018-07-31 11:50:33 -04:00
dandds
fc535ea715 domain repos for PE numbers and task orders 2018-07-31 11:50:33 -04:00
richard-dds
206b7f7b2b Remove unnecessary type hint 2018-07-31 11:50:33 -04:00
richard-dds
d207b259cf Fix linting errors 2018-07-31 11:50:33 -04:00
richard-dds
efdf0b04ba Formatting 2018-07-31 11:50:33 -04:00
richard-dds
08243a199a Add domain tests for all of authz 2018-07-31 11:50:33 -04:00