6096 Commits

Author SHA1 Message Date
graham-dds
8b0d9fb9d2 Create text input mixin 2019-09-12 16:11:12 -04:00
graham-dds
c26f8b92e9 Add tests to validate CLIN funding 2019-09-12 16:11:12 -04:00
graham-dds
ccb26d8cf8 Use new path to error in translations 2019-09-12 16:11:12 -04:00
graham-dds
ab17b5cf84 Use translations for WTForms validation 2019-09-12 16:11:12 -04:00
graham-dds
42693ec506 Reshape funding errors in translations 2019-09-12 16:11:12 -04:00
graham-dds
2af0a2ecaf Update existing tests for new CLIN logic
- Factory adds total_amount field, which is always greater than obligated
field
- add total_amount field on tests that create TOs manually
- update tests that calculate total_contract_amount and
total_obligated_amount
2019-09-12 16:11:12 -04:00
graham-dds
0abd46eb4f fixup to form 2019-09-12 16:11:12 -04:00
graham-dds
bdeb3dfa1a use translations for clin validation message 2019-09-12 16:11:12 -04:00
graham-dds
33ed89df54 Add percent obligated to step 3 form 2019-09-12 16:11:12 -04:00
graham-dds
6224026d72 Custom component for handling clin dollar input
- Macro for CLIN dollar input HTML.
- Custom Vue component to react to
 "fundingValid" validaiton
2019-09-12 16:11:12 -04:00
graham-dds
cdbbc9f785 Add funding validation to clinfields vue component 2019-09-12 16:11:12 -04:00
graham-dds
bf19add617 Add funding validation to clinfields vue component 2019-09-12 16:11:12 -04:00
graham-dds
257fe648a8 Add input validation for CLIN dollars
But the validation message includes the valid number range
2019-09-12 16:11:12 -04:00
graham-dds
aa613690f5 Add sum of all CLIN total values to TO summary 2019-09-12 16:11:12 -04:00
graham-dds
3327405a26 Use actual total amount in CLIN summary table 2019-09-12 16:11:12 -04:00
graham-dds
47337e3e70 obligated > total error text in translations 2019-09-12 16:11:12 -04:00
graham-dds
73a4b669ac class methods for oblig. and contract amount total 2019-09-12 16:11:12 -04:00
graham-dds
8c1a1ac33e Add default values for obligated and total CLIN $ 2019-09-12 16:11:12 -04:00
graham-dds
6f13b8a179 Add WTForms min and max validation for clin $
- above 0 and below $1,000,000,000.00, inclusive
2019-09-12 16:11:12 -04:00
graham-dds
f3eea39536 Add "total amount" to CLINS
- includes migration for change to model
2019-09-12 16:11:10 -04:00
leigh-mil
e565913f48
Merge pull request #1067 from dod-ccpo/app-settings-cleanup
App settings cleanup
2019-09-11 16:01:37 -04:00
dandds
78948797a8 Add prefix to Docker image tags.
With a prefix, it is easier to automatically sort and expire images
within the container registry.
2019-09-11 15:48:12 -04:00
dandds
ace222fe95 Push multiple Docker tags for image in CD.
This will allow Kubernetes resources that only pull images occasionally
(i.e., k8s jobs) to point to a static tag name, "latest", that is updated
regularly. It also means we can refer to that image in the k8s config
tracked in the repo, instead of out-of-date images.
2019-09-11 15:37:09 -04:00
richard-dds
6100b6e479 Fix create_environments test 2019-09-11 15:36:07 -04:00
leigh-mil
ddcd91964f Remove route 'applications.update_env_roles' and related functions and tests 2019-09-11 15:29:09 -04:00
richard-dds
bc9426015c Add another test for Environments.get_environments_pending_creation 2019-09-11 11:43:10 -04:00
richard-dds
365a50efce Add Environments.provisioning_status 2019-09-11 11:43:10 -04:00
richard-dds
1a9c34d856 Fix and test environment dispatch tasks 2019-09-11 11:43:06 -04:00
richard-dds
6b7db2ca46 Better ergonomics for creating factory portfolios w/ TOs 2019-09-11 11:43:06 -04:00
richard-dds
f6cb6f2a31 Change Environment.creator relation from ApplicationRole to User 2019-09-11 11:42:59 -04:00
richard-dds
e65c1d69b6 Add Environment.creator_role relation 2019-09-11 11:42:40 -04:00
richard-dds
4405ed91d5 Fix migration path 2019-09-11 11:42:36 -04:00
richard-dds
ac0c194490 Add celery beat worker 2019-09-11 11:41:57 -04:00
richard-dds
c00f13de2c Add query for getting environments pending baseline creation 2019-09-11 11:41:10 -04:00
richard-dds
13861ad998 Add query for getting environments pending atat user creation 2019-09-11 11:41:10 -04:00
richard-dds
e3ea2d2fe5 Move "envs pending creation" query to Environments domain 2019-09-11 11:41:10 -04:00
richard-dds
4a5ca1cd27 Add query for environments pending creation 2019-09-11 11:41:10 -04:00
richard-dds
e9bf806dc6 Environment provisioning celery tasks
Failing test

Break env provisioning task into 3 separate tasks

Make env creation task idempotent

Test other env provisioning tasks

DRY tasks
2019-09-11 11:41:03 -04:00
leigh-mil
97545234e9
Merge pull request #1066 from dod-ccpo/add-port-header
Add portfolio header to app pages
2019-09-10 15:08:04 -04:00
leigh-mil
a265c12a52
Merge pull request #1065 from dod-ccpo/new-member-modal-part-2
New member modal part 2
2019-09-10 15:04:14 -04:00
leigh-mil
a78d3353aa Add portfolio header to app pages 2019-09-10 14:16:05 -04:00
leigh-mil
ade3dd083e Use translations 2019-09-10 13:54:13 -04:00
leigh-mil
ca39d7107d Remove unused nestedcheckbox vue component 2019-09-10 13:16:16 -04:00
leigh-mil
d33332034a Refactor form header and footer into macro 2019-09-10 13:08:06 -04:00
richard-dds
c9dcacddb0
Merge pull request #1056 from dod-ccpo/mock-csp
Mock implementation of CSP interface
2019-09-10 12:46:52 -04:00
leigh-mil
dd2996f3b8 Styling for environment access section 2019-09-10 12:02:56 -04:00
leigh-mil
117a3e2162 Styling for app perms 2019-09-10 11:54:17 -04:00
leigh-mil
b32d7e1f97 Reorder form and update text 2019-09-10 11:54:17 -04:00
leigh-mil
dcb70ad925
Merge pull request #1060 from dod-ccpo/app-settings-redesign
App settings redesign
2019-09-10 11:20:38 -04:00
dandds
c4996ef201
Merge pull request #1064 from dod-ccpo/migration-fix
Fix migration chain.
2019-09-10 09:51:39 -04:00