gitlab-org--gitlab-foss/app/models/concerns
Paco Guzman 4ff345c488 Simplify Mentionable concern instance methods
We remove some arguments that are rarely used or 
used just to simplify setups on specs.

Modified Mentionable#create_new_cross_references method 
we don’t need to calculate previous references to avoid the 
duplication because we do that at database level when 
creating references extracted from the current entity state.

MergeRequests won’t create cross_references for commits that are included so we change a spec to use a different merge request to make references to commits to other branches
2016-10-04 10:45:48 +02:00
..
access_requestable.rb Re-add the AccessRequestable concern 2016-09-22 11:12:17 +02:00
awardable.rb Start Frontend work, fix routing problem 2016-09-19 19:50:40 +03:00
case_sensitivity.rb Revamp finding projects by namespaces 2015-10-08 14:35:32 +02:00
expirable.rb Allow project group links to be expired 2016-08-18 22:45:41 +01:00
faster_cache_keys.rb Added concern for a faster "cache_key" method 2016-08-08 16:49:22 +02:00
has_status.rb Return created status 2016-09-18 20:39:44 +02:00
importable.rb started refactoring some stuff based on MR feedback 2016-06-01 18:03:51 +02:00
internal_id.rb Use GitHub Issue/PR number as iid to keep references 2016-04-18 12:15:50 -03:00
issuable.rb Merge branch 'and-you-get-awards' into 'master' 2016-09-21 15:22:28 +00:00
mentionable.rb Simplify Mentionable concern instance methods 2016-10-04 10:45:48 +02:00
milestoneish.rb Use a better message when milestone is newly created 2016-04-29 10:15:49 +01:00
note_on_diff.rb Move #to_discussion to NoteOnDiff 2016-08-30 16:30:42 +01:00
participable.rb Use cattr_accessor instead duplicating code on NoteOnDiff concern 2016-07-15 13:49:16 -03:00
project_features_compatibility.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
protected_branch_access.rb Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
referable.rb Fix RangeError exceptions when referring to issues or merge requests outside of max database values 2016-06-18 13:07:38 -07:00
sortable.rb Todos sorting dropdown 2016-08-19 16:14:20 -03:00
spammable.rb Also check if Akismet is enabled, before showing the Submit as spam button. 2016-08-22 21:36:04 -05:00
strip_attribute.rb Strip attributes for Milestone and Issuable. #3428 2015-11-26 10:16:50 -05:00
subscribable.rb Add API endpoints for un/subscribing from/to a label 2016-05-12 22:48:09 +02:00
taskable.rb Shorten task status phrase 2016-08-29 10:46:36 -05:00
token_authenticatable.rb Enable Rubocop cops for invalid access modifiers 2016-07-19 15:12:15 +02:00