gitlab-org--gitlab-foss/spec/models
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
..
ci Fix Error 500 when visiting build page of project with nil runners_token 2016-01-10 18:12:47 -08:00
concerns Add new data to project in push, issue, merge-request and note webhooks data 2016-02-11 17:22:11 +01:00
hooks First pass at deleting projects in the background. 2016-01-29 09:14:16 -05:00
members Tag model specs 2015-12-09 10:50:51 +01:00
project_services Suppress e-mails on failed builds if allow_failure is set 2016-01-07 10:45:39 -08:00
abuse_report_spec.rb Use a more sensible message for the AbuseReport uniqueness validation 2016-01-16 16:50:43 -05:00
application_setting_spec.rb Validate email addresses using Devise.email_regexp 2016-02-09 18:15:35 +01:00
broadcast_message_spec.rb Move BroadcastMessage#status to a helper since it's presentational 2016-01-13 11:49:59 -05:00
build_spec.rb Fix specs 2016-01-28 15:10:48 +01:00
commit_range_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
commit_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
commit_status_spec.rb Annotate models 2016-01-06 13:09:55 +00:00
deploy_key_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
deploy_keys_project_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
email_spec.rb Validate email addresses using Devise.email_regexp 2016-02-09 18:15:35 +01:00
event_spec.rb Use Atom update times of the first event 2016-01-27 10:33:33 +01:00
external_issue_spec.rb Update ExternalIssue regex for JIRA integration 2016-01-26 15:55:40 -05:00
external_wiki_service_spec.rb Annotate models 2016-01-06 13:09:55 +00:00
forked_project_link_spec.rb
generic_commit_status_spec.rb Annotate models 2016-01-06 13:09:55 +00:00
global_milestone_spec.rb Fix Error 500 when global milestones have slashes 2015-12-22 13:15:32 -08:00
group_spec.rb Annotate models 2016-01-06 13:09:55 +00:00
identity_spec.rb Codestyle changes 2016-01-12 12:29:10 -02:00
issue_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
jira_issue_spec.rb Backport JIRA service 2015-12-18 14:19:48 -06:00
key_spec.rb Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
label_link_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
label_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
member_spec.rb Validate email addresses using Devise.email_regexp 2016-02-09 18:15:35 +01:00
merge_request_spec.rb Add new data to project in push, issue, merge-request and note webhooks data 2016-02-11 17:22:11 +01:00
milestone_spec.rb Validate uniqueness of milestone title per project 2016-02-08 12:45:32 +01:00
namespace_spec.rb Annotate models 2016-01-06 13:09:55 +00:00
note_spec.rb Fix specs and rubocop warnings 2016-01-14 10:04:48 +01:00
project_security_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
project_snippet_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
project_spec.rb Annotate models 2016-01-06 13:09:55 +00:00
project_team_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
project_wiki_spec.rb Add Banzai::Filter::GollumTagsFilter for parsing Gollum's tags in HTML 2016-01-14 12:09:31 -02:00
protected_branch_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
release_spec.rb
repository_spec.rb Merge branch 'cwq1913/gitlab-ce-fix_skip_merge_commits' into 'master' 2016-02-10 19:01:44 +00:00
service_spec.rb Annotate models 2016-01-06 13:09:55 +00:00
snippet_spec.rb Tag model specs 2015-12-09 10:50:51 +01:00
spam_log_spec.rb Refactor Admin::SpamLogsController to block user before destroying 2016-02-02 11:25:44 -02:00
tree_spec.rb Prioritize previewable over plain README files 2016-01-25 11:27:07 -02:00
user_spec.rb Validate email addresses using Devise.email_regexp 2016-02-09 18:15:35 +01:00
wiki_page_spec.rb Fix old version warning when viewing wiki latest version via version_id 2016-01-29 14:17:00 -02:00