mike cullerton
d8c2aee19e
Change column names for required documents to match UVA IRB
2021-11-09 08:58:21 -05:00
Dan Funk
00646a0228
Merge pull request #69 from sartography/pb-mock-details-updates-442
...
Pb mock details updates #442
2021-10-01 10:02:52 -04:00
mike cullerton
f3f341a593
Be explicit about labels.
...
Otherwise, WTForms changes the underscores to spaces and removes the all caps.
2021-08-26 15:05:26 -04:00
mike cullerton
5369858151
Add description for UVA_STUDY_TRACKING
2021-08-26 15:03:48 -04:00
Mike Cullerton
689e3f676a
Merge pull request #68 from sartography/irb-events-and-status-427
...
Irb events and status #427
2021-08-25 15:16:55 -04:00
mike cullerton
43e70dc75c
Add test for study with no IRB Info.
2021-08-17 12:29:29 -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
Dan Funk
6433e36a8f
Merge pull request #66 from sartography/418-remove-hsr-number-from-study-edit
...
remove hsr number from study edit #418
2021-08-17 10:31:57 -04:00
mike cullerton
b78805c188
Added the IDs to the test assertions
2021-08-16 16:37:01 -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
7c4c94e2f0
Revision for removing HSRNUMBER
2021-08-16 10:09:45 -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
Dan Funk
0bcb4989c6
Merge pull request #65 from sartography/367-add-test-study-route
...
Add Test Study Route #367
2021-08-04 12:36:53 -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
Dan Funk
aa782add30
Merge pull request #64 from sartography/pb-mock-review-type-pulldown-384
...
Pb mock review type pulldown #384
2021-07-22 14:15:03 -04:00
Dan Funk
8c145f4b69
Merge pull request #63 from sartography/pb-mock-release-fix-247
...
Possible fix for URL error on testing.
2021-07-22 14:13:32 -04:00
mike cullerton
c56a7c2344
Assert that even though we only submit REVIEW_TYPE in the form, both REVIEW_TYPE and REVIEWTYPENAME are set in the database.
2021-07-12 17:11:02 -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
81109b01b3
Possible fix for URL error on testing.
2021-07-02 13:00:04 -04:00
Mike Cullerton
2d9ee7a48f
Merge pull request #62 from sartography/post-submission-states-247
...
Make sure our db query returned a result.
2021-07-01 12:21:57 -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
359f864572
Merge pull request #61 from sartography/update-pb-mock-tests-359
...
Update pb mock tests #359
2021-06-30 10:33:35 -04:00
Mike Cullerton
2a2ca9adf0
Merge pull request #60 from sartography/post-submission-states-247
...
Post submission states #247
2021-06-30 10:29:43 -04:00
mike cullerton
21da1e052b
These changes made possible by our change to Postgres for the PB Mock test database.
...
These tests failed in SQLite.
Modified test_delete_study to ensure existence of data we later delete.
Added test_update_study_from_csv which failed because of issue between SQLite and csv file data
2021-06-24 13:59:37 -04:00
mike cullerton
aae975013b
Fixed test to accommodate second document added by code 39
2021-06-24 11:16:16 -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
5b8c3284d9
Changed the test database to use Postgres, instead of SQLite.
2021-06-23 12:31:10 -04:00
mike cullerton
40f5ffc24b
You mock me, Travis
2021-06-23 11:49:34 -04:00
mike cullerton
eaf3ad6e24
Will this build with Travis
2021-06-23 11:38:09 -04:00
mike cullerton
783952ef43
Will this pass Travis CI build?
2021-06-23 11:21:39 -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
Dan Funk
e4a57451d6
Merge pull request #59 from sartography/dependabot/pip/urllib3-1.26.5
...
Bump urllib3 from 1.26.4 to 1.26.5
2021-06-22 18:11:43 -04:00
Dan Funk
db9db61485
Merge pull request #58 from sartography/pb-mock-documents
...
Pb mock documents #272 #332
2021-06-22 18:11:31 -04:00
mike cullerton
a085629d1e
Declared study_id explicitly.
...
Hope this helps a failing Travis CI build
2021-06-22 15:50:12 -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
1c36e470ba
Fixed failing test.
...
Added event and status data to irb_info section.
2021-06-21 14:50:46 -04:00
mike cullerton
abfd127aa1
Trying marshmallow_sqlalchemy.SQLAlchemySchema instead of Marshmallow.Schema
2021-06-21 12:59:31 -04:00
mike cullerton
f097b394b6
Migration script for DB changes.
...
Create new relationship tables for IRBEVENT and IRB_STATUS.
Change columns to relationships
2021-06-18 14:51:06 -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