Commit Graph

1395 Commits

Author SHA1 Message Date
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
leigh-mil
079d3c4e9c Remove duplicated authorization check from the route 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
105dc6ef1f Cache all calls to translation file and refresh cache when file changes 2019-01-09 11:09:36 -05:00
Patrick Smith
8017b7f03f Add rudimentary task order listing and viewing pages 2019-01-09 10:35:57 -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
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
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
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
Patrick Smith
87a7dede6c Resurrect erroneously removed session commit 2019-01-08 16:34:27 -05:00
Patrick Smith
28e0d423fd Create user account in CSP when adding an environment role 2019-01-08 12:19:51 -05:00
Patrick Smith
5e737bad15 Add cloud_id to user model 2019-01-08 10:43:05 -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
George Drummond
99f34fe45a Disable CLIN fields via a config option 2019-01-07 14:25:03 -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
c70202c33c Handle formdata processing in a property 2019-01-07 09:38:56 -05:00
Montana
1fcd27a4e0 Formatting 2019-01-04 14:08:44 -05:00
Montana
c718e9a0d7 Fix process-None function 2019-01-04 14:00:27 -05:00
George Drummond
e0ba35324d Merge pull request #495 from dod-ccpo/editable-strings
Put app strings into a YAML file
2019-01-04 11:00:44 -05:00
George Drummond
bcb75a29c5 Use f for file variable rather than file 2019-01-03 12:06:35 -05:00
George Drummond
e630a7868f LRU cache 2019-01-03 12:04:57 -05:00
Montana
ae55e1c71d Use formdata and change unfilled fields to '' instead of None 2019-01-03 10:23:10 -05:00