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 Add a U2fRegistrations table/model. 2016-06-06 12:50:31 +05:30
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 Allow limited Markdown in Broadcast Messages 2016-02-06 14:30:07 -05:00
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 Merge branch 'commits-ui' into 'master' 2016-06-15 20:24:13 +00:00
compare_helper.rb Move helpers back to original directory 2015-09-09 14:37:34 +02:00
dashboard_helper.rb Move helpers back to original directory 2015-09-09 14:37:34 +02:00
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 Remove event_to_atom helper 2016-05-23 12:37:40 -04:00
explore_helper.rb Make projects sort dropdown shared so it can be reused for other pages 2016-03-04 19:26:10 +01:00
external_wiki_helper.rb Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
form_helper.rb Standardize the way we check for and display form errors 2016-04-04 21:37:07 -04:00
git_helper.rb Move helpers back to original directory 2015-09-09 14:37:34 +02:00
gitlab_markdown_helper.rb Move pre_process into render_result 2016-06-21 17:39:01 +02:00
gitlab_routing_helper.rb Merge branch 'environments-and-deployments' into 'master' 2016-06-15 13:48:09 +00:00
graph_helper.rb Migrate CI::Project to Project 2015-12-11 18:02:09 +01:00
groups_helper.rb Add request access for groups 2016-06-14 13:07:26 +02:00
icons_helper.rb audit log UI update 2016-03-02 17:06:01 +00:00
import_helper.rb Fix GitHub project's link on import page when provider has a custom URL 2016-04-19 13:21:30 -03:00
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 Fixes for MR comments. 2016-06-09 00:04:46 +03:00
namespaces_helper.rb hide help block when user is creating a new project inside a group 2016-04-12 14:41:34 +01:00
nav_helper.rb Clicking body closes nav 2016-06-15 18:33:18 +01:00
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 Implementing 'Groups View' and 'TODOs View' as options for dashboard preferences. 2016-03-24 19:59:54 +01:00
projects_helper.rb Merge branch 'top-links-label' into 'master' 2016-07-14 13:50:38 +00:00
runners_helper.rb Migrate CI::Project to Project 2015-12-11 18:02:09 +01:00
search_helper.rb Update permissons links to new page 2016-07-14 11:04:03 +01:00
selects_helper.rb Codestyle: make sure we have space around operators 2016-05-13 04:46:56 -03:00
snippets_helper.rb Remove Snippet#expires_at 2016-03-05 18:12:17 -05:00
sorting_helper.rb Sort by label priority 2016-06-06 11:59:49 -05:00
submodule_helper.rb Move helpers back to original directory 2015-09-09 14:37:34 +02:00
tab_helper.rb Use start_with? instead of regex 2016-05-24 00:23:23 +02:00
tags_helper.rb Move helpers back to original directory 2015-09-09 14:37:34 +02:00
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 Add support to cherry-pick any commit 2016-04-18 15:39:07 +08:00
triggers_helper.rb Reimplement Trigger API 2015-12-11 18:02:09 +01:00
u2f_helper.rb Load Javascript U2F library selectively. 2016-07-14 08:19:09 +05:30
version_check_helper.rb Move the version_check_enabled check from view to helper 2015-09-23 16:28:51 -04:00
visibility_level_helper.rb Address feedback 2016-03-22 00:09:20 +01:00
workhorse_helper.rb Merge branch 'send-entry-via-Gitlab-Workhorse-Send-Data' into 'master' 2016-07-11 16:18:37 +00:00