351 Commits

Author SHA1 Message Date
leigh-mil
86c6d35f62 remove unsued translations 2020-02-28 10:38:00 -05:00
leigh-mil
2c37b16963 Send email to user when env role is created 2020-02-26 11:27:16 -05:00
graham-dds
a3e9400a0d Tweak what "total portfolio value" represents
On the reports page, "total portfolio value" should represent the sum of
obligated funds for active task orders.
2020-02-19 13:21:39 -05:00
leigh-mil
437ed6d9b9 Update portfolio styling and move DoD component help text 2020-02-19 11:42:03 -05:00
leigh-mil
207c34e536 Send email to user when App Role is created 2020-02-19 11:12:24 -05:00
leigh-mil
40be760fa0 Update optional tag 2020-02-17 14:50:57 -05:00
leigh-mil
a13716e7ed update copy 2020-02-17 14:50:57 -05:00
leigh-mil
876cddbfe3
Merge branch 'staging' into remove-invoiced-from-task-orders 2020-02-13 14:07:14 -05:00
graham-dds
c8991a95bf Add copy for "portfolio is ready" email 2020-02-13 10:55:47 -05:00
leigh-mil
fc0af1558d Remove all references to funds expended on a TO level 2020-02-13 10:27:39 -05:00
graham-dds
f8433fb7ef Add branches that are not space force 2020-02-11 15:14:57 -05:00
graham-dds
099e95c7e3 SPACE FORCE 🚀 2020-02-11 15:09:23 -05:00
graham-dds
68e7c27aed portfolio value should include upcoming $obligated
Previously, we were displaying the total_portfolio_value as just
currently obligated funds. Instead, this value should be obligated funds
in current task orders and signed, upcoming task orders
2020-02-11 14:27:29 -05:00
leigh-mil
e4e6c4d277 Add DoD ID tooltip to app member and portfolio member forms 2020-02-11 14:01:25 -05:00
leigh-mil
a6377b8d86 Update TO number text to remove references to 13-digits 2020-02-10 11:40:14 -05:00
leigh-mil
41b2fff774 Add success flash message for revoked portfolio invite and update flash message and translations to be generalized 2020-02-04 16:03:45 -05:00
graham-dds
00a5a98577 Add Mailer class method to email TOs to MSFT 2020-01-31 13:17:00 -05:00
leigh-mil
dff9924c95 Make file size limit configurable 2020-01-31 11:59:07 -05:00
leigh-mil
f48404215a
Merge branch 'staging' into to-builder-previous-button 2020-01-29 15:09:27 -05:00
leigh-mil
78e5fbf7b5
Merge branch 'staging' into empty-states 2020-01-27 13:23:14 -05:00
leigh-mil
44da196ee2 Move text from TO builder into translations file 2020-01-27 12:08:18 -05:00
leigh-mil
0ddb1f54c0 Fix typo 2020-01-27 11:21:14 -05:00
leigh-mil
7857fffc1c Add alert for when portfolio isn't funded, Update styling for env pending label 2020-01-24 14:09:59 -05:00
leigh-mil
e6291ad850 Refactor EmptyState macro and update styling for view only empty state based on new designs 2020-01-24 11:02:03 -05:00
leigh-mil
1bad32bcdb Add success flash message 2020-01-23 16:44:27 -05:00
leigh-mil
0fcd5a6471 Move text into translations file and fix formatting to make file more readable 2020-01-23 16:44:07 -05:00
leigh-mil
31b7e2f589 Create route and domain method for creating a subscription 2020-01-23 16:44:07 -05:00
leigh-mil
36fe777230 Remove delete environments from app members form 2020-01-22 15:53:40 -05:00
graham-dds
156d733aee Add missing regex and validation for StringFields
This commit adds further validation for StringFields that were missing
it. This mostly amounted to being Regex patters and max lengths.
2020-01-22 15:20:18 -05:00
leigh-mil
04de3d0404 Correct portfolio invite resent alert 2020-01-22 14:58:08 -05:00
leigh-mil
d0cb4ce339 Update button text for adding new application member 2020-01-21 11:57:10 -05:00
leigh-mil
d2b9577e3b Standardize copy in TO builder and TO view page 2020-01-21 11:57:10 -05:00
leigh-mil
ce70e44590 Update flash messages for portfolio invites to match application invite messages.
Use None instead of an empty string for titles and messages in flash alerts.
2020-01-21 11:57:10 -05:00
leigh-mil
6f85f6de97 Update copy for invite alert messages, CLIN error message, and use translations in flash file 2020-01-21 11:57:10 -05:00
leigh-mil
d0ae04193b Update copy on app settings page 2020-01-21 11:57:10 -05:00
leigh-mil
88d57a414b Update copy in new application form. 2020-01-21 11:57:10 -05:00
leigh-mil
d38b5f7012 Update copy on TO view page 2020-01-21 11:57:10 -05:00
leigh-mil
961717e0e7 Update copy in TO builder 2020-01-21 11:57:10 -05:00
leigh-mil
7c78e59624 Update copy on new portfolio form. Style cancel link as a button. 2020-01-21 11:57:09 -05:00
leigh-mil
0893ec18ce Update copy on error page 2020-01-21 11:57:09 -05:00
leigh-mil
4ed75caf2a Replace Lorem on Reports page 2020-01-21 11:57:09 -05:00
leigh-mil
c9e62e22e9 update TO builder copy 2020-01-21 11:57:09 -05:00
leigh-mil
7fee8b70a6 Remove unused translations 2020-01-17 15:56:25 -05:00
leigh-mil
d154b90c05 Use translations in flash messages 2020-01-17 10:49:05 -05:00
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
45c4fc1d5f Match empty state for app members with designs 2020-01-13 16:32:31 -05:00
dandds
0731b0519c Use simple string formatting for flash messages.
This addresses an SSTI vulnerability in Flask's `render_template_string`
function, which we were using for rendering flash messages. The
implementation I'd built was too complicated, so I removed its reliance
on Jinja template rendering. Instead, all parts of the flash message
should be keys in the translations file. The `flash` wrapper in
`atst.utils.flash` is just a thin wrapper over our `translate` function.
The `translate` function relies on Python string formatting, which does
not evaluate expressions and so isn't vulnerable to SSTI.
2020-01-11 15:27:34 -05:00
leigh-mil
abfe8663a1 Update copy in perms form 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
da26273eb2
Merge branch 'staging' into portfolio-defense-component-bug 2020-01-06 14:58:48 -05:00