2251 Commits

Author SHA1 Message Date
dandds
5213657b0f Additional validation and escaping for file names.
This adds additional front and backend validations for task order file
names. We are now restricting file names to a whitelist regex of
[A-Za-z0-9\-_ \.] for simplicity.

Note:
On the frontend, the filename string must have at least one character.
This is not true in the backend validation; because of the way the
entire task order form is validated, requiring input would break the
business logic currently implemented.
2020-01-15 09:17:03 -05:00
graham-dds
ffd3dd2d9d use v-text instead of v-html
v-html interprets the string passed to it as raw html, without escaping.
We should use v-text wherever possible.
2020-01-14 16:19:27 -05:00
graham-dds
45c4fc1d5f Match empty state for app members with designs 2020-01-13 16:32:31 -05:00
leigh-mil
70462eee0c Display portfolio managers alphabetically instead of always having PPoC in the first table row 2020-01-10 10:25:55 -05:00
leigh-mil
17642cda4e Rename file to better reflect contents 2020-01-10 10:25:55 -05:00
leigh-mil
ffa4a1370c Set width of Name column in portfolio managers table.
Delete unused table styles.
2020-01-10 10:25:55 -05:00
leigh-mil
da398bf1ff Add status labels to portfolio managers table.
Update PortfolioRole.display_status() to return same type of data as
ApplicationRole.display_status().
2020-01-10 10:25:55 -05:00
leigh-mil
a6fcd0c76f Fix styling on member forms.
Include flash message when portfolio manager is added.
Fix submit button text
2020-01-10 10:25:55 -05:00
leigh-mil
abfe8663a1 Update copy in perms form 2020-01-10 10:25:55 -05:00
leigh-mil
89035c815b Update styling for Manager name and add 'You' tag 2020-01-10 10:25:55 -05:00
leigh-mil
c9d0c64c1f Fix and generalize styling for member form macro
Only display permissions with 'Edit' value
Delete unused files and rename MemberForm macro file
2020-01-10 10:25:55 -05:00
leigh-mil
79b2773852 Portfolio manager invite updates:
- Update the form to use BooleanFields for the permissions and make the
form more similar to the Application Members form
- Use MemberFormTemplate macro in the portfolio settings template
- fix tests affected by the form changes
2020-01-10 10:25:55 -05:00
leigh-mil
4d2a175136 Use generalized macro for new member form in application settings 2020-01-10 10:25:55 -05:00
leigh-mil
6e50a8cc1f Generalize macro for adding new member to an application or portfolio 2020-01-10 10:25:55 -05:00
leigh-mil
ff3e585dfe Initial formatting and styling of portfolio managers table. Deleted unused css 2020-01-10 10:25:55 -05:00
leigh-mil
ca409cae6c Display TO number on Step 4 of TO builder 2020-01-09 10:50:10 -05:00
leigh-mil
0bf0e9dcb2 Remove unnecessary if statement that was preventing TO total value from being displayed. 2020-01-09 10:36:27 -05:00
leigh-mil
667554dba4 Update styling on portfolio admin page, update portfolio form to include description 2020-01-06 15:55:07 -05:00
leigh-mil
64d9b8042e
Merge branch 'staging' into portfolio-defense-component-bug 2020-01-06 15:16:25 -05:00
leigh-mil
da26273eb2
Merge branch 'staging' into portfolio-defense-component-bug 2020-01-06 14:58:48 -05:00
graham-dds
aba9c4facb Tidy topbar 2020-01-06 14:51:52 -05:00
graham-dds
cdd4a4eee1 Tidy sidenav 2020-01-06 14:51:52 -05:00
leigh-mil
8710028256 Fix factories and seed sample script
Update display of defense component on portfolio settings page
2020-01-06 13:08:57 -05:00
leigh-mil
dad54ec139 Create new migration to convert column type of defense_component from
string to array
2020-01-06 13:08:56 -05:00
leigh-mil
3ded9f3f89
Merge branch 'staging' into to-fixes 2020-01-06 12:23:24 -05:00
graham-dds
490d778743 Better incorporate fixture data into reporting
Before this commit, if a portfolio wasn't present in the spending fixture
data, the reporting screen would be empty -- even if the portfolio had
applications and environments associated with it on the database. Now,
0s appear if an application and / or environment isn't present in the
fixture data.
2020-01-06 12:01:13 -05:00
leigh-mil
df74095f6a Fix translations used in reporting page and TO view/review page 2020-01-03 13:36:13 -05:00
leigh-mil
f4f0665643 Fix styling so that no border on last row only applies to clin summary table 2020-01-02 16:05:09 -05:00
leigh-mil
ee2aa4bda9 Generalize class name to better reflect its use. 2020-01-02 12:57:21 -05:00
leigh-mil
dcd0f4f6ae Remove unnecessary comment 2020-01-02 12:47:31 -05:00
leigh-mil
e25f519243 Change TO fragment to a macro to make it reusable in the builder and view page, final tweaks to review and view pages 2020-01-02 12:45:53 -05:00
leigh-mil
2e088d1316 Rename view TO file and update sticky header 2020-01-02 12:45:52 -05:00
leigh-mil
8ece47627e Initial styling and layout of TO view fragment 2020-01-02 12:45:52 -05:00
leigh-mil
cbcac2b142 Rename review route and template to view because it better reflects the purpose of the route and template 2020-01-02 12:45:52 -05:00
leigh-mil
fc1b530e70 Use kwargs in TOFormStepHeader to fix issue of swapped titles and descriptions 2019-12-26 15:55:25 -05:00
leigh-mil
a6382eacf8 Return to home page when canceling out of the portfolio builder 2019-12-26 15:50:58 -05:00
graham-dds
3f3be3b47d add support link to top bar 2019-12-26 11:19:06 -05:00
graham-dds
4532b64a65 Remove "get help" link from footer 2019-12-26 10:51:29 -05:00
graham-dds
d81b82956b Remove old kwargs from SideNavItem 2019-12-20 11:03:21 -06:00
leigh-mil
a231ba5210 Update styling for add new portfolio button on home page 2019-12-18 16:55:25 -05:00
leigh-mil
8fbb0e99ae Fix side nav to match designs and delete unused html and css 2019-12-18 16:55:25 -05:00
leigh-mil
d84e1d58f3 Remove unused class from hr element 2019-12-18 16:55:25 -05:00
leigh-mil
217a29b0dc Adjust margins on home page, globally fix hr elements to default to having margins, and add class for hr elements to span full width of their container 2019-12-18 16:55:25 -05:00
leigh-mil
2584c43c90 Home page styling updates:
- Update copy
- Update menu description section
2019-12-18 16:55:25 -05:00
leigh-mil
8166c05ec2 Always show side nav and update styling 2019-12-18 16:55:25 -05:00
leigh-mil
ff0abe7dce
Merge branch 'staging' into remove-delete-functionality 2019-12-18 15:20:41 -05:00
leigh-mil
6cc605d09f
Merge branch 'staging' into to-signature-page 2019-12-18 13:47:26 -05:00
leigh-mil
00e86e2f2a
Merge branch 'staging' into environment-name-uniqueness 2019-12-18 13:02:33 -05:00
leigh-mil
2b884f2c85 Remove route, tests, and template code for deleting a portfolio 2019-12-18 12:22:14 -05:00
leigh-mil
5b55b5800e Remove route, tests, and template code for deleting an application 2019-12-18 12:18:43 -05:00