103 Commits

Author SHA1 Message Date
mike cullerton
5369858151 Add description for UVA_STUDY_TRACKING 2021-08-26 15:03:48 -04:00
mike cullerton
e4cf9b6389 Make sure we have valid IRBEVENT and IRB_STATUS objects 2021-08-17 12:28:46 -04:00
Dan Funk
c2438d4b70
Merge pull request #67 from sartography/irb-events-and-status-427
Irb events and status #427
2021-08-17 10:32:41 -04:00
mike cullerton
0bed15ac8a Added 2 IRBInfoEvents, and 1 IRBInfoStatus
Also, we now return the IDs in the `current_irb_info` API endpoint
2021-08-16 16:36:22 -04:00
mike cullerton
ec916c274b Remove HSRNUMBER from model and api schema 2021-08-16 10:09:18 -04:00
mike cullerton
c7a0196a38 Remove HSRNUMBER from form and form processing 2021-08-16 10:08:37 -04:00
mike cullerton
19d2dd6d7c Added a new route that creates a new study for e2e tests in the frontend. 2021-08-04 12:16:49 -04:00
mike cullerton
3018b174f7 We still store both values--REVIEW_TYPE and REVIEWTYPENAME, in the database 2021-07-12 17:10:00 -04:00
mike cullerton
25e789fe91 Merge REVIEW_TYPE and REVIEWTYPENAME fields in StudyDetailsForm into one form field containing both the type and the type name.
This makes it easier for the configurator and for processing in the backend.
2021-07-12 17:09:09 -04:00
mike cullerton
5fe2151ad4 Simplified the code for maintainability.
SonarCloud didn't like the scent of my code.
2021-06-30 13:49:45 -04:00
mike cullerton
1b80f62136 Make sure our db query returned a result.
If not, don't seed data to the form.
2021-06-30 13:35:59 -04:00
mike cullerton
242668b244 We now add 2 documents for doc code 39. 2021-06-24 11:14:38 -04:00
mike cullerton
e64ad057eb Explicitly delete the IRBInfoEvent and IRBInfoStatus entries when deleting a study.
Interesting note, this was not necessary for SQLite, but failed the Travis CI build that used Postgres.
2021-06-23 12:33:04 -04:00
mike cullerton
40f5ffc24b You mock me, Travis 2021-06-23 11:49:34 -04:00
mike cullerton
d71360f49a Merge branch 'dev' into post-submission-states-247
# Conflicts:
#	pb/pb_mock.py

Conflicts were import statements
2021-06-23 11:16:09 -04:00
mike cullerton
f764c5ed79 Cleanup 2021-06-22 15:29:16 -04:00
mike cullerton
693ba256ba Change IRBEVENT and IRB_STATUS to use field.Method
Created `get_event` and `get_status` to retrieve the specific values
2021-06-22 15:28:57 -04:00
mike cullerton
4f226ce12e Set api back to the way it was 2021-06-22 15:13:02 -04:00
mike cullerton
cebeac38fc Twiddling 2021-06-22 12:03:41 -04:00
mike cullerton
274e6cf5c3 Way to intercept data sent to IRBInfoSchema 2021-06-22 11:48:47 -04:00
mike cullerton
d79bb3cf7b Minor changes 2021-06-22 11:47:56 -04:00
mike cullerton
abfd127aa1 Trying marshmallow_sqlalchemy.SQLAlchemySchema instead of Marshmallow.Schema 2021-06-21 12:59:31 -04:00
mike cullerton
495537f2c1 Modify the edit_irb_info route to handle to new relationship tables for IRBEVENT and IRB_STATUS.
Have to explicitly seed the form data for some form fields.
2021-06-18 14:49:08 -04:00
mike cullerton
4809a52c99 Modify _update_irb_info to handle the new relationship for IRBEVENT and IRB_STATUS. 2021-06-18 14:46:13 -04:00
mike cullerton
f2040461d0 Modify IRBInfoForm to use the new IRBEVENT and IRB_STATUS relationships.
Have to define the form explicitly now, instead of automagically from the model.
2021-06-18 14:43:59 -04:00
mike cullerton
adc6954f9d Modify irb_info table to use new IRBEVENT and IRB_STATUS table relationship
Remove IRBEVENT and IRB_STATUS from API schema. (Need to figure out how to get this to work)
2021-06-18 14:42:09 -04:00
mike cullerton
c0f2ca1d38 Adding classes to support the new IRB Post Submission States and Events 2021-06-18 14:40:11 -04:00
mike cullerton
04d1d6131f Cleanup - removed unused/commented lines 2021-05-26 17:05:23 -04:00
mike cullerton
ed7d9b20f5 Cleanup 2021-05-26 17:00:07 -04:00
mike cullerton
e1abdd33d1 Form and model changes for the new column 2021-05-26 16:51:41 -04:00
mike cullerton
ebd0850297 Example study details data for running in development. 2021-05-26 16:50:12 -04:00
mike cullerton
64e3710eff New pb_mock code for verifying the list of study details. 2021-05-26 16:48:56 -04:00
mike cullerton
cf041986fc New view for the verify_study_details route. 2021-05-26 16:47:47 -04:00
mike cullerton
26365c4643 Updated required documents list 2021-05-26 14:11:12 -04:00
mike cullerton
9a52075166 New code to verify document list.
Commented out the code for update document list in case we want to try again...
2021-05-26 14:10:45 -04:00
mike cullerton
5ac9dc2c75 Changed route for update_document_list to verify_document_list.
Added flash messages for success and failure

Added stub for verify_study_details
2021-05-26 14:09:37 -04:00
mike cullerton
abf341a5a2 Revert changes
Moved `action` and `title` closer to render_template, where they are used.
2021-05-26 10:59:08 -04:00
mike cullerton
c0593548bf Revert changes 2021-05-26 10:49:11 -04:00
mike cullerton
fe6000f35c Revert changes 2021-05-26 10:46:43 -04:00
mike cullerton
ec0fca0afe Missing change 2021-05-26 10:45:46 -04:00
mike cullerton
ad11cf8bec Back out form changes 2021-05-26 10:44:18 -04:00
mike cullerton
87e26c03d9 Trying to get QuerySelectMultipleField to work correctly using query_factory.
Having trouble seeding the form with previous choices
2021-05-20 11:00:05 -04:00
mike cullerton
08be27a854 Added button to update the master required documents list
Added css to float the new button to the right.
2021-05-19 11:23:07 -04:00
mike cullerton
4b43b6fe42 Added mock required document list data for development (when _is_production is false)
This was pulled from the endpoint
2021-05-19 11:21:34 -04:00
mike cullerton
01b1f46aa1 Added route to call the new methods that update the master required documents list. 2021-05-19 11:19:27 -04:00
mike cullerton
728b3eed77 Added methods _get_required_document_list and update_required_document_list to manage the master required documents list.
Added _is_development method to help.

Cleaned up imports
2021-05-19 11:18:31 -04:00
mike cullerton
d2c1dcd40f Added model RequiredDocumentList for new required_documents_list table.
Added function `get_all_required_documents` to return master list of required_documents

Deleted static master list of required_documents from RequiredDocument class
Replaced static master list with call to new method
2021-05-19 10:30:06 -04:00
mike cullerton
326ed53395 Fix for study_details bug on testing 2021-05-17 09:32:55 -04:00
Dan
8ca8c9ad85 Fixing an icon. 2021-05-14 17:36:22 -04:00
Dan
fdfab68bb2 Fixing yet another stupid. 2021-05-14 17:26:51 -04:00