forked from uwcirg/helloworld-confidential-client-sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge dev changes to main branch for ISACC release (#63)
* Added the cli command for a single parameter to update for all patients, make sure phone numbers would be reused * Added an inactive patient to test * Added an inactive patient to test * Cache Unchanged Layers (#50) * Fixup default branch * Prevent build version from invalidating cached pip installs * Reuse unchanged image layers when building on CI * fix malformed html in notification email (#54) * fix malformed html in notification email * fix based on feedback --------- Co-authored-by: Amy Chen <[email protected]> * WIP: modifying cli commands * WIP: localizing the error * WIP: fixing the cli error * Fixed CLI * WIP: fixing CLI * WIP: fixing cli command * WIP: reinstating abilities * Adding email headers {To, Date, Message-Id} to further decrease spam (#55) * Adding email headers {To, Date, Message-Id} to further decrease spam score. * Correct "EnvelopeFrom" address to match "From" header. * name kwargs for clarity, as per code review suggestion. * cli command to deactivate patient * WIP: adding CLI to deactivate patient * WIP: fixing deactivation CLI * WIP: fixing deactivation CLI * WIP: fixing CLI * WIP: Fixing CLI * WIP: fixing CLI * WIP: changing active from bool to str * WIP: experimenting with search values * WIP: fixing boolean search * WIP: fixing bool active * WIP: fixing bool * WIP: fixing active * WIP: fixing active bool * WIP: cleaning up the syntax * WIP: experimenting * WIP: fixed * Removing unncessary methods * Reinstated ability to deactivate a patient without active field * Remove the trailing whitespace * Addressing PR comments * Fixing get_active_user * Changing active check to be part of the query * Formatting * Raises a value error for inactive patient * Simple fix to add a log whenever message fails * WIP: Added a CLI to add start period for all patients without one * Add CLI to add start to all entries * Mark patient as active when 'start' included in the message * Correspond to Twilio's opt in word. * Use consistent format * Stop deactivating messages that the user may need * Fix the logic * Move calculations to shared timezone * Handling a case when phone number got removed from a patient * Handle subsubcribed error separately * Adding validating function for twilio * Returns 200 when unsubscribed in nonactive patient messages the sms twilio phone number * MessageStatus change to 200 * Added error logging * Altered all 500 codes to 200 * Introducing different CR statuses, according to the type of error. * Refactoring record creator methods into respective classes * changing a name of the function * WIP: communications refactoring work * Adding logs * Handling communications for unsubscribed patients * Finished refactoring * Disable the migration needed to update patient extensions, as it'll undo (#57) user actions with https://www.pivotaltracker.com/story/show/186783090 * Removing CR logic, represent state in the Communication * Fixing status appending * Refactoring * Refactoring to keep the communication creation in the single function * Worked: outgoing messages * Fixing record * Modified logs * Fixing status --------- Co-authored-by: Daniil <[email protected]> Co-authored-by: Ivan Cvitkovic <[email protected]> Co-authored-by: Amy Chen <[email protected]> Co-authored-by: Amy Chen <[email protected]>
- Loading branch information
1 parent
3f64ed5
commit 769feda
Showing
10 changed files
with
426 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.