dandds
8a89c519eb
on user login, redirect based on next query parameter if available
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
cbcd61c018
Merge pull request #352 from dod-ccpo/hide-pdf-#160757166
...
hide PDF link when PDF download is not available
2018-10-01 13:26:04 -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
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
dandds
6245ab3f5e
hide PDF link when PDF download is not available
2018-09-28 14:21:12 -04:00
Montana
5561bdc44c
Fix deprecation warnings
2018-09-28 10:05:20 -04:00
Montana
066ade7f52
Add more tests for workspaces routes
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
Patrick Smith
a27c1b5712
Set current user for public routes as well
2018-09-26 16:50:43 -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
richard-dds
c9c387b06d
Don't explicitly add project creator to environments
2018-09-25 15:54:57 -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
richard-dds
22f02f604f
Add test which ensures that CCPO can view the audit log
2018-09-25 13:09:54 -04:00
richard-dds
ddc2e2fad7
Automatic audit logging using SQLA events
2018-09-25 13:09:54 -04:00
Montana
18776aa71c
Fix tests
2018-09-25 11:13:24 -04:00
Montana
54af62a58a
Test workspace update_member route
2018-09-25 11:13:24 -04:00
Montana
3a978a1673
Fix bugs and write a test
2018-09-25 11:13:24 -04:00
andrewdds
2bbb859ad8
Merge pull request #327 from dod-ccpo/dummy-help-page
...
Dummy help page
2018-09-25 11:08:56 -04:00
richard-dds
daa41609e1
Merge pull request #324 from dod-ccpo/fix-members-list-screen
...
Use proper display name for workspace roles
2018-09-25 10:12:57 -04:00
Patrick Smith
5a18536125
Rename internal comment test
2018-09-25 09:45:34 -04:00
Patrick Smith
fafe98756b
Show error on page if submitting an empty comment
2018-09-25 09:45:34 -04:00
Patrick Smith
bed03901c2
Allow adding an internal comment on a request
2018-09-25 09:45:34 -04:00
Patrick Smith
0f14eabc44
Allow having multiple internal comments on a request
2018-09-25 09:45:34 -04:00
dandds
dbe1c0ff5b
better date range for task order expiration date in test factory
2018-09-25 09:45:34 -04:00
dandds
32a97c29be
better fake task order numbers for tests
2018-09-25 09:45:34 -04:00
dandds
1768dea235
formatting and add financial details to requests in seed_sample script
2018-09-25 09:45:34 -04:00
patricksmithdds
6ac19d315d
Merge pull request #323 from dod-ccpo/internal-comments
...
Hook up internal request comments
2018-09-24 17:53:06 -04:00
dandds
04d03f3c93
fix and refactor test for protected routes
2018-09-24 16:59:08 -04:00
Patrick Smith
0b81ccb254
Rename internal comment test
2018-09-24 15:56:36 -04:00
richard-dds
e64b2dd034
Add Role.display_name
2018-09-24 14:19:17 -04:00
Patrick Smith
92d73387f5
Show error on page if submitting an empty comment
2018-09-24 13:52:50 -04:00
Patrick Smith
e0e51d8c35
Allow adding an internal comment on a request
2018-09-24 13:52:50 -04:00
Patrick Smith
99a745904f
Allow having multiple internal comments on a request
2018-09-24 13:52:50 -04:00
dandds
218c142020
better date range for task order expiration date in test factory
2018-09-24 11:27:35 -04:00
dandds
238e8ff16d
better fake task order numbers for tests
2018-09-24 11:03:20 -04:00
dandds
e668cb93d0
formatting and add financial details to requests in seed_sample script
2018-09-24 11:03:20 -04:00
richard-dds
99858fe98e
Use a role name faker with higher entropy
...
- The "job" faker kept generating duplicates.
2018-09-24 10:31:01 -04:00
richard-dds
18bc8afeb7
Formatting
2018-09-21 14:00:01 -04:00
richard-dds
519b5caa4c
Fix tests that were broken by new constraints
2018-09-21 14:00:01 -04:00
richard-dds
5f54468082
Timestamps and uuids everywhere
2018-09-21 14:00:01 -04:00
dandds
2a67fb6197
add task order data to seed workspace
2018-09-20 11:42:03 -04:00
dandds
8fc5a4a092
show request name where appropriate and set as default workspace name
2018-09-19 10:44:21 -04:00
dandds
ec5c3e8ce8
add request name
2018-09-19 10:44:21 -04:00
dandds
e34b1b55d0
Merge pull request #300 from dod-ccpo/total-spend-#159974960
...
reports shows real budget information for total spend
2018-09-19 10:29:22 -04:00
richard-dds
fc20d75d31
Merge pull request #301 from dod-ccpo/validate-dates
...
Validate that start_date is in the future
2018-09-19 10:03:57 -04:00
richard-dds
751131ed3a
Move factory request's start_date to the future
2018-09-18 21:45:09 -04:00
richard-dds
b42b9812b0
Validate that start_date is in the future
2018-09-18 17:01:09 -04:00
dandds
ca8b9028bc
reports shows real budget information for total spend
2018-09-18 16:04:03 -04:00