15 Commits

Author SHA1 Message Date
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
c3069c5ad8 be sure to commit logs of notifications as they go out. 2020-09-30 15:39:21 -04:00
Dan
f6cbac6473 be sure to request a transfer on a regular schedule. 2020-09-30 15:35:59 -04:00
Dan Funk
fa23b6ca30 clear out invitations as well 2020-09-25 11:56:08 -04:00
Dan Funk
7b4cbe4c24 throttle notifications so we don't run afoul of the email and text message servers. 2020-09-25 11:51:17 -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
c17a18ab4a clean up scheduler, and prepare for automating everything.... 2020-09-24 12:25:18 -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
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
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
872cdfe0ef Just a base boilerplate flask app with a postgres database, alembic migrations, connexion api. 2020-09-10 11:28:58 -04:00