2636 Commits

Author SHA1 Message Date
dandds
d60b798af0 fix optional and required validations in user forms 2018-10-16 16:32:49 -04:00
dandds
a7ef93dad4 date range validator should not try to evaluate empty dates 2018-10-16 16:31:50 -04:00
dandds
dab5fe83fc create dictionary of base user form fields 2018-10-16 15:14:23 -04:00
dandds
65bc05d214 display success alert when user updates profile info 2018-10-16 13:33:39 -04:00
dandds
84d091fcf1 only CAC fields should be required for editing user profile 2018-10-16 13:21:41 -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
30318b68bb add additional user fields 2018-10-16 09:18:13 -04:00
dandds
e7a117be33 move user edit routes into their own module and blueprint 2018-10-16 09:18:13 -04:00
patricksmithdds
8ea99a7aa5
Merge pull request #385 from dod-ccpo/fix-404
Catch flask's NotFound error and return 404
2018-10-15 16:36:49 -04:00
Patrick Smith
d4cd4003c3 Catch flask's NotFound error and return 404 2018-10-15 15:48:46 -04:00
dandds
5dd55dea55
Merge pull request #358 from dod-ccpo/end-to-end-test-#160690740
End to end test #160690740
2018-10-15 11:00:28 -04:00
dandds
9fcb016f86 formatting 2018-10-15 10:30:54 -04:00
dandds
e514aa9a94 disable coverage for acceptance tests 2018-10-15 10:19:48 -04:00
dandds
8a14560a9b trap and kill BrowserStackLocal process in selenium_test script 2018-10-15 10:15:29 -04:00
dandds
4e653a52cf do not disable CSRF for selenium testing 2018-10-15 10:06:11 -04:00
dandds
cbf188df5f more browserstack info in readme 2018-10-15 10:04:33 -04:00
dandds
f16b227ece catch 500 errors and remove unnecessary acceptance test fixture 2018-10-15 10:03:13 -04:00
dandds
ef041d7e1c dont track coverage file 2018-10-15 09:21:36 -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
04b0b1db0d reformat 2018-10-15 09:10:09 -04:00
dandds
4a97c1d0fd add readme info about selenium testing 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
78af50fcf0 sketch of BrowserStack and Selenium testing setup 2018-10-15 09:09:23 -04:00
dandds
c4b7fdc015
Merge pull request #350 from dod-ccpo/coverage-#160694116
Coverage #160694116
2018-10-15 09:04:47 -04:00
leigh-mil
029941e9c2
Merge pull request #381 from dod-ccpo/edit-pe-number-#160627814
Edit pe number #160627814
2018-10-12 11:43:25 -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
richard-dds
56cb21e821
Merge pull request #382 from dod-ccpo/make-approver-name-optional
Make CCPO approver name optional
2018-10-12 10:15:26 -04:00
rthoward
c435c36475 Don't showValid if input value is empty 2018-10-11 16:56:12 -04:00
rthoward
95f6b17e3b Simplify "anything" input validatin regex 2018-10-11 16:55:48 -04:00
leigh-mil
e0367dd2bd Remove mask from BA Code input since it had the same bug 2018-10-11 11:51:18 -04:00
leigh-mil
63ca35e808 Remove mask from PE Number input and clean up regex for match 2018-10-11 11:50:39 -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
b667d3331c mistakenly had pytest in non-dev dependencies list 2018-10-09 10:55:21 -04:00
dandds
00456152a8 include pytest-cov options as pytest defaults 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
dandds
74ab2151f8 mandate python 3.6.6 and install pytest-cov 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
richard-dds
a118812661 Move logged-in redirect to beginning of view 2018-10-09 10:27:54 -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
richard-dds
2966862413
Merge pull request #378 from dod-ccpo/refactor-tests
Refactor factories to make test setup more declarative
2018-10-09 10:21:30 -04:00
Montana
f36446efac Add a default error message to the error template 2018-10-09 09:55:11 -04:00
Montana
39c5f3e00e Add two more tests 2018-10-09 09:34:35 -04:00