Commit graph

14 commits

Author SHA1 Message Date
Sean McGivern
5e7d68ef79 Fix issue reopen Mattermost / Slack message
When an issue is reopened, the action is 'reopen', but the state is 'opened' (as
we don't have a separate 'reopened' state any more).

Because we checked the action in one method and the state in another, this lead
to a weird case where the mesage neither linked to the issue, nor contained an
attachment with its details. Just checking the action is fine, as it's the most
granular.
2017-11-06 14:40:13 +00:00
Stan Hu
7500097970 Include GitLab full name with username in Slack messages
We used to include the first and last name of the user, but !6624 modified
this to include only the username. Let's compromise and add both in the form
of `First Last (username)`.

Closes #38865
2017-10-06 13:02:28 -07:00
Douwe Maan
33d4a6e244 Remove backticks from chat messages because they're not rendered as code 2017-06-19 11:57:03 -05:00
Douwe Maan
ff82acf343 Consistently use monospace font for commit SHAs and branch and tag names 2017-05-12 09:55:25 -05:00
Z.J. van de Weg
5d4183e58d Convert seconds to minutes and hours on chat notifations
In the pipeline message, the duration of the pipeline was shown as:

> gitlab-org/gitlab-ee: Pipeline #8002259 of master branch by Douwe Maan
failed in 8612 seconds

But this many seconds only gave me a clue how long the pipeline took,
so now this will be shown as something like: 02:20:12 which gives a much
better measure of time.
2017-05-04 08:39:06 +02:00
Tiago Botelho
1f404065ca adds relevant tests 2017-04-06 19:47:07 +01:00
Tiago Botelho
05f69ef212 adds microsoft team activity object and refactors code accordingly 2017-04-05 13:57:12 +01:00
Tiago Botelho
9bfa0a5ffa adds remaining messages 2017-04-05 13:57:11 +01:00
Tiago Botelho
7dd645e6c9 add note message integration with microsoft teams 2017-04-05 13:57:11 +01:00
Tiago Botelho
efe2d96a90 adds initial microsoft teams integration 2017-04-05 13:57:11 +01:00
Kamil Trzciński
12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
Douwe Maan
eacae00516 Enable Style/MultilineHashBraceLayout 2017-02-23 09:32:22 -06:00
Poornima M
d5fa77d53d Adding links to user & build in Chat Notifications 2017-01-25 21:48:57 +05:30
Felipe Artur
141faaacf9 Mattermost Notifications Service 2016-12-15 11:09:31 -02:00