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
2017-02-02Active tense test coverageValery Sizov
Ports changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/642 back into CE
2016-12-09Merge branch 'html-safe-diff-line-content' into 'security' Robert Speicher
Don't accidentally mark unsafe diff lines as HTML safe Fixes potential XSS issue when a legacy diff note is created on a merge request whose diff contained HTML See https://gitlab.com/gitlab-org/gitlab-ce/issues/25249 See merge request !2040
2016-11-04Remove an extra leading space from diff contentHiroyuki Sato
2016-08-09adds second batch of tests changed to active tensetiagonbotelho
2016-08-09fixes part1 of files to start using active tensetiagonbotelho
2016-08-04Add unfold links for Side-by-Side viewTim Masliuchenko
2016-08-03switch from diff_file_collection to diffsPaco Guzman
So we have raw_diffs too
2016-07-18Collapsed diffs lines/size don't accumulate to overflow diffs.Paco Guzman
2016-07-12Merge branch 'master' into faster-diffsJacob Schatz
2016-07-08Disable overflow messagesSean McGivern
With the option to expand and collapse individual diffs, these aren't needed any more.
2016-07-08Merge branch 'master' into faster-diffsDouwe Maan
# Conflicts: # app/helpers/notes_helper.rb # app/views/projects/diffs/_line.html.haml # app/views/projects/diffs/_parallel_view.html.haml # app/views/projects/diffs/_text_file.html.haml # features/steps/shared/diff_note.rb
2016-07-07Represent DiffRefs as proper class instead of tuple arrayDouwe Maan
2016-07-06fix up testsLuke "Jared" Bennett
Added more exceptions Added handling inline view type
2016-05-18Create DiffFilter and change SystemNoteService#change_title to use ↵Adam Butler
Gitlab::Diff::InlineDiff
2016-04-15Always read diff_view setting from the cookieRobert Speicher
Prior, when the user had their view set to "parallel" and then visited a merge request's changes tab _without_ passing the `view` parameter via query string, the view would be parallel but the `Notes` class was always instantiated with the default value from `diff_view` ("inline"), resulting in broken markup when the form to add a line note was dynamically inserted. The cookie is set whenever the view is changed, so this value should always be up-to-date. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14557
2016-03-03Use Gitlab::Git::DiffCollectionsJacob Vosmaer
2016-01-30Fix specs and add a new oneDouwe Maan
2016-01-20Move parallel diff logic to separate classDouwe Maan
2016-01-15More refactoring from last code review. #3945Rubén Dávila
* Use commit objects instead of IDs when generating diffs * Use proper references when generating MR's source and target * Update broken specs
2016-01-09Fix broken specs. #3945Rubén Dávila
2016-01-09Fix broken specs. #3945Rubén Dávila
2015-12-31Fix broken spec and small refactor. #3945Rubén Dávila
2015-06-22Update mock and stub syntax for specsRobert Speicher
2015-05-21Disabled expansion of top/bottom blobs for new file diffsAlex Connor
2015-05-05Improve handling of large diffsAlex Lossent
Diffs with a large number of changed lines time out (504 HTTP error) or generate a HTML page that's so heavy web browsers struggle with it. https://github.com/gitlabhq/gitlabhq/pull/5014 introduced limits on commit line count so that only a safe portion is rendered. This was later undone by code refactoring in be5b6db8, e0eb4803 and c741fcab. This patch re-introduces a safe limit on number of lines.
2015-04-24Use project.commit convenience method.Douwe Maan
2015-02-12Even more hound fixesJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-12Updated rspec to rspec 3.x syntaxJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2014-09-12Fix diff_helper spec.Marin Jankovski
2014-09-09Add diff_helper spec.Marin Jankovski