gitlab-org--gitlab-foss/app/helpers
Douwe Maan f0b446e555 Merge branch '19820-safer-diffs' into 'master'
Collapsed diffs lines/size don't accumulate to overflow diffs.

## What does this MR do?

Reduce the number of lines that we highlight on big diffs to try to reduce the degradation introduced by  !4990 as you can see on the issue description #19820 .

We collapse any files after the diff is over the number of safe files (100), or over the safe lines (500) or over the safe number of bytes (5KB x 100 files).

We still need to bump the gitlab_git and point this branch to the new gitlab_git version.

## What are the relevant issue numbers?

Closes #19820 
Closes #19885

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- ~~[ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~
- ~~[ ] API support added~~
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)


See merge request !5306
2016-07-18 21:28:24 +00:00
..
appearances_helper.rb Add new stopwatch and commit icons; rename custom icon helper; fix commit pipeline layout 2016-07-12 14:52:59 -05:00
application_helper.rb Style diff and blob file headers the same way 2016-07-06 18:50:59 -04:00
application_settings_helper.rb Use keyword arguments for boolean values and use span instead of a for clone "button" 2016-07-05 16:54:22 -05:00
auth_helper.rb
blob_helper.rb use %(...) and %[...] in favor of %<...> 2016-07-14 22:43:49 -07:00
branches_helper.rb Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00
broadcast_messages_helper.rb
button_helper.rb Display tooltip for "Copy to Clipboard" button (!5164) 2016-07-11 14:20:48 +02:00
ci_status_helper.rb Change running status color to blue; update icon to spinner 2016-07-12 16:34:00 -05:00
commits_helper.rb
compare_helper.rb
dashboard_helper.rb
diff_helper.rb Collapsed diffs lines/size don't accumulate to overflow diffs. 2016-07-18 14:43:28 -06:00
dropdowns_helper.rb Revert "Revert "Merge branch 'issue_3946' into 'master' "" 2016-07-07 23:48:02 -04:00
emails_helper.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
events_helper.rb
explore_helper.rb
external_wiki_helper.rb
form_helper.rb
git_helper.rb
gitlab_markdown_helper.rb Move pre_process into render_result 2016-06-21 17:39:01 +02:00
gitlab_routing_helper.rb
graph_helper.rb
groups_helper.rb
icons_helper.rb
import_helper.rb
issuables_helper.rb Revert "Merge branch 'gl-dropdown-issuable-form' into 'master'" 2016-07-15 23:46:29 +00:00
issues_helper.rb Moved merge request button visibility out of issue_helper 2016-07-11 08:51:18 +01:00
javascript_helper.rb Revert Subresource Integrity pending a fix for Firefox's incorrect hashing implementation. 2016-06-27 07:47:33 -06:00
kerberos_spnego_helper.rb Groundwork for Kerberos SPNEGO (EE feature) 2016-07-01 11:46:56 +02:00
labels_helper.rb Fixed URL on label button when filtering 2016-06-24 11:31:36 +01:00
members_helper.rb New :request_access ability to replace a ugly helper 2016-07-05 14:35:26 +02:00
merge_requests_helper.rb Merge branch 'mr-close-btn' into 'master' 2016-07-11 18:00:55 +00:00
milestones_helper.rb
namespaces_helper.rb
nav_helper.rb
notes_helper.rb Do not set @use_legacy_diff_notes 2016-07-07 23:44:04 +00:00
notifications_helper.rb merge master into issue_3359_3 2016-06-29 11:04:18 -03:00
page_layout_helper.rb Enable Style/SpaceAfterComma Rubocop cop 2016-06-29 15:23:44 +02:00
preferences_helper.rb
projects_helper.rb Merge branch 'top-links-label' into 'master' 2016-07-14 13:50:38 +00:00
runners_helper.rb
search_helper.rb Update permissons links to new page 2016-07-14 11:04:03 +01:00
selects_helper.rb
snippets_helper.rb
sorting_helper.rb
submodule_helper.rb
tab_helper.rb
tags_helper.rb
time_helper.rb Change 3600 to 1.hour 2016-07-07 16:48:10 -05:00
todos_helper.rb Merge branch 'approval-required-todo' into 'master' 2016-07-12 19:50:33 +00:00
tree_helper.rb
triggers_helper.rb
u2f_helper.rb Load Javascript U2F library selectively. 2016-07-14 08:19:09 +05:30
version_check_helper.rb
visibility_level_helper.rb
workhorse_helper.rb Merge branch 'send-entry-via-Gitlab-Workhorse-Send-Data' into 'master' 2016-07-11 16:18:37 +00:00