gitlab-org--gitlab-foss/app/services
Jan Provaznik d2f1d585e1 Skip projects filter on merge requests search
When searching for merge requests, an additional subquery
is added which by default filters only merge requests which belong
to source or target project user has permission for.

This filter is not needed because more restrictive filter
which checks if user has permission for target project
is used in the query.

So unless a custom projects filter is used by user, it's possible
to skip the default projects filter and speed up the final query.

Related to #40540
2017-12-21 15:43:14 +01:00
..
application_settings
applications refactor code 2017-10-31 09:03:59 +01:00
auth refactor access handling 2017-10-10 21:15:38 +02:00
boards [CE-Backport] Fix board filter when milestone is predefined 2017-12-05 15:34:31 -02:00
chat_names
ci Merge branch 'issue_41021' into 'master' 2017-12-13 16:45:48 +00:00
clusters Replace Exception with ArgumentError 2017-12-05 13:56:30 +01:00
commits Prepare cherry-pick and revert for migration to Gitaly 2017-09-19 17:09:10 +00:00
concerns Move ModuleWithInstanceVariables to Gitlab namespace 2017-11-22 17:06:57 +08:00
deploy_keys created services for keys 2017-09-15 15:35:24 +00:00
discussions
emails Merge branch 'master' into digitalmoksha/gitlab-ce-feature/verify_secondary_emails 2017-10-05 12:48:22 +02:00
events Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00
files Updates from last code review: 2017-12-20 10:57:27 -05:00
gpg_keys created services for keys 2017-09-15 15:35:24 +00:00
groups
issuable Reset todo counters when the target is deleted 2017-12-18 12:23:00 +00:00
issues Refactor the way we pass old associations to issuable's update services 2017-11-24 13:08:25 +01:00
keys uypdated keys controller logic 2017-10-31 09:03:59 +01:00
labels Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
mattermost
members Refactor member view by using presenter 2017-12-11 18:30:56 +01:00
merge_requests diff notes created in merge request on a commit have the right context 2017-12-07 09:01:23 -05:00
milestones Fix promoting milestone updating all issuables without milestone 2017-11-21 11:09:14 -02:00
notes Reset todo counters when the target is deleted 2017-12-18 12:23:00 +00:00
projects Don't link LFS-objects multiple times. 2017-12-19 17:06:18 +01:00
protected_branches CE backport of ProtectedBranches API changes 2017-12-07 11:58:50 +00:00
protected_tags
quick_actions Only include the user's ID in the time_spent command's update hash 2017-12-19 15:45:08 -06:00
search Skip projects filter on merge requests search 2017-12-21 15:43:14 +01:00
tags Migrate Gitlab::Git::Repository#add_tag to Gitaly 2017-09-29 00:53:49 +02:00
test_hooks
users Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
wiki_pages
access_token_validation_service.rb Add sudo API scope 2017-11-02 11:39:03 +01:00
after_branch_delete_service.rb
akismet_service.rb
audit_event_service.rb
base_count_service.rb Code review comments applied 2017-12-01 18:32:12 +01:00
base_renderer.rb Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00
base_service.rb
cohorts_service.rb
compare_service.rb Ensure MRs always use branch refs for comparison 2017-11-28 17:01:38 +00:00
create_branch_service.rb
create_deployment_service.rb
create_release_service.rb
create_snippet_service.rb
delete_branch_service.rb
delete_merged_branches_service.rb When deleting merged branches, ignore protected tags 2017-11-07 16:58:36 +01:00
event_create_service.rb Rework how recent push events are retrieved 2017-09-08 00:46:16 +02:00
git_push_service.rb
git_tag_push_service.rb
gravatar_service.rb
ham_service.rb
import_export_clean_up_service.rb
issuable_base_service.rb Execute quick actions when creating MR from issue 2017-12-13 10:40:31 +00:00
metrics_service.rb Update prometheus-client-mmap gem to highly optimized version 2017-12-07 17:47:23 +01:00
note_summary.rb
notification_recipient_service.rb Fix watch level for mentions in description 2017-12-04 11:32:36 +00:00
notification_service.rb Merge branch '37691-subscription-fires-multiple-notifications' into 'master' 2017-10-12 14:39:51 +00:00
pages_service.rb
preview_markdown_service.rb
push_event_payload_service.rb
repair_ldap_blocked_user_service.rb
repository_archive_clean_up_service.rb
search_service.rb
spam_check_service.rb Move ModuleWithInstanceVariables to Gitlab namespace 2017-11-22 17:06:57 +08:00
spam_service.rb
submit_usage_ping_service.rb
system_hooks_service.rb Consistently schedule Sidekiq jobs 2017-12-05 11:59:39 +01:00
system_note_service.rb add support for the commit reference filter 2017-12-07 09:01:37 -05:00
todo_service.rb Reset todo counters when the target is deleted 2017-12-18 12:23:00 +00:00
update_release_service.rb
update_snippet_service.rb
upload_service.rb
user_agent_detail_service.rb
user_project_access_changed_service.rb
validate_new_branch_service.rb
web_hook_service.rb Consistently schedule Sidekiq jobs 2017-12-05 11:59:39 +01:00