3520 Commits

Author SHA1 Message Date
dandds
3ec1123a8a
Merge pull request #530 from dod-ccpo/clin-total-fix-#162772340
handle empty strings when totalling clin value
2019-01-10 09:56:56 -05:00
dandds
a3bac44371
Merge pull request #529 from dod-ccpo/to-formdata-fix
manually set list/SelectMultipleField data for task order AppInfoForm
2019-01-10 08:49:48 -05:00
dandds
313bac2bbf handle empty strings when totalling clin value 2019-01-09 15:44:21 -05:00
leigh-mil
95df0e7c12
Merge pull request #521 from dod-ccpo/view-ws-activity-log
View workspace activity log
2019-01-09 15:28:45 -05:00
leigh-mil
a9634edb95 Formatting fix from rebase 2019-01-09 13:31:11 -05:00
leigh-mil
eff797d21b Refactor pagination macro 2019-01-09 13:16:03 -05:00
leigh-mil
16febc2a77 Move pagination macro out of audit log fragment 2019-01-09 13:16:03 -05:00
leigh-mil
8e8adb8c6a Disable next and last links in pagination if there is only 1 page 2019-01-09 13:16:03 -05:00
leigh-mil
079d3c4e9c Remove duplicated authorization check from the route 2019-01-09 13:16:03 -05:00
leigh-mil
52bfb4b7d4 Add assertions to tests so they are more explicit 2019-01-09 13:16:03 -05:00
leigh-mil
8700ba37d3 Create partial for duplicated div for audit log and activity history 2019-01-09 13:16:03 -05:00
leigh-mil
a48b814263 Update query to also return events that update the workspace 2019-01-09 13:16:03 -05:00
leigh-mil
466f2565b5 Add tests 2019-01-09 13:16:03 -05:00
leigh-mil
31d85be949 Update to use workspace permissions 2019-01-09 13:14:56 -05:00
Montana
81af9f1c99 Add new permission 2019-01-09 13:14:56 -05:00
Montana
ef6d9a2c5f Add pagination 2019-01-09 13:14:55 -05:00
Montana
3731dd876e Display audit logs for current workspace 2019-01-09 13:14:55 -05:00
Montana
bf22afa7af Add Activity Log tab for a workspace 2019-01-09 13:14:55 -05:00
patricksmithdds
8bd7de4f02
Merge pull request #527 from dod-ccpo/simple-task-order-view
Simple task order view
2019-01-09 13:01:39 -05:00
dandds
3fae563d35 manually set list/SelectMultipleField data for task order AppInfoForm 2019-01-09 11:37:05 -05:00
George Drummond
c9fa8a4312
Merge pull request #528 from dod-ccpo/reload-extra
Cache all calls to translation file and refresh cache when file changes
2019-01-09 11:34:25 -05:00
montana-mil
e83b57f8b2
Merge pull request #526 from dod-ccpo/checkbox-fixes
Checkbox fixes
2019-01-09 11:22:38 -05:00
George Drummond
105dc6ef1f
Cache all calls to translation file and refresh cache when file changes 2019-01-09 11:09:36 -05:00
Montana
ac1df00730 Use loop.index0 everywhere 2019-01-09 10:58:11 -05:00
Patrick Smith
189bf5a92e Add task orders to side nav for workspaces 2019-01-09 10:36:20 -05:00
Patrick Smith
8017b7f03f Add rudimentary task order listing and viewing pages 2019-01-09 10:35:57 -05:00
Montana
dd33a23c47 Fix off by one error 2019-01-09 10:19:27 -05:00
patricksmithdds
793622b791
Merge pull request #525 from dod-ccpo/fix-task-order-funding-submisssion
Fix task order funding submisssion
2019-01-09 09:41:59 -05:00
Patrick Smith
b3cdfd730d Don't show success/error icon on disabled fields 2019-01-08 18:21:11 -05:00
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