summaryrefslogtreecommitdiff
path: root/lib/gitlab/email
Commit message (Collapse)AuthorAgeFilesLines
* skip email trim when email is creating new issueCameron Crockett2018-05-223-5/+12
| | | | | | | | | | | | | | | Updates from MR discussion 1. Added test for ReplyParser 2. Changed param to trim_reply with default set as true Removed keyword param in favor of normal options param updates for MR discussion Resolutions for code review comments more code review fixes
* Backport 5480-epic-notifications from EEMario de la Ossa2018-05-072-3/+8
|
* Correct permissions for creating merge requests from issuesBob Van Landuyt2018-04-111-1/+2
| | | | | | | This could only be possible for users that can create merge requests within a project. So they need to be a allowed to create a branch and create a merge request.
* Make email handler clearerRiccardo Padovani2018-04-091-1/+1
|
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-1/+1
|
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Use message body for merge request descriptionjprovazn-descriptionJan Provaznik2017-12-111-1/+3
| | | | | | | | | | | | | When a merge request is created from email, use message body as merge request description. If message body is empty then merge request description is still created from the source branch commit (if there is only single commit in the merge request). If message body is empty and there are multiple commits in the source branch, then merge request description is left empty. Closes #40968
* Create merge request from emailJan Provaznik2017-12-053-2/+73
| | | | | | | | | | | * 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
* Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+1
| | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* Check against "Auto-Submitted: no" insteadLin Jen-Shin2017-08-031-2/+11
| | | | | | | | | | This would be much more accurate. We assume this is an auto-generated email if such header is provided, and the value is not "no". It could also be: "auto-generated", "auto-replied", or other values from extension. It seems that only "no" could mean that this is sent by a human. See: https://tools.ietf.org/html/rfc3834
* Don't send rejection mails for all auto-generated mails28472-ignore-auto-generated-mailsLin Jen-Shin2017-08-032-1/+4
| | | | Also make it easier to have mailer helper
* Rename many path_with_namespace -> full_pathGabriel Mazetto2017-08-011-1/+1
|
* Include new URL helpers retroactively into includers of Gitlab::Routingdm-fix-project-path-helpers-productionDouwe Maan2017-07-071-1/+1
|
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-10/+3
|
* unwrap all links with no hrefhttp://jneen.net/2017-06-191-0/+7
|
* Consistent diff and blob size limit namesDouwe Maan2017-05-291-1/+1
|
* Fix email receiver metrics eventsfix-email-receiver-metricsSean McGivern2017-05-053-3/+3
| | | | `Project#inspect` isn't very useful for examining usage of these features.
* Merge branch '12910-uploader-pers-snippet' into 'master' Sean McGivern2017-05-041-1/+1
|\ | | | | | | | | Prepare uploaders for personal snippets comments See merge request !11022
| * Support uploaders for personal snippets comments12910-uploader-pers-snippetJarka Kadlecova2017-05-021-1/+1
| |
* | Handle incoming emails from aliases correctly2247-emails-forwarded-to-service-desk-email-don-t-comeSean McGivern2017-05-031-5/+11
| | | | | | | | | | These set the 'actual' destination email in one of the Delivered-To lines, so check those too.
* | Don't blow up when email has no References headerdont-blow-up-when-email-has-no-references-headerSean McGivern2017-05-011-0/+2
|/ | | | | | If an email doesn't match our incoming email patterns on the To header, we fall back to the References header. If there was no References header, we'd raise an exception, when we'd be better off acting as if it was empty.
* Make handler metric params more explicitemail-handler-metricsSean McGivern2017-04-215-5/+17
|
* Store projects in metrics for email repliesSean McGivern2017-04-202-4/+4
|
* Add metrics events for incoming emailsSean McGivern2017-04-201-0/+4
| | | | | This lets us track how many incoming emails a GitLab instance is processing, by email type (handler) and by project (where applicable).
* Merge branch 'master' into new-resolvable-discussionLuke "Jared" Bennett2017-04-071-1/+5
|\
| * Backport permissions and multi-line array to CEFelipe Artur2017-04-071-1/+5
| |
* | Add specsDouwe Maan2017-04-051-6/+1
| |
* | Add option to start a new discussion on an MRDouwe Maan2017-04-051-7/+1
|/
* Enable and autocorrect the CustomErrorClass copSean McGivern2017-03-011-13/+13
|
* Fix code for copsDouwe Maan2017-02-231-5/+6
|
* Enable Style/ConditionalAssignmentDouwe Maan2017-02-231-3/+3
|
* Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
|
* Merge branch 'zj-drop-ruby-21-tests' into 'master' Rémy Coutable2017-02-131-2/+2
|\ | | | | | | | | Update Rubocop to Ruby 2.3 See merge request !8994
| * Update Rubocop to ruby 2.3zj-drop-ruby-21-testsZ.J. van de Weg2017-02-071-2/+2
| |
* | Merge branch 'fix-references-header-parsing' into 'master' Sean McGivern2017-02-061-1/+20
|\ \ | |/ |/| | | | | | | | | Fix References header parser for Microsoft Exchange Closes #26567 See merge request !8620
| * Use references variableLin Jen-Shin2017-02-031-1/+3
| | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8620#note_22020035
| * Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-036-44/+96
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-references-header-parsing * upstream/master: (574 commits) remove dateFormat global exception fix relative paths to xterm.js within fit.js use setFixtures instead of fixture.set prevent u2f tests from triggering a form submission while testing simplify test for focus state preload projects.json fixture preload projects.json fixture rework tests which rely on teaspoon-specific behavior Only render hr when user can't archive project. use setFixtures instead of fixture.set ensure helper classes and constants are exposed globally preload projects.json fixture fix fixture references in environments_spec allow console.xxx in tests, reorder eslint rules alphabetically remove redundant "data-toggle" attribute so Vue doesn't complain fix broken reference to formatDate in a CommonJS environment fix errors within gl_dropdown_spec.js when running in Karma fix intermittant errors in merge_commit_message_toggle_spec.rb Update installation docs to include Docker, others ignore node_modules in rubocop ...
| * | Specify that iOS app would also do thisLin Jen-Shin2017-01-201-1/+3
| | |
| * | Fix References header parser for Microsoft ExchangeLin Jen-Shin2017-01-201-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | replace `find_with_namespace` with `find_by_full_path`Adam Pahlevi2017-02-031-1/+1
| |/ |/| | | | | add complete changelog for !8949
* | Handles unsubscribe from notifications via emailPawel Chojnacki2017-01-136-44/+96
|/ | | | | - allows unsubscription processing of email in format "reply+%{key}+unsubscribe@acme.com" (example) - if config.address includes %{key} and replies are enabled every unsubscriable message will include mailto: link in its List-Unsubscribe header
* fix guard stylebugfix/outlook-language-parsinghttp://jneen.net/2016-12-221-1/+3
|
* Be more certain in the commenthttp://jneen.net/2016-12-211-2/+3
|
* Revert "allow empty-quotes"http://jneen.net/2016-12-211-0/+4
| | | | This reverts commit 4f2f678aff8d7dfcac96c47cf7eb480a5707ddaf.
* remove comment attributionhttp://jneen.net/2016-12-211-1/+1
|
* allow empty-quoteshttp://jneen.net/2016-12-211-4/+0
|
* protect against EmailReplyTrimmer returning nilhttp://jneen.net/2016-12-211-1/+1
|
* remove trailing whitespace from email bodieshttp://jneen.net/2016-12-211-0/+3
|
* switch to email_reply_trimmer from discoursehttp://jneen.net/2016-12-211-26/+4
|
* Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741Rydkin Maxim2016-12-161-1/+1
|