606 Commits

Author SHA1 Message Date
dandds
b733884c30
Merge pull request #386 from dod-ccpo/edit-user-#160268937
Edit user #160268937
2018-10-17 15:04:15 -04:00
dandds
771bd27794 use post endpoint for updating user in test 2018-10-17 10:47:30 -04:00
Patrick Smith
0425df3d19 Use fixture for CSRF-enabled app
We don't want CSRF protection to stick around after the test runs.
2018-10-16 21:31:03 -04:00
Patrick Smith
783ce58991 Formatting fix 2018-10-16 21:30:35 -04:00
Patrick Smith
c7d5015942 Redirect to login page when CSRF error occurs 2018-10-16 17:23:09 -04:00
richard-dds
b930c85c3f Idea for using composition rather than inheritance 2018-10-16 13:04:30 -04:00
dandds
8af23fda36 make unpermitted attribute handling in Users.update more specific 2018-10-16 09:37:59 -04:00
dandds
ab42245797 display DOD ID on user update page 2018-10-16 09:18:13 -04:00
dandds
f3c3332127 user can update profile 2018-10-16 09:18:13 -04:00
dandds
ec7504fb20 add update method to Users repo 2018-10-16 09:18:13 -04:00
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