37 Commits

Author SHA1 Message Date
Nile Walker
8e4b48d096 Merge branch 'dashboard' of https://github.com/sartography/uva-covid19-testing-communicator into dashboard 2020-12-30 09:07:01 -05:00
Nile Walker
c68a0c2642 Added Form Responsiveness 2020-12-30 09:06:46 -05:00
Dan
153d9a78be fixing some failing tests in the email logic, due to changes in the static asset paths. 2020-12-28 14:20:32 -05:00
Dan
b2449c4d89 Trying to catch the too many messages error, and just stop rather than failing on all subsequent samples, so that it just keeps trying. 2020-11-16 10:01:56 -05:00
Dan
bb114adf65 Seem to have created an error with text messages, trying to fix it. 2020-11-13 13:57:37 -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
ff1ad5fc36 adding some logging messages so I can see if things are executing as expected. 2020-10-20 14:43:05 -04:00
Dan
dbff80ae27 update ivy files and remove noise from logs 2020-10-15 17:50:54 -04:00
Dan
a86ee07d60 I was overwriting the list of samples when two files were present, and I am stupid stupid stupid. 2020-10-15 17:35:58 -04:00
Dan
b1c9a7a4db adding some logging. 2020-10-15 17:22:28 -04:00
Dan
b813c4f272 adding some logging. 2020-10-15 17:21:20 -04:00
Dan
c239034c00 one last guess as to what could be happening with the files not getting updated properly. 2020-10-15 16:10:48 -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
cb4bec7190 Quit producting and error message in Sentry every 15 minutes 2020-10-07 13:05:46 -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
d66be8685a restrict access to a small set of netbadge users.
fixing saliva mis-spelling
Drop "Be Safe" use "Prevalance Testing"
2020-10-02 15:16:28 -04:00
Dan
af488b5a2e check to see if there are files to transfer before making the request.
Cache the transfer client, so we aren't spinning one up too frequently.
2020-10-01 11:25:12 -04:00
Dan
ca37cba1d8 converting print lines to log messages 2020-09-30 16:18:57 -04:00
Dan
659264bfba Enable deleting of files once ingested. 2020-09-30 13:50:04 -04:00
Dan
4b2422d51e Enable deleting of files once ingested. 2020-09-30 12:34:15 -04:00
Dan
8c705d1bf4 Embed image in email rather than reference remove file. 2020-09-28 13:27:25 -04:00
Dan
2a5979d0e3 Because we send messages out as a scheduled task with no request attribute, we need a way to configure the base url so we can host images in emails. 2020-09-28 11:37:35 -04:00
Dan Funk
039da1b470 assuring the front page is properly paginating (it is)
Adding a complete delete endpoint for removing files from globus
Removing a bad header text in the email messages
2020-09-25 12:55:14 -04:00
Dan Funk
10040b82d7 Better error handling for emails and text messages. 2020-09-25 11:33:20 -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
360d20560b provide some deatils on the current user. Assure we can get them consistently. 2020-09-24 13:36:46 -04:00
Dan Funk
da6fedc074 Load image from local png (svgs won't load in gmail)
clear out form after sending bulk emails
2020-09-24 11:34:12 -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
ea0cc682e3 Adding an SSO endpoint to see what I can see.
Adding some additional configuration settings into the default configuration.
Adding the ivy_file table to track what information was loaded from ivy.
2020-09-23 14:43:24 -04:00
Dan Funk
ab07ea783d fixing a few bugs and missing libraries. 2020-09-23 09:28:28 -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
dd07f2ecf0 read json configuration from file for firebase 2020-09-21 16:18:26 -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
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