Commit Graph

80 Commits

Author SHA1 Message Date
dandds
2d5651a21d apply auth requirement to virtually all endpoints 2018-08-07 10:39:54 -04:00
dandds
b8fe460ccd extract get_current_user, fix tests 2018-08-07 10:39:54 -04:00
dandds
2b70f36272 401 unauthorized page for bad logins 2018-08-07 10:39:53 -04:00
richard-dds
132c82de80 Implement log_in_user 2018-08-07 10:39:53 -04:00
richard-dds
1548df6346 Add Users.get_by_dod_id 2018-08-07 10:39:53 -04:00
richard-dds
57cfcd9702 Simplify method signatures in Users 2018-08-07 10:39:53 -04:00
richard-dds
38a4b1bc86 Convert Users, Roles, WorkspaceUsers, TaskOrders to use classmethods 2018-08-07 10:39:53 -04:00
richard-dds
9bb9dbb070 Install pytest-flask as a dev package 2018-08-07 10:39:53 -04:00
dandds
b11971d50b import authnid sdn utils 2018-08-07 10:39:53 -04:00
dandds
3aff566583 add CRL functionality from authnid 2018-08-07 10:39:53 -04:00
dandds
192aff4ea3 update tests for Flask 2018-08-07 10:36:07 -04:00
dandds
63e3db7d51 fix missing import from rebase 2018-08-07 10:30:17 -04:00
dandds
5f27ae2015 move logic for creating many PE Numbers to the domain repo 2018-08-07 10:30:17 -04:00
dandds
a37711b47a remove reference to fundz in config and api mocks 2018-08-07 10:30:17 -04:00
dandds
080d48dc38 fix pe number test to add non-existent pe number 2018-08-07 10:30:17 -04:00
dandds
c2d5c52577 remove fundz_client in favor of pe numbers repo 2018-08-07 10:30:17 -04:00
dandds
2e13c4772b domain repos for PE numbers and task orders 2018-08-07 10:30:17 -04:00
richard-dds
4742957f6d Remove unnecessary type hint 2018-08-07 10:30:17 -04:00
richard-dds
d23975ad02 Fix linting errors 2018-08-07 10:30:17 -04:00
richard-dds
8fdf3ec20f Formatting 2018-08-07 10:30:17 -04:00
richard-dds
c4039de861 Add domain tests for all of authz 2018-08-07 10:30:17 -04:00
dandds
be29c5804f add WorkspaceUser tests from authz 2018-08-07 10:30:17 -04:00
dandds
232b8192f5 update handlers to user Users repo for managing authorization 2018-08-07 10:30:17 -04:00
dandds
54f2a0dce0 update financial verification to use requests repo 2018-08-07 10:30:17 -04:00
dandds
0179a22827 update and fix some tests from rebase 2018-08-07 10:30:17 -04:00
richard-dds
373463bf37 update tests, remove MockRequestsClient 2018-08-07 10:30:17 -04:00
richard-dds
fadbf1cfb1 Add request domain tests and factories 2018-08-07 10:30:17 -04:00
richard-dds
0b9d21ebef Merge pull request #110 from dod-ccpo/mock-eda-client
Create mock eda client
2018-07-31 16:23:22 -04:00
richard-dds
44b715fc01 Allow for multiple date formats 2018-07-31 15:16:04 -04:00
luisgov
60ff20834b Merge pull request #107 from dod-ccpo/ui/request-form
UI/request form
2018-07-31 11:21:08 -04:00
Luis Cielak
632132de10 Update test for alert--error 2018-07-31 10:31:45 -04:00
Luis Cielak
2010fb6564 Remove test 2018-07-30 15:33:05 -04:00
richard-dds
22ef8f432c Create mock eda client 2018-07-30 15:20:29 -04:00
dandds
2958355135 add stepthrough test for request form 2018-07-27 13:14:32 -04:00
dandds
94fb61682c show next-steps modal when request is auto-approved 2018-07-27 11:34:00 -04:00
luisgov
34a1743b7a Merge pull request #95 from dod-ccpo/financial-verification
Move financial verification to its own process away from the _Request Form_ flow
2018-07-26 10:58:43 -04:00
dandds
73d50a369e update financial verification tests 2018-07-26 09:00:13 -04:00
Patrick Smith
8e427aaf55 Suggest a PE number when PE number is not found
Using the defined format of a PE number
(https://www.militaryperiscope.com/terms/t0000241.html), we can suggest
a corrected format of the PE number if the user omitted the leading
zeros for either the DoD program or category.
2018-07-24 10:14:48 -04:00
Patrick Smith
0112ff5cb2 Move financial verification to its own page 2018-07-23 16:11:54 -04:00
Patrick Smith
355d2ed36a Add tests for PE id validation 2018-07-19 11:30:03 -04:00
Patrick Smith
10d4c2b90b Refactor to allow validating warnings on a form 2018-07-19 11:11:05 -04:00
Patrick Smith
c86e703618 Redirect to /requests after completing final step 2018-07-19 11:11:05 -04:00
Patrick Smith
f51dc8f07c Refactor forms so we can pass requests_client to validate 2018-07-19 11:11:05 -04:00
dandds
0c0aa44468 get user perms or create them on login 2018-07-18 10:44:42 -04:00
dandds
7d3cd04bdd Merge pull request #75 from dod-ccpo/authz-permissions
Authz permissions
2018-07-18 09:44:46 -04:00
dandds
37ee8f9c7a confirm user site perms are stored in session 2018-07-16 15:58:43 -04:00
richard-dds
e48644fb44 Create authz users on login 2018-07-16 13:19:35 -04:00
dandds
335bbed94d ensure we clear session cookies 2018-07-12 16:43:41 -04:00
dandds
21c970e4b4 rename some handlers with more specificity 2018-07-12 11:39:22 -04:00
patricksmithdds
b62f4d3d29 Merge pull request #66 from dod-ccpo/validator-tests
Add some tests for form validators
2018-07-11 14:52:53 -04:00