Commit Graph

956 Commits

Author SHA1 Message Date
dandds
21222cd0f6 Merge pull request #360 from dod-ccpo/redirect-after-login-#160851186
Redirect after login #160851186
2018-10-01 16:35:44 -04:00
richard-dds
8db53f5985 Merge pull request #357 from dod-ccpo/audit-log-extra-info
Display user name and workspace name in audit log
2018-10-01 16:18:58 -04:00
dandds
509b4c55a2 more explicit naming, query param handling for login redirects 2018-10-01 16:16:30 -04:00
dandds
4eaea6c055 fix unused import 2018-10-01 16:16:30 -04:00
dandds
8a89c519eb on user login, redirect based on next query parameter if available 2018-10-01 16:16:30 -04:00
dandds
9f4b284d6c add login redirect query param to login button 2018-10-01 16:16:30 -04:00
dandds
b137a41a8f logout should redirect to root, not home 2018-10-01 16:16:30 -04:00
dandds
8b8d694abd apply destination url path as next parameter to login redirect 2018-10-01 16:16:30 -04:00
dandds
20318a2376 Merge pull request #347 from dod-ccpo/refactor-role-definitions-#160745296
put workspace role definitions in one place
2018-10-01 15:55:49 -04:00
dandds
7af7b47bc1 split atat roles and workspace roles 2018-10-01 15:38:31 -04:00
dandds
a4f51fe01d put workspace role definitions in one place 2018-10-01 15:38:31 -04:00
dandds
024108ae0e UII IDs are optional for financial verification 2018-10-01 15:26:52 -04:00
dandds
767934d633 new form field for CLIN numbers to handle when data is zero 2018-10-01 15:24:39 -04:00
richard-dds
d0f4e34263 Display request id and displayname as well 2018-10-01 14:39:33 -04:00
richard-dds
1750c268f7 Fix report display for task order with no expiration date 2018-10-01 13:32:01 -04:00
montana-mil
388ff899a2 Merge pull request #343 from dod-ccpo/more-tests-for-workspaces
Add more tests for workspaces routes
2018-10-01 13:23:47 -04:00
richard-dds
7f1e8aa277 Remove unused properties 2018-10-01 11:42:26 -04:00
richard-dds
d784c03eec Display user names in audit log 2018-10-01 11:38:53 -04:00
Patrick Smith
7b2a099ef3 Filter environments for user with given project id
Previously, calling `Environment.for_user(user, project)` would return
environments a user has access to across all projects. Now, we will only
return the relevant environements. This was the cause of a visual bug
where extra environments were shown in the project list.
2018-09-30 22:06:10 -04:00
Montana
5561bdc44c Fix deprecation warnings 2018-09-28 10:05:20 -04:00
Montana
38c855f579 Update Form to FlaskForm 2018-09-28 10:05:20 -04:00
Patrick Smith
a859af9eea Pass in request as jedi_request in request detail template
Fixes the user sessions/daily traffic fields not being shown when they
should be.
2018-09-28 09:48:41 -04:00
Patrick Smith
7d7afebede Update modal content for approval/acceptance 2018-09-28 09:48:41 -04:00
dandds
43363015fc do not set default kwarg for atat role when creating users 2018-09-27 15:21:00 -04:00
andrewdds
0c828fde1c Merge pull request #338 from dod-ccpo/make-ba-code-optional
Make BA code optional
2018-09-27 13:34:56 -04:00
Montana
5f0bfbd84c Revert test changes 2018-09-27 11:43:15 -04:00
Andrew Croce
522eeb4b99 Nope, not optional 2018-09-27 09:59:32 -04:00
Patrick Smith
a27c1b5712 Set current user for public routes as well 2018-09-26 16:50:43 -04:00
Montana
4c2d143e56 Use Optional validator for BA code 2018-09-26 13:08:01 -04:00
Andrew Croce
5fd1dac257 Update BA code description and validation message to describe the letter as optional 2018-09-26 13:08:01 -04:00
Montana
68206307fd Take out Optional() validator for tests to pass 2018-09-26 13:08:00 -04:00
Andrew Croce
542abb3c96 Make BA code optional 2018-09-26 13:08:00 -04:00
richard-dds
0a8c488f1e Merge pull request #341 from dod-ccpo/ui/clean-up-audit-log
Initial audit log UI cleanup
2018-09-26 11:33:03 -04:00
andrewdds
d594135fbe Merge pull request #337 from dod-ccpo/user-profile-screen
User profile screen
2018-09-26 11:31:08 -04:00
dandds
c6ac7c3ff9 Merge pull request #260 from dod-ccpo/eda-requests
Investigate requests against EDA
2018-09-26 10:42:41 -04:00
richard-dds
885b2da308 Remove workspaces.name unique constraint
- Added some random indexes
- Fixed audit_events.request_id foreign key constraint
2018-09-26 10:23:54 -04:00
dandds
2e07c8ebda use defusedxml library for secure parsing 2018-09-26 10:23:37 -04:00
Patrick Smith
c917605df9 Flesh out EDA client a bit more 2018-09-26 10:23:37 -04:00
patricksmithdds
4de0338978 Merge pull request #339 from dod-ccpo/hook-up-add-env-access-link
Hook up the "Add Environment Access" link when adding a member
2018-09-26 09:38:21 -04:00
Andrew Croce
9ec8caa9b6 format 2018-09-26 08:26:05 -04:00
richard-dds
6f87524eae Merge pull request #335 from dod-ccpo/fix-workspace-owner-environments
Fix regression in Projects.create
2018-09-25 16:53:05 -04:00
Patrick Smith
648964dc1e Hook up the "Add Environment Access" link when adding a member 2018-09-25 16:44:40 -04:00
Andrew Croce
7a5d733b20 log activity description prop 2018-09-25 16:02:52 -04:00
richard-dds
c9c387b06d Don't explicitly add project creator to environments 2018-09-25 15:54:57 -04:00
Andrew Croce
5572dfedba formatting 2018-09-25 14:19:50 -04:00
Andrew Croce
ca66139a2f dummy save_user route 2018-09-25 14:19:50 -04:00
Andrew Croce
d20247a47e edit user wtform 2018-09-25 14:19:50 -04:00
Andrew Croce
27a806d7f8 user route 2018-09-25 14:19:50 -04:00
Andrew Croce
ab14c214c2 edit user form 2018-09-25 14:18:55 -04:00
richard-dds
b65fdd56a0 Fix regression in Projects.create
A new project's creator was not being assigned a role in the project's
environments.
2018-09-25 14:07:15 -04:00