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
2019-02-06Correct file-header spacing on compare pageSam Bigelow
Use special classes when is_compare, similar to is_commit. Default expectation is diff is being viewed in MR
2018-11-27Fixed UI bugs with sticky diff headerPhil Hughes
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54503
2018-11-20Externalize strings from `/app/views/projects/diffs`George Tsiolis
2018-05-25Fix hide whitespace changes buttonClement Ho
2018-05-10Rename btn-secondary to btn-defaultAnnabel Dunstone Gray
2018-05-09Fix broken layout on compare branches pageAnnabel Dunstone Gray
2018-05-08Merge branch 'master' into bootstrap4Clement Ho
2018-04-28[Rails5] Use `safe_params` instead of `params` in `url_for` helpersblackst0ne
This commits replaces `params` with `safe_params` in `url_for` helpers to resolve security issues [1] and failing specs with the ``` ArgumentError: Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure. ``` error. [1]: https://gitlab.com/gitlab-org/gitlab-ce/issues/45168
2018-04-18Fix diff stats sticky barClement Ho
2018-04-10[skip ci] Replace hidden-xsClement Ho
2018-04-10[skip ci] Replace hidden-smClement Ho
2018-04-09Rename .btn-default to .btn-secondaryClement Ho
2017-08-15Fixed changed files dropdown not being shownPhil Hughes
Closes #36479
2017-08-09Fix the sticky changes bar on commits pagePhil Hughes
2017-08-08Fixed merge request changes sticky container not spreading full widthPhil Hughes
2017-08-03fixed haml lintPhil Hughes
2017-06-29Split up MergeRequestsControllerDouwe Maan
2017-05-30Consistent diff and blob size limit namesDouwe Maan
2017-05-23Clean up diff renderingDouwe Maan
2017-04-27Use Blob methods instead of BlobHelper helpersDouwe Maan
2017-02-07Add 'View on [env]' link to blobs and individual files in diffsDouwe Maan
2017-01-12Show 'too many changes' message for merge requestFelipe Artur
2016-11-15Unify anchor link format for MR diff files !7298Yar
Right now, the following naming scheme for diff files is used: diff-1, diff-2, ... and also we have "internal" format which is file-path-HASH, where HASH is sha1 of file path. Besides, we have HASH_lineA_lineB format to link exact line number in MR diff. It makes sence to unify the way we link diff from outside, while leave "file-path-HASH" format for internal (js) usage. Changes in this commit allow to link diff just by HASH, if we don't want specify exact lines, also it changes "file-path-HASH" and "diff-NUMBER" links in code to this unified format. Inspired by #24010 and !7298
2016-10-06MergeRequest new form load diff asynchronouslyPaco Guzman
2016-09-20ensure the 'fixed layout' preference is honored whenever possibleMike Greiling
see #22343 for issue description
2016-08-05Merge branch 'side-by-side-unfold' into 'master' Douwe Maan
Add unfold links for Side-by-Side view ## What does this MR do? Add unfold links for Side-by-Side view and refactor some diff related code ## What are the relevant issue numbers? Closes #3877 ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5415
2016-08-04Add unfold links for Side-by-Side viewTim Masliuchenko
2016-08-04Fix Mystery GuestHerminio Torres
Magic Variable - Change the name of the variable to assign the local variable for partial, rather than `i` use the `index`. Don't pass a local variable called `i` to a partial.
2016-08-03switch from diff_file_collection to diffsPaco Guzman
So we have raw_diffs too
2016-08-03Introduce Compare model in the codebase.Paco Guzman
This object will manage Gitlab::Git::Compare instances
2016-08-03Cache highlighted diff lines for merge requestsPaco Guzman
Introducing the concept of SafeDiffs which relates diffs with UI highlighting.
2016-07-26Fix expand all diffs button in compare viewSean McGivern
We can't reuse the existing value of the format parameter, because on the merge request page that's 'json', so the link would go to a JSON file. We can't set it to HTML, because that adds '.html' the URL, which breaks the compare view (and looks bad). Setting it to nil uses the default format, which in all of these cases is HTML anyway.
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-08Make expand_all param more explicitSean McGivern
2016-07-08Allow expanding all diffs at onceSean McGivern
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-07Remove duplication, unused methods, and some other style thingsDouwe Maan
2016-07-07Add DiffFile#blob and #old_blobDouwe Maan
2016-07-07Represent DiffRefs as proper class instead of tuple arrayDouwe Maan
2016-07-06review changesLuke "Jared" Bennett
2016-07-06Diffs will create button/diff form on demand no on server sideJacob Schatz
2016-06-16Merge branch 'toggle-whitespace-button-for-compare-page' into 'master' Jacob Schatz
Toggle whitespace button for compare page ## What does this MR do? Adds whitespace button to compare branches page. ## Are there points in the code the reviewer needs to double check? Ruby code. ## Why was this MR needed? Compare branches UX ## What are the relevant issue numbers? Closes #17881. ## Screenshots (if relevant) ![Screen_Shot_2016-06-09_at_18.39.48](/uploads/8995a7bc8bea7fa3ff19446ebe49fb88/Screen_Shot_2016-06-09_at_18.39.48.png) ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - [ ] Tests - [ ] Added for this feature/bug - [ ] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !4569
2016-06-12Fix Error 500 when viewing a blob with binary characters after the 1024-byte ↵Stan Hu
mark Here was the problem: 1. When determining whether a given blob is viewable text, gitlab_git reads the first 1024 bytes and checks with Linguist whether it is a text or binary file. 2. If the blob is text, GitLab will attempt to display it. 3. However, if the text has binary characters after the first 1024 bytes, then GitLab will attempt to load the entire contents, but the encoding will be ASCII-8BIT since there are binary characters. 4. The Error 500 results when GitLab attempts to display a mix UTF-8 and ASCII-8BIT. To fix this, we load as much data as we are willing to display so that the detection will work properly. Requires an update to gitlab_git: gitlab-org/gitlab_git!86 Closes #13826
2016-06-10added whitespace toggle to diffs page and set it to return the project ↵Luke "Jared" Bennett
compare path with the selected whitespace params Updated CHANGELOG Moved CHANGELOG entry
2016-04-26Hide button on mobileAlfredo Sumaran
2016-04-26Update syntaxAlfredo Sumaran
2016-04-26Hide whitespace toggle button for new merge requestsAlfredo Sumaran
2016-04-26Add Hide/show whitespace changes button on diff and commit viewAlfredo Sumaran
2016-04-08Diff touch upsAnnabel Dunstone