leigh-mil
1efe9cb5e4
Merge pull request #1023 from dod-ccpo/csp-links
...
Env roles bug fix
2019-08-19 09:43:54 -04:00
leigh-mil
c37c5d72b9
move data property into the base EnvironmentForm so that NO_ACCESS is converted to None when creating a new application member
2019-08-15 10:13:34 -04:00
richard-dds
56cec0694f
Formatting
2019-08-14 11:40:23 -04:00
richard-dds
a7417b4f39
Add upload errors to translations file
2019-08-14 11:35:07 -04:00
richard-dds
6652d47104
Add custom message for object_name length validation
2019-08-13 13:58:36 -04:00
richard-dds
bc0fd4900a
Prevent "there were some errors" from being flashed twice
2019-08-13 10:51:09 -04:00
richard-dds
71bb1be130
Validate filename and object_name for TO PDF upload
2019-08-13 10:51:09 -04:00
leigh-mil
1783cd494d
Add max length to dod id field in CCPO user form
2019-08-09 11:08:23 -04:00
leigh-mil
01ba73ef42
Add in templates for ccpo user form and sketch out route functions
2019-08-09 10:50:34 -04:00
richard-dds
736e2aa21d
Merge pull request #994 from dod-ccpo/cloud-pdf-uploads
...
CSP PDF uploads
2019-08-08 11:17:07 -04:00
richard-dds
86c1dfb749
Enforce PDF in TO uploader file picker
2019-08-06 16:49:19 -04:00
richard-dds
3d414e1a60
Fix TO upload tests
2019-08-05 14:58:10 -04:00
richard-dds
f5c8424b46
Wire up FE uploads to TO form
2019-08-05 14:58:10 -04:00
richard-dds
1cd35445ea
Fix CLINForm.validate()
2019-08-05 14:02:06 -04:00
richard-dds
e034269a02
Don't flash when cancelling TO form with invalid data
2019-08-05 09:56:15 -04:00
leigh-mil
25ab64f748
Add validation to form for enforcing chronological order of PoP start and end dates
2019-08-01 14:45:50 -04:00
leigh-mil
45390835ed
Add routes for first step of TO builder
2019-07-18 10:31:45 -04:00
leigh-mil
9278a251cc
Use translations in edit TO form and update PDF upload size limit
2019-06-20 10:50:23 -04:00
George Drummond
d672f5792c
Save as draft
2019-06-18 14:11:55 -04:00
dandds
c4d8067f45
Fixes a bug where the CLIN type was not displaying correctly for saved
...
TOs.
The enum for the CLIN type needs to be coerced in the form data so that
the `jedi_clin_field` data is the value of the enum option. Perviously
the `jedi_clin_field` was being populated with a stringified
representation of the enum, like `JEDICLINType.JEDI_CLIN_1`.
2019-06-18 11:33:41 -04:00
George Drummond
05ed1c6d68
Remove unused validation
2019-06-17 13:33:47 -04:00
leigh-mil
cd0433d85b
Reduce space around input fields and add file size info to file upload
2019-06-14 11:11:24 -04:00
dandds
4ba983cbdd
Remove unused template filters
2019-06-13 09:51:00 -04:00
dandds
febc6f7890
Remove unused form code
2019-06-13 09:10:52 -04:00
leigh-mil
4e46827335
Remove nesting from route when not needed
2019-06-12 15:30:25 -04:00
leigh-mil
1e817c6755
Update copy, add totals box, style buttons
2019-06-12 15:29:47 -04:00
dandds
b63da3ad54
Merge pull request #886 from dod-ccpo/upload-fixes
...
Upload fixes
2019-06-12 11:21:40 -04:00
Montana
52a31746d8
Modal styling
2019-06-11 12:06:11 -04:00
dandds
49332c5d6e
Only raise FileLength validation error on files
2019-06-10 19:26:44 -04:00
leigh-mil
46cd8f3762
Fix tests and formatting
2019-06-10 12:36:57 -04:00
leigh-mil
454643c3c9
Post rebase fixes
2019-06-10 12:29:54 -04:00
leigh-mil
36200e01ad
Create CLINs when creating a TO
2019-06-10 12:29:54 -04:00
leigh-mil
633e1b6a37
Update TO Form to include CLINs and LOAs
2019-06-10 12:29:54 -04:00
dandds
159360692f
Improve task order upload validation handling.
...
- Display validation errors.
- Rerender validated form data correctly.
- Clear error state correctly.
2019-06-06 13:57:07 -04:00
dandds
318257e32c
File length validation for task order upload
2019-06-06 13:57:07 -04:00
dandds
fb430e76e9
Basic frontend uploader component
2019-06-06 13:57:07 -04:00
leigh-mil
e7771f789b
Start TO form template
2019-06-05 12:58:33 -04:00
leigh-mil
91e41199b7
Update TO form based on new model
2019-06-05 12:58:33 -04:00
George Drummond
f7562714cb
Add New Portfolio Workflow
2019-06-04 13:10:42 -04:00
leigh-mil
7bec073f78
Delete things related to deleted columns and table
2019-05-31 13:07:03 -04:00
dandds
43ea922218
Simplify environment role updates in app settings.
...
Use ApplicationRole.id instead of User.id in forms. This eliminates the
need for the function that checks whether a user is in a given
application, because looking up the application role will raise an error
if the user is not.
2019-05-24 13:35:00 -04:00
dandds
7f745302ec
Merge pull request #843 from dod-ccpo/app-team-role-id
...
Use application_role.id to reference users in team page forms.
2019-05-23 11:14:33 -04:00
dandds
a332d1432e
Use application_role.id to reference users in team page forms.
...
Membership in a resource should be decoupled from the users table.
2019-05-23 10:13:57 -04:00
dandds
4c4796ecc3
Merge pull request #841 from dod-ccpo/ppoc-role-id
...
Use portfolio_role.id for updating primary point of contact.
2019-05-23 10:11:33 -04:00
dandds
e3ace36466
Use portfolio_role.id for updating primary point of contact.
...
Our forms should rely on role IDs for displaying user information on the
portfolio page. This way they are decoupled from user table data and can
eventually rely on invitation user data where an invitation has been
sent but a user does not exist yet.
2019-05-22 15:59:04 -04:00
Montana
c329e5ffcf
Use No Access as default role value for app users
...
-adds unit tests for EnvironmentForm
-removes unused import from forms/team.py
2019-05-21 10:37:03 -04:00
dandds
0cdba66b0c
Merge pull request #829 from dod-ccpo/portfolio-role-display
...
Use portfolio_role entity to display and update portfolio member info.
2019-05-20 09:37:55 -04:00
dandds
815632ed00
Handle setting no access for user environment roles:
...
- use constant for no access string
- update no access constant
- update language and permissions for rendering remove app member button
2019-05-17 14:00:45 -04:00
dandds
d38c4df878
Form components for changing user environment role
2019-05-17 14:00:44 -04:00
dandds
c8682c0897
Use portfolio_role entity to display and update portfolio member info.
...
Previously, we were encoding the portfolio_role.user_id as part of the
form data for the portfolio admin page. This was convenient because it
allowed us to easily determine certain display attributes in the
template. Instead, we should rely on the PortfolioRole as the source of
truth for member information. This commit adds:
- Portfolio.owner_role to return the PortfolioRole of the owner
- explicitly passes the PortfolioRole IDs for the PPoC and current user
to the template
- PortfolioRole.full_name for deriving the member name
2019-05-16 08:04:48 -04:00