gitlab-org--gitlab-foss/app/contexts
Boyan Tabakov 01ff084a4d Improved large commit handling.
Previously, only number of changed files mattered. Now, number of lines to render in the diff are also taken into account.

A hard limit is set, above which diffs are not rendered and users are not allowed to override that. This prevents high server
resource usage with huge commits.

Related to #1745, #2259

In addition, handle large commits for MergeRequests and Compare controllers.

Also fixes a bug where diffs are loaded twice, if user goes directly to merge_requests/:id/diffs URL.
2013-09-07 14:44:03 +03:00
..
issues Rewrite issues/mr filtering logic 2013-08-10 20:25:53 +03:00
notes remove notify checkboxes from note forms 2013-03-28 15:39:18 +02:00
projects Allow project path being passed on project creation 2013-08-14 12:44:54 +03:00
base_context.rb Feature: Bulk Issues update 2012-07-28 03:35:43 +03:00
commit_load_context.rb Improved large commit handling. 2013-09-07 14:44:03 +03:00
filter_context.rb Fix filter context. Dont duplicate target project name for MR 2013-08-08 17:29:31 +03:00
merge_requests_load_context.rb Rewrite issues/mr filtering logic 2013-08-10 20:25:53 +03:00
search_context.rb Search: show recent issues/mr first 2013-08-15 11:54:16 +03:00
test_hook_context.rb Fix TestHookContext 2013-02-26 23:04:14 +02:00