gitlab-org--gitlab-foss/spec
Robert Speicher eae5f8aa57 Merge branch 'cache-max-user-access-name' into 'master'
Memoize the maximum access level for the author of notes

Cache the maximum access level for each user in a map in the controller
    
In #19273, we saw that retrieving ProjectTeam#human_max_access for each note takes the bulk of the time when rendering certain issues or merge requests. We observe that most of the comments in an issue are typically done by the same users. This MR memoizes the max access level by user ID.

See merge request !4982
2016-06-29 21:34:46 +00:00
..
config Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
controllers Merge branch 'master' into issue_3359_3 2016-06-29 11:32:38 -03:00
factories Merge remote-tracking branch 'upstream/master' into feature/runner-lock-on-project 2016-06-20 14:04:14 +00:00
features Enable Style/SpaceAfterComma Rubocop cop 2016-06-29 15:23:44 +02:00
finders Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
fixtures optimize png images losslessly using zopflipng 2016-06-29 19:22:15 +08:00
helpers Be explicit which project and user ID are memoized 2016-06-29 13:42:15 -07:00
initializers Fix settings_spec so that it can that run by itself 2016-06-23 22:26:33 -07:00
javascripts Merge branch 'emoji-menu-stick-search' into 'master' 2016-06-27 18:03:08 +00:00
lib Enable Style/SpaceAfterComma Rubocop cop 2016-06-29 15:23:44 +02:00
mailers Fallback to group's owners/masters when a project has none 2016-06-20 12:10:37 +02:00
models Added Bugzilla as external issue tracker option 2016-06-29 06:01:54 -04:00
requests Enable Style/SpaceAfterComma Rubocop cop 2016-06-29 15:23:44 +02:00
routing Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
services Merge branch 'fix-18997' into 'master' 2016-06-27 18:43:12 +00:00
support support cgi style options, such as erb?parent=json 2016-06-27 14:17:49 -07:00
tasks/gitlab Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
views
workers Unify check branch name exist 2016-06-20 21:44:21 +02:00
factories_spec.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
rails_helper.rb
spec_helper.rb Enable Knapsack only in CI environment 2016-06-08 11:43:13 +02:00
teaspoon_env.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00