79 Commits

Author SHA1 Message Date
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
dandds
e270350925 add WorkspaceUser tests from authz 2018-07-31 11:50:33 -04:00
dandds
202f88bae5 update handlers to user Users repo for managing authorization 2018-07-31 11:50:33 -04:00
dandds
78c55099bc update financial verification to use requests repo 2018-07-31 11:50:33 -04:00
dandds
7f5f02985b update and fix some tests from rebase 2018-07-31 11:50:33 -04:00
richard-dds
12507109ac update tests, remove MockRequestsClient 2018-07-31 11:50:00 -04:00
richard-dds
4291b614c9 Add request domain tests and factories 2018-07-31 11:49:06 -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
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
Patrick Smith
3925007489 Add tests for some validators 2018-07-11 10:54:04 -04:00