Commit Graph

63 Commits

Author SHA1 Message Date
GitLab Bot 10e15ac3c2 Add latest changes from gitlab-org/gitlab@master 2023-06-13 09:10:22 +00:00
GitLab Bot ca386bfc0c Add latest changes from gitlab-org/gitlab@master 2023-05-24 18:09:14 +00:00
GitLab Bot 78782cd1eb Add latest changes from gitlab-org/gitlab@master 2023-04-06 15:08:20 +00:00
GitLab Bot d0aeb5df3d Add latest changes from gitlab-org/gitlab@master 2023-02-08 12:10:06 +00:00
GitLab Bot a9c5941625 Add latest changes from gitlab-org/gitlab@master 2023-02-03 09:07:35 +00:00
GitLab Bot 640007842a Add latest changes from gitlab-org/gitlab@master 2022-06-22 15:09:48 +00:00
GitLab Bot ef9eff8e7e Add latest changes from gitlab-org/gitlab@master 2022-06-14 03:08:16 +00:00
GitLab Bot 9cd5033338 Add latest changes from gitlab-org/gitlab@master 2022-06-02 09:09:17 +00:00
GitLab Bot 1f6abbe6fa Add latest changes from gitlab-org/gitlab@master 2022-05-18 21:07:37 +00:00
GitLab Bot 09b154dce0 Add latest changes from gitlab-org/gitlab@master 2022-03-24 21:08:50 +00:00
GitLab Bot 42afc4d656 Add latest changes from gitlab-org/gitlab@master 2022-03-03 15:16:42 +00:00
GitLab Bot c4b4a75c35 Add latest changes from gitlab-org/gitlab@master 2022-02-24 15:15:02 +00:00
GitLab Bot b4310f4b45 Add latest changes from gitlab-org/gitlab@master 2022-02-03 21:15:26 +00:00
GitLab Bot 33bbd0b39b Add latest changes from gitlab-org/gitlab@master 2022-02-03 00:18:25 +00:00
GitLab Bot cb09086128 Add latest changes from gitlab-org/gitlab@master 2021-12-08 09:13:01 +00:00
GitLab Bot b8d516a687 Add latest changes from gitlab-org/gitlab@master 2021-11-24 15:14:19 +00:00
GitLab Bot 94ecc00f47 Add latest changes from gitlab-org/gitlab@master 2021-11-19 09:13:48 +00:00
GitLab Bot 76cbe9e688 Add latest changes from gitlab-org/gitlab@master 2021-11-12 15:12:37 +00:00
GitLab Bot cdd01f01dc Add latest changes from gitlab-org/gitlab@master 2021-11-05 00:13:17 +00:00
GitLab Bot a7d30d92f8 Add latest changes from gitlab-org/gitlab@master 2021-10-21 09:09:48 +00:00
GitLab Bot ed01bf9b25 Add latest changes from gitlab-org/gitlab@master 2021-08-13 03:10:09 +00:00
GitLab Bot 1f126e43f5 Add latest changes from gitlab-org/gitlab@master 2021-05-25 00:10:54 +00:00
GitLab Bot 09ff71d425 Add latest changes from gitlab-org/gitlab@master 2021-03-29 15:09:30 +00:00
GitLab Bot eb29a43da9 Add latest changes from gitlab-org/gitlab@master 2021-01-05 03:10:19 +00:00
GitLab Bot d5098d9fe3 Add latest changes from gitlab-org/gitlab@master 2020-08-21 15:10:03 +00:00
GitLab Bot 66bd1f0fdc Add latest changes from gitlab-org/gitlab@master 2020-07-14 15:09:05 +00:00
GitLab Bot f098e6d3d2 Add latest changes from gitlab-org/gitlab@master 2020-04-06 03:09:23 +00:00
GitLab Bot 0637ba1e6e Add latest changes from gitlab-org/gitlab@master 2020-02-18 12:09:15 +00:00
GitLab Bot c36e59283e Add latest changes from gitlab-org/gitlab@master 2020-01-30 00:09:09 +00:00
GitLab Bot a5ab3467a7 Add latest changes from gitlab-org/gitlab@master 2020-01-13 15:07:53 +00:00
GitLab Bot 185f428fa5 Add latest changes from gitlab-org/gitlab@master 2019-10-07 12:06:18 +00:00
Brett Walker 2e51431403 Use new issue email address format
We now use `-issue` in order to support catch all email addresses
2019-01-03 14:37:35 -06:00
Brett Walker 34dd6196e3 Use new merge request email address format
We now use `-merge-request` instead of `+merge-request+`
in order to support catch all email addresses
2019-01-03 14:37:35 -06:00
Takuya Noguchi e902f462c2 Eliminate duplicated words
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-22 01:01:23 +09:00
Bob Van Landuyt 6fbdc5ed52 Apply patches when creating MR via email
This allows users to add patches as attachments to merge request
created via email.

When an email to create a merge request is sent, all the attachments
ending in `.patch` will be applied to the branch specified in the
subject of the email. If the branch did not exist, it will be created
from the HEAD of the repository.

When the patches could not be applied, the error message will be
replied to the user.

The patches can have a maximum combined size of 2MB for now.
2018-11-07 16:27:55 +01:00
Toon Claes b1f236164e Put fallback reply-key address first in the References header
The References header is an ordered list of mails, and some clients
only look at the last mail in the list to determine to which mail the
mail is in reply to.

Therefore, to be a less obtrusive as possible, put the fallback
address first.

Some info about the reply key lookup in the References header:
https://docs.gitlab.com/ee/administration/reply_by_email.html#how-it-works
2018-07-27 15:12:52 +02:00
Cameron Crockett 421dbb1746 skip email trim when email is creating new issue
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
2018-05-22 23:05:51 -05:00
Sean McGivern daeeb7f848 Fix quick actions for users who cannot update issues and MRs
There are several quick actions now that don't need this access - /todo and
/unsubscribe for instance - but when these were first added, there
weren't. Quick actions are now responsible for checking their own permissions.
2018-03-02 16:16:13 +00:00
Achilleas Pipinellis 85940d766a
Default to HTTPS for all Gravatar URLs
If using gravatar.com, both plain_url and ssl_url in settings are now
served via HTTPS. Make this the default.
2018-01-25 10:00:46 +01:00
Jan Provaznik b39b5524f2 Use message body for merge request description
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
2017-12-11 11:46:21 +01:00
Jan Provaznik 8cce70730c Create merge request from email
* 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
2017-12-05 08:41:58 +01:00
Dimitrie Hoekstra 82c002ebce Changed all font-weight values to 400 and 600 2017-08-24 14:13:24 +00:00
http://jneen.net/ d866c7763c add a spec for no-href link parsing 2017-06-19 14:24:19 -07:00
Sean McGivern eb490365b5 Handle incoming emails from aliases correctly
These set the 'actual' destination email in one of the Delivered-To lines, so
check those too.
2017-05-03 20:51:10 +01:00
Lin Jen-Shin d15b7db121 Fix References header parser for Microsoft Exchange
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
2017-01-20 20:19:22 +08:00
http://jneen.net/ f7b0692912 add parsing support for incoming html email 2016-11-17 11:59:44 +09:00
Douwe Maan 9d51421346 Use separate email-friendly token for incoming email and let incoming
email token be reset
2016-11-07 15:55:42 +00:00
Lin Jen-Shin a4ef4244d4 Preserve note_type and position for notes from emails
Closes #23208
2016-10-20 16:18:53 +08:00
Rémy Coutable f393f2dde0
Simplify the slash commands DSL to store action blocks instead of creating 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>
2016-08-13 00:36:47 +02:00
Rémy Coutable 65349c2212 Make slash commands contextual
- 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>
2016-08-13 00:06:12 +02:00