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
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
df74095f6a
Fix translations used in reporting page and TO view/review page
2020-01-03 13:36:13 -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
8ece47627e
Initial styling and layout of TO view fragment
2020-01-02 12:45:52 -05:00
graham-dds
4532b64a65
Remove "get help" link from footer
2019-12-26 10:51:29 -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
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
66cfaaa6c3
Update copy on TO signature page
2019-12-18 12:10:15 -05:00
graham-dds
13e8cb8ee1
Move form buttons to floating bottom action bar
...
Form action buttons were previously in the sicky CTA bar. This commit
moves them to a bottom action bar.
2019-12-18 11:36:36 -05:00
leigh-mil
63a5d9274b
Update route to handle error when env names are duplicated
2019-12-18 10:54:17 -05:00
leigh-mil
ffbf612290
Update route to catch error when app name uniqueness is violated and display a error message
2019-12-16 14:39:32 -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
graham-dds
cbea71259c
Move checkbox validation message to translations
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