dandds
b733884c30
Merge pull request #386 from dod-ccpo/edit-user-#160268937
...
Edit user #160268937
2018-10-17 15:04:15 -04:00
dandds
92dc4f45c9
use empty string for null service branch selection
2018-10-17 11:09:13 -04:00
dandds
771bd27794
use post endpoint for updating user in test
2018-10-17 10:47:30 -04:00
patricksmithdds
a05d226401
Merge pull request #391 from dod-ccpo/csrf-error
...
Redirect to login page when CSRF error occurs
2018-10-17 10:12:01 -04:00
montana-mil
10d90a0e6b
Merge pull request #390 from dod-ccpo/add-copy
...
Add description to Environment Roles Modal
2018-10-17 09:47:54 -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
Montana
f9d910efd7
Fix new lines
2018-10-16 16:45:13 -04:00
dandds
d25ee2fe99
more explicit route name form user form action
2018-10-16 16:37:32 -04:00
dandds
f04f52c3d9
add error alert for validation errors on user edit page
2018-10-16 16:34:45 -04:00
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
Montana
a50c3d92f9
Style the modal description
2018-10-16 15:41:15 -04:00
patricksmithdds
e7b437dc56
Merge pull request #388 from dod-ccpo/raise-error-in-debug-mode
...
Raise unhandled exception in debug mode
2018-10-16 15:31:53 -04:00
dandds
dab5fe83fc
create dictionary of base user form fields
2018-10-16 15:14:23 -04:00
Montana
77b88b0b3c
Add a description to env roles modal
2018-10-16 14:44:38 -04:00
Patrick Smith
9be83a83d3
Raise unhandled exception in debug mode
2018-10-16 14:27:44 -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
patricksmithdds
38610d0e0a
Merge pull request #276 from dod-ccpo/circleci-cd
...
CircleCI CD
2018-10-16 11:37:09 -04:00
patricksmithdds
dee0479403
Merge pull request #383 from dod-ccpo/update-tld
...
Add UAT env and move to *.atat.code.mil (from *.atat.codes)
2018-10-16 10:42:52 -04:00
patricksmithdds
2014789934
Merge pull request #380 from dod-ccpo/remove-sample-data
...
Remove sample data from test accounts
2018-10-16 10:32:26 -04:00
Patrick Smith
714569eda4
Get rid of deployment steps on Travis
2018-10-16 10:30:14 -04:00
Patrick Smith
8bf71f10c7
Update path so the script can be run and import atst
2018-10-16 10:17:37 -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
1f07b0fa33
Revert "Deploy this branch"
...
This reverts commit 2e4a8520a9a1f8a21ac5d2148f9902755663a850. `master`
will now be deployed.
2018-10-15 16:04:19 -04:00
Patrick Smith
0f658d5036
Add build step to generate build info
2018-10-15 16:02:35 -04:00
Patrick Smith
d4cd4003c3
Catch flask's NotFound error and return 404
2018-10-15 15:48:46 -04:00
Patrick Smith
2e4a8520a9
Deploy this branch
2018-10-15 15:04:58 -04:00
Devon Mackay
b077ad9bac
Make circleci image name unique
2018-10-15 14:48:03 -04:00
Devon Mackay
c9bd3a4328
Only generat IMAGE_NAME if it is undefined
2018-10-15 14:48:03 -04:00
Devon Mackay
d52e92fddf
Convert to only deploying master branch
2018-10-15 14:48:02 -04:00
Devon Mackay
7dc87e5fe8
Adjust timeout flags for Alpine specific version
2018-10-15 14:48:02 -04:00
Devon Mackay
2ba9745c2e
Add time limit for successfully deploying
...
- Add config var for max wait time for a deployment
- Move exit function and trap to the beginning of the script
- Execute the rollout status command using timeout
-- Use signal 2 (SIGINT; same pressing CTRL+C)
-- Abort the command if it is still running when max time is reached
-- If the command was aborted, rollback this deployment
2018-10-15 14:48:02 -04:00
Devon Mackay
f684990666
Set working directory to match final app location (fix venv issue)
2018-10-15 14:48:02 -04:00
Devon Mackay
43057e2fc0
Flush CRL cache
2018-10-15 14:48:02 -04:00
Devon Mackay
f6fdb44a87
Ensure permissions are preserved
2018-10-15 14:48:02 -04:00
Devon Mackay
7f81db5990
Style fixes
2018-10-15 14:48:02 -04:00
Devon Mackay
5a6f1de4dd
Ensure app dir and files in its root are also chowned
2018-10-15 14:48:02 -04:00
Devon Mackay
1a68458a12
And also include /usr/bin, since the bin stubs for pip installed packages live there
2018-10-15 14:48:02 -04:00
Devon Mackay
1c5c75a0ac
Fix resource names
2018-10-15 14:48:02 -04:00
Devon Mackay
82517e67d7
Fix site-packages reference
2018-10-15 14:48:02 -04:00
Devon Mackay
3ebf047e70
Sync debugger config with app config
2018-10-15 14:48:02 -04:00