170 Commits

Author SHA1 Message Date
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
richard-dds
613db61948 Add status attribute to mock request 2018-07-10 10:36:40 -04:00
dandds
b7d191a8eb do not redirect in get_current_user 2018-07-09 14:04:04 -04:00
luisgov
9d781577c4 Update request form (#45)
* Implement OrganizationInfo form, add it to the template

* Format request_new

* Update "Details of Use" section

* Refactor request_new

* Added some new fields, but form is still WIP

* Add details of use fields

* Add org info fields

* Add some comments

* Add Financial Verification and more Details of Use fields

* Update some textarea fields to single text field

* WIP

* Implement OrganizationInfo form, add it to the template

* Format request_new

* Update "Details of Use" section

* Refactor request_new

* Added some new fields, but form is still WIP

* Add details of use fields

* Add org info fields

* Add some comments

* Add Financial Verification and more Details of Use fields

* Update some textarea fields to single text field

* Format

* Update fields with the correct fieldtypes

* Begin updating sidenav changes

* Split form into each section

* adjust and skip some outdated form validation tests

* break request form into multiple form objects

* need to send user ID to requests-queue

* use DateForm for start date in request

* alter request_new handler to pass raw form data to template

* change review form

* Add KO and COR section titles

* Update date input class name

* Add a special case for the summary form. We should refactor this

* Add read-only fields for review and submit section

* Add minimum number validators to request form

* Fix formatting

* Use html5 datepicker for dates

* Fix request form validators

* Finish org info form

* Finish POC form

* Finish financial verification form

* Move PE and UII to financial form

* Un-skip form validation test
2018-07-03 10:10:44 -04:00
dandds
46016faceb test and update to README 2018-06-28 10:24:20 -04:00
richard-dds
118a84560a Add simple session management using redis 2018-06-27 16:07:25 -04:00
richard-dds
f70bc7128e Formatting 2018-06-26 16:38:34 -04:00
richard-dds
63b5f477f1 Provide mock user during testing 2018-06-26 16:34:09 -04:00
richard-dds
0e852ae8ff Fix two linter warnings as well 2018-06-26 10:39:30 -04:00
richard-dds
f9335c7a4e Use black for formatting 2018-06-26 10:31:39 -04:00