gitlab-org--gitlab-foss/spec/lib/gitlab
Yorick Peterse c16b99a49c
Use a UNION ALL for getting merge request notes
In this particular case the use of UNION ALL leads to a better query
plan compared to using 1 big query that uses an OR statement to combine
different data sources.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/38508 for more
information.
2017-10-02 15:31:59 +02:00
..
auth current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
background_migration Make MR diff background migration less likely to time out 2017-09-29 11:56:08 +01:00
backup Adds EE tag detection to remove_old in gitlab backup. 2017-09-21 13:00:58 +01:00
badge Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
bitbucket_import Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
cache Add a Circuitbreaker for storage paths 2017-08-04 15:38:48 +02:00
checks Use Gitlab::Git's Popen on that module's code 2017-09-20 13:21:54 +02:00
ci Add specs for pipeline chain builder sequence class 2017-09-26 14:24:40 +02:00
conflict Use described_class when possible 2017-07-27 14:31:53 +02:00
cycle_analytics Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
data_builder Resolve "Error 500 in non-UTF8 branch names" 2017-09-12 14:07:31 +00:00
database Spread out the work a little 2017-09-14 14:17:23 -07:00
dependency_linker Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
diff Add specs 2017-09-25 16:56:14 +02:00
downtime_check
email Prevent new / renamed project from using a repository path that already exists on disk 2017-08-25 20:06:06 +02:00
etag_caching Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
fogbugz_import Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
gfm Fix rewriting issue references with group milestones 2017-09-20 09:55:54 +00:00
git Add username as GL_USERNAME in hooks (http) 2017-09-29 18:12:03 -04:00
gitaly_client Encode paths properly for Gitaly Commit{Diff,Delta} 2017-09-19 13:35:22 +02:00
github_import Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
gitlab_import Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
google_code_import Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
gpg use new #verification_status 2017-09-05 12:18:33 +02:00
graphs Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
health_checks Allow the git circuit breaker to correctly handle missing repository storages 2017-09-22 10:05:28 +01:00
i18n Only require simple_po_parser in rake task that needs it 2017-09-04 08:30:10 +02:00
import_export adds changelog 2017-09-12 22:32:02 +03:00
ldap Profile updates from providers 2017-09-06 16:38:52 +03:00
metrics Enable Timecop safe mode 2017-08-11 14:53:17 +02:00
middleware Merge branch 'dm-go-get-xss' into 'security-9-3' 2017-09-07 20:22:16 -04:00
o_auth Don't force the encoding of the OAuth provider in Gitlab::OAuth::AuthHash#provider 2017-09-14 10:29:35 +02:00
prometheus Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
quick_actions Fixes #29385: Add /shrug and /tableflip commands 2017-07-28 14:37:44 -05:00
redis Don't depend on Rails for Redis configuration file paths 2017-08-15 15:08:56 -04:00
saml Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
sanitizers
serializer Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
sherlock Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
sidekiq_status Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
slash_commands Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
sql Use a UNION ALL for getting merge request notes 2017-10-02 15:31:59 +02:00
template Sort templates when fetching them 2017-08-31 15:45:48 +02:00
view/presenter Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
allowable_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
asciidoc_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
auth_spec.rb Clean up read_registry scope changes 2017-09-18 08:39:01 -04:00
background_migration_spec.rb Fix background migrations module specs 2017-07-18 11:55:43 +02:00
bare_repository_importer_spec.rb Handle creating a nested group on MySQL correctly 2017-08-25 12:35:47 +02:00
blame_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
changes_list_spec.rb
chat_name_token_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
ci_access_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
closing_issue_extractor_spec.rb Correctly detect multiple issue URLs after 'Closes...' in MR descriptions 2017-09-21 12:42:25 +02:00
color_schemes_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
contributions_calendar_spec.rb Merge branch '27616-fix-contributions-graph-utc-offset-mysql' into 'master' 2017-08-06 05:57:49 +00:00
current_settings_spec.rb Prevent bad data being added to application settings when Redis is unavailable 2017-07-10 15:40:51 +01:00
daemon_spec.rb Enable the RSpec/HookArgument cop and auto-correct offenses 2017-08-10 19:29:42 -04:00
database_spec.rb Use a specialized class for querying events 2017-08-10 17:45:49 +02:00
dependency_linker_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
downtime_check_spec.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
encoding_helper_spec.rb Make sure that we have author and committer 2017-08-08 20:35:38 +08:00
exclusive_lease_spec.rb Adds exclusive lease to Git garbage collect worker. 2017-09-07 18:52:04 +01:00
fake_application_settings_spec.rb Fixes needed when GitLab sign-in is not enabled 2017-07-13 10:08:27 -04:00
file_detector_spec.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
file_finder_spec.rb Fix searching for files by path 2017-08-25 10:36:32 +01:00
git_access_spec.rb Address review comments 2017-08-30 20:50:44 +01:00
git_access_wiki_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
git_ref_validator_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
git_spec.rb Resolve "Error 500 in non-UTF8 branch names" 2017-09-12 14:07:31 +00:00
gitaly_client_spec.rb Detect n+1 issues involving Gitaly 2017-09-19 10:55:37 +00:00
gl_repository_spec.rb Ensure all project factories use :repository trait or :empty_project 2017-08-01 14:51:52 -04:00
gpg_spec.rb downcase gpg key's emails 2017-09-05 12:18:31 +02:00
group_hierarchy_spec.rb Fix setting share_with_group_lock 2017-09-15 17:38:46 +02:00
highlight_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
i18n_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
identifier_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
import_sources_spec.rb Set the new GitHub import as import source 2017-08-07 13:06:13 -03:00
incoming_email_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
issuable_metadata_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
issuable_sorter_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
issuables_count_for_state_spec.rb Re-use issue/MR counts for the pagination system 2017-09-05 11:53:45 +02:00
job_waiter_spec.rb Use event-based waiting in Gitlab::JobWaiter 2017-08-22 09:54:46 +01:00
kubernetes_spec.rb Generate KUBECONFIG in KubernetesService#predefined_variables 2017-06-16 22:15:40 +08:00
lazy_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
lfs_token_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
markup_helper_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
metrics_spec.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
optimistic_locking_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
other_markup_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
otp_key_rotator_spec.rb Add a Rake task to aid in rotating otp_key_base 2017-06-05 22:17:52 +01:00
path_regex_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
performance_bar_spec.rb Support multiple Redis instances based on queue type 2017-07-11 03:35:47 +00:00
polling_interval_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
popen_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
project_authorizations_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
project_search_results_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
project_template_spec.rb Add two more project templates 2017-08-15 12:55:54 +02:00
project_transfer_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
prometheus_client_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
reference_counter_spec.rb Implement /internal/post_receive unified endpoint for PostReceive tasks 2017-08-31 11:31:45 -03:00
reference_extractor_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
regex_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
repo_path_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
request_context_spec.rb Enable the RSpec/HookArgument cop and auto-correct offenses 2017-08-10 19:29:42 -04:00
request_forgery_protection_spec.rb Add specs 2017-07-27 10:32:44 +02:00
request_profiler_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
route_map_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
routing_spec.rb
search_results_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
sentry_spec.rb Track the locale in Sentry so we know which ones are failing 2017-08-31 14:10:04 +02:00
shell_spec.rb Create repositories via Gitaly 2017-09-29 18:27:06 +02:00
sidekiq_status_spec.rb Support multiple Redis instances based on queue type 2017-07-11 03:35:47 +00:00
sidekiq_throttler_spec.rb Only require sidekiq-limit_fetch when enabled in settings 2017-08-21 12:56:22 +01:00
snippet_search_results_spec.rb
ssh_public_key_spec.rb Rework the permissions model for SSH key restrictions 2017-08-30 20:50:44 +01:00
string_range_marker_spec.rb Don't escape html entities when rich == raw line 2017-08-17 19:55:07 +02:00
string_regex_marker_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
themes_spec.rb Revert "Merge branch 'revert-f2421b2b' into 'master'" 2017-09-11 15:44:42 +00:00
untrusted_regexp_spec.rb Upgrade the re2 gem to 1.1.0 2017-07-24 11:03:37 +01:00
upgrader_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
uploads_transfer_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
url_blocker_spec.rb Merge branch 'rs-alphanumeric-ssh-params' into 'security-9-4' 2017-08-10 20:47:28 +01:00
url_builder_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
url_sanitizer_spec.rb Backport more EE changes to Gitlab::UrlSanitizer 2017-09-11 21:43:43 +01:00
usage_data_spec.rb Adds gitlab features and components to usage ping data. 2017-09-21 14:47:35 +01:00
user_access_spec.rb Ensure all project factories use :repository trait or :empty_project 2017-08-01 14:51:52 -04:00
user_activities_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
utils_spec.rb Add a linter for PO files 2017-08-31 14:10:04 +02:00
version_info_spec.rb Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
visibility_level_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
workhorse_spec.rb Add username as GL_USERNAME in hooks (http) 2017-09-29 18:12:03 -04:00