Modified the / and /user_studies routes
The / route now redirects to the /user_studies route
The /user_studies route updates the selected_user table.
Added methods `_is_production` and `_get_request_ids` to get uva uid from header on production.
Added `get_current_user`, `get_selected_user`, and `update_selected_user` to help the process.
Note that I had to move the `connexion_app.add_api()` call so that it happened *after* db.session was defined, so I could import the session into the api.py file
models.py
- Added new IRBInfo model
- Added relationship to Study table
forms.py
- Added form to edit the data
- Added column in Study table for link to edit new info
__init__.py
- Added route for new form page
- Added method to update the db
Also adding API endpoint to check the IRB status
Added check_study method for API endpoint
Added 'No Error' as default for new Q_COMPLETE select form field
Added code to seed the current status to the form
Added code to process the status information from the form and enter into irb_status table
Created a new route /user_studies in __init__.py that takes a uva_id.
Pulled out some dupllcate code into a new method; render_study_template
In index.html, added a pulldown to select the user. I pull the list of users from the studies so we only show users that have studies.
Added a script to process the selection.