Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add text alerts for tool waitlist #150

Closed
pkoenig10 opened this issue Mar 28, 2016 · 19 comments
Closed

Add text alerts for tool waitlist #150

pkoenig10 opened this issue Mar 28, 2016 · 19 comments

Comments

@pkoenig10
Copy link
Member

Texts can be sent using carrier email domains. Texts should be sent when a tool is checked in for which the waitlist is not empty. Texts should be sent to booth chairs and the individual on the waitlist.

@ChaseBro
Copy link
Member

I've also integrated Twillio, although you have to pay per-text.

On Mon, Mar 28, 2016 at 3:54 PM Patrick Koenig [email protected]
wrote:

Texts can be sent using carrier email domains. Texts should be sent when a
tool is checked in for which the waitlist is not empty. Texts should be
sent to booth chairs and the individual on the waitlist.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#150

@pkoenig10
Copy link
Member Author

I have noticed that, The payment my only reservation, especially when this allows us to do it for free.

@arakla
Copy link
Member

arakla commented Mar 29, 2016

That being said, it looks like it would only be $7.50 or so for 1000
messages, so the cost for would probably negligible if it is easier/more
reliable to use Twilio over the Rails email and the Andrew mail relay. Let
me know if we need to setup an account as we will need to get contracts
approval (this usually only take a few hours, but can take 24-48hrs).

Aamer F. Rakla
B.H.A. Information Systems & Drama: Production and Stage Management
Carnegie Mellon University, 2016

Boss Ambassador (Mentor), Student Life Office
Financial Advisor, Student Dormitory Council
Treasurer, Spring Carnival Committee

On Tue, Mar 29, 2016 at 12:32 AM, Patrick Koenig [email protected]
wrote:

I have noticed that, The payment my only reservation, especially when this
allows us to do it for free.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#150 (comment)

@arakla
Copy link
Member

arakla commented Mar 29, 2016

Depending on what we go with, we could look at removing someone from the
waitlist by texting back "Cancel", but that might be outside the scope for
the available time frame.

Aamer F. Rakla
B.H.A. Information Systems & Drama: Production and Stage Management
Carnegie Mellon University, 2016

Boss Ambassador (Mentor), Student Life Office
Financial Advisor, Student Dormitory Council
Treasurer, Spring Carnival Committee

On Tue, Mar 29, 2016 at 1:08 AM, Aamer Rakla [email protected] wrote:

That being said, it looks like it would only be $7.50 or so for 1000
messages, so the cost for would probably negligible if it is easier/more
reliable to use Twilio over the Rails email and the Andrew mail relay. Let
me know if we need to setup an account as we will need to get contracts
approval (this usually only take a few hours, but can take 24-48hrs).

Aamer F. Rakla
B.H.A. Information Systems & Drama: Production and Stage Management
Carnegie Mellon University, 2016

Boss Ambassador (Mentor), Student Life Office
Financial Advisor, Student Dormitory Council
Treasurer, Spring Carnival Committee

On Tue, Mar 29, 2016 at 12:32 AM, Patrick Koenig <[email protected]

wrote:

I have noticed that, The payment my only reservation, especially when
this allows us to do it for free.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#150 (comment)

@purelogiq
Copy link
Member

Do you want the text to be sent to just the first person on the waitlist, or the first 3 people, or everyone?

@pkoenig10
Copy link
Member Author

I might put this on hold for this year, until we see how well the waitlist works. Even with making the coordinator aware when checking out waitlisted tools, I can see us sending a text, accidentally checking out the tool, and the org getting upset. This is mostly because we don't really have a way to enforce how long we will hold a tool for someone.

@pkoenig10 pkoenig10 reopened this Mar 29, 2016
@purelogiq
Copy link
Member

Ok, lets see how the waitlist works this Carnival and during the remaining semester we can develop a plan for future Carnivals.

I imagine that the "holding length (e.g. reservation)" will be a part of it.

@pkoenig10
Copy link
Member Author

Or we could tell booth chairs that they will get a text immediately but we make no guarantees about holding tools. I think this is the better solution because it moves the burden or responsibility from us to the booth orgs. Also it would mean we don't have to worry about the wait list when checking out tools.

We can discuss on Friday.

@arakla
Copy link
Member

arakla commented Mar 29, 2016

We could also add a field for how long an org has been on a waitlist and if
it is older than X time, we remove them.

Because, if we don't alert orgs in some way, will they just be checking
back in occasionally until it is available, but it could get checked out.
I'm all for making a future plan, but I just don't see orgs checking in
occasionally.

Aamer F. Rakla
B.H.A. Information Systems & Drama: Production and Stage Management
Carnegie Mellon University, 2016

Boss Ambassador (Mentor), Student Life Office
Financial Advisor, Student Dormitory Council
Treasurer, Spring Carnival Committee

On Tue, Mar 29, 2016 at 1:17 AM, Patrick Koenig [email protected]
wrote:

Closed #150 #150.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#150 (comment)

@arakla
Copy link
Member

arakla commented Mar 29, 2016

Or that what Patrick said. Sorry I'm responding by email and I guess I get
delayed notifications.

Aamer F. Rakla
B.H.A. Information Systems & Drama: Production and Stage Management
Carnegie Mellon University, 2016

Boss Ambassador (Mentor), Student Life Office
Financial Advisor, Student Dormitory Council
Treasurer, Spring Carnival Committee

On Tue, Mar 29, 2016 at 1:21 AM, Patrick Koenig [email protected]
wrote:

Or we could tell booth chairs that they will get a text immediately but we
make no guarantees about holding tools. I think this is the better solution
because it moves the burden or responsibility from us to the booth orgs.
Also it would mean we don't have to worry about the wait list when checking
out tools.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#150 (comment)

@pkoenig10
Copy link
Member Author

True, if we're going to use he wait list we probably need this. @purelogiq focus on the checkout stuff now and we will discuss on Friday after I've looked into various ways to send SMSs.

@purelogiq
Copy link
Member

Text the first person on the waitlist when a tool is checked in, after 15 minutes text the next person if the exact tool checked in is still there. (note add the tool number in the text message).

After 12 hours remove the person that got the text from the waitlist. Do not refresh if a new tool is checked in.

Note text all the booth chairs and person signed up on the waitlist.

@purelogiq
Copy link
Member

@pkoenig10 Actually a gmail account for Binder to mail from would be great. It will also allow people to reply (though I won't be doing automated scanning, an SCC member can always look at it). I will use IMAP to connect to the gmail account and send it via gmail. We can also use the same account to send shift warnings, and the upside is people can actually reply and stuff.

"Connecting" to imap is just a simple configuration setting, easy to maintain.

I don't think regular sendmail will work (albeit I haven't tried).

@purelogiq
Copy link
Member

When you make the account you will need to enable IMAP in the account settings. Also as a personal reminder we will have to figure out how to store the password outside of the github repo while still being able to set it as an environment variable in production.

@arakla
Copy link
Member

arakla commented Apr 13, 2016

Just curious, is there any reason not to use the CMU mail relay?
On Apr 13, 2016 02:36, "Israel Madueme" [email protected] wrote:

When you make the account you will need to enable IMAP in the account
settings. Also as a personal reminder we will have to figure out how to
store the password outside of the github repo while still being able to set
it as an environment variable in production.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#150 (comment)

@pkoenig10
Copy link
Member Author

And just curious, why can't we just use Rails built-in Action Mailers? Replying is something we don't really need because I highly doubt people will reply.

@purelogiq
Copy link
Member

Well it will use Rails built-in Action Mailers regardless. I just wanted to inform you of the option to configure it to go through gmail if you guys wanted replys (e.g. for watch shift texts). If not then we can also just use no-gmail (i think).

@pkoenig10
Copy link
Member Author

Let's just stick without Gmail for now (we can configure the from address and name to be whatever we want anyways) and do that later if we want to. It seems like it would be a trivially thing to switch.

@pkoenig10 pkoenig10 modified the milestone: 2016 May 1, 2016
@sclark
Copy link
Member

sclark commented Mar 23, 2017

This is also now a part of #244, so I will close this issue too.

@sclark sclark closed this as completed Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants