gitlab-org--gitlab-foss/app/models
Douwe Maan 5042f008ed Merge branch 'cleanup-mentionable-methods-arguments' into 'master'
Simplify Mentionable concern instance methods

## What does this MR do?

Simplify arguments received by the instance methods on the concern so in the closer future will be easy to understand and change

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

## Why was this MR needed?

## Screenshots (if relevant)

## Does this MR meet the acceptance criteria?

- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [ ] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

See merge request !6596
2016-10-04 10:51:45 +00:00
..
ci Revert to use Mounter method to check existence 2016-09-30 09:35:58 +02:00
concerns Simplify Mentionable concern instance methods 2016-10-04 10:45:48 +02:00
cycle_analytics Fix the "Commits" section of the cycle analytics summary. 2016-09-26 18:38:40 +05:30
hooks Scope hooks thal will run for confidential issues 2016-08-31 18:34:45 -03:00
issue Implement (some) comments from @DouweM's review. 2016-09-20 18:13:11 +05:30
members Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
merge_request Implement (some) comments from @DouweM's review. 2016-09-20 18:13:11 +05:30
network Enable Style/SpaceAfterComma Rubocop cop 2016-06-29 15:23:44 +02:00
project_services Changed Slack service user referencing from full name to username 2016-10-03 00:44:47 +02:00
protected_branch Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
.gitkeep
ability.rb factor out a RuleSet so that delegate! retains @cannot 2016-08-30 11:39:22 -07:00
abuse_report.rb
appearance.rb
application_setting.rb Pull import sources from Gitlab::ImportSources 2016-09-09 21:24:20 +05:30
audit_event.rb
award_emoji.rb Add emoji.rb in lib/gitlab instead of using the gitlab_emoji gem. 2016-06-29 14:53:09 -06:00
blob.rb Handle encoding in non-binary Blob instances 2016-09-14 14:15:31 +02:00
board.rb Improve project_with_board factory to create the default lists 2016-09-26 14:42:38 -03:00
broadcast_message.rb
commit.rb Fix Commit#status, feedback: 2016-09-14 01:25:26 +08:00
commit_range.rb Enable Lint/StringConversionInInterpolation cop and autocorrect offenses 2016-10-03 16:09:57 +02:00
commit_status.rb Fix processing of events when build finished. 2016-09-19 15:06:26 +02:00
compare.rb Make Compare#diffs diff_options a regular argument 2016-08-03 09:32:01 -07:00
cycle_analytics.rb Implement a second round of review comments from @DouweM. 2016-09-21 00:47:37 +05:30
deploy_key.rb Refactor LFS token logic to use a Redis key instead of a DB field, making it a 1 use only token. 2016-09-15 12:21:00 -05:00
deploy_keys_project.rb
deployment.rb Implement a second round of review comments from @DouweM. 2016-09-21 00:47:37 +05:30
diff_note.rb Optimize discussion notes resolving and unresolving 2016-09-06 12:14:09 -03:00
discussion.rb Optimize discussion notes resolving and unresolving 2016-09-06 12:14:09 -03:00
email.rb
environment.rb Implement review comments from @yorickpeterse 2016-09-20 16:05:25 +05:30
event.rb Fix broken spec due to last_activity_at updates being throttled 2016-09-19 22:59:15 -07:00
external_issue.rb
forked_project_link.rb
generic_commit_status.rb
global_label.rb
global_milestone.rb Use select(:foo) instead of map(&:foo) in GlobalMilestone 2016-09-23 13:35:11 +02:00
group.rb Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
identity.rb
issue.rb Use the IssuableBaseService lifecycle hooks to cache MergeRequestsClosingIssues 2016-09-21 01:22:20 +05:30
key.rb Add simple identifier to public SSH keys 2016-08-02 06:56:23 +01:00
label.rb Destroy related lists when a label is removed 2016-08-17 12:58:58 -03:00
label_link.rb squashed - fixed label and milestone association problems, updated specs and refactored reader class a bit 2016-08-01 09:57:40 +02:00
legacy_diff_note.rb Move #to_discussion to NoteOnDiff 2016-08-30 16:30:42 +01:00
lfs_object.rb
lfs_objects_project.rb
list.rb Add a movable scope and a movable? method to List model 2016-08-17 12:58:59 -03:00
member.rb Use the new Members::ApproveAccessRequestService in Member#add_user 2016-09-28 09:43:00 +02:00
merge_request.rb Add a /wip slash command 2016-10-03 09:36:21 +02:00
merge_request_diff.rb So that st_commits could never be nil 2016-09-22 17:28:36 +08:00
merge_requests_closing_issues.rb Implement a second round of review comments from @DouweM. 2016-09-21 00:47:37 +05:30
milestone.rb Allowing ">" to be used for Milestone models's title and storing the value in db as unescaped. 2016-09-29 19:28:38 -07:00
namespace.rb Added group-specific setting for LFS. 2016-09-15 12:27:32 -05:00
note.rb Start Frontend work, fix routing problem 2016-09-19 19:50:40 +03:00
notification_setting.rb Exclude projects pending delete from notifications 2016-07-07 20:49:17 +01:00
oauth_access_token.rb
personal_access_token.rb
personal_snippet.rb
project.rb Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
project_feature.rb Remove duplicate default_value_level entry 2016-09-21 17:55:37 +00:00
project_group_link.rb Allow project group links to be expired 2016-08-18 22:45:41 +01:00
project_import_data.rb add missing attribute to attr_encrypted so it is fully backwards-compatible 2016-06-28 09:55:19 +02:00
project_snippet.rb
project_team.rb Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
project_wiki.rb Add method missing from EE 2016-08-12 21:56:40 -04:00
protected_branch.rb Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
release.rb
repository.rb Add spec covering 'committer_hash' 2016-09-20 10:15:43 -07:00
security_event.rb
sent_notification.rb Allow SentNotification#position to be set as string or hash 2016-07-11 12:21:05 -05:00
service.rb Fix issues importing services via Import/Export 2016-10-04 10:01:32 +02:00
snippet.rb Snippets get award emoji! 👍 2016-09-19 19:47:43 +03:00
spam_log.rb Allow SpamLog to be submitted as ham 2016-08-15 13:18:15 -05:00
subscription.rb
todo.rb Todos sorting dropdown 2016-08-19 16:14:20 -03:00
tree.rb
u2f_registration.rb Allow naming U2F devices. 2016-08-18 22:12:02 +05:30
user.rb Refactor LFS token logic to use a Redis key instead of a DB field, making it a 1 use only token. 2016-09-15 12:21:00 -05:00
user_agent_detail.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
users_star_project.rb
wiki_page.rb WikiPage should have a slug even when not persisted. 2016-07-25 09:22:47 +05:30