Commit Graph

6 Commits

Author SHA1 Message Date
Alexis Reigel a8818bab76
add users search results to group scoped search 2019-03-14 18:16:03 +01:00
Douglas Barbosa Alexandre 01d8c1f6f0
Whitelist none method from ActiveRecord::Querying 2018-10-31 15:46:36 -03:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
gfyoung 0cf45debb4 Enable more frozen string in app/services/**/*.rb
Partially addresses #47424.
2018-07-18 14:07:50 -07:00
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
Nick Thomas ab529cddac Refactor group search out of global search 2017-04-18 15:41:17 +01:00