gitlab-org--gitlab-foss/app/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
..
admin Merge branch 'feature-session-expire-seconds-ui' into 'master' 2015-06-12 13:50:40 +00:00
concerns Refactor SessionsController to use a controller concern 2015-05-14 14:24:05 -04:00
dashboard Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
explore Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
groups User should be able to leave group. If not - show him proper message 2015-05-29 14:12:30 +02:00
import Show incompatible projects in Google Code import status 2015-04-30 06:56:49 -07:00
oauth Add option to disallow users from registering any application to use GitLab as an OAuth provider 2015-05-29 13:29:16 +02:00
profiles Use User#two_factor_enabled instead of otp_required_for_login 2015-06-19 15:14:37 -04:00
projects Merge branch 'rs-dev-issue-2355' into 'master' 2015-06-22 09:48:49 +00:00
application_controller.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.rb Add autocomplete controller 2015-03-26 19:06:19 -07:00
confirmations_controller.rb Add invites controller. 2015-04-14 12:07:33 +02:00
dashboard_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
groups_controller.rb Wrap group removal into service 2015-06-03 14:07:20 +02:00
help_controller.rb Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
invites_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
namespaces_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
omniauth_callbacks_controller.rb Add "Remember me" checkbox to LDAP signin form. 2015-06-05 14:37:01 +02:00
passwords_controller.rb Use User#two_factor_enabled instead of otp_required_for_login 2015-06-19 15:14:37 -04:00
profiles_controller.rb Remove js handler from Profiles#update 2015-06-13 17:58:16 -04:00
projects_controller.rb Show warning when a comment will add 10 or more people to the discussion. 2015-06-05 12:07:13 +02:00
registrations_controller.rb Fix current user removal 2015-05-28 12:53:04 +02:00
root_controller.rb Refactor RootController 2015-06-13 17:59:13 -04:00
search_controller.rb Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
sessions_controller.rb Use User#two_factor_enabled instead of otp_required_for_login 2015-06-19 15:14:37 -04:00
snippets_controller.rb Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
uploads_controller.rb Don't symbolize params. 2015-05-11 11:55:02 +02:00
users_controller.rb Fix title on user page. 2015-05-01 11:33:54 +02:00