20 Commits

Author SHA1 Message Date
Dan
a37e75090e Merge branch 'master' of github.com:sartography/uva-covid19-testing-communicator 2020-12-16 11:51:51 -05:00
Dan
34f1a3640e adding an additional, protected, api endpoint to allow an external system to export sample information. 2020-12-16 11:51:36 -05:00
Aaron Louie
8dc4e1dd64 Adds computing_id 2020-12-16 10:24:43 -05:00
Dan
a84a14f3e5 Update notifications to try to fix issues with email and texts getting caught. 2020-11-13 10:25:32 -05:00
Dan
cf7607f2d3 Protect against loading files without actually injesting them by reserving the commit to execute on all records, then calling a delete.
Add flask executor so that long running tasks do not get killed when called from the API endpoints.

Allow passing a specific file when calling the notification endpoints so that we can send out notifications to only those individuals that are included in a specific import file from IVY.
2020-10-15 15:29:40 -04:00
Dan
aa526b4c07 Adding code that will properly pull in the full bar code from IVY,
and a script that will fix previously incorrect pairings of data.
2020-10-07 12:58:44 -04:00
Dan
4b2422d51e Enable deleting of files once ingested. 2020-09-30 12:34:15 -04:00
Dan Funk
fe565afda3 All the pieces in place. Going to see if it works.
Text messages should only go out at reasonable hours.
Adding the same sample a second time through the API should not create an error.
2020-09-24 16:51:49 -04:00
Dan Funk
b8c4c8cd32 keep a record of uploaded files and make it visible in the ui. 2020-09-23 16:01:31 -04:00
Dan Funk
f0132df1e5 Adding an endpoint to create new sample records, and an index page
for displaying all samples in a paginated view.
2020-09-23 12:44:11 -04:00
Dan Funk
ab07ea783d fixing a few bugs and missing libraries. 2020-09-23 09:28:28 -04:00
Dan Funk
ca910c02f2 fixing tests 2020-09-21 14:48:53 -04:00
Dan Funk
2467a27b76 fixing tests 2020-09-21 14:45:19 -04:00
Dan Funk
53c257d6cd fixing tests 2020-09-21 14:44:23 -04:00
Dan Funk
7af7063b57 Read configuration from files, and allow reading from environment for overrides.
Add a method for deleting files.
Create email format and configuration for sending emails of results.
2020-09-21 14:21:07 -04:00
Dan Funk
7978a2aa7e Trying to set up travis and docker auto-deploy 2020-09-17 11:34:45 -04:00
Dan Funk
ad1f9c0b3a Basic email configuration 2020-09-17 11:18:51 -04:00
Dan Funk
f2d809d9d9 cleaning up tests 2020-09-15 11:57:56 -04:00
Dan Funk
b7dc2d56bf merge sample records from firebase and ivy so we have a single table with all the information. Consistenly indexing records based on the bar code to hopefully keep things simple and clean. 2020-09-14 13:17:30 -04:00
Dan Funk
87287f628f adding a test event model to track data loaded from ivy, and hopefully cross-referenced with data loaded from Firebase. 2020-09-11 13:34:11 -04:00