Commit graph

15 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
Rémy Coutable
ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Douwe Maan
33d4a6e244 Remove backticks from chat messages because they're not rendered as code 2017-06-19 11:57:03 -05:00
Robert Speicher
a6ec5121f0 Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -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
Rémy Coutable
d40e1f547e Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02: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
Kamil Trzciński
12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
Poornima M
d5fa77d53d Adding links to user & build in Chat Notifications 2017-01-25 21:48:57 +05:30
Kamil Trzcinski
b1ccf99e87
Fix previously reverted spec failures 2016-12-19 13:34:03 +01:00
Kamil Trzcinski
9e3153dbf5
Remove not related spec changes 2016-12-18 23:30:48 +01:00
Z.J. van de Weg
0d3e24358b
Create Slack Slash command service 2016-12-16 17:51:07 +01:00
Felipe Artur
141faaacf9 Mattermost Notifications Service 2016-12-15 11:09:31 -02:00