-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
reply by email to comments #214
Comments
Seems like this is an important functionality to have in place before we announce to the lists that we have the capability to support conversation entirely through our website. |
@jywarren So as you have stated above, GSoC 2017 has arrived and I could be working on this. I already created a feature branch for this and doing some experiments with mailman gem. And i'm checking for other solutions that could be used also. |
hi @ViditChitkara I guess its part of Email Integration project for this GSoC |
Yes, it is!! I have some plans about this for the soc 2018 program!!! |
Nice !!!.Actually, I have also planned to have my GSoC proposal on Email Integration Project. |
Cool! |
Sounds great -- there's plenty to do, so anything we can accomplish now we
can build on, refine further for SoC for sure! Thanks!
…On Wed, Feb 14, 2018 at 5:37 AM, Vidit ***@***.***> wrote:
Cool!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJweeuP1qvxLhzynG_TeUHFlhLOLDks5tUrdsgaJpZM4DjoxY>
.
|
This is now working! Checklist for remaining parts might be:
|
yes we can also figure out if we can somehow write a test for it without using email services like mail file and we can also make function test for |
Parsing email content depends upon the mail service we are using to do
emails.
…On Wed, Jun 27, 2018 at 5:00 AM Jeffrey Warren ***@***.***> wrote:
This is now working! Checklist for remaining parts might be:
- change sending email from do-not-reply@ to notifications@
- ensure it doesn't include the reply email content (there can be a
lot) below the ...
Anything else to break out here @namangupta01
<https://github.com/namangupta01> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATwCYdQRpw-BdNaVY5q7_6gAT12Y2VEhks5uAsQPgaJpZM4DjoxY>
.
|
This is github's testing reply parsing
________________________________
From: Naman Gupta <notifications@github.com>
Sent: Wednesday, June 27, 2018 7:05:11 PM
To: publiclab/plots2
Cc: railsprojects2018; Manual
Subject: Re: [publiclab/plots2] reply by email to comments (#214)
Parsing email content depends upon the mail service we are using to do
emails.
On Wed, Jun 27, 2018 at 5:00 AM Jeffrey Warren ***@***.***> wrote:
This is now working! Checklist for remaining parts might be:
- change sending email from do-not-reply@ to notifications@
- ensure it doesn't include the reply email content (there can be a
lot) below the ...
Anything else to break out here @namangupta01
<https://github.com/namangupta01> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATwCYdQRpw-BdNaVY5q7_6gAT12Y2VEhks5uAsQPgaJpZM4DjoxY>
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#214 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AmwIh0SuZQWP4SXxXqEC7w74iaVhYcatks5uA4oPgaJpZM4DjoxY>.
|
@jywarren Above message is send using outlook email id. This message was not parsed correctly. Maybe github is also parsing gmail messages? |
Above is send by outlook.
On Wed, Jun 27, 2018 at 7:06 PM railsprojects2018 <notifications@github.com>
wrote:
… This is github's testing reply parsing
________________________________
From: Naman Gupta ***@***.***>
Sent: Wednesday, June 27, 2018 7:05:11 PM
To: publiclab/plots2
Cc: railsprojects2018; Manual
Subject: Re: [publiclab/plots2] reply by email to comments (#214)
Parsing email content depends upon the mail service we are using to do
emails.
On Wed, Jun 27, 2018 at 5:00 AM Jeffrey Warren ***@***.***>
wrote:
> This is now working! Checklist for remaining parts might be:
>
> - change sending email from do-not-reply@ to notifications@
> - ensure it doesn't include the reply email content (there can be a
> lot) below the ...
>
> Anything else to break out here @namangupta01
> <https://github.com/namangupta01> ?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#214 (comment)>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ATwCYdQRpw-BdNaVY5q7_6gAT12Y2VEhks5uAsQPgaJpZM4DjoxY
>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<
#214 (comment)>,
or mute the thread<
https://github.com/notifications/unsubscribe-auth/AmwIh0SuZQWP4SXxXqEC7w74iaVhYcatks5uA4oPgaJpZM4DjoxY
>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATwCYaCQh1gdATz5UQeJlxFI4FXj3G4tks5uA4pFgaJpZM4DjoxY>
.
|
This is send via yahooo
On Wednesday, June 27, 2018, 7:28:02 PM GMT+5:30, Naman Gupta <notifications@github.com> wrote:
This is send by outlook.
On Wed, Jun 27, 2018 at 7:06 PM railsprojects2018 <notifications@github.com>
wrote:
This is github's testing reply parsing
________________________________
From: Naman Gupta ***@***.***>
Sent: Wednesday, June 27, 2018 7:05:11 PM
To: publiclab/plots2
Cc: railsprojects2018; Manual
Subject: Re: [publiclab/plots2] reply by email to comments (#214)
Parsing email content depends upon the mail service we are using to do
emails.
On Wed, Jun 27, 2018 at 5:00 AM Jeffrey Warren ***@***.***>
wrote:
> This is now working! Checklist for remaining parts might be:
>
> - change sending email from do-not-reply@ to notifications@
> - ensure it doesn't include the reply email content (there can be a
> lot) below the ...
>
> Anything else to break out here @namangupta01
> <https://github.com/namangupta01> ?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#214 (comment)>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ATwCYdQRpw-BdNaVY5q7_6gAT12Y2VEhks5uAsQPgaJpZM4DjoxY
>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<
#214 (comment)>,
or mute the thread<
https://github.com/notifications/unsubscribe-auth/AmwIh0SuZQWP4SXxXqEC7w74iaVhYcatks5uA4oPgaJpZM4DjoxY
>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATwCYaCQh1gdATz5UQeJlxFI4FXj3G4tks5uA4pFgaJpZM4DjoxY>
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Above message is sent via yahoo. So the conclusion is that github only able to parse mails from gmail not other mails this may be because they are not able to trim emails from other services using any sphefic class or something like we were able to do in gmail using |
sounds great!
…On Wed, Jun 27, 2018 at 4:20 PM Naman Gupta ***@***.***> wrote:
gist for outlook mail:
https://gist.github.com/namangupta01/be81b339c7eb71f3046033556e54c8a7
https://gist.github.com/namangupta01/c5c386f15752b9cc168a4b74b21ecb29
not able to generalize the parser for outlook, researching over it....if
we find any solution then we can add it...for now we can merge google and
yahoo mail parser?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ60F5IciKHo-1N77p3M7ks-R94RPks5uA-jbgaJpZM4DjoxY>
.
|
So I'm not sure this is processing incoming mails right now... i checked mailman.log after publishing today and didn't see one i'd responded to arriving. Do we have an issue open for replying to questions, and replying to answers? Questions should be pretty easy, but answers maybe need the subject line suffix |
Can you share the logs here? I just tested here: https://publiclab.org/notes/namangupta/02-17-2018/gsoc-proposal Its working for comment. Let me look for answer. |
OK - do we have reply to question working now too? Just checking! |
sorry, i mean reply to question leading to a comment on the question? |
Yeah we do have
…On Jul 19, 2018 5:16 AM, "Jeffrey Warren" ***@***.***> wrote:
sorry, i mean reply to question leading to a comment on the question?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATwCYbd0XOAHJh3jKW2ked6YYaMkJGuXks5uH8i4gaJpZM4DjoxY>
.
|
hmm, i didn't find that that worked yesterday. Can you give it a try to
confirm?
On Thu, Jul 19, 2018 at 1:37 AM Naman Gupta <notifications@github.com>
wrote:
… Yeah we do have
On Jul 19, 2018 5:16 AM, "Jeffrey Warren" ***@***.***>
wrote:
> sorry, i mean reply to question leading to a comment on the question?
>
> —
> You are receiving this because you were assigned.
> Reply to this email directly, view it on GitHub
> <#214 (comment)>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ATwCYbd0XOAHJh3jKW2ked6YYaMkJGuXks5uH8i4gaJpZM4DjoxY
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJwMhZ7Fayw3psvGPzQt02KIcSLnJks5uIBsPgaJpZM4DjoxY>
.
|
Sure!
…On Jul 20, 2018 3:26 AM, "Jeffrey Warren" ***@***.***> wrote:
hmm, i didn't find that that worked yesterday. Can you give it a try to
confirm?
On Thu, Jul 19, 2018 at 1:37 AM Naman Gupta ***@***.***>
wrote:
> Yeah we do have
> On Jul 19, 2018 5:16 AM, "Jeffrey Warren" ***@***.***>
> wrote:
>
> > sorry, i mean reply to question leading to a comment on the question?
> >
> > —
> > You are receiving this because you were assigned.
> > Reply to this email directly, view it on GitHub
> > <#214 (comment)
>,
> > or mute the thread
> > <
> https://github.com/notifications/unsubscribe-auth/
ATwCYbd0XOAHJh3jKW2ked6YYaMkJGuXks5uH8i4gaJpZM4DjoxY
> >
> > .
> >
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#214 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/
AABfJwMhZ7Fayw3psvGPzQt02KIcSLnJks5uIBsPgaJpZM4DjoxY>
> .
>
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATwCYY6eQNftQdahU_fhu_D9YfqHTS4aks5uIQCPgaJpZM4DjoxY>
.
|
@jywarren Both question and notes use same node model right? And reply by email is specific to node and answer so i think it should work. But i tried to comment via email to normal post even that is not comment is not added. Is the mailman server stop working after sometime or server connection get timeout after some time because when you redeploy the app it adds all the comments. |
Hmm, let's ping @icarito and ask if there's more we need to do to keep the mailman server running? |
Can you share the mailman ending logs so that we can be fully sure about what the bug is? |
sure!
|
I've restarted the service manually (with
It appears to be running now! |
@namangupta01 have you noticed any more outages of this feature? What about having some place, like... publiclab.org/status, only visible to admins, where we can monitor how many emails were received and processed in the past day, past week? This could help us monitor uptime. |
You mean a place where all reply by email comments can be seen with body?
…On Aug 4, 2018 10:42 PM, "Jeffrey Warren" ***@***.***> wrote:
@namangupta01 <https://github.com/namangupta01> have you noticed any more
outages of this feature?
What about having some place, like... publiclab.org/status, only visible
to admins, where we can monitor how many emails were received and processed
in the past day, past week? This could help us monitor uptime.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATwCYcrbAAY3VV67ltBSyymHfb9RbAJyks5uNdYCgaJpZM4DjoxY>
.
|
No, I'm just thinking of a tally, a number, without any content. But since
they're all public... Why not?
What if we displayed an envelope icon next to comments at /comments for
ones sent by email, that could be a really easy way to do this.
…On Sat, Aug 4, 2018, 1:19 PM Naman Gupta ***@***.***> wrote:
You mean a place where all reply by email comments can be seen with body?
On Aug 4, 2018 10:42 PM, "Jeffrey Warren" ***@***.***>
wrote:
> @namangupta01 <https://github.com/namangupta01> have you noticed any
more
> outages of this feature?
>
> What about having some place, like... publiclab.org/status, only visible
> to admins, where we can monitor how many emails were received and
processed
> in the past day, past week? This could help us monitor uptime.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#214 (comment)>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ATwCYcrbAAY3VV67ltBSyymHfb9RbAJyks5uNdYCgaJpZM4DjoxY
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJykINtjyzQ8pGlZ_6yrpLkLfdtcNks5uNdeFgaJpZM4DjoxY>
.
|
Yeah, i will work on it after #3112
On Sat, Aug 4, 2018 at 10:52 PM Jeffrey Warren <notifications@github.com>
wrote:
… No, I'm just thinking of a tally, a number, without any content. But since
they're all public... Why not?
What if we displayed an envelope icon next to comments at /comments for
ones sent by email, that could be a really easy way to do this.
On Sat, Aug 4, 2018, 1:19 PM Naman Gupta ***@***.***> wrote:
> You mean a place where all reply by email comments can be seen with body?
> On Aug 4, 2018 10:42 PM, "Jeffrey Warren" ***@***.***>
> wrote:
>
> > @namangupta01 <https://github.com/namangupta01> have you noticed any
> more
> > outages of this feature?
> >
> > What about having some place, like... publiclab.org/status, only
visible
> > to admins, where we can monitor how many emails were received and
> processed
> > in the past day, past week? This could help us monitor uptime.
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub
> > <#214 (comment)
>,
> > or mute the thread
> > <
>
https://github.com/notifications/unsubscribe-auth/ATwCYcrbAAY3VV67ltBSyymHfb9RbAJyks5uNdYCgaJpZM4DjoxY
> >
> > .
> >
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#214 (comment)>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AABfJykINtjyzQ8pGlZ_6yrpLkLfdtcNks5uNdeFgaJpZM4DjoxY
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATwCYQJhpHY0SD1tqC22bl3DyjFsWZcdks5uNdhTgaJpZM4DjoxY>
.
|
Thanks!!!
…On Sat, Aug 4, 2018, 1:28 PM Naman Gupta ***@***.***> wrote:
Yeah, i will work on it after #3112
On Sat, Aug 4, 2018 at 10:52 PM Jeffrey Warren ***@***.***>
wrote:
> No, I'm just thinking of a tally, a number, without any content. But
since
> they're all public... Why not?
>
> What if we displayed an envelope icon next to comments at /comments for
> ones sent by email, that could be a really easy way to do this.
>
> On Sat, Aug 4, 2018, 1:19 PM Naman Gupta ***@***.***>
wrote:
>
> > You mean a place where all reply by email comments can be seen with
body?
> > On Aug 4, 2018 10:42 PM, "Jeffrey Warren" ***@***.***>
> > wrote:
> >
> > > @namangupta01 <https://github.com/namangupta01> have you noticed any
> > more
> > > outages of this feature?
> > >
> > > What about having some place, like... publiclab.org/status, only
> visible
> > > to admins, where we can monitor how many emails were received and
> > processed
> > > in the past day, past week? This could help us monitor uptime.
> > >
> > > —
> > > You are receiving this because you were mentioned.
> > > Reply to this email directly, view it on GitHub
> > > <
#214 (comment)
> >,
> > > or mute the thread
> > > <
> >
>
https://github.com/notifications/unsubscribe-auth/ATwCYcrbAAY3VV67ltBSyymHfb9RbAJyks5uNdYCgaJpZM4DjoxY
> > >
> > > .
> > >
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub
> > <#214 (comment)
>,
> > or mute the thread
> > <
>
https://github.com/notifications/unsubscribe-auth/AABfJykINtjyzQ8pGlZ_6yrpLkLfdtcNks5uNdeFgaJpZM4DjoxY
> >
> > .
> >
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#214 (comment)>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ATwCYQJhpHY0SD1tqC22bl3DyjFsWZcdks5uNdhTgaJpZM4DjoxY
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJxeM9Hod_upNLfk_Rd9Jk1ZRo3Veks5uNdmFgaJpZM4DjoxY>
.
|
Hmm, @icarito @namangupta01 it seems like it's not running currently, I tried replying to this question: Any chance mailman is offline again? |
Even i tried to reply, it was not woking :(
It is going timeout i guess.
…On Mon, Aug 6, 2018 at 8:09 PM Jeffrey Warren ***@***.***> wrote:
Hmm, @icarito <https://github.com/icarito> @namangupta01
<https://github.com/namangupta01> it seems like it's not running
currently, I tried replying to this question:
https://publiclab.org/questions/Cindy_ExCites/08-03-2018/air-quality-balloons-an-updated-version#answer-0-comment-20293
Any chance mailman is offline again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATwCYQtODZiRfSPSOz75rHnJ4LYbMERlks5uOFUVgaJpZM4DjoxY>
.
|
I made an issue about it: Maybe it should try to relaunch when it fails? I think docker-compose has a means to restart on failure - or maybe mailman can be configured to not stop in case of error. The trick is that it's not possible to reproduce manually because it seems to happen when GMail responds "try later". |
Could we have it do something else, like leave a log file for failed
attempts? And if it fails, won't it get the emails later once it is able to
connect?
…On Mon, Aug 6, 2018 at 2:11 PM Sebastian Silva ***@***.***> wrote:
I made an issue about it:
#3208 <#3208>
Maybe it should try to relaunch when it fails? I think docker-compose has
a means to restart on failure - or maybe mailman can be configured to not
stop in case of error.
The trick is that it's not possible to reproduce manually because it seems
to happen when GMail responds "try later".
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ24LGQ_ZkaKobHgMGcVRFk8E2IQ8ks5uOIajgaJpZM4DjoxY>
.
|
I think this is reliable enough to close up! Thanks all! |
For starters, here's the resource we're working from:
http://railscasts.com/episodes/313-receiving-email-with-mailman?view=asciicast
https://github.com/blog/811-reply-to-comments-from-email has some great conventions. I like how reliable and simple github email replies are.
Recommend first step could be a simple method in the Comment model, like this:
Then we need a mail script in the
/script/
folder for something like the following:Then we'll need to contact Sebastian to try to hook this up and we won't tell anyone about the feature just yet, but can try emailing a message with subject line:
Replying to #6
from an email with a corresponding registered user on PublicLab.org, and see if it appends the new comment as we've laid out, on this post, which isnid=6
: https://publiclab.org/notes/warren/12-7-2010/toy-spectrometers-arrivedI might have missed something, but let's see!
The text was updated successfully, but these errors were encountered: