gitlab-org--gitlab-foss/app/controllers/projects
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
..
application_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
blame_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
blob_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
branches_controller.rb Refactor recent branches page 2013-08-05 17:59:58 +03:00
commit_controller.rb Improved large commit handling. 2013-09-07 14:44:03 +03:00
commits_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
compare_controller.rb Improved large commit handling. 2013-09-07 14:44:03 +03:00
deploy_keys_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
edit_tree_controller.rb Fix edit files 2013-08-05 16:55:15 +03:00
graphs_controller.rb Cache graph log 2013-06-25 13:55:03 +03:00
hooks_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
issues_controller.rb Add redirect from Issue#id to Issue#iid 2013-08-26 14:15:21 +03:00
labels_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
merge_requests_controller.rb Improved large commit handling. 2013-09-07 14:44:03 +03:00
milestones_controller.rb Look for milestone by iid in milestone controller 2013-08-21 12:22:18 +03:00
network_controller.rb Render not found when failing to look for a commit 2013-08-21 17:53:51 +09:00
notes_controller.rb Merge branch 'master' into 6-0-dev 2013-07-02 11:47:09 +03:00
protected_branches_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
raw_controller.rb Dont allow html render for RAW view 2013-09-03 20:55:01 +03:00
refs_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
repositories_controller.rb Refactor recent branches page 2013-08-05 17:59:58 +03:00
services_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
snippets_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
tags_controller.rb create corresponding events when create branch/tag with UI 2013-07-17 15:11:03 +03:00
team_members_controller.rb Fix typos 2013-07-29 12:47:06 +02:00
tree_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
walls_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00
wikis_controller.rb Move projects controllers/views in Projects module 2013-06-23 19:47:22 +03:00