summaryrefslogtreecommitdiff
path: root/spec/fixtures/emails
Commit message (Collapse)AuthorAgeFilesLines
* Create merge request from emailJan Provaznik2017-12-052-0/+36
| | | | | | | | | | | * new merge request can be created by sending an email to the specific email address (similar to creating issues by email) * for the first iteration, source branch must be specified in the mail subject, other merge request parameters can not be set yet * user should enable "Receive notifications about your own activity" in user settings to receive a notification about created merge request Part of #32878
* Changed all font-weight values to 400 and 600Dimitrie Hoekstra2017-08-242-9/+9
|
* add a spec for no-href link parsinghttp://jneen.net/2017-06-191-0/+26
|
* Handle incoming emails from aliases correctly2247-emails-forwarded-to-service-desk-email-don-t-comeSean McGivern2017-05-031-0/+25
| | | | | These set the 'actual' destination email in one of the Delivered-To lines, so check those too.
* Fix References header parser for Microsoft ExchangeLin Jen-Shin2017-01-201-0/+42
| | | | | | | | Microsoft Exchange would append a comma and another message id into the References header, therefore we'll need to fallback and parse the header by ourselves. Closes #26567
* add parsing support for incoming html emailhttp://jneen.net/2016-11-171-0/+140
|
* Use separate email-friendly token for incoming email and let incomingDouwe Maan2016-11-071-0/+0
| | | | email token be reset
* Preserve note_type and position for notes from emailsLin Jen-Shin2016-10-202-4/+0
| | | | Closes #23208
* Simplify the slash commands DSL to store action blocks instead of creating ↵Rémy Coutable2016-08-132-0/+44
| | | | | | | | | | | | | methods Other improvements: - Ensure slash commands autocomplete doesn't break when noteable_type is not given - Slash commands: improve autocomplete behavior and /due command - We don't display slash commands for note edit forms. - Add tests for reply by email with slash commands - Be sure to execute slash commands after the note creation in Notes::CreateService Signed-off-by: Rémy Coutable <remy@rymai.me>
* Make slash commands contextualRémy Coutable2016-08-131-1/+1
| | | | | | | | | | | | | - Return only slash commands that make sense for the current noteable - Allow slash commands decription to be dynamic Other improvements: - Add permission checks in slash commands definition - Use IssuesFinder and MergeRequestsFinder - Use next if instead of a unless block, and use splat operator instead of flatten Signed-off-by: Rémy Coutable <remy@rymai.me>
* Support slash commands in noteable description and notesRémy Coutable2016-08-131-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | Some important things to note: - commands are removed from noteable.description / note.note - commands are translated to params so that they are treated as normal params in noteable Creation services - the logic is not in the models but in the Creation services, which is the right place for advanced logic that has nothing to do with what models should be responsible of! - UI/JS needs to be updated to handle notes which consist of commands only - the `/merge` command is not handled yet Other improvements: - Don't process commands in commit notes and display a flash is note is only commands - Add autocomplete for slash commands - Add description and params to slash command DSL methods - Ensure replying by email with a commands-only note works - Use :subscription_event instead of calling noteable.subscribe - Support :todo_event in IssuableBaseService Signed-off-by: Rémy Coutable <remy@rymai.me>
* Rename reply_key to mail_keyLin Jen-Shin2016-05-201-0/+0
|
* Create a new issue via: incoming+group/project+AUTH_TOKEN@...Lin Jen-Shin2016-05-163-2/+20
|
* Alloy empty reply for new issues, but not responseLin Jen-Shin2016-05-161-0/+18
|
* Implement #3243 New Issue by emailLin Jen-Shin2016-05-161-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | So we extend Gitlab::Email::Receiver for this new behaviour, however we might want to split it into another class for better testing it. Another issue is that, currently it's using this to parse project identifier: Gitlab::IncomingEmail.key_from_address Which is using: Gitlab.config.incoming_email.address for the receiver name. This is probably `reply` because it's used for replying to a specific issue. We might want to introduce another config for this, or just use `reply` instead of `incoming`. I'll prefer to introduce a new config for this, or just change `reply` to `incoming` because it would make sense for replying to there, too. The email template used in tests were copied and modified from: `emails/valid_reply.eml` which I hope is ok.
* Improve and finish the fallback to the In-Reply-To and References header for ↵2364-fallback-to-in-reply-to-headerRémy Coutable2016-03-252-4/+4
| | | | | | | | | | | | | | | | the reply-by-email feature A few things to note: - The IncomingEmail feature is now enabled even without a correctly-formatted sub-address - Message-ID for new thread mail are kept the same so that subsequent notifications to this thread are grouped in the thread by the email service that receives the notification (i.e. In-Reply-To of the answer == Message-ID of the first thread message) - To maximize our chance to be able to retrieve the reply key, we look for it in the In-Reply-To header and the References header - The pattern for the fallback reply message id is "reply-[key]@[gitlab_host]" - Improve docs thanks to Axil
* Fix #2364. Fall back to In-Reply-To header when reply key not availableDavid Padilla2016-03-252-1/+45
|
* No HTML-only email pleaseDouwe Maan2015-08-213-94/+43
|
* Use heredocs.Douwe Maan2015-08-201-29/+0
|
* Remove more unused fixtures.Douwe Maan2015-08-205-245/+0
|
* Removed unused fixtures.Douwe Maan2015-08-2010-416/+0
|
* Test EmailReceiverWorker.Douwe Maan2015-08-201-5/+5
|
* Start on tests.Douwe Maan2015-08-1933-0/+2812