boisebrigade / courtbot

Courtbot is a simple web service for subscribing to case hearing details via SMS.
https://openboise.org
ISC License
9 stars 3 forks source link

Queuing #12

Closed tylersamples closed 5 years ago

tylersamples commented 6 years ago

As it currently stands we have the model for queuing but the TwilioController logic to insert the user and the pre-notification logic to check and dequeue logic has not been completed. Add documentation surrounding queuing.

Only support queuing to a case number if ExCourtbot is configure with case types. The rational for this requirement is simply to reduce the questioning round trips with the end user.

Only enable queuing if a queued_ttl_days is set. A infinite queued_ttl_days should not be supported.

The implementation must

General messaging flow:

Add tests to ensure the following cases:

tylersamples commented 5 years ago

Queuing if exists is now supported. I'll add a new issue specifically for queuing if case type format is matched.