gitlab-org--gitlab-foss/spec/controllers
Dmitriy Zaporozhets 29b6d465a7 Merge branch 'rs-dev-issue-2355' into 'master'
MergeRequest#show performance improvements

This is a first pass on improving the performance of the `MergeRequests#show` page. Notable changes:

- The "Commits" tab is loaded lazily, so the initial page load should be much faster for MRs with many commits.
- Relative timestamps via `timeago` are only initialized once per load instead of `O(n^2)`. This greatly improves frontend rendering times for a large number of commits.
- Refactored `User.find_for_commit` to use a single ARel-generated SQL query instead of the old method which resulted in one query, and could result in up to three.

See merge request !838
2015-06-22 09:48:49 +00:00
..
groups Fix bug where avatar filenames were not actually deleted from the database during removal. 2015-05-07 10:00:35 -07:00
import Show incompatible projects in Google Code import status 2015-04-30 06:56:49 -07:00
profiles Use User#two_factor_enabled instead of otp_required_for_login 2015-06-19 15:14:37 -04:00
projects Load the Merge Request > Commits tab lazily 2015-06-17 16:59:51 -04:00
application_controller_spec.rb Fix 403 Access Denied error messages when accessing Labels section in a project that has MRs disabled but issues enabled 2015-06-18 03:15:05 -07:00
autocomplete_controller_spec.rb Change foo.should syntax to expect(foo).to in specs 2015-06-13 18:37:30 -04:00
blob_controller_spec.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
branches_controller_spec.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
commit_controller_spec.rb Use project.commit convenience method. 2015-04-24 12:29:36 +02:00
commits_controller_spec.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
help_controller_spec.rb Re-fix image rendering for help pages 2015-04-15 12:45:31 -04:00
namespaces_controller_spec.rb Add tests. 2015-03-27 10:27:13 +01:00
profile_keys_controller_spec.rb Fix /:username.keys response content type 2014-03-20 19:09:14 +04:00
projects_controller_spec.rb Render go-import meta tag for private repos. 2015-03-03 11:22:30 +01:00
root_controller_spec.rb Add RootController 2015-06-13 17:59:11 -04:00
tree_controller_spec.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
uploads_controller_spec.rb Reject access to group/project avatar if the user doesn't have access. 2015-03-10 17:13:02 +01:00
users_controller_spec.rb Fix user controller specs 2015-03-22 11:14:42 -07:00