19 Commits

Author SHA1 Message Date
mike cullerton
473b80a76c Fixes for required_documents' column name changes.
AUXDOC -> AUXILIARY_DOC
AUXDOCID -> SS_AUXILIARY_DOC_TYPE_ID

Modified RequiredDocumentSchema to match UVA IRB.
2021-11-09 09:42:18 -05: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
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
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
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
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
cf041986fc New view for the verify_study_details route. 2021-05-26 16:47:47 -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
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
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
326ed53395 Fix for study_details bug on testing 2021-05-17 09:32:55 -04:00
Dan
fdfab68bb2 Fixing yet another stupid. 2021-05-14 17:26:51 -04:00
Dan
8e9db15b74 Fixing a stupid. 2021-05-14 17:23:24 -04:00
Dan
0f3800bb92 use url_for rather than relying on base_href which can result in dubious nare-do-well paths that cause all of us headaches on a friday afternoon. 2021-05-14 17:20:44 -04:00
Dan
77adaffb58 fixing some merge conflicts. 2021-05-14 14:52:22 -04:00
mike cullerton
2ff6814bd4 __init__.py cleanup
- moved routes to new `routes.py` file
- moved helper functions to new `pb_mock.py` file
2021-05-12 11:54:46 -04:00