Commit Graph

3737 Commits

Author SHA1 Message Date
Patrick Smith
b6b5304520 Fix document download links
The links to cloud estimate and market research aren't available yet, so
are just empty links.
2019-01-10 14:41:45 -05:00
Patrick Smith
440329249a Fix disabled download links 2019-01-10 14:41:45 -05:00
Patrick Smith
43757d5d3b Pass in current user when fetching task order 2019-01-10 14:41:45 -05:00
Patrick Smith
175d0df234 Flesh out rest of task order view page 2019-01-10 14:41:45 -05:00
Patrick Smith
84659a0578 Show task order heading on view task order page 2019-01-10 14:41:45 -05:00
dandds
a9f1f86c09 Merge pull request #533 from dod-ccpo/test-fixes
Test fixes
2019-01-10 14:31:31 -05:00
dandds
74ed550292 fix ampersands when comparing docx output in tests 2019-01-10 11:37:26 -05:00
dandds
e2e4b5ae70 use real atat and workspace roles in tests 2019-01-10 11:23:11 -05:00
dandds
66ada94dcc Merge pull request #532 from dod-ccpo/to-access-control
Task Order access control
2019-01-10 10:56:22 -05:00
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
4f1b1e79ae fix TO access control in tests from rebase 2019-01-10 09:13:04 -05:00
dandds
476627996e update arg order for task order update utility class 2019-01-10 08:56:40 -05:00
dandds
ccf1ff2024 authorization checks for task orders 2019-01-10 08:56:40 -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
Montana
aea690cb0f Keep test coverage, but skip front end tests for requests 2019-01-09 13:40:03 -05:00
leigh-mil
a9634edb95 Formatting fix from rebase 2019-01-09 13:31:11 -05:00
Montana
c2a597d98b hide requests 2019-01-09 13:22:32 -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