gitlab-org--gitlab-foss/spec
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
..
contexts Fix filter context. Dont duplicate target project name for MR 2013-08-08 17:29:31 +03:00
controllers Fixing tests after adding iid for issues/mr 2013-08-20 16:56:05 +03:00
factories Reannotate 2013-08-21 12:34:02 +03:00
features Fix user remove tests. Remove user even if he has projects 2013-09-04 16:20:40 +03:00
fixtures Ability to edit comments 2013-07-01 10:48:02 +01:00
helpers Add test and docs for markdown tables 2013-08-26 15:07:07 +03:00
javascripts Contributors graphs feature for GitLab 2013-06-05 16:51:48 +08:00
lib Rewrite OAuth specs 2013-09-04 00:53:13 +03:00
mailers Fix mailer tests 2013-08-26 20:58:34 +03:00
models Link issues from comments and automatically close them 2013-08-25 18:58:41 -04:00
observers Link issues from comments and automatically close them 2013-08-25 18:58:41 -04:00
requests/api Fixes for @randx 2013-09-05 10:41:57 -04:00
routing Remove old specs 2013-08-27 22:00:41 +03:00
services fix tests 2013-08-28 00:04:04 +03:00
support Improved large commit handling. 2013-09-07 14:44:03 +03:00
tasks/gitlab Fix typos 2013-07-29 12:47:06 +02:00
workers fixed test using repo with commits but old factory 2013-04-01 19:06:47 +03:00
factories.rb Style changes from review with @randx 2013-07-17 22:48:03 -04:00
factories_spec.rb Style changes from review with @randx 2013-07-17 22:48:03 -04:00
seed_project.tar.gz Rspec test repo replaced.\nMerge Requests improved 2012-03-13 23:54:49 +02:00
spec_helper.rb Merge Request on forked projects 2013-07-17 22:41:30 -04:00