aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/email/parser.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/email: don't add <> to email when name is emptyDmitry Vyukov2017-12-281-2/+6
| | | | Just unnecessary clutter.
* dashboard/app: extract fixing tags from commitsDmitry Vyukov2017-12-271-5/+9
| | | | | | | | | | | | | Support the new scheme of associating fixing commits with bugs. Now we provide a tag along the lines of: Reported-by: <syzbot+a4a91f6fc35e102@syzkaller.appspotmail.com> The tag is supposed to be added to the commit. Then we parse commit logs and extract these tags. The final part on the dashboard is not ready yet, but syz-ci should already parse and send the tags.
* pkg/email: improve parsing of splitted linesDmitry Vyukov2017-12-191-17/+44
| | | | | | | | | | Allow: full-commit-title-on-next-line This allows commit titles between 70 and 80 cols with gmail. Also be more permissive wrt spaces and tabs.
* pkg/email: ignore missing To: headerDmitry Vyukov2017-11-221-4/+2
| | | | We've got such email.
* pkg/email: unsplit arguments for test commandDmitry Vyukov2017-11-171-1/+23
|
* pkg/email: fix base64-encoded body parsingDmitry Vyukov2017-11-161-4/+4
| | | | | We currently handle base64 only for attachments, but text/plain body can also be base64-encoded.
* dashboard/app: email fixesDmitry Vyukov2017-10-311-0/+15
| | | | | | | 1. Allows sending emails upstream. 2. Filter out duplicate emails coming from our mailing lists. 3. Increase retry attempts for email commands (don't want them to fail due to concurrent crash reports from managers).
* dashboard/app: heavylifting of email reportingDmitry Vyukov2017-08-171-22/+68
| | | | | | | | | - save Message-ID and use In-Reply-To in subsequent messages - remember additional CC entries added manually - don't mail to maintainers if maintainers list is empty - improve mail formatting and add a footer - implement upstream/fix/dup/invalid commands over email - add tests
* pkg/email: fix bug in context extractionDmitry Vyukov2017-07-051-0/+6
| | | | Compare email addresses without full name.
* pkg/email: add AddAddrContext/RemoveAddrContextDmitry Vyukov2017-07-051-30/+39
| | | | Replace extractBugID function with more general AddAddrContext/RemoveAddrContext.
* pkg/email: don't add own email address to CC listDmitry Vyukov2017-07-031-8/+12
| | | | Otherwise we we send each reply to ourselves and receive it again.
* pkg/email: add function that forms reply to an emailDmitry Vyukov2017-07-021-1/+3
|
* pkg/email: add email parsing functionalityDmitry Vyukov2017-07-021-0/+183
Parse extracts all potentially interesting info from an incoming email.