15 Commits

Author SHA1 Message Date
Dan
67937535bb switch from accepting bar codes to accepting a last modified date when querying samples. 2021-01-08 17:26:25 -05:00
Dan
956d817091 1. Assure that when adding new samples, the location and station are correctly updated.
2. Add the ability to correct computing ids using existing emails where possible.
3. Adding a last modified date that will always be the last time the record was touched.
4. being a little more careful about location codes, setting to 1 if the location if 4 digits, otherwise respecting the location for 3 digits.  Bit of a hack, hope we only run this once in production.
5. fixing a bug I found myself in where it would not load the index page if start_date got nulled out.
6. Adding a few much needed tests.
7. Correcting some issues with db migrations.
2021-01-07 16:59:36 -05:00
Nile Walker
c68a0c2642 Added Form Responsiveness 2020-12-30 09:06:46 -05:00
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
25f3d3e978 Stores and displays Computing ID separately 2020-12-16 10:24:43 -05:00
Dan
421c6eb791 set up a mechanism to retry sending messages that failed previously vai an api call. 2020-10-17 15:56:47 -04:00
Dan
921201ec90 adding optional file name argument for text messages as well. 2020-10-15 15:31:28 -04: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
5d9dbc12fe add additional endpoints so we can manually send out all notifications. 2020-10-13 16:13:41 -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 Funk
6ee2d4f019 Don't load samples from firebase (they will be added via direct calls to the api)
Provide a mechanism to clear out all the samples - should remove this or protect it at some point.
2020-09-23 15:24:09 -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
ad1f9c0b3a Basic email configuration 2020-09-17 11:18:51 -04:00
Dan Funk
872cdfe0ef Just a base boilerplate flask app with a postgres database, alembic migrations, connexion api. 2020-09-10 11:28:58 -04:00