Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix specs | Douwe Maan | 2017-04-09 | 1 | -0/+2 |
| | |||||
* | Correctly display multiple separate discussions on the same diff line | Douwe Maan | 2017-04-05 | 1 | -4/+4 |
| | |||||
* | Show 'too many changes' message for merge requestissue_25017 | Felipe Artur | 2017-01-12 | 1 | -0/+6 |
| | |||||
* | Merge branch 'html-safe-diff-line-content' into 'security' | Robert Speicher | 2016-12-08 | 1 | -1/+3 |
| | | | | | | | | | | 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 | ||||
* | Remove an extra leading space from diff content | Hiroyuki Sato | 2016-11-04 | 1 | -4/+3 |
| | |||||
* | Avoid commit lookup on diff_helperexplicit-arguments-on-diff_file_html_data | Paco Guzman | 2016-08-10 | 1 | -3/+2 |
| | |||||
* | Add unfold links for Side-by-Side view | Tim Masliuchenko | 2016-08-04 | 1 | -14/+25 |
| | |||||
* | switch from diff_file_collection to diffs20034-safe-diffs | Paco Guzman | 2016-08-03 | 1 | -4/+1 |
| | | | | So we have raw_diffs too | ||||
* | Move to Gitlab::Diff::FileCollection | Paco Guzman | 2016-08-03 | 1 | -1/+1 |
| | | | Instead calling diff_collection.count use diff_collection.size which is cache on the diff_collection | ||||
* | Cache highlighted diff lines for merge requests | Paco Guzman | 2016-08-03 | 1 | -6/+5 |
| | | | | Introducing the concept of SafeDiffs which relates diffs with UI highlighting. | ||||
* | Merge branch 'rubocop/enable-access-modifiers-cops' into 'master' | Robert Speicher | 2016-07-29 | 1 | -2/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable Rubocop cops that check access modifiers ## What does this MR do? This MR enables Rubocop cops that detect methods that should be restricted but are the part of public API because of access modifiers used improperly. This also fixes existing offenses. ## Why was this MR needed? Some method in our codebase are public instead of being private because it is sometimes difficult to get it right without static analysis. ## What are the relevant issue numbers? See #17478 Closes #17372 See merge request !5014 | ||||
| * | Fix some useless access modifiers in the code | Grzegorz Bizon | 2016-07-19 | 1 | -2/+0 |
| | | |||||
* | | Add Discussion model to represent MR/diff discussiondiscussion-model | Douwe Maan | 2016-07-20 | 1 | -7/+9 |
|/ | |||||
* | Collapsed diffs lines/size don't accumulate to overflow diffs.19820-safer-diffs | Paco Guzman | 2016-07-18 | 1 | -4/+5 |
| | |||||
* | Merge branch 'master' into faster-diffsfaster-diffs | Jacob Schatz | 2016-07-11 | 1 | -9/+11 |
|\ | |||||
| * | Support renames in diff_for_path actions | Sean McGivern | 2016-07-11 | 1 | -2/+6 |
| | | |||||
| * | Make expand_all param more explicit | Sean McGivern | 2016-07-08 | 1 | -2/+2 |
| | | |||||
| * | DRY up diff_for_path actions | Sean McGivern | 2016-07-08 | 1 | -21/+3 |
| | | | | | | | | | | | | 1. Move render method to a concern, not a helper. 2. Let DiffHelper#diff_options automatically add the path option. 3. Move more instance var definitions to before filters. | ||||
| * | Allow expanding all diffs at once | Sean McGivern | 2016-07-08 | 1 | -0/+4 |
| | | |||||
| * | Ensure only renderable text diffs are collapsed | Sean McGivern | 2016-07-08 | 1 | -0/+1 |
| | | | | | | | | | | Other diffs (those that are too large to render anyway, image diffs, diffs suppressed by .gitattributes) should be rendered immediately. | ||||
| * | Disable overflow messages | Sean McGivern | 2016-07-08 | 1 | -9/+1 |
| | | | | | | | | | | With the option to expand and collapse individual diffs, these aren't needed any more. | ||||
| * | Collapse large diffs by default | Sean McGivern | 2016-07-08 | 1 | -0/+19 |
| | | | | | | | | | | When rendering a list of diff files, skip those where the diff is over 10 KB and provide an endpoint to render individually instead. | ||||
* | | Merge branch 'master' into faster-diffs | Douwe Maan | 2016-07-07 | 1 | -8/+7 |
|\ \ | |/ | | | | | | | | | | | | | | | # 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 | ||||
| * | Remove duplication, unused methods, and some other style things | Douwe Maan | 2016-07-06 | 1 | -1/+3 |
| | | |||||
| * | Extract parts of LegacyDiffNote into DiffOnNote concern and move part of ↵ | Douwe Maan | 2016-07-06 | 1 | -4/+0 |
| | | | | | | | | responsibility to other classes | ||||
| * | Add DiffFile#blob and #old_blob | Douwe Maan | 2016-07-06 | 1 | -2/+3 |
| | | |||||
| * | Represent DiffRefs as proper class instead of tuple array | Douwe Maan | 2016-07-06 | 1 | -2/+2 |
| | | |||||
* | | fix up tests | Luke "Jared" Bennett | 2016-07-06 | 1 | -1/+1 |
|/ | | | | | | Added more exceptions Added handling inline view type | ||||
* | added whitespace toggle to diffs page and set it to return the project ↵ | Luke "Jared" Bennett | 2016-06-10 | 1 | -0/+5 |
| | | | | | | | | compare path with the selected whitespace params Updated CHANGELOG Moved CHANGELOG entry | ||||
* | Enable Style/RedundantParentheses rubocop coprubocop/enable-redundant-parentheses-cop | Grzegorz Bizon | 2016-05-30 | 1 | -2/+2 |
| | | | | See #17478 | ||||
* | Create DiffFilter and change SystemNoteService#change_title to use ↵ | Adam Butler | 2016-05-18 | 1 | -2/+2 |
| | | | | Gitlab::Diff::InlineDiff | ||||
* | Extract LegacyDiffNote out of Note | Douwe Maan | 2016-05-13 | 1 | -13/+9 |
| | |||||
* | Allow to pass custom classes to button | Alfredo Sumaran | 2016-04-26 | 1 | -6/+9 |
| | |||||
* | Hide button on mobile | Alfredo Sumaran | 2016-04-26 | 1 | -1/+1 |
| | |||||
* | Syntax and code improvements | Alfredo Sumaran | 2016-04-26 | 1 | -11/+13 |
| | |||||
* | Rename method | Alfredo Sumaran | 2016-04-26 | 1 | -4/+4 |
| | |||||
* | Use new method hide_whitespaces? | Alfredo Sumaran | 2016-04-26 | 1 | -1/+1 |
| | |||||
* | Add Hide/show whitespace changes button on diff and commit view | Alfredo Sumaran | 2016-04-26 | 1 | -0/+22 |
| | |||||
* | Always read diff_view setting from the cookie | Robert Speicher | 2016-04-14 | 1 | -1/+7 |
| | | | | | | | | | | | | | | 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 | ||||
* | Syntax & style updates14176-diff-paste-data | Annabel Dunstone | 2016-04-14 | 1 | -3/+1 |
| | |||||
* | Add line type conditional to diff line helper | Annabel Dunstone | 2016-04-14 | 1 | -2/+4 |
| | |||||
* | Copying and pasting doesn't grab line numbers or +/- | Annabel Dunstone | 2016-04-14 | 1 | -0/+1 |
| | |||||
* | Use Gitlab::Git::DiffCollections | Jacob Vosmaer | 2016-03-03 | 1 | -27/+7 |
| | |||||
* | Fixes syntax error | Alfredo Sumaran | 2016-02-19 | 1 | -1/+1 |
| | |||||
* | Make diff view name getter less error prone | Alfredo Sumaran | 2016-02-19 | 1 | -1/+1 |
| | |||||
* | Sort line notes used in parallel diff by created_at | Rémy Coutable | 2016-02-17 | 1 | -1/+1 |
| | | | | Fixes #13464. | ||||
* | Fewer html_safesrename-inline-diff | Douwe Maan | 2016-01-30 | 1 | -2/+2 |
| | |||||
* | Mark inline difference between old and new paths when a file is renamed | Douwe Maan | 2016-01-29 | 1 | -1/+10 |
| | |||||
* | Save and use actual diff base commit for MR diff highlighting | Douwe Maan | 2016-01-20 | 1 | -2/+1 |
| | |||||
* | Restore helper | Douwe Maan | 2016-01-20 | 1 | -0/+4 |
| |