Mike Cullerton
652c9b908f
Merge branch 'dev' into pb-mock-documents
2021-05-27 08:49:45 -04:00
mike cullerton
8613f7542f
Cleanup
2021-05-26 17:11:06 -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
a4665a6eb5
Migration script for new column in study_details
2021-05-26 16:51:12 -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
def00d7d7e
Backed out the migration
2021-05-26 14:58:33 -04:00
mike cullerton
bb00865e1d
Backed out test for updating the document list (We removed the feature)
2021-05-26 14:22:24 -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
8018431918
Created forms for the two verify buttons.
2021-05-26 14:06:53 -04:00
mike cullerton
8765849690
Added Verify Study Details button
...
Changed Update Document List to Verify
2021-05-26 11:12:07 -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
536120febf
Test for updating the master required documents list
2021-05-20 12:19:51 -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
317881f8e2
Added PRODUCTION to the app config so this code all works on production :)
2021-05-19 11:23:48 -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
319fea7721
Add new table to hold master list of required documents
2021-05-19 10:27:04 -04:00
Dan
d65eb51284
Merge branch 'dev' of github.com:sartography/protocol-builder-mock into dev
2021-05-18 11:24:15 -04:00
Dan
ec5add3b55
allow setting production configuration.
2021-05-18 11:24:09 -04:00
Dan Funk
b90a224249
Merge pull request #57 from sartography/testing-bug-fix-study-details
...
Fix for study_details bug on testing
2021-05-17 10:17:56 -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
Dan
8e9db15b74
Fixing a stupid.
2021-05-14 17:23:24 -04:00
Dan
40efc6b043
Merge branch 'dev' of github.com:sartography/protocol-builder-mock into dev
2021-05-14 17:21:22 -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 Funk
7ced4d19ca
Merge pull request #56 from sartography/clean-up-pb-mock-init-328
...
Clean up pb mock init #328
2021-05-14 14:52:39 -04:00
Dan
77adaffb58
fixing some merge conflicts.
2021-05-14 14:52:22 -04:00
Dan
295008304a
Just a little prettier.
2021-05-14 14:44:48 -04:00
Dan Funk
2770125025
Merge pull request #55 from sartography/persist-selected-user-319
...
Persist selected user #319
2021-05-14 14:18:18 -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
mike cullerton
be9484760a
Fixed test.
...
The /user_studies route now returns a 200
2021-05-11 17:00:43 -04:00
mike cullerton
6c11a04614
PB Mock now retains the selected_user filter when returning to the study listings page.
...
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.
2021-05-11 16:42:36 -04:00
mike cullerton
f9b254c518
We now pass all
in the user_studies url.
...
We use this to turn off selected_user
2021-05-11 16:34:49 -04:00
mike cullerton
688023a248
Added table selected_user for ticket 319.
...
We now store a user's selected_user so they see a filtered list of studies when returning to the PB Mock homepage
2021-05-11 16:33:44 -04:00
Dan Funk
5fa0ae8958
Merge pull request #53 from sartography/irb-pro-api-endpoints-275
...
Irb pro api endpoints #275
2021-04-16 17:34:17 -04:00
mike cullerton
650cd5c40a
Changed column name in irb_info from RB_OF_RECORD
to IRB_OF_RECORD
2021-04-16 16:39:36 -04:00