gitlab-org--gitlab-foss/spec/models/concerns
Sean McGivern eb15e4dfc2 Speed up setting of relative position
1. When every issue has a relative position set, we don't need to
   perform any updates, or calculate the maximum position in the parent.
2. If we do need to calculate the maximum position in the parent, many
   parents (specifically, groups with lots of projects) leads to a slow
   query where only the index on issues.relative_position is used, not
   the index on issues.project_id. Adding the GROUP BY forces Postgres
   to use both indices.
2018-11-23 13:06:04 +00:00
..
access_requestable_spec.rb
avatarable_spec.rb Disable project avatar validation if avatar has not changed 2018-09-04 12:20:58 -07:00
awardable_spec.rb Don't care about order when getting awarded issues 2018-11-15 20:51:43 +13:00
batch_destroy_dependent_associations_spec.rb Updates from rubocop -a 2018-07-09 21:13:08 +08:00
blob_language_from_git_attributes_spec.rb Allow FoundBlob to access language from gitattributes 2018-10-30 15:44:55 +08:00
blocks_json_serialization_spec.rb
cache_markdown_field_spec.rb Support short reference to group entities from project entities 2018-10-04 10:22:00 +02:00
cacheable_attributes_spec.rb Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
case_sensitivity_spec.rb Port changes for CODEOWNERS to CE 2018-09-06 09:07:19 +02:00
chronic_duration_attribute_spec.rb
deployable_spec.rb Ignore environment validation failure 2018-11-15 11:19:04 +00:00
deployment_platform_spec.rb
discussion_on_diff_spec.rb
each_batch_spec.rb Fix statement timeouts in RemoveRestrictedTodos migration 2018-11-04 06:01:17 -08:00
editable_spec.rb
expirable_spec.rb
faster_cache_keys_spec.rb
feature_gate_spec.rb
from_union_spec.rb Added FromUnion to easily select from a UNION 2018-09-17 12:39:43 +02:00
group_descendant_spec.rb
has_status_spec.rb Add unit tests for CommitStatus and Ci::Stage 2018-10-02 17:08:11 +02:00
has_variable_spec.rb
ignorable_column_spec.rb
issuable_spec.rb Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
loaded_in_group_list_spec.rb
manual_inverse_association_spec.rb
mentionable_spec.rb Updates from rubocop -a 2018-07-09 21:13:08 +08:00
milestoneish_spec.rb
noteable_spec.rb
optionally_search_spec.rb Refactor AutocompleteController 2018-08-20 13:53:00 +02:00
participable_spec.rb
presentable_spec.rb
project_features_compatibility_spec.rb
prometheus_adapter_spec.rb
protected_ref_access_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
reactive_caching_spec.rb Squashed commit of the following: 2018-08-07 23:03:48 +09:00
redactable_spec.rb Redact unsubscribe links in issuable texts 2018-10-23 21:20:20 +02:00
redis_cacheable_spec.rb
relative_positioning_spec.rb Speed up setting of relative position 2018-11-23 13:06:04 +00:00
resolvable_discussion_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
resolvable_note_spec.rb
routable_spec.rb Remove code for dynamically generating routes 2018-07-25 16:41:29 +02:00
sha_attribute_spec.rb
sortable_spec.rb
spammable_spec.rb
strip_attribute_spec.rb
subscribable_spec.rb
token_authenticatable_spec.rb [master] Persist only SHA digest of PersonalAccessToken#token 2018-10-29 16:06:45 +00:00
triggerable_hooks_spec.rb Refactor: move active hook filter to TriggerableHooks 2018-09-05 21:58:52 +10:00
uniquify_spec.rb