gitlab-org--gitlab-foss/app
Douwe Maan bbbfdba0b9 Merge branch 'bugagazavr/gitlab-ce-extend-hooks' into 'master'
Add new data to project in push, issue, merge-request and note webhooks data

_Originally opened at !2738 by @bugagazavr._

- - -

**What does this MR do?**

Adds more data to hooks, makes repository data in all hook more dry ( use one hook_attrs method for repository data in all hooks )

**Are there points in the code the reviewer needs to double check?**

1. https://gitlab.com/bugagazavr/gitlab-ce/blob/extend-hooks/app/models/project.rb#L738
2. https://gitlab.com/bugagazavr/gitlab-ce/blob/extend-hooks/app/models/concerns/issuable.rb#L132
3. https://gitlab.com/bugagazavr/gitlab-ce/blob/extend-hooks/lib/gitlab/push_data_builder.rb#L52
4. https://gitlab.com/bugagazavr/gitlab-ce/blob/extend-hooks/lib/gitlab/note_data_builder.rb#L56

**Why was this MR needed?**

More information about user for push events, and more data about repositiry ( project )

**What are the relevant issue numbers?**

No

**Screenshots (if relevant)**

No

See merge request !2788
2016-02-16 13:08:36 +00:00
..
assets Fix duplicate "me" in tooltip of the "thumbsup" awards Emoji 2016-02-13 02:02:05 -08:00
controllers Merge branch 'rs-issue-13467' into 'master' 2016-02-16 11:40:06 +00:00
finders
helpers Display "iid of max_iid" in Issuables' sidebar 2016-02-16 12:58:12 +01:00
mailers Fix broken link in CI build notification emails 2016-02-12 14:01:27 +01:00
models Merge branch 'bugagazavr/gitlab-ce-extend-hooks' into 'master' 2016-02-16 13:08:36 +00:00
services Merge branch 'fix/cross-reference-notes-forks' into 'master' 2016-02-16 11:47:46 +00:00
uploaders
validators Re-add EmailValidator to avoid the repetition of format: { with: Devise.email_regexp } 2016-02-09 18:15:35 +01:00
views Merge branch 'fix/13356-issuable-index-of-total-in-sidebar' into 'master' 2016-02-16 13:02:33 +00:00
workers First pass at deleting projects in the background. 2016-01-29 09:14:16 -05:00