Dan
1328979bd3
Limit to 190 at a time, and then set interval to be 5 minutes and pray for the best.
2020-11-13 14:08:32 -05:00
Dan
dd7b40f5a9
trottle text messages as well.
2020-11-13 10:27:24 -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
a8e897f344
Allow restricting results in main page, and downloading the results.
2020-11-03 16:01:50 -05:00
Dan
034443451f
limit texts to 150 each time as well.
2020-10-26 17:06:31 -04:00
Dan
09ad4d6de2
fix another stupid mistake in the scheduler.
2020-10-22 13:32:27 -04:00
Dan
43df690e1c
only send a max of 150 emails, increase speed to 2 per second.
...
(appears that the smtp server starts rejecting requests after 200 emails, so
just playing it safe.
2020-10-20 15:11:46 -04: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
8cf38cc4a8
Emails keep failing, I'm going to try upping the pause to every 2 seconds.
2020-10-19 12:57:09 -04: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
444c0cfebb
Adding ability to turn off file deletion in configuration.
2020-10-15 16:16:46 -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
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