6625 Commits

Author SHA1 Message Date
Rob Gil
d3bced5b5d Adds CODEOWNERS file and configures terraform with an owner for approvals 2019-12-15 13:02:52 -05:00
Jay R. Newlin (PromptWorks)
3f824ccc41
Merge pull request #1248 from dod-ccpo/gi-updates-wo-20191209
GI updates week of 12/9/19
2019-12-13 16:56:09 -05:00
Jay R. Newlin (PromptWorks)
b5a008c070
Merge branch 'staging' into gi-updates-wo-20191209 2019-12-13 16:40:37 -05:00
leigh-mil
7530da6982
Merge pull request #1245 from dod-ccpo/to-uniqueness
Enforce TO number uniqueness
2019-12-13 15:21:54 -05:00
leigh-mil
e38358992d Fix migration chain 2019-12-13 14:56:31 -05:00
leigh-mil
f0505ee122 Remove unused imports
Use remove_empty_string filter for TaskOrderForm.number instead of declaring the data property
Update display of TOs without a number
2019-12-13 14:53:58 -05:00
leigh-mil
78ef47f649 Update TO route helper function to catch error and display flash message when a user tries to save a TO with an existing number.
Update TaskOrderForm so that it converts empty string for number into None, this was causing an issue where new TOs were being saved with an empty string for the number, which violated the unique constraint.
2019-12-13 14:53:58 -05:00
leigh-mil
9caef2883a migration fix 2019-12-13 14:53:58 -05:00
leigh-mil
6446b4fbd0 Raise AlreadyExistsError if a task order is created or updated with a number of an existing task order 2019-12-13 14:53:58 -05:00
leigh-mil
85252812e0 Update number column on task orders table to have a unique constraint 2019-12-13 14:53:58 -05:00
graham-dds
0556e108de
Merge pull request #1242 from dod-ccpo/redesign-new-portfolio-page
Styling / UI changes for new portfolio page
2019-12-13 14:29:39 -05:00
Jay R. Newlin (PromptWorks)
2a77dbe063 Merge branch 'staging' of github-DDS:dod-ccpo/atst into gi-updates-wo-20191209 2019-12-13 13:52:24 -05:00
Jay R. Newlin (PromptWorks)
0b163de7e5 Minor changes 2019-12-13 13:50:53 -05:00
Jay R. Newlin (PromptWorks)
6909cb7edc Adjust for random TO number 2019-12-13 13:50:31 -05:00
Jay R. Newlin (PromptWorks)
df4458b27b Changes to TO index page 2019-12-13 13:49:56 -05:00
Jay R. Newlin (PromptWorks)
7a73be4bc4 Adjust for random TO number 2019-12-13 13:49:23 -05:00
Jay R. Newlin (PromptWorks)
8a2de3c4a3 Randomize TO number 2019-12-13 13:48:37 -05:00
Jay R. Newlin (PromptWorks)
258b9df4eb Adjust for new index design 2019-12-13 13:47:59 -05:00
Jay R. Newlin (PromptWorks)
f900fd39b6 New test 2019-12-13 13:47:04 -05:00
Jay R. Newlin (PromptWorks)
2d0fa113c3 Rename report to reflect test purpose more accurately 2019-12-13 13:45:56 -05:00
graham-dds
07b4238c2b Write tests for multi checkbox input vue component 2019-12-13 13:17:30 -05:00
graham-dds
cbea71259c Move checkbox validation message to translations 2019-12-13 13:17:30 -05:00
graham-dds
80f028540c Refactor multi_checkbox_input
This component was made when having an "other" value as a check option
also meant typing in a custom value into an input field. Since this is no
longer needed, we were able to remove the markup / vue code for that
feature.
2019-12-13 13:17:30 -05:00
graham-dds
f4f3e3dee3 Add horizontal breaks to form 2019-12-13 13:17:30 -05:00
graham-dds
a097a0ce61 Refactor New Portfolio page according to designs.
New designs call for a streamlined New Portfolio page, with far
fewer input options. This commit refactors that page according to those
designs.

Some of the route functions in this commit refer to a "step 1" of creating
a new Portfolio. Though there is no "step 2" right now, the designs call
for a multistep flow for Portfolio creation process, so this commit sets
the stage for that.
2019-12-13 13:17:30 -05:00
leigh-mil
f9a3d2628e
Merge pull request #1247 from dod-ccpo/to-index-page-redesign_part-3
To index page redesign part 3
2019-12-13 13:16:15 -05:00
leigh-mil
1550f32b4c
Merge branch 'staging' into to-index-page-redesign_part-3 2019-12-13 13:01:11 -05:00
dandds
29c8b1207a
Merge pull request #1240 from dod-ccpo/quote-k8s-integeres
K8s YAML integer values need to be quoted.
2019-12-13 12:44:47 -05:00
dandds
1466a302b2 K8s YAML integer values need to be quoted. 2019-12-13 12:11:31 -05:00
dandds
67658e7eb4
Merge pull request #1246 from dod-ccpo/log-user-disable-error
Log any CSP errors that occur when disabling a user.
2019-12-13 12:09:45 -05:00
leigh-mil
2552d4c700 Styling for empty status accordion and update Not signed to Unsigned 2019-12-13 11:49:50 -05:00
dandds
8f94d9e6ec Log any CSP errors that occur when disabling a user.
When one user disables another's environment role in Azure, sometimes an
exception will be raised. Since we catch the exception and display an
error message to the user, we should also log the exception so that the
error is traceable later.
2019-12-13 11:41:18 -05:00
dandds
095120a806
Merge pull request #1237 from dod-ccpo/management-group-sketches
Management group sketches
2019-12-13 11:30:30 -05:00
leigh-mil
2c2b69affe Fix TO index blank states and number type issue 2019-12-13 11:26:58 -05:00
tomdds
8a1ed5b193 Sketch in Management Group integration for Azure
Add mocks and real implementations for creating nested management groups that reflect the Portfolio->Application->Environment->Subscription hierarchy.
2019-12-13 10:53:24 -05:00
tomdds
2801e07454 Add Azure Management Group Dependency 2019-12-13 10:53:24 -05:00
leigh-mil
2edfecdd45
Merge pull request #1239 from dod-ccpo/to-index-page-redesign_part-2
TO and Application index pages -- part 2
2019-12-12 16:32:43 -05:00
leigh-mil
4d7af1bab4 Remove extra details from expired TO display, small refactors in TO methods 2019-12-12 16:05:47 -05:00
leigh-mil
2fe7d4bb5b Removed unused styling 2019-12-12 09:40:18 -05:00
leigh-mil
b49208ca57 Remove unused imports and formatting, fake TaskOrder.invoiced_funds with hard coded percentage instead of random number 2019-12-12 09:40:18 -05:00
leigh-mil
e772a4b84b Use AccordionList macro on applications index page, remove duped class on task order index page 2019-12-12 09:40:18 -05:00
leigh-mil
ac8dd662d1 Fake task order's expended funds, default task order start and end date to None, fix how task orders are sorted by status 2019-12-12 09:40:18 -05:00
leigh-mil
3fdde78531 Set default text for TOs without a number 2019-12-12 09:40:18 -05:00
leigh-mil
e79b1d1524 Create AccordionList macro and vue component to collapse multiple accordion components 2019-12-12 09:40:18 -05:00
leigh-mil
e32bad0d30 Display TOs grouped by status 2019-12-12 09:40:18 -05:00
Jay R. Newlin (PromptWorks)
a71ae3f6f0 File removed; was renamed in Ghost Inspector last week 2019-12-11 16:59:21 -05:00
leigh-mil
2af99da9cf
Merge pull request #1232 from dod-ccpo/to-index-page-redesign
TO and App index pages redesign (Part 1)
2019-12-11 11:54:21 -05:00
leigh-mil
d3f757c649 Update test_for_user to make variables clearer and add in a test case that should not be included in the list returned.
Use list comprehension in portfolio_applications route to get list of all environments for a user
2019-12-11 10:35:42 -05:00
leigh-mil
78e7b1efe8 Styling changes:
- move `usa-accordion` class to wrap all accordion elements
- remove background color form `accordion` class and move it to atat
specific class `accordion__header`
- create class names for styling elements instead of relying on element
type
2019-12-11 10:07:09 -05:00
leigh-mil
bf6db87157 Add background color to accordion class 2019-12-11 10:07:09 -05:00