396 Commits

Author SHA1 Message Date
dandds
8a207b3bc6 restore environment-based queue names 2018-10-15 16:11:14 -04:00
dandds
40317a06a4 use default queue for now 2018-10-15 11:38:34 -04:00
dandds
95ad71605d set default task queue name based on ATAT environment 2018-10-15 11:38:34 -04:00
dandds
df35725430 reformat files, add more tests 2018-10-15 11:38:34 -04:00
dandds
f7d8783349 implement mailer with task queue 2018-10-15 11:37:06 -04:00
dandds
0d9f1cd7e0 update mailer, add tests 2018-10-15 11:35:20 -04:00
dandds
f16b227ece catch 500 errors and remove unnecessary acceptance test fixture 2018-10-15 10:03:13 -04:00
dandds
5df28ba331 end-to-end tests should log in via login-dev endpoint 2018-10-15 09:21:21 -04:00
dandds
586a1eee5d whoops, pytest-flask already has a live-server, thanks pytest-flask 2018-10-15 09:10:09 -04:00
dandds
5195b2d32d acceptance tests can login to site 2018-10-15 09:10:09 -04:00
dandds
0d10ef1b6b refactor selenium driver handling 2018-10-15 09:10:09 -04:00
dandds
63f94deb40 test harness for selenium testing 2018-10-15 09:10:08 -04:00
dandds
c4b7fdc015
Merge pull request #350 from dod-ccpo/coverage-#160694116
Coverage #160694116
2018-10-15 09:04:47 -04:00
dandds
ffa317a3eb
Merge pull request #374 from dod-ccpo/finver-refactor
financial verification routes refactor
2018-10-12 11:19:05 -04:00
dandds
1329cd8206 pass request directly to FinancialVerification class 2018-10-09 11:11:48 -04:00
richard-dds
76854acf81
Merge pull request #376 from dod-ccpo/auth-patterns
Standardize auth patterns
2018-10-09 11:06:22 -04:00
dandds
d9d7917dd8 ignore dev routes for tests coverage and add placeholders for reports 2018-10-09 10:55:21 -04:00
dandds
12307769d4 rerun formatter for pretty 3.6.6 numbers 2018-10-09 10:55:21 -04:00
richard-dds
72f65cac9b
Merge pull request #379 from dod-ccpo/logged-in-redirect
Root url should redirect if user is already logged in
2018-10-09 10:41:51 -04:00
montana-mil
4e24666f16
Merge pull request #377 from dod-ccpo/email-not-unique
Handle AlreadyExistsError on user creation with non-unique email
2018-10-09 10:24:24 -04:00
Montana
39c5f3e00e Add two more tests 2018-10-09 09:34:35 -04:00
dandds
ef75c15b99 small tweaks and test setup for FinancialVerification 2018-10-09 09:34:35 -04:00
richard-dds
74a04b6750 Formatting 2018-10-08 15:24:17 -04:00
richard-dds
d51d5e2ca9 Root url should redirect if user is already logged in 2018-10-08 15:23:13 -04:00
richard-dds
7a800507dd Remove duplicate test 2018-10-08 14:47:45 -04:00
richard-dds
2568387902 Add tests for RequestsAuthorization 2018-10-08 12:05:15 -04:00
richard-dds
fcc1caca1c Move Request-specific auth checks into requests.authorization 2018-10-08 12:05:15 -04:00
richard-dds
7a23b09676 Formatting 2018-10-08 11:40:15 -04:00
richard-dds
7df8d3bfa4 Replace setup with WorkspaceFactory 2018-10-08 10:44:38 -04:00
Montana
3c95063293 Handle AlreadyExistsError on user creation with non-unique email 2018-10-08 10:36:40 -04:00
richard-dds
40557a5494 Merge SuperFactories into Factories, overriding _create 2018-10-08 10:36:02 -04:00
richard-dds
e06025366a Allow RequestFactory to generate task order 2018-10-08 10:35:36 -04:00
richard-dds
9061c3515c Refactor test_update_environment_roles 2018-10-07 11:52:28 -04:00
richard-dds
e383ee533a Super factories! 2018-10-05 16:48:12 -04:00
Montana
55394b65db Use workspace permissions to limit project viewability 2018-10-04 14:24:35 -04:00
Montana
5ac8bc476c Delete empty test 2018-10-03 09:34:58 -04:00
Patrick Smith
8bb9c1ab8a Add __repr__ to models 2018-10-02 14:14:39 -04:00
Montana
95f3b9d048 Hide Budget Report from admins and developers 2018-10-01 17:15:40 -04:00
Montana
685c0e3658 Make the requirement for dod_id explicit when creating a user 2018-10-01 17:11:36 -04:00
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