Commit Graph

1579 Commits

Author SHA1 Message Date
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
richard-dds
b793d4a00a New route for creating workspace user 2018-08-31 13:25:14 -04:00
richard-dds
a7678cad12 New domain method for adding workspace user 2018-08-31 13:25:14 -04:00
andrewdds
1c73c1a191 Merge pull request #233 from dod-ccpo/ui/ws-role-picker
UI/Selector Vue component
2018-08-31 11:25:52 -04:00
patricksmithdds
734c1ea006 Merge pull request #232 from dod-ccpo/review-by-user
Allow user to view submitted request
2018-08-31 10:27:44 -04:00
Andrew Croce
5af6eab556 remove unused import 2018-08-31 10:14:18 -04:00
Andrew Croce
f0de0eddb4 run formatter 2018-08-31 10:14:18 -04:00
Andrew Croce
0df7c0f56a use jinja's built in tojson filter 2018-08-31 10:14:18 -04:00
Andrew Croce
c45e643522 Add real roles and descriptions 2018-08-31 10:14:18 -04:00
Andrew Croce
323890b9e3 to json filter 2018-08-31 10:14:18 -04:00
Andrew Croce
116ed3c3f6 workspace role data 2018-08-31 10:14:18 -04:00
Devon Mackay
cfbe37a535 Convert to just using straight key names as env var names 2018-08-30 16:34:48 -04:00
richard-dds
d4b96b5c54 Use backref instead of back_populates 2018-08-30 16:31:09 -04:00
richard-dds
e945e43f74 Formatting 2018-08-30 16:31:09 -04:00
richard-dds
f389bd31d1 Check submitted request for financial verification 2018-08-30 16:31:09 -04:00
richard-dds
62aacf55e7 If request FV is not verified, redirect to requests index 2018-08-30 16:31:08 -04:00
richard-dds
caf6882a11 Only consider request financially verified if TO is from EDA 2018-08-30 16:31:08 -04:00
richard-dds
ccf1b3b5aa Do submit financial verification 2018-08-30 16:31:08 -04:00
richard-dds
8a813d9ac3 Display workspace link for approved requests 2018-08-30 16:31:08 -04:00
richard-dds
60275f8c3a Check that request is financially verified before approving 2018-08-30 16:31:08 -04:00
richard-dds
3ab528f192 Raise instead of returning None 2018-08-30 16:31:08 -04:00
richard-dds
a2d4602f0c Remove unused route 2018-08-30 16:31:08 -04:00
Devon Mackay
8af2f5b99e Add ability to override any config setting via ENV var 2018-08-30 16:22:55 -04:00
Patrick Smith
622d28dd8b Remove unused imports 2018-08-30 15:02:02 -04:00
Patrick Smith
457f8de608 Remove now unnecessary auth check 2018-08-30 14:45:39 -04:00
Patrick Smith
27b85ce560 Catch DataError when querying for request
A `DataError` can be raised if we try to find a request with an id that
is not a valid UUID.
2018-08-30 14:45:39 -04:00
Patrick Smith
7040157f25 Formatting fixes 2018-08-30 14:45:39 -04:00
Patrick Smith
d785f19b5b Enforce authorization when getting a request 2018-08-30 14:45:39 -04:00
Patrick Smith
e7aed35054 Link to pending request page from index 2018-08-30 14:45:39 -04:00
Patrick Smith
0906134f56 Move data variables to context for easier re-use 2018-08-30 14:31:12 -04:00
Patrick Smith
4d6f51ed7f Add route for read-only view of request 2018-08-30 14:31:12 -04:00
dandds
0a36f1d6ca move request review information into a partial 2018-08-30 13:25:21 -04:00