28 Commits

Author SHA1 Message Date
mike cullerton
d9f46de161 The Q_COMPLETE form field on the new/edit study page is changing from boolean to option select.
Model Changes:
Delete Q_COMPLETE column from study table.
Add Q_COMPLETE to study table as relationship to new IRBStatus table
Add IRBStatus table.
Add IRBStatusSchema for API JSON
2021-04-01 12:39:09 -04:00
mike cullerton
c260e6a465 Added new fields for study_details
Changed some field types

Removed 2 unused documents from required documents list
Changed the name of required documents from Required to Documents
2021-03-30 10:56:23 -04:00
mike cullerton
a1f2b98ecf Added code to process uploaded study_details csv file
Modified study_details method to accommodate the csv upload
Added imports for csv, TextIOWrapper
Removed unused imports for date, re
2021-03-30 10:53:56 -04:00
mike cullerton
9d839bb85c Changed to match real Protocol Builder
- Removed `Scientific Contact` from Investigator types
- Changed study_details SPONSORS_PROTOCOL_REVISION_DATE data type from integer to date
- Added 8 new fields to study_details
2021-03-25 13:11:27 -04:00
mike cullerton
eb4ca6fda4 Sorted the fields in the study_details form to match real Protocol Builder 2021-03-25 13:07:42 -04:00
mike cullerton
0ea0b0a233 added form validation for study_details 2021-03-25 13:06:52 -04:00
Dan Funk
e24c67f417
Merge branch 'dev' into pb-current-user-studies-only-173 2021-02-23 11:02:22 -05:00
mike cullerton
93b87f806f Ticket 209
Alter Study table so that TITLE can be longer than 80 characters
2021-02-22 12:36:10 -05:00
mike cullerton
81457c2b7c We can now limit the list of studies to a particular user.
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.
2021-02-19 10:55:21 -05:00
mike cullerton
f235339aa1 Added route for search_ldap 2021-01-06 11:16:36 -05:00
mike cullerton
1138d45183 The 3 files from cr-connect ldap.
Most of my changes are in ldap_service. I added users_as_json method, commented out an unused method, and created my own search string.
	The model in ldap.py is unchanged.
	In ldap_response, I added a fake entry to test multiple returned values.
2021-01-06 11:14:07 -05:00
Dan Funk
b2b8e278db Adding a sponsors endpoint 2020-08-25 10:26:29 -04:00
Dan Funk
a706e0ecab
Merge branch 'testing' into feature/limit_investigator_options 2020-08-19 08:36:09 -04:00
Dan Funk
983422ae05 fixing a bug that would prevent the proper listing of personnel options types. 2020-08-19 08:25:03 -04:00
Dan Funk
b8b8dd00b0
Merge pull request #30 from sartography/feature/limit_investigator_options
Feature/limit investigator options
2020-08-17 16:34:34 -04:00
Dan Funk
f63dfa82b6 Filter out options for adding investigators to ones that have not already been used, exceit for AS_C and SI which can have multiple of the same type. 2020-08-17 16:29:23 -04:00
Aaron Louie
45a99d296d Adds environment variable option for loading sponsors via Docker. Prevents duplicate sponsors from being loaded. 2020-08-14 09:39:05 -04:00
Aaron Louie
0e4cd7d130 Adds/edits sponsors for a given study. 2020-08-13 15:19:55 -04:00
Aaron Louie
18f557549f Hides hidden fields. Adds highlight class. Allows HTML tags in alert messages and form detail text. 2020-08-13 15:18:51 -04:00
Aaron Louie
be441a7c53 WIP: Adds sponsor model, mock sponsors list, and form for adding sponsors to a study. 2020-08-12 19:15:16 -04:00
Aaron Louie
86101375b2 Fixes checkbox field width problems 2020-07-22 17:22:28 -04:00
Aaron Louie
07444f8c36 Moves delete column to right side 2020-06-30 14:58:29 -04:00
Aaron Louie
d5a933d951 Fixes #23 - Displays confirmation screen before deleting a study or investigator 2020-06-30 14:48:11 -04:00
Aaron Louie
2d2fad73dd Fixes WTForms deprecation warnings 2020-06-16 15:50:46 -04:00
Aaron Louie
6fb5842fe1 Adds CORS 2020-05-25 15:21:29 -04:00
Aaron Louie
f0e0b7cd68 Fixes root path bug 2020-05-25 11:41:39 -04:00
Aaron Louie
07d0c43e8e Fixes all the paths and routing errors 2020-05-24 23:05:57 -04:00
Aaron Louie
a633cc7c09 Reorganizes files for consistency between repos. Completely refactors Dockerfile to install from wheel. 2020-05-24 18:30:57 -04:00