Commit graph

21 commits

Author SHA1 Message Date
Douwe Maan
e2bbbb1a9a Fix new offenses 2017-02-23 09:32:42 -06:00
Douwe Maan
7d4b52b27d Enable Style/WordArray 2017-02-23 09:32:41 -06:00
Douwe Maan
eacae00516 Enable Style/MultilineHashBraceLayout 2017-02-23 09:32:22 -06:00
Douwe Maan
5c7f9d69e3 Fix code for cops 2017-02-23 09:31:57 -06:00
Douwe Maan
8a4d68c53e Enable Style/ConditionalAssignment 2017-02-23 09:31:57 -06:00
Douwe Maan
030baf70d2 Enable Performance/RedundantMerge 2017-02-23 09:31:57 -06:00
Tiago Botelho
4b6e583ce0 adds test suite 2017-01-22 00:02:29 +00:00
Tiago Botelho
cd51af1a99 adds events to services api deserialization 2017-01-22 00:02:29 +00:00
Jeroen van Baarsen
f1479b56b7
Remove the annotate gem and delete old annotations
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.

Fixes: #17382
2016-05-09 18:00:28 +02:00
Zeger-Jan van de Weg
47da013cf8 Annotate the models 2016-05-06 08:27:46 +02:00
Rémy Coutable
1de9513790 Use project.web_url instead deprecated repository.homepage in PushoverService 2016-02-16 13:03:00 +01:00
Stan Hu
79c0e7212a Annotate models 2016-01-06 13:09:55 +00:00
Douwe Maan
383c56efa1 Use Gitlab::Git helper methods and constants as much as possible. 2015-03-10 13:39:31 +01:00
Stan Hu
7e204cf389 Added comment notification events to HipChat and Slack services.
Supports four different event types all bundled under the "note" event type:

- comments on a commit
- comments on an issue
- comments on a merge request
- comments on a code snippet
2015-03-06 06:54:00 -08:00
Dmitriy Zaporozhets
66c61f023b Re-annotate models 2015-03-04 14:14:00 -08:00
Douwe Maan
d57e809cbd Set supported events per project service. 2015-03-03 11:14:32 +01:00
Douwe Maan
d9ff616fd8 Code style, directory structure. 2015-03-03 11:14:32 +01:00
Stan Hu
afe5d7d209 Issue #595: Support Slack notifications upon issue and merge request events
1) Adds a DB migration for all services to toggle on push, issue, and merge events.

2) Upon an issue or merge request event, fire service hooks.

3) Slack service supports custom messages for each of these events. Other services
not supported at the moment.

4) Label merge request hooks with their corresponding actions.
2015-03-03 11:14:31 +01:00
Marin Jankovski
b3f944a398 Annotate services. Add a link to service template. 2015-02-11 18:29:24 -08:00
Ciro Santilli
cd688a6011 Replace regex methods by string ones since faster
and more readable.
2014-12-28 23:53:27 +01:00
Sullivan SENECHAL
d1fa3b336d Add Pushover service integration
That introduce select field type for services options.
2014-10-03 13:54:37 +02:00