251 Commits

Author SHA1 Message Date
Dan
108191e8a4 new email format and content for invitations. 2020-09-30 15:29:02 -04:00
Dan
668bc39cfd missed a critical configuration setting. 2020-09-30 14:00:44 -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
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
2fe87b1cf9 tell alembic not to futz with the apscheduler table. 2020-09-25 11:45:48 -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
b786aba6d8 Fix date formats to the correct timezone 2020-09-24 14:39:09 -04:00
Dan Funk
59436a1c5a fixing a stupid. 2020-09-24 13:43:21 -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
c17a18ab4a clean up scheduler, and prepare for automating everything.... 2020-09-24 12:25:18 -04:00
Dan Funk
0057a8e303 Test the scheduler, and see if it works. 2020-09-24 11:51:50 -04:00
Dan Funk
74cc1aa4aa Merge pull request #1 from ianterrell/feature-scheduler
Add APScheduler for periodically updating data
2020-09-24 11:37:44 -04:00
Dan Funk
586e5c9cf3 Merge branch 'master' into feature-scheduler 2020-09-24 11:37:35 -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
f7a4909497 import directory must be configurable.
fixing invalid routes on index files.
2020-09-23 21:53:03 -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
523b68978c Merge branch 'master' of github.com:sartography/uva-covid19-testing-communicator 2020-09-23 16:01:41 -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
Aaron Louie
90cad53afb Removes some unnecessary DevOps stuff. 2020-09-23 15:36:56 -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
75ff45e9e4 fixing some configuration settings.
Adding the ivy_file table to track what information was loaded from ivy.
2020-09-23 14:59:26 -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
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
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
ccb9cf1631 minor changes to docker container 2020-09-22 14:27:28 -04:00
Ian Terrell
94ab7bfe14 Add APScheduler for periodically updating data
- https://apscheduler.readthedocs.io/en/latest/userguide.html
- Scheduled jobs are persisted via SQLAlchemy in project database
2020-09-22 14:25:32 -04:00
Dan Funk
dd07f2ecf0 read json configuration from file for firebase 2020-09-21 16:18:26 -04:00
Dan Funk
ca910c02f2 fixing tests 2020-09-21 14:48:53 -04:00
Dan Funk
2467a27b76 fixing tests 2020-09-21 14:45:19 -04:00
Dan Funk
53c257d6cd fixing tests 2020-09-21 14:44:23 -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
c9faccafe6 fixing up the dockerfile. 2020-09-17 12:00:38 -04:00
Dan Funk
e7b118a0f1 fixing error in travis build file. 2020-09-17 11:36:56 -04:00
Dan Funk
7978a2aa7e Trying to set up travis and docker auto-deploy 2020-09-17 11:34:45 -04:00
Dan Funk
4e97a5f26a Merge branch 'master' of github.com:sartography/uva-covid19-testing-communicator 2020-09-17 11:19:01 -04:00
Dan Funk
ad1f9c0b3a Basic email configuration 2020-09-17 11:18:51 -04:00
Dan Funk
091450857c Basic email configuration 2020-09-17 11:16:41 -04:00
Dan Funk
f2d809d9d9 cleaning up tests 2020-09-15 11:57:56 -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
a6ef6f3eb9 Ignore the .idea directory. 2020-09-10 12:04:08 -04:00
Dan Funk
025c4a3391 adding wsgi.py. 2020-09-10 12:03:32 -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