28 Commits

Author SHA1 Message Date
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
richard-dds
5d171cd2c6 Fix new request test 2018-06-19 14:04:15 -04:00
richard-dds
92086a898f Add MockRequestsClient 2018-06-19 14:03:42 -04:00
richard-dds
5e5abbe254 Fix Content-Type header in mock api client 2018-06-19 13:23:59 -04:00
richard-dds
8b1410aed5 Send new requests to requests-queue 2018-06-18 11:57:18 -04:00
richard-dds
64c71c0aa7 Inject dependencies into tornado app 2018-06-18 10:44:06 -04:00
Jason Garber
bcbba7edad Modify test to work around authentication 2018-06-14 14:26:36 -04:00
Brian Duggan
9152ffe91e Implement form objects for request forms 2018-06-14 13:59:03 -04:00
richard-dds
606bd61d3a Simplify test by removing ThreadPool 2018-06-14 13:10:19 -04:00
dandds
e89be59d3e remove unused monkeypatch 2018-06-13 17:08:10 -04:00
dandds
261a00adb2 pass authnid_client directly to Login handler and other small cleanup 2018-06-13 17:08:10 -04:00
dandds
34f3c7776b fall back to regular tornado authentication decorator 2018-06-13 17:08:10 -04:00
dandds
4e61b08330 handle auth via redirect with parameter 2018-06-13 17:08:09 -04:00
dandds
234bbcea0f validate bearer tokens against authnid 2018-06-13 17:08:09 -04:00
dandds
d573c5459b provide dev access to app 2018-06-13 17:08:09 -04:00
dandds
25db6fabbe WIP: authentication handling for ATST 2018-06-13 17:08:09 -04:00
richard-dds
72258ef46a Use tornado's AsyncHttpClient for ApiClient 2018-06-11 16:42:13 -04:00
richard-dds
1ecb7bce78 Load config in app() test fixture 2018-06-11 16:42:13 -04:00
Brian Duggan
133bc6fa86 Add test_routes, which tests routes 2018-05-31 10:25:50 -04:00
Brian Duggan
5007a246fb Update app directory structure, add home and routes 2018-05-25 11:21:49 -04:00
Brian Duggan
487cb147bb Add a basic test 2018-05-24 12:27:41 -04:00