3794 Commits

Author SHA1 Message Date
Patrick Smith
b61a331ce6 Use deepcopy to copy form section info
Previously, copying the form sections was using `list.copy` which
creates a shallow copy of the list. Since the `TASK_ORDER_SECTIONS` list
contains a couple dictionaries, this was just creating another list with
references to the same dictionaries.

Therefore, when a section was marked as completed, it was updated
globally and visiting the new task order without filling anything out
would show some sections as completed.
2019-01-08 18:16:49 -05:00
Patrick Smith
7b2e74f2f5 Default to $0 for classified clins when unclassified 2019-01-08 17:52:09 -05:00
Patrick Smith
3a5c55410c Show errors on new task order form when fields are invalid
Form errors were not being shown because a new form instance was being
created each time the `form` property was being called. Since the
`validate` method on the form adds the errors to the form instance, this
was causing no errors to be shown even if the form were invalid.
2019-01-08 17:32:16 -05:00
Patrick Smith
9883bde00c Remove unneccesary flash
The flash is in the base 'task_order/_new.html' template, so it doesn't
need to be included in the section as well.
2019-01-08 17:20:31 -05:00
dandds
6429043fca
Merge pull request #515 from dod-ccpo/task-order-invites-#162554089
Task order invites #162554089
2019-01-08 16:59:57 -05:00
dandds
b4799b54eb fix migration chain 2019-01-08 16:51:27 -05:00
dandds
ccd75bcaca small fixes in TaskOrders.add_officer 2019-01-08 16:47:55 -05:00
dandds
95e7adfcf3 single workspace role for task order officers 2019-01-08 16:47:55 -05:00
dandds
d41f233f5a fix task order officer migration 2019-01-08 16:47:55 -05:00
dandds
fc9194d517 do not display task order officers as regular workspace roles 2019-01-08 16:47:55 -05:00
dandds
c1f3f6bb62 validate dod id for task order officers 2019-01-08 16:47:55 -05:00
dandds
7c5f0fa27d fix typo in security officer role 2019-01-08 16:47:55 -05:00
dandds
a361cbd109 fix inviter name in workspace member invitation email 2019-01-08 16:47:55 -05:00
dandds
29e615de35 add test for not inviting officer on task order 2019-01-08 16:47:55 -05:00
dandds
65a88da63b remove unnecessary officer properties on workspace 2019-01-08 16:47:55 -05:00
dandds
356a0fab2c TaskOrders domain responsible for adding officers 2019-01-08 16:47:55 -05:00
dandds
d0bfa16f17 add officers to task order and redirect to TO when they accept a workspace invite 2019-01-08 16:47:55 -05:00
dandds
33de14caaf prevent redundant invitations for task order officers 2019-01-08 16:47:55 -05:00
dandds
55bfbc4696 invitations for task order officers 2019-01-08 16:47:55 -05:00
dandds
4f1ca550d5 new roles for task order officers 2019-01-08 16:47:55 -05:00
dandds
c3cd11cb9a service class for making and sending invitations 2019-01-08 16:47:55 -05:00
dandds
cceb6bf868 checkbox fields for inviting KO, etc, on task order form 2019-01-08 16:47:55 -05:00
patricksmithdds
657b17c1ac
Merge pull request #522 from dod-ccpo/csp-env-integration
CSP Interface: Environments
2019-01-08 16:44:08 -05:00
patricksmithdds
73c9074d5a
Merge pull request #523 from dod-ccpo/audit-invites
Show relevant details for invitation events in audit log
2019-01-08 16:39:30 -05:00
Patrick Smith
87a7dede6c Resurrect erroneously removed session commit 2019-01-08 16:34:27 -05:00
Patrick Smith
7c4ea282d3 Show relevant details for invitation events in audit log 2019-01-08 16:19:16 -05:00
Patrick Smith
28e0d423fd Create user account in CSP when adding an environment role 2019-01-08 12:19:51 -05:00
Montana
cef8861ab9 Fix typo on multicheckboxinput vue component 2019-01-08 11:38:01 -05:00
Montana
d6910e85d4 Fix vestigial code for deleted component 2019-01-08 11:29:38 -05:00
Patrick Smith
5e737bad15 Add cloud_id to user model 2019-01-08 10:43:05 -05:00
dandds
2e5ed1b0c6
Merge pull request #519 from dod-ccpo/whack-debugger
remove rogue debugger
2019-01-08 09:32:19 -05:00
dandds
b694f6ac9d remove rogue debugger 2019-01-08 08:53:37 -05:00
Patrick Smith
91419af71a Generate mock access token when access env 2019-01-07 17:30:34 -05:00
Patrick Smith
c89e5b824c Add hook into CSP when deleting an environment role 2019-01-07 17:30:34 -05:00
Patrick Smith
0798ce4019 Add hook to CSP when creating environment role 2019-01-07 17:30:34 -05:00
Patrick Smith
334babe5ff Hook into cloud provider when creating an env/app 2019-01-07 17:30:34 -05:00
Patrick Smith
3dad43b1ee Add initial mock cloud provider class 2019-01-07 17:30:34 -05:00
Patrick Smith
2dba02e03c Add cloud_id column to environment model
When an environment is created, we'll need to create something in the
CSP and keep track of the ID of the created thing.
2019-01-07 17:30:34 -05:00
dandds
08806eed24 put requests workflow tests behind a feature toggle 2019-01-07 16:05:27 -05:00
George Drummond
5988f20dff
Merge pull request #518 from dod-ccpo/remove-unused-declaration
Remove unused declaration
2019-01-07 15:34:29 -05:00
George Drummond
a64c543b2f
Remove unused declaration 2019-01-07 15:31:37 -05:00
dandds
3612fcca6c hide requests link in workspace view 2019-01-07 14:42:18 -05:00
George Drummond
0d6f664743
Merge pull request #513 from dod-ccpo/disable-clin-fields
Disable CLIN fields via a config option
2019-01-07 14:32:20 -05:00
George Drummond
99f34fe45a
Disable CLIN fields via a config option 2019-01-07 14:25:03 -05:00
Montana
5f613b3cd5 Cleaning up checkbox code 2019-01-07 13:58:20 -05:00
dandds
3415436f54 toggle off requests workflow with config option 2019-01-07 10:34:23 -05:00
montana-mil
7a7f8914c8
Merge pull request #516 from dod-ccpo/multicheckbox_with_other
Multicheckbox with 'other' option
2019-01-07 10:13:31 -05:00
Montana
7bb9d47e7b undo prepush test 2019-01-07 09:49:36 -05:00
Montana
64dd295e6d test prepush hook 2019-01-07 09:48:13 -05:00
Montana
c70202c33c Handle formdata processing in a property 2019-01-07 09:38:56 -05:00