82 Commits

Author SHA1 Message Date
leigh-mil
f4855c0ae3 Use validator on the field for checking that the pop dates are within the contract date range 2019-10-08 10:32:02 -04:00
leigh-mil
07b3c68422 Add min and max range values to date selector so a more accurate error message can be displayed when a date is out of the range 2019-10-08 10:32:02 -04:00
leigh-mil
92243965ec parse contract dates into datetime objects 2019-09-26 16:22:16 -04:00
leigh-mil
e341a73dd1 Remove unused code 2019-09-18 11:16:55 -04:00
leigh-mil
80dcb9c580 Move perms so they are at the top level of the form so that the data is properly populated
Add form fields for all environments in update member form
2019-09-18 11:16:54 -04:00
leigh-mil
4dab326eef Clean up code and formatting 2019-09-18 11:16:54 -04:00
leigh-mil
1fd2d9f496 Make form class for updating application member 2019-09-18 11:16:54 -04:00
graham-dds
c26f8b92e9 Add tests to validate CLIN funding 2019-09-12 16:11:12 -04:00
leigh-mil
ddcd91964f Remove route 'applications.update_env_roles' and related functions and tests 2019-09-11 15:29:09 -04:00
leigh-mil
2efd2c968d Use translations and make errors look pretty 2019-09-06 10:12:35 -04:00
leigh-mil
d7b86491ae Validate PoP dates against contract dates config on the backend 2019-09-06 10:12:35 -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
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
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
dandds
febc6f7890 Remove unused form code 2019-06-13 09:10:52 -04:00
dandds
49332c5d6e Only raise FileLength validation error on files 2019-06-10 19:26:44 -04:00
dandds
318257e32c File length validation for task order upload 2019-06-06 13:57:07 -04:00
leigh-mil
7bec073f78 Delete things related to deleted columns and table 2019-05-31 13:07:03 -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
Montana
86c6044ca1 Catch None values for IsNumber validator 2019-05-15 11:41:03 -04:00
Montana
644acc68fa Refactor application team routes
- pulling out helper functions for constructing forms
- return 400 for form validation errors
- "Yes" appears green on the read only version
2019-05-07 16:21:17 -04:00
Montana
526bcb1661 Update tests 2019-05-07 09:31:04 -04:00
dandds
926f89d975 Form for application team member table.
Nested form for each member, with child forms for environment roles and
permissions.
2019-05-06 15:15:03 -04:00
leigh-mil
355ebddf89 Add test for preventing values that are not a choice in a RadioField from being saved 2019-03-12 11:33:27 -04:00
Patrick Smith
f614a3ff83 Remove unused form fields 2019-02-25 14:54:14 -05:00
Patrick Smith
c8a139a941 Remove unused request form 2019-02-25 14:54:13 -05:00
Patrick Smith
d98abad611 Enforce email validation on edit officer forms 2019-02-04 13:19:55 -05:00
Patrick Smith
6fe9229f89 Add custom form field wrapper to determine if form data has changes 2019-01-31 14:01:55 -05:00
Patrick Smith
d43c1febea Add forms to edit TO officer information 2019-01-29 13:59:24 -05:00
Montana
d51663e075 Refactor RequiredIf validator 2019-01-20 09:50:20 -05:00
Montana
67108484be New custom validator RequiredIf 2019-01-18 09:39:52 -05:00
Montana
684786bffc Remove unused import 2019-01-17 10:45:13 -05:00
Montana
ae494d3bb5 Refactor RequiredIfNot custom validator, add tests 2019-01-16 11:00:51 -05:00
dandds
3fc323d785 project -> application everywhere 2019-01-14 16:00:17 -05:00
dandds
e509c34cdd change name of request relationship to legacy task order 2018-12-13 11:36:45 -05:00
Patrick Smith
891dcc5b31 Keep list of required fields on user model 2018-10-30 15:32:04 -04:00
Patrick Smith
2e89f38601 Require all fields on user profile form 2018-10-30 15:32:04 -04:00
richard-dds
09d3f33908
Merge pull request #387 from dod-ccpo/save-finver-draft
Save Financial Verification Draft
2018-10-29 10:26:30 -04:00
leigh-mil
6ad4f4c077 Fix name of test 2018-10-24 10:08:49 -04:00
leigh-mil
d474091f5e Add more invalid test cases 2018-10-23 17:15:50 -04:00
leigh-mil
aad62853bc Update test name 2018-10-23 13:18:01 -04:00
richard-dds
e40c6c67a3 Fix financial form tests 2018-10-23 11:45:09 -04:00
richard-dds
0439525f0f Refactor fv form to separate TO from request 2018-10-23 11:45:09 -04:00
richard-dds
f56dd5621e Revive suggest_pe_id tests 2018-10-23 11:45:09 -04:00
richard-dds
e72b980d94 Refactor FinVer to make room for draft feature 2018-10-23 11:45:09 -04:00
leigh-mil
13763d8750 Change name of validator to Name because it is more descriptive 2018-10-23 11:22:16 -04:00
leigh-mil
6a15a6ca7b Update tests to reflect new Alphabet validators 2018-10-18 16:35:28 -04:00
Montana
5561bdc44c Fix deprecation warnings 2018-09-28 10:05:20 -04:00
dandds
ec5c3e8ce8 add request name 2018-09-19 10:44:21 -04:00