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 Call the correct method in the BlocksJsonSerialization spec 2017-12-19 15:45:08 -06:00
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 Specify default value for Project#build_timeout 2018-04-04 21:31:56 +02:00
deployable_spec.rb Ignore environment validation failure 2018-11-15 11:19:04 +00:00
deployment_platform_spec.rb Create Kubernetes based on Application Templates 2018-01-04 22:35:41 +00:00
discussion_on_diff_spec.rb Persist truncated note diffs on a new table 2018-05-24 15:34:43 -03:00
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 Recover from errors when a parent is not preloaded 2018-04-18 17:15:51 +02:00
has_status_spec.rb Add unit tests for CommitStatus and Ci::Stage 2018-10-02 17:08:11 +02:00
has_variable_spec.rb Upgrade to Ruby 2.4.4 2018-05-29 15:19:33 -07:00
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 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
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 Squashed commit of the following: 2018-02-24 00:15:12 +01:00
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 Remove rails5 specific tests for #cast_value_from_cache 2018-05-17 13:23:57 +02:00
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 Check if note's noteable is not nil when checking resolvability 2018-05-23 16:58:40 +02:00
routable_spec.rb Remove code for dynamically generating routes 2018-07-25 16:41:29 +02:00
sha_attribute_spec.rb only issue a warning if column doesn't exist 2018-05-10 10:00:32 -05:00
sortable_spec.rb Fix sorting by name on explore projects page 2018-06-25 18:31:30 -03:00
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 Moves Uniquify counter in the initializer 2018-04-19 13:56:37 +02:00