gitlab-org--gitlab-foss/lib/gitlab
Oswaldo Ferreira f46739191a Adjust insufficient diff hunks being persisted on NoteDiffFile
This currently causes 500's errors when loading the MR page
(Discussion) in a few scenarios.

We were not considering detailed diff headers such as
"--- a/doc/update/mysql_to_postgresql.md\n+++ b/doc/update/mysql_to_postgresql.md"
to crop the diff. In order to address it, we're now using
Gitlab::Diff::Parser, clean the diffs and builds Gitlab::Diff::Line objects
we can iterate and filter on.
2018-06-05 01:02:30 -03:00
..
auth Export assigned issues in iCalendar feed 2018-05-31 14:01:04 +00:00
background_migration Remove Gitlab::BackgroundMigration exxxplicit namespaces from migration classes 2018-05-28 14:50:10 +09:00
badge
bare_repository_import Gitlab::Shell works on shard name, not path 2018-04-25 13:36:22 +02:00
bitbucket_import
cache
checks
ci Reveert build_relations and simply add a line for creating iid 2018-06-02 11:55:42 +09:00
conflict
cross_project_access
cycle_analytics Add "deny disk access" Gitaly feature (tripswitch) 2018-06-01 11:56:29 +00:00
data_builder
database Rails5 Fix arel from 2018-06-02 15:00:51 +02:00
dependency_linker
diff Adjust insufficient diff hunks being persisted on NoteDiffFile 2018-06-05 01:02:30 -03:00
downtime_check
email skip email trim when email is creating new issue 2018-05-22 23:05:51 -05:00
etag_caching
fogbugz_import
gfm
git Add "deny disk access" Gitaly feature (tripswitch) 2018-06-01 11:56:29 +00:00
gitaly_client Add "deny disk access" Gitaly feature (tripswitch) 2018-06-01 11:56:29 +00:00
github_import Backports every CE related change from ee-44542 to CE 2018-05-04 17:33:26 +02:00
gitlab_import Removed API endpoint and specs 2018-05-30 18:23:07 +02:00
google_code_import
gpg
grape_logging Log queue duration for Grape API calls 2018-05-28 13:56:42 -07:00
graphs
hashed_storage refactor to remove duplication 2018-05-28 23:39:36 +02:00
health_checks Add "deny disk access" Gitaly feature (tripswitch) 2018-06-01 11:56:29 +00:00
hook_data
i18n
import_export Take two for MR metrics population background migration 2018-05-30 11:51:29 -03:00
kubernetes Add alpine mirrors while operating on k8s cluster 2018-04-30 15:12:26 +02:00
legacy_github_import Backports every CE related change from ee-44542 to CE 2018-05-04 17:33:26 +02:00
metrics Fix GPM content types for Doorkeeper 2018-05-16 12:53:54 +02:00
middleware move dev server middleware to new namespace 2018-05-01 15:15:10 -05:00
performance_bar
popen
project_authorizations
prometheus
query_limiting Make ActiveRecordSubscriber rails 5 compatible 2018-05-31 15:02:45 +02:00
quick_actions
redis Display and revoke active sessions 2018-05-02 08:08:16 +00:00
request_profiler
sanitizers
serializer Refactor and extract DefaultPaginationStrategy. 2018-05-21 18:02:40 +02:00
sherlock
sidekiq_logging
sidekiq_middleware
sidekiq_status
sidekiq_versioning
slash_commands Backport EE SlashCommand Refactor 2018-06-04 12:42:02 +00:00
sql
storage_check
template
testing
utils
verify
view/presenter
webpack Fix various bugs related to relative_url_root in development 2018-05-29 15:03:14 +02:00
access.rb
action_rate_limiter.rb
allowable.rb
app_logger.rb
asciidoc.rb
auth.rb Introduce Gitlab::Auth.omniauth_setup_providers 2018-06-01 14:30:10 +08:00
background_migration.rb
base_doorkeeper_controller.rb Define custom base controller for Doorkeeper 2018-04-30 11:40:51 +02:00
blame.rb
build_access.rb Allow triggered builds git access 2018-05-11 15:20:11 +02:00
changes_list.rb
chat_name_token.rb
ci_access.rb
closing_issue_extractor.rb
color_schemes.rb
config_helper.rb
contributions_calendar.rb Replace .having with .where in calendar query 2018-05-30 20:33:25 +02:00
contributor.rb
cross_project_access.rb
current_settings.rb Simplify Gitlab::CurrentSettings now that the logic is in CacheableAttributes 2018-05-23 16:14:43 +02:00
daemon.rb
database.rb Memoize Gitlab::Database.version 2018-05-17 21:23:42 +02:00
dependency_linker.rb
downtime_check.rb
ee_compat_check.rb Try to fetch the CE branch in EE because sometimes it has the same name 2018-05-24 19:29:31 +02:00
emoji.rb
encoding_helper.rb
environment.rb
environment_logger.rb
exclusive_lease.rb
fake_application_settings.rb
file_detector.rb Fix Xcode project detection by looking for dirs instead of files 2018-05-22 12:09:53 +02:00
file_finder.rb Add ability to search wiki titles 2018-06-04 11:41:37 +00:00
git.rb
git_access.rb Allow triggered builds git access 2018-05-11 15:20:11 +02:00
git_access_wiki.rb
git_logger.rb
git_post_receive.rb
git_ref_validator.rb
gitaly_client.rb Add "deny disk access" Gitaly feature (tripswitch) 2018-06-01 11:56:29 +00:00
github_import.rb
gl_id.rb
gl_repository.rb
gon_helper.rb Fix various bugs related to relative_url_root in development 2018-05-29 15:03:14 +02:00
gpg.rb
group_hierarchy.rb
highlight.rb
http.rb
i18n.rb
identifier.rb
import_export.rb Cleanup after adding MR diff's commit_count (try 2) 2018-04-25 10:53:37 +02:00
import_formatter.rb Import bitbucket issues that are reported by an anonymous user 2018-05-24 13:28:58 +02:00
import_sources.rb
incoming_email.rb Add anchor for incoming email regex, closes 44989 2018-05-11 14:51:21 -07:00
insecure_key_fingerprint.rb
issuable_metadata.rb
issuable_sorter.rb
issuables_count_for_state.rb
issues_labels.rb
job_waiter.rb
kubernetes.rb
lazy.rb
lfs_token.rb
logger.rb
mail_room.rb
markup_helper.rb
metrics.rb
multi_collection_paginator.rb [Rails5] Fix per_page in lib/gitlab/multi_collection_paginator.rb 2018-05-11 13:36:38 +11:00
omniauth_initializer.rb
optimistic_locking.rb
other_markup.rb
otp_key_rotator.rb
pages.rb
pages_client.rb Add gitlab-pages admin ping rake task 2018-04-27 11:01:54 +00:00
pages_transfer.rb
path_regex.rb
performance_bar.rb
plugin.rb
plugin_logger.rb
polling_interval.rb
popen.rb
profiler.rb
project_search_results.rb Add ability to search wiki titles 2018-06-04 11:41:37 +00:00
project_template.rb Resolve "Reconcile project templates with Auto DevOps" 2018-05-04 09:48:53 +00:00
project_transfer.rb
prometheus_client.rb
protocol_access.rb
proxy_http_connection_adapter.rb
query_limiting.rb
recaptcha.rb
reference_counter.rb
reference_extractor.rb
regex.rb
repo_path.rb Remove Gitlab::RepoPath.strip_storage_path 2018-05-11 13:57:43 +02:00
repository_cache.rb
repository_cache_adapter.rb
repository_check_logger.rb
request_context.rb
request_forgery_protection.rb
request_profiler.rb
route_map.rb
routing.rb
search_results.rb
seeder.rb
sentry.rb
setup_helper.rb
shell.rb Remove old GitLab Shell implementation 2018-05-02 11:54:43 +02:00
shell_adapter.rb
sherlock.rb
sidekiq_config.rb
sidekiq_logger.rb
sidekiq_status.rb
sidekiq_throttler.rb
sidekiq_versioning.rb
snippet_search_results.rb
ssh_public_key.rb
storage_check.rb
string_placeholder_replacer.rb
string_range_marker.rb
string_regex_marker.rb
task_helpers.rb
tcp_checker.rb
temporarily_allow.rb Add "deny disk access" Gitaly feature (tripswitch) 2018-06-01 11:56:29 +00:00
themes.rb
time_tracking_formatter.rb
timeless.rb
untrusted_regexp.rb Simplify untrusted regexp factory method 2018-05-18 10:14:10 +02:00
update_path_error.rb
upgrader.rb
uploads_transfer.rb
url_blocker.rb Add validation to webhook and service URLs to ensure they are not blocked because of SSRF 2018-06-01 11:43:53 +00:00
url_builder.rb
url_sanitizer.rb
usage_data.rb Backports every CE related change from ee-5484 to CE 2018-05-07 11:59:51 +02:00
user_access.rb
user_activities.rb
utils.rb
version_info.rb
visibility_level.rb
wiki_file_finder.rb Add ability to search wiki titles 2018-06-04 11:41:37 +00:00
workhorse.rb Move git archives downloading to Gitaly 2018-05-17 09:31:50 +02:00