329 Commits

Author SHA1 Message Date
Devon Mackay
1bbe366541 Make the USER declaration last 2018-07-03 11:01:55 -04:00
Devon Mackay
4d44214d32 Test image pushing 2018-07-03 11:01:55 -04:00
Devon Mackay
22ceba667a Ensure APP_DIR is actually in the environment 2018-07-03 11:01:55 -04:00
Devon Mackay
c39da58d9d Fixup default command so variable interpolation works 2018-07-03 11:01:55 -04:00
Devon Mackay
46036e1b37 Standardize brace usage when variable in quotes 2018-07-03 11:01:55 -04:00
Devon Mackay
a90d967feb Fix env vars; try docker login with no quotes 2018-07-03 11:01:55 -04:00
Devon Mackay
08a5a4d8d6 Rearranging 2018-07-03 11:01:55 -04:00
Devon Mackay
a1760b1ee6 Pull atat-app-build from our repo 2018-07-03 11:01:55 -04:00
Devon Mackay
70ed2e47a3 Update travis to test in docker and push passing images 2018-07-03 11:01:55 -04:00
Devon Mackay
f9a8fab4a5 Add Dockerfiles for test and prod 2018-07-03 11:01:55 -04:00
Devon Mackay
5cff9fbfcc Add dumb-init for signal handling 2018-07-03 11:01:55 -04:00
Devon Mackay
a874f9e4a6 Do not need gemrc anymore (comes in build base) 2018-07-03 11:01:55 -04:00
Devon Mackay
2ab762d92f Add quotes to vars 2018-07-03 11:01:55 -04:00
Devon Mackay
4b9b6ef201 Add script that preps an alpine container to run the app 2018-07-03 11:01:55 -04:00
Devon Mackay
cbe4038a79 Script that CI should use to run tests 2018-07-03 11:01:55 -04:00
briandds
50e6136bf3
Merge pull request #49 from dod-ccpo/bugfix
Fix bash syntax
2018-07-03 10:12:46 -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
Brian Duggan
382bc86722 Fix bash syntax 2018-07-03 09:54:52 -04:00
Devon
863d323319
Merge pull request #47 from dod-ccpo/pipenv_optional
Make using a pipenv environment optional
2018-07-02 14:00:27 -04:00
Devon Mackay
71965eaeaf Add abililty to use system python
Moving virtual environments between systems is problematic... and
unnecessary when creating container images. These modifications allow
the ability to install app dependencies into the system python, and use
that instead of a virtual environment.
2018-07-01 19:15:40 -04:00
Devon Mackay
d6f61bffbc Remove npm auto-upgrade
- There have been some bugs around updating npm to the latest version
recently, so let's leave managing npm itself up to the end user
2018-06-29 18:44:33 -04:00
Jason Garber - Ctr
bee2217269
Merge pull request #46 from dod-ccpo/asset-precompilation
Compile assets to versioned file for production
2018-06-29 16:21:30 -04:00
Jason Garber
88ee60a8b1 Revert forcing deletion of the fonts directory 2018-06-29 16:17:14 -04:00
Jason Garber
f423ee31b3 Use webassets' built-in command line builder 2018-06-29 16:17:14 -04:00
Jason Garber
57334b4137 Make precompilation part of bootstrapping 2018-06-29 16:17:00 -04:00
Jason Garber
acc24ff3d1 Compile assets to versioned file for production 2018-06-29 16:17:00 -04:00
richard-dds
345a50982b
Merge pull request #44 from dod-ccpo/user
Session management
2018-06-29 16:04:20 -04:00
dandds
95b2909664 make session TTL 10 minutes by default 2018-06-28 11:48:35 -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
e3cd982d58
Merge pull request #42 from dod-ccpo/list-requests
Include more real data in requests listing
2018-06-26 16:43:41 -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
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
e3951cc9b7
Merge pull request #43 from dod-ccpo/black
Use black to autoformat python code
2018-06-26 11:05:57 -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
briandds
3599440ee6
Merge pull request #41 from dod-ccpo/upgrade_pip
uprade pip in pipenv
2018-06-25 13:24:32 -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
Brian Duggan
875c64971d uprade pip in pipenv 2018-06-21 11:33:54 -04:00
Jason Garber - Ctr
d166e697e9
Merge pull request #40 from dod-ccpo/disable-request-form-autocomplete
Disable autocomplete for JEDI request form
2018-06-20 11:38:09 -04:00
richard-dds
1cd14a23dc Disable autocomplete for JEDI request form 2018-06-19 16:21:00 -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
dandds
4d285e6088
Merge pull request #39 from dod-ccpo/screen-2-fix
remove an unused template and fix a form bug
2018-06-19 15:56:28 -04:00
richard-dds
2c14498953 Add links for updating requests 2018-06-19 15:48:09 -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
dandds
bedb686424 remove an unused template and fix a form bug 2018-06-19 15:34:35 -04:00