Commit Graph

66 Commits

Author SHA1 Message Date
richard-dds
43329c7472 Merge pull request #50 from dod-ccpo/validate-ia-date
Add validation for IA training date
2018-07-05 16:15:18 -04:00
richard-dds
f1c3eecc00 Fix mock login for development 2018-07-05 11:27:10 -04:00
richard-dds
0a636bd736 Add validation for IA training date 2018-07-03 14:42:09 -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
Jason Garber
f423ee31b3 Use webassets' built-in command line builder 2018-06-29 16:17:14 -04:00
Jason Garber
acc24ff3d1 Compile assets to versioned file for production 2018-06-29 16:17:00 -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
9a54ea287a Remove mock requests 2018-06-26 16:34:09 -04:00
richard-dds
7616478b05 Send user id, not the entire dict 2018-06-26 16:34:09 -04:00
richard-dds
a693cb8a16 Use status and time_created from each request 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
dandds
3515543d26 Merge pull request #37 from dod-ccpo/api-version
specify API version as ApiClient config
2018-06-25 10:06:09 -04:00
richard-dds
390df83390 Merge pull request #38 from dod-ccpo/requests-persistence
Hook ATST up to the requests-queue
2018-06-19 16:14:31 -04:00
richard-dds
819ce48e41 Implement the rest of the request form 2018-06-19 15:44:51 -04:00
richard-dds
1d2f481165 Put DateForm in a FormField so it gets serialized 2018-06-19 15:36:32 -04:00
richard-dds
ef4117ae11 Use new requests API /users/requests endpoints 2018-06-19 14:42:06 -04:00
richard-dds
26176bc0a2 Fix show_form call 2018-06-19 14:03:16 -04:00
richard-dds
f6a2ddbd77 Fetch requests from requests-queue 2018-06-19 12:45:49 -04:00
richard-dds
a9afad0a7f Use url param instead 2018-06-19 11:37:27 -04:00
richard-dds
62a5d4a983 Save request id in query param 2018-06-19 10:26:50 -04:00
dandds
c45c76da3b specify API version as ApiClient config 2018-06-18 14:52:59 -04:00
dandds
cd06c26395 turn off service SSL cert validation by default for development 2018-06-18 14:25:00 -04:00
richard-dds
234e1d344e Hardcode user_id until we have a working self.current_user 2018-06-18 11:57:18 -04:00
richard-dds
1eae2dcc3c Make ApiClient more tolerant of Content-Types 2018-06-18 11:57:18 -04:00
richard-dds
8b1410aed5 Send new requests to requests-queue 2018-06-18 11:57:18 -04:00
richard-dds
e48533441f Consume requests client 2018-06-18 10:50:21 -04:00
richard-dds
9527fa3abc Some cleanup, thanks to pylint 2018-06-18 10:44:51 -04:00
richard-dds
64c71c0aa7 Inject dependencies into tornado app 2018-06-18 10:44:06 -04:00
richard-dds
ccbe89545f Remove a couple print()s 2018-06-14 14:02:55 -04:00
dandds
3032d42b5d cleanup some breaking changes 2018-06-14 14:02:55 -04:00
Brian Duggan
9152ffe91e Implement form objects for request forms 2018-06-14 13:59:03 -04:00
Brian Duggan
908ca8327d Add config helper 2018-06-14 13:53:18 -04:00
Brian Duggan
5a3c2cff82 Add config to app object 2018-06-14 13:53:18 -04:00
Brian Duggan
a340eede07 Config, secrets, basic POST handling
* add script/config
  * add atst.ini
  * add cookie_secret
  * update docs
2018-06-14 13:52:11 -04:00
richard-dds
d294171d87 Merge branch 'master' into basic-auth 2018-06-14 13:14:30 -04:00
luisgov
042dd7b498 Merge pull request #29 from dod-ccpo/workspaces_blank
Add workspaces blank screen
2018-06-14 09:35:12 -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
7e689dd120 cleanup from the rebase; use config for cookies, login values 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
Luis Cielak
a13389c735 Add workspaces blank screen 2018-06-12 15:52:01 -04:00
richard-dds
d1473bd5db Fix debug kwarg so that tornado server will autoreload properly 2018-06-12 13:49:14 -04:00
richard-dds
72258ef46a Use tornado's AsyncHttpClient for ApiClient 2018-06-11 16:42:13 -04:00
richard-dds
cbbc2758c5 Add ApiClient for for inter-service comms 2018-06-11 16:42:13 -04:00
Brian Duggan
03e6cab26a Add workspace handler and move mock data into server 2018-05-31 11:00:02 -04:00