gitlab-org--gitlab-foss/lib
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
..
api Merge branch 'skakirill/gitlab-ce-api-merge-request-setup-milestone' into 'master' 2016-02-12 08:39:18 +00:00
assets
backup Make sure there is a connection before using ActiveRecord 2016-02-08 17:31:24 +01:00
banzai Fix relative links in other markup formats 2016-02-12 17:20:59 +01:00
ci Merge branch 'fix-ci-runners-version-update' into 'master' 2016-01-27 20:50:24 +00:00
gitlab Merge branch 'bugagazavr/gitlab-ce-extend-hooks' into 'master' 2016-02-16 13:08:36 +00:00
omni_auth
rouge/formatters Remove custom Lexer. #3945 [ci skip] 2016-01-08 15:20:48 -05:00
support Merge branch 'doc_relative_url' into 'master' 2016-02-10 10:51:18 +00:00
tasks Remove sqlite check in raketask 2016-02-10 16:54:15 +02:00
award_emoji.rb
banzai.rb
disable_email_interceptor.rb
event_filter.rb
extracts_path.rb
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb