Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-30Move :plain option to Highlight classMark Chao
This is to DRY the repeated file size check. Move spec and constants to Highlight
2018-07-09Use stable gitlab-styles and eliminate offensesLin Jen-Shin
2018-05-23Resolve "Web IDE doesn't work for branches with slashes"Tim Zallmann
2018-04-25fixed rubocopPhil Hughes
2018-04-25restore original script_name configPhil Hughes
2018-04-25added helper specPhil Hughes
2018-02-23refactor methods inlineJames Lopez
2018-02-23refactor code based on feedbackJames Lopez
2018-02-23some initial refactoringJames Lopez
2018-01-16Only highlight search results under the highlighting size limitSean McGivern
We should use this limit everywhere, but especially in project search results, where we could be highlighting very long single lines. (Typical examples: minified JavaScript, and JSON data files.)
2017-08-25Prevent new / renamed project from using a repository path that already ↵Gabriel Mazetto
exists on disk There are some redundancies in the validation steps, and that is to preserve current error messages behavior Also few specs have to be changed in order to fix madness in validation logic.
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-05-31Fix Diff#too_large? and specsDouwe Maan
2017-05-30Consistent diff and blob size limit namesDouwe Maan
2017-05-15Rename BlobViewer max_size to overridable_max_size and absolute_max_size to ↵Douwe Maan
max_size
2017-05-13Specify explicitly whether a blob viewer should be loaded asynchronouslyDouwe Maan
2017-05-03Refactor Blob support of external storage in preparation of job artifact blobsDouwe Maan
2017-04-30Use blob viewers for snippetsDouwe Maan
2017-04-27Address feedbackDouwe Maan
2017-04-27Satisfy RubocopDouwe Maan
2017-04-27Add specsDouwe Maan
2017-04-27Fix some specsDouwe Maan
2017-04-06Linking to edit file directlyEric Eastwood
2017-03-15Fix specsDouwe Maan
2017-01-26Use `:empty_project` where possible in helper specsRobert Speicher
2016-08-18edit_blob_link can receive the blob to avoid access to the repositoryPaco Guzman
2016-08-09fixes part1 of files to start using active tensetiagonbotelho
2016-07-30Improve diff performance by eliminating redundant checks for text blobsStan Hu
On a merge request with over 1000 changed files, there were redundant calls to blob_text_viewable?, which incurred about 7% of the time. Improves #14775
2016-07-15use %(...) and %[...] in favor of %<...>http://jneen.net/
2016-07-14remove uses of the nowrap: featurehttp://jneen.net/
2016-07-14rm spec for a deleted methodhttp://jneen.net/
2016-05-07Update SVG sanitizer to conform to SVG 1.1Stan Hu
Use a custom Loofah scrubber since sanitize 2.x transformers are inadequate to handle case-sensitive SVG attributes. sanitize parses documents as HTML instead of XML, which causes all SVG attribute names (e.g. viewBox) to be downcased. * SVG element list: https://www.w3.org/TR/SVG/eltindex.html * SVG attribute list: https://www.w3.org/TR/SVG/attindex.html Closes #14555
2016-01-19Refactor Gitlab::Highlight and fix testsDouwe Maan
2015-12-30New implementation for highlighting diff files. #3945Rubén Dávila
* It is more performant given now we process all the diff file instead of processing line by line. * Multiline comments are highlighted correctly.
2015-12-29Add syntax highlighting to diff view. #3945Rubén Dávila
2015-08-10Fix diff syntax highlightingStan Hu
Refactored HTML parser to avoid duplication of newline parsing. Closes #2235
2015-07-31Fix multi-line syntax highlightingStan Hu
HTML span elements only apply to a single line, and in the case of multi-line comments, the highlighting was dropped as a result. Ensure that each line has the proper styling to fix this. Closes #1577
2015-05-28Fix git blame syntax highlighting when different commits break up linesStan Hu
Closes #1521