Commit Graph

502 Commits

Author SHA1 Message Date
dandds
c0d72cd0d6 utility function for getting user email from x509 certificate 2018-08-09 15:01:06 -04:00
dandds
5f9b589465 only show financial verification alert on requests index page if relevant 2018-08-09 14:10:17 -04:00
andrewdds
0d2a8faad4 Merge pull request #145 from dod-ccpo/ui/request-form
UI/request form labels
2018-08-09 13:54:26 -04:00
dandds
5e5b357c7e add mechanism for initial modal display; fix financial verification modal display 2018-08-09 13:48:07 -04:00
dandds
28665c32f9 Merge pull request #152 from dod-ccpo/log-errors
Log errors
2018-08-09 12:41:00 -04:00
dandds
3f01d455bb better name, text for unauthenticated page 2018-08-09 11:57:37 -04:00
dandds
fc436af134 log errors in error handlers 2018-08-09 11:48:33 -04:00
Patrick Smith
edcd8bb921 Require PE id to be defined in financial verification form 2018-08-09 10:52:27 -04:00
Patrick Smith
994af840d9 Fix NewlineListField displaying too many newlines 2018-08-09 10:52:27 -04:00
Patrick Smith
c0f3c0f8a6 Fix financial verification form submission 2018-08-09 10:52:27 -04:00
Patrick Smith
e1da908f93 Use helper method for allowing submission 2018-08-09 09:42:25 -04:00
Patrick Smith
115c84680c Fix link to financial verification page 2018-08-09 09:42:25 -04:00
richard-dds
dd849df388 Use enum value to store status displayname 2018-08-08 16:18:12 -04:00
richard-dds
d307a255b1 Fix some issues from a tricky merge 2018-08-08 15:46:16 -04:00
richard-dds
47957384fc Merge branch 'master' into request-creator-name 2018-08-08 15:28:36 -04:00
dandds
2b56ce6260 use existing Requests function for creator check 2018-08-08 14:11:54 -04:00
dandds
337dd2414b catch bad request_id in request form GET 2018-08-08 14:05:59 -04:00
dandds
d5ed99089c raise exceptions, map to http error codes 2018-08-08 13:54:15 -04:00
dandds
7b8934e0cb add Flask error handlers 2018-08-08 13:54:15 -04:00
dandds
2cfc142417 simple implementation of request view authorization 2018-08-08 13:54:15 -04:00
luis cielak
74fc5f0ec9 Make sure the label style for input text and radios match 2018-08-08 13:54:10 -04:00
dandds
1a5800cbc5 Requests domain module can determine if user can view request 2018-08-08 13:53:35 -04:00
richard-dds
5f59b9f24a Add emails to test users 2018-08-08 13:43:52 -04:00
richard-dds
cb45db291e Rollback transaction if user creation fails 2018-08-08 13:43:52 -04:00
richard-dds
0c378ba07c Declare helper properties on Request and RequestStatusEvent 2018-08-08 13:43:52 -04:00
richard-dds
47a4635edd Display Request's "Total Apps" 2018-08-08 13:43:52 -04:00
richard-dds
6dccf50e83 Title case request status name 2018-08-08 13:43:52 -04:00
richard-dds
fdb7c699ee Simplify dev user login 2018-08-08 13:43:52 -04:00
richard-dds
04b9ae9f53 Display creator's name and human-readable status 2018-08-08 13:43:52 -04:00
richard-dds
f80668c638 Add script/seed.py for convenience 2018-08-08 13:43:52 -04:00
richard-dds
e99ddd491a Create Request.creator relationship
- Rename creator_id to user_id
2018-08-08 13:43:52 -04:00
richard-dds
2030b4d318 Merge pull request #139 from dod-ccpo/request-status-names
Update request status names to reflect document
2018-08-08 13:43:29 -04:00
richard-dds
1f41b717bf Add expired and deleted statuses 2018-08-08 13:05:03 -04:00
richard-dds
4d3889c144 Hardcode enum values instead of using auto() 2018-08-08 13:04:40 -04:00
richard-dds
fc7ef59e9b Remove unused Request.set_status 2018-08-08 11:18:18 -04:00
dandds
cf9fc7efbc use "prod" for production environment 2018-08-08 09:41:42 -04:00
richard-dds
e437b0d6ba str -> RequestStatus coercion is no longer necessary 2018-08-07 17:07:25 -04:00
richard-dds
49b9fca793 Use Enum for request statuses 2018-08-07 16:41:47 -04:00
richard-dds
0c9005aaf6 Fix and refactor action_required_by 2018-08-07 16:22:24 -04:00
richard-dds
52bd76e6ee Use proper status names for requests 2018-08-07 15:32:24 -04:00
richard-dds
8494744801 Disable CSRF checking in test and CI 2018-08-06 16:36:49 -04:00
richard-dds
e9cf732798 Use full_name property of User 2018-08-06 16:26:47 -04:00
richard-dds
19a072d67e Initialize CSRF protection 2018-08-06 16:21:43 -04:00
richard-dds
0260feadad Remove atst.home 2018-08-06 15:42:23 -04:00
richard-dds
488419f389 Remove old session manager 2018-08-06 15:41:39 -04:00
richard-dds
d5ced09646 Remove ui_methods and ui_modules 2018-08-06 15:41:05 -04:00
dandds
b9f4a4be71 remove all references to tornado 2018-08-06 15:39:30 -04:00
dandds
2234812019 remove tornado handlers 2018-08-06 15:36:59 -04:00
dandds
94223e1869 add session expiration config 2018-08-06 15:03:09 -04:00
dandds
61270fbb40 use user factory for testing 2018-08-06 15:03:09 -04:00