Commit Graph

660 Commits

Author SHA1 Message Date
richard-dds
e5a0d69844 Add migration for EnvironmentRole 2018-09-06 13:51:31 -04:00
Patrick Smith
0a1cb6a5c9 Add mock data for cumulative budget reports 2018-09-06 10:13:13 -04:00
Patrick Smith
9d8fe572bb Default to current month for reporting 2018-09-06 09:57:15 -04:00
Patrick Smith
f0664e254c Use check_workspace_permission helper 2018-09-06 09:50:45 -04:00
Patrick Smith
d6da217e08 Run that formatter jawn 2018-09-05 17:31:32 -04:00
Patrick Smith
5abd592f78 Add query string args to control date/alternate date source 2018-09-05 17:26:58 -04:00
Patrick Smith
4982b80d9b Add alternate set of mock reporting data 2018-09-05 17:26:58 -04:00
Patrick Smith
a9d705daac Add mock monthly reporting data 2018-09-05 17:26:58 -04:00
Patrick Smith
f33a7b4a9f Protect reports page with correct permission 2018-09-05 17:26:58 -04:00
Patrick Smith
557df21a30 Add initial Reports object 2018-09-05 17:26:32 -04:00
Montana
40c248df16 Refactor and format 2018-09-05 15:13:08 -04:00
Montana
109249d953 Allow user to save without changing user's role 2018-09-05 14:16:20 -04:00
Montana
1b8233af89 Use update member form 2018-09-05 14:16:20 -04:00
Montana
75ea8025c1 Authorization check for edit member post route 2018-09-05 14:16:20 -04:00
Montana
1808acd5f4 Use new method for checking workspace permissions 2018-09-05 14:16:20 -04:00
Montana
03715d8e9b Remove MOCK_MEMBERS data 2018-09-05 14:16:20 -04:00
Montana
ce44e4537a Add an alert for successful role update 2018-09-05 14:16:20 -04:00
Montana
8faed87e00 Update workspace role in the DB, add tests 2018-09-05 14:16:20 -04:00
Montana
b379972446 Check permissions before viewing member edit page 2018-09-05 14:16:19 -04:00
Montana
ea1a3926ac Wire up selector for updating a workspace user's role 2018-09-05 14:16:19 -04:00
dandds
4b25cc19d9 Merge pull request #238 from dod-ccpo/request-schema-#159719829
Request schema #159719829
2018-09-05 13:22:58 -04:00
dandds
e03ddd9474 make uii_ids an array column 2018-09-05 12:42:33 -04:00
richard-dds
0a783c0a1e Merge pull request #243 from dod-ccpo/action-required-flag
Action required flag
2018-09-05 12:04:10 -04:00
richard-dds
fa105a95e3 Redirect to home after login, which redirects elsewhere 2018-09-05 10:39:05 -04:00
richard-dds
cbcb33d125 Use dict literal instead of dict() 2018-09-05 10:28:05 -04:00
richard-dds
2e77387d98 Remove conditional 2018-09-04 18:09:04 -04:00
richard-dds
533dc8e0f6 Redirect CCPO to requests index after login 2018-09-04 16:18:43 -04:00
dandds
e810a4afe8 cleanup from rebase 2018-09-04 16:17:52 -04:00
dandds
9cbcba5101 remove unused Requests method 2018-09-04 16:15:36 -04:00
dandds
1e0523ebf6 new request statues events should be associated with latest revision 2018-09-04 16:15:36 -04:00
dandds
59fdad8554 use regular WTForms DateField for requests dates 2018-09-04 16:15:36 -04:00
dandds
b20d91c784 migrate existing request bodies to revisions and remove requests body column 2018-09-04 16:15:36 -04:00
dandds
326d330a40 use python dates for request revisions, plus some cleanup 2018-09-04 16:15:36 -04:00
dandds
cc7ddd9468 update to use request revisions 2018-09-04 16:14:53 -04:00
dandds
56a991a44d add request revision 2018-09-04 16:13:35 -04:00
richard-dds
982e3884a8 Rename to _map_request, since it's a private method 2018-09-04 15:12:17 -04:00
richard-dds
39efee046c Started request requires no action 2018-09-04 15:00:27 -04:00
richard-dds
319f6c05c2 Refactor requests index route for easier testing 2018-09-04 14:57:01 -04:00
richard-dds
58593fc7d6 Determine if action is required by current user on each request 2018-09-04 14:19:19 -04:00
richard-dds
b18b238649 Move action_required_by to Request model 2018-09-04 14:18:25 -04:00
richard-dds
acc9f21e78 Fix date format 2018-09-04 13:20:37 -04:00
richard-dds
0af7fb4573 Use last_submission_timestamp in requests index 2018-09-04 13:09:48 -04:00
richard-dds
3af630e4dd Return pendulum instance from last_submission_timestamp 2018-09-04 13:09:27 -04:00
richard-dds
6bfbaea867 Factor out first_or_none 2018-09-04 12:50:44 -04:00
richard-dds
6af50b78b0 Implement Request.last_submission_date 2018-09-04 12:47:17 -04:00
Devon
9fe139d5a7 Merge pull request #234 from dod-ccpo/circleci
Circleci
2018-09-04 10:53:00 -04:00
richard-dds
0f2ba6efd0 Formatting 2018-08-31 16:05:37 -04:00
richard-dds
1f26596b5f Show success alert when new workspace user is created 2018-08-31 16:04:45 -04:00
richard-dds
2718a7acf6 Redirect to members list after creating a new member 2018-08-31 13:59:06 -04:00
richard-dds
b1326a7c75 Use object for selector component 2018-08-31 13:58:25 -04:00