gitlab-org--gitlab-foss/lib/gitlab
Jan Provaznik 017c1297cd Skip projects filter on issues search
When searching for issues, an additional subquery
is added which filters only issues in a project. If global context is
used (no project is specified) this query filters all projects user has
access to.

In that case we can skip this filter because filtering only projects
user has access to is added anyway.

The filter is used only if a custom project context is specified

Related to #40540
2018-01-02 12:07:26 +01:00
..
auth Renaming AuthenticationException to AuthenticationError 2017-11-17 13:33:21 +01:00
background_migration Process normal paths in batch containing bad paths 2017-12-05 14:57:58 -08:00
badge
bare_repository_import Simplify normalizing of paths 2017-12-10 23:36:46 -08:00
bitbucket_import Fix bitbucket wiki import with hashed storage enabled 2017-11-20 16:14:41 +00:00
cache Use StrongMemoize and enable/disable cops properly 2017-11-18 01:01:53 +08:00
checks Allow git pull/push on project redirects 2017-12-08 17:42:43 +00:00
ci Merge remote-tracking branch 'upstream/master' into no-ivar-in-modules 2017-12-15 17:14:26 +08:00
conflict Simplify conflict resolver interface 2017-12-14 16:02:50 -03:00
cycle_analytics Merge remote-tracking branch 'upstream/master' into no-ivar-in-modules 2017-11-30 15:20:00 +08:00
data_builder Use full URL of user avatar on webhook push 2017-10-05 23:54:56 +11:00
database Merge remote-tracking branch 'upstream/master' into no-ivar-in-modules 2017-12-15 17:14:26 +08:00
dependency_linker
diff Merge branch 'fix_39233' into 'master' 2017-12-07 20:35:39 +00:00
downtime_check
email Use message body for merge request description 2017-12-11 11:46:21 +01:00
etag_caching
fogbugz_import Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
gfm Fix rewriting issue references with group milestones 2017-09-20 09:55:54 +00:00
git Revert "Merge branch 'repo-write-ref-client-prep' into 'master'" 2017-12-20 18:29:52 +00:00
gitaly_client Load commit in batches for pipelines#index 2017-12-19 10:05:40 +01:00
github_import Migrate to Project#empty_repo? 2017-12-20 19:13:11 +01:00
gitlab_import Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
google_code_import
gpg Fix error with GPG signature updater when commit was deleted 2017-10-07 10:47:53 -05:00
grape_logging/formatters Use a custom GrapeLogging formatter to get the timestamp 2017-09-07 07:48:13 -07:00
graphs
health_checks Allow the git circuit breaker to correctly handle missing repository storages 2017-09-22 10:05:28 +01:00
hook_data Add total_time_spent to the changes hash in issuable Webhook payloads 2017-11-15 15:42:19 +01:00
i18n Only require simple_po_parser in rake task that needs it 2017-09-04 08:30:10 +02:00
import_export Merge remote-tracking branch 'upstream/master' into no-ivar-in-modules 2017-11-30 15:20:00 +08:00
kubernetes Ensure Namespace's is namespaced in Gitlab::Kubernetes::Helm#initialize and fix a transient failing spec due to that 2017-12-01 15:55:06 +01:00
ldap Make sure user email is read only when synced with LDAP 2017-12-15 12:48:48 +01:00
legacy_github_import Rename fetch_refs to refmap 2017-11-23 16:59:58 +01:00
metrics Merge branch 'pawel/reduce_cardinality_of_prometheus_metrics' into 'master' 2017-12-21 15:56:45 +00:00
middleware Revert "check for read_only? first before seeing if request is disallowed" 2017-11-21 15:35:30 +01:00
o_auth Make sure user email is read only when synced with LDAP 2017-12-15 12:48:48 +01:00
performance_bar Fix SQL timings for the performance bar 2017-11-03 15:45:58 +01:00
project_authorizations
prometheus Replce kubernetes_service and deployment_service to deployment_platform 2017-11-28 20:47:59 +09:00
quick_actions added date parameter for time tracking 2017-10-13 11:41:49 +01:00
redis Don't depend on Rails for Redis configuration file paths 2017-08-15 15:08:56 -04:00
request_profiler
saml Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
sanitizers
serializer
sherlock Ignore SQL CACHE hits in Sherlock 2017-11-03 16:08:37 +01:00
sidekiq_middleware Send SIGSTP before SIGTERM to actually give Sidekiq jobs 30s to finish when the memory killer kicks in 2017-11-02 15:33:19 +01:00
sidekiq_status
sidekiq_versioning Use a dedicated queue for each worker 2017-12-12 17:36:20 +01:00
slash_commands Use StrongMemoize and enable/disable cops properly 2017-11-18 01:01:53 +08:00
sql Use fuzzy search with minimum length of 3 characters where appropriate 2017-11-27 11:29:40 +01:00
storage_check Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
template Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
testing fix bracket styling 2017-11-02 10:20:11 -05:00
utils Use memoization for commits on diffs 2017-12-12 16:28:26 +01:00
view/presenter Present member collection at the controller level 2017-12-12 18:14:58 +01:00
access.rb Clarify wording of protected branch settings for the default branch 2017-11-20 16:09:56 +00:00
action_rate_limiter.rb Address review comments with playing pipeline scheduler 2017-12-12 17:12:45 -08:00
allowable.rb
app_logger.rb
asciidoc.rb current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
auth.rb Merge branch 'dm-fix-registry-with-sudo-token' into 'master' 2017-11-24 09:09:38 +00:00
background_migration.rb
blame.rb
changes_list.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
chat_name_token.rb
ci_access.rb
closing_issue_extractor.rb Allow creating merge requests across forks of a project 2017-10-07 11:46:23 +02:00
color_schemes.rb
config_helper.rb
contributions_calendar.rb
contributor.rb
current_settings.rb Move ModuleWithInstanceVariables to Gitlab namespace 2017-11-22 17:06:57 +08:00
daemon.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
database.rb Merge branch 'mk-add-old-attachments-to-uploads-table' into 'master' 2017-12-07 02:34:58 +00:00
dependency_linker.rb
downtime_check.rb
ee_compat_check.rb Move the "Limit conflicts with EE" doc to "Automatic CE-> EE merge" 2017-12-05 17:49:49 +01:00
emoji.rb Allow simple ivar ||= form. Update accordingly 2017-09-19 01:29:32 +08:00
encoding_helper.rb Fix encoding bugs in Gitlab::Git::User 2017-11-23 10:48:57 +00:00
environment.rb
environment_logger.rb
exclusive_lease.rb Adds exclusive lease to Git garbage collect worker. 2017-09-07 18:52:04 +01:00
fake_application_settings.rb
file_detector.rb Cache issuable template names 2017-10-12 13:26:03 +01:00
file_finder.rb Fix searching for files by path 2017-08-25 10:36:32 +01:00
git.rb add support for the commit reference filter 2017-12-07 09:01:37 -05:00
git_access.rb Allow git pull/push on project redirects 2017-12-08 17:42:43 +00:00
git_access_wiki.rb refactor code to match EE changes 2017-12-07 17:13:40 +01:00
git_logger.rb
git_post_receive.rb
git_ref_validator.rb Prevent branches or tags from starting with invalid characters (e.g. -, .) 2017-10-05 14:56:36 -07:00
gitaly_client.rb Make System.monotonic_time retun seconds represented by float with microsecond precision 2017-12-12 18:12:49 +01:00
github_import.rb Rename fetch_refs to refmap 2017-11-23 16:59:58 +01:00
gl_id.rb
gl_repository.rb
gon_helper.rb Icon Sprite URL is also local even if asset_host is set 2017-11-09 10:38:00 +01:00
gpg.rb Address feedback from last code review 2017-10-05 08:25:27 -05:00
group_hierarchy.rb Reuse base_and_ancestors for ancestors in GroupHierarchy 2017-10-10 16:55:02 +02:00
highlight.rb
i18n.rb Add Dutch as an available language. 2017-09-18 17:13:47 +02:00
identifier.rb Allow git pull/push on project redirects 2017-12-08 17:42:43 +00:00
import_export.rb Remove serialised diff and commit columns 2017-11-28 16:13:40 +00:00
import_formatter.rb
import_sources.rb Replace old GH importer with the parallel importer 2017-11-07 23:25:03 +01:00
incoming_email.rb
issuable_metadata.rb Fail when issuable_meta_data is called on an unlimited collection 2017-11-07 16:26:55 +00:00
issuable_sorter.rb
issuables_count_for_state.rb Re-use issue/MR counts for the pagination system 2017-09-05 11:53:45 +02:00
issues_labels.rb
job_waiter.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
kubernetes.rb Fix broken certificate-authority-data with kubectl >= 1.8.0 2017-10-03 09:10:40 +02:00
lazy.rb Whitelist or fix additional Gitlab/PublicSend cop violations 2017-08-14 12:14:11 -04:00
lfs_token.rb Fix Error 500 when pushing LFS objects with a write deploy key 2017-11-08 16:21:39 +00:00
logger.rb Memoize GitLab logger to reduce open file descriptors 2017-10-24 14:06:23 +03:00
mail_room.rb Decrease Cyclomatic Complexity threshold to 13 2017-09-12 17:02:11 +00:00
markup_helper.rb
metrics.rb
multi_collection_paginator.rb Remove the selects when counting the last page 2017-11-17 16:20:47 +01:00
optimistic_locking.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
other_markup.rb
otp_key_rotator.rb
pages.rb Add GitLab-Pages version to Admin Dashboard 2017-09-07 22:02:57 -05:00
pages_transfer.rb
path_regex.rb Speed up Unicorn specs by using a dummy Rack application instead of GitLab 2017-11-22 19:51:57 +00:00
performance_bar.rb current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
polling_interval.rb current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
popen.rb
project_search_results.rb fix for special charecter in file names 2017-11-30 09:57:58 +00:00
project_template.rb Update template description wording 2017-10-11 08:47:31 -07:00
project_transfer.rb
prometheus_client.rb
protocol_access.rb current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
recaptcha.rb current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
reference_counter.rb Implement /internal/post_receive unified endpoint for PostReceive tasks 2017-08-31 11:31:45 -03:00
reference_extractor.rb Refactor banzai to support referencing from group context 2017-12-06 19:16:22 +01:00
regex.rb Update container repository path reference 2017-11-16 09:31:07 +01:00
repo_path.rb
repository_check_logger.rb
request_context.rb
request_forgery_protection.rb
request_profiler.rb
route_map.rb
routing.rb Don't add a trailing slash in group redirects 2017-11-16 17:13:40 +00:00
search_results.rb Skip projects filter on issues search 2018-01-02 12:07:26 +01:00
seeder.rb Don't disable the Rails mailer when seeding the test environment 2017-12-01 14:01:15 -06:00
sentry.rb Merge branch 'bvl-validate-po-files' into 'master' 2017-09-01 14:30:43 +00:00
shell.rb Import gitlab_projects.rb from gitlab-shell 2017-12-14 16:00:04 +00:00
shell_adapter.rb Memoize GitlabShellAdapter for performance and ease of testing 2017-11-20 23:28:49 -08:00
sherlock.rb
sidekiq_config.rb Use a dedicated queue for each worker 2017-12-12 17:36:20 +01:00
sidekiq_logger.rb
sidekiq_status.rb Simplify check for running job on Redis 2017-10-13 10:17:41 +02:00
sidekiq_throttler.rb Only require sidekiq-limit_fetch when enabled in settings 2017-08-21 12:56:22 +01:00
sidekiq_versioning.rb Use a dedicated queue for each worker 2017-12-12 17:36:20 +01:00
snippet_search_results.rb
ssh_public_key.rb Address review comments 2017-08-30 20:50:44 +01:00
storage_check.rb Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
string_range_marker.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
string_regex_marker.rb
tcp_checker.rb Add a gitlab:tcp_check rake task 2017-12-13 15:53:32 +00:00
themes.rb Allow simple ivar ||= form. Update accordingly 2017-09-19 01:29:32 +08:00
time_tracking_formatter.rb
timeless.rb
untrusted_regexp.rb
update_path_error.rb
upgrader.rb
uploads_transfer.rb
url_blocker.rb Merge branch 'ssrf-protections-round-2' into 'security-10-1' 2017-11-08 20:11:08 -08:00
url_builder.rb
url_sanitizer.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
usage_data.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
user_access.rb
user_activities.rb
utils.rb Backport which from EE 2017-12-01 15:26:40 -08:00
version_info.rb
visibility_level.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
workhorse.rb Remove Ci::Build#artifacts_file? 2017-12-03 12:04:49 +01:00