gitlab-org--gitlab-foss/lib/gitlab
Robert Speicher fbd75c35fd Merge branch 'feature.rouge-20' into 'master'
Upgrade to Rouge 2.0

## What does this MR do?

This MR is a refactor of the HTMLGitlab formatter. The original was copy-pasted from the legacy HTML formatter and adapted to suit our needs. In particular, this MR:

* Strips dead code and unused options
* Factors out the "wrapping" into the places that care about it - Bonzai and the view helpers
* Uses the Rouge 2.0 `token_lines` method to split tokens into lines, removing the custom code we used to do the same
* Uses the now-public `span` method instead of re-implementing it ourselves
* Removes options to not split into lines - the places where this feature wasn't being used are now using the plain `Formatters::HTML` instead of this class

See merge request !4691
2016-07-15 20:15:30 +00:00
..
auth
backend Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
badge
bitbucket_import
ci Add minor improvements in readability in CI config 2016-07-04 18:36:06 +02:00
database Disable statement timeout outside of transaction and during adding concurrent index 2016-07-14 18:50:46 -07:00
diff Merge branch 'better-parallel-diff' into 'master' 2016-07-13 18:10:01 +00:00
email Allow reply-by-email with diff notes 2016-07-06 18:51:00 -04:00
fogbugz_import
gfm
git Merge branch '18627-wildcard-branch-protection' into 'master' 2016-07-07 22:37:30 +00:00
github_import Memoize response from `has_rate_limit?` to avoid extra API call 2016-07-12 12:14:17 -03:00
gitlab_import fixed similar issue with gitlab.com importer because why not! 2016-07-14 17:06:48 +02:00
gitorious_import
google_code_import
graphs
import_export Merge branch 'fix/project-export-filename' into 'master' 2016-07-15 19:21:35 +00:00
ldap
lfs Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
markdown
metrics RailsCache metrics now includes fetch_hit/fetch_miss and read_hit/read_miss info. 2016-07-05 12:28:06 +02:00
middleware
o_auth Merge branch 'master' into dev-master 2016-07-02 22:58:21 +02:00
saml Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
sanitizers Refactored SVG sanitizer 2016-06-12 21:05:58 -04:00
sherlock
sidekiq_middleware even more debug 2016-07-06 10:29:31 +02:00
sql
template fixup! override content method 2016-06-20 14:48:28 -05:00
access.rb Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
akismet_helper.rb
app_logger.rb
asciidoc.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
auth.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
award_emoji.rb Fix emoji paths in relative root configurations 2016-07-01 09:10:12 -07:00
bitbucket_import.rb
blame.rb add custom highlighting via .gitattributes 2016-06-27 14:17:49 -07:00
build_data_builder.rb
closing_issue_extractor.rb
color_schemes.rb
config_helper.rb
contributions_calendar.rb
contributor.rb
current_settings.rb Added setting to set new users by default as external 2016-07-07 19:21:18 +02:00
database.rb Fix RangeError exceptions when referring to issues or merge requests outside of max database values 2016-06-18 13:07:38 -07:00
devise_failure.rb
emoji.rb Add emoji.rb in lib/gitlab instead of using the gitlab_emoji gem. 2016-06-29 14:53:09 -06:00
exclusive_lease.rb
force_push_check.rb Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
git.rb
git_access.rb Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
git_access_status.rb
git_access_wiki.rb Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
git_logger.rb
git_post_receive.rb
git_ref_validator.rb
gitorious_import.rb
gl_id.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
gon_helper.rb Unused got variable with very bad performance 2016-06-28 17:01:37 +02:00
highlight.rb use the proper variable names o_O 2016-07-14 12:21:22 -07:00
identifier.rb
import_export.rb add project name and namespace to filename on project export 2016-07-15 12:55:28 +02:00
import_formatter.rb
import_sources.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
incoming_email.rb
issues_labels.rb
key_fingerprint.rb Enable Style/UnneededCapitalW Rubocop cop 2016-06-30 13:31:52 +02:00
lazy.rb
logger.rb
markup_helper.rb
metrics.rb
note_data_builder.rb
other_markup.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
popen.rb
production_logger.rb
project_search_results.rb
protocol_access.rb Default Git access protocol to `web` 2016-07-05 16:54:22 -05:00
push_data_builder.rb
recaptcha.rb
redis.rb
reference_extractor.rb
regex.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
repository_check_logger.rb
routing.rb
search_results.rb
seeder.rb
sherlock.rb
sidekiq_logger.rb
snippet_search_results.rb
themes.rb
timeless.rb Add Timeless helper module to prevent updated_at from being updated 2016-07-06 18:50:58 -04:00
upgrader.rb
uploads_transfer.rb
url_builder.rb
url_sanitizer.rb spec and fix for sanitize method 2016-07-11 09:01:09 +02:00
user_access.rb Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
utils.rb
version_info.rb
visibility_level.rb
workhorse.rb Merge branch 'send-entry-via-Gitlab-Workhorse-Send-Data' into 'master' 2016-07-11 16:18:37 +00:00