gitlab-ce/lib
Yorick Peterse fce675d7fc
Eager load project relations in IssueParser
By eager loading these associations we can greatly cut down the number
of SQL queries executed when processing documents with lots of
references, especially in cases where there are references belonging to
the same project.

Since these associations are so specific to the reference parsing
process and the permissions checking process that follows it I opted to
include them directly in IssueParser instead of using something like a
scope. Once we have a need for it we can move this code to a scope or
method.
2016-06-15 15:30:34 +02:00
..
api Merge branch 'master' into 13948-access-request-to-projects-and-groups 2016-06-14 16:23:16 +02:00
assets
backup Only create the backup directory if it is local 2016-06-10 10:17:54 -07:00
banzai Eager load project relations in IssueParser 2016-06-15 15:30:34 +02:00
ci Merge remote-tracking branch 'origin/master' into artifacts-expire-date 2016-06-14 14:49:59 +02:00
container_registry Provide full test coverage to lib/container_registry API implementation 2016-05-17 13:20:11 -05:00
gitlab Random selection now also works for MySQL 2016-06-15 12:10:41 +02:00
json_web_token Rename JWT to JSONWebToken 2016-05-14 18:23:31 -05:00
omni_auth
rouge/formatters Remove custom Lexer. #3945 [ci skip] 2016-01-08 15:20:48 -05:00
support Add note about port needed in NGINX config 2016-05-22 19:20:28 -05:00
tasks Properly quote table name in Rake task for MySQL and PostgreSQL compatibility 2016-06-09 15:06:19 -07:00
banzai.rb Add a PreProcessPipeline 2016-03-02 22:19:36 -05:00
disable_email_interceptor.rb
event_filter.rb Add leading comment space cop 2016-05-31 19:33:46 -03:00
extracts_path.rb
file_size_validator.rb Get rid of more requires, which causes warnings when code is reloaded 2016-04-19 11:48:10 +02:00
file_streamer.rb
gitlab.rb Fix a few places where autoloading would fail 2016-05-10 11:51:19 +02:00
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb