27 Commits

Author SHA1 Message Date
Dan
a68594512b Reworking the user model to include admin status. 2021-02-26 14:59:58 -05:00
Dan
b3a410954b restrict all endpoints. 2021-02-15 15:58:04 -05:00
Nile Walker
d0b05017f5 Readded Label Count 2021-02-04 09:16:47 -05:00
Nile Walker
b56f70579a Merged Histories with Master 2021-01-29 09:40:59 -05:00
Dan
b3e4bfb3f5 Add a field to sample that contains the moment the sample was added to the database, and make it possible to retrieve records on this date. 2021-01-19 15:47:41 -05:00
Nile Walker
f54d4ef454 Set last_modified back to non_nullable 2021-01-12 13:24:54 -05:00
Nile Walker
f314ef0f2c Added Inventory page 2021-01-12 10:13:14 -05:00
Nile Walker
46ddf269e1 Service runs but not tests have been written 2021-01-11 08:03:45 -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
dbff80ae27 update ivy files and remove noise from logs 2020-10-15 17:50:54 -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 Funk
10040b82d7 Better error handling for emails and text messages. 2020-09-25 11:33:20 -04:00
Dan Funk
b786aba6d8 Fix date formats to the correct timezone 2020-09-24 14:39:09 -04:00
Dan Funk
360d20560b provide some deatils on the current user. Assure we can get them consistently. 2020-09-24 13:36:46 -04:00
Dan Funk
d6b639ca23 record what invitations were sent so far, and perform some basic validation on the email list provided before sending and recording. 2020-09-23 17:01:12 -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
bdee709324 Adding a tool for sending out bulk email notifications and a simple web form for doing so. 2020-09-22 16:22:15 -04:00
Dan Funk
ad1f9c0b3a Basic email configuration 2020-09-17 11:18:51 -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
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