summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'single-file-diffs' into 'master' Douwe Maan2016-07-1133-486/+1100
|\ | | | | | | | | | | | | | | | | | | | | | | | | Single file diffs Closes #14103. Related (not part of this MR): #19553. This adds a `diff_for_path` action to each place we render diffs (commit, compare, new MR, existing MR) which renders the diff for a single path. The action is always available with the same params as the 'parent' action, to make it simpler to generate the URIs. If a diff is bigger than 10 KB, it will be collapsed by default and have a data attribute added. You can then click the message or the filename to expand that diff. For expanded files, you can collapse and expand them, but they won't make any AJAX requests. ![Expand_and_collapse_diffs](/uploads/a4072029085082b85c47006f67ac531c/Expand_and_collapse_diffs.gif) See merge request !4990
| * Handle more than two paths in MergeRequest#diffsSean McGivern2016-07-112-4/+5
| |
| * Fix feature specs on CIsingle-file-diffsSean McGivern2016-07-112-22/+21
| | | | | | | | | | MySQL's text column isn't big enough for the diffs in the expand-collapse-diffs branch.
| * Merge branch 'master' into single-file-diffsSean McGivern2016-07-1169-388/+1123
| |\
| * | Support renames in diff_for_path actionsSean McGivern2016-07-1110-51/+89
| | |
| * | Tidy up spec action namesSean McGivern2016-07-083-14/+14
| | |
| * | Memoize diffs with path options set separatelySean McGivern2016-07-081-1/+2
| | |
| * | review changesLuke "Jared" Bennett2016-07-085-11/+9
| | |
| * | Make expand_all param more explicitSean McGivern2016-07-084-6/+6
| | |
| * | DRY up diff_for_path actionsSean McGivern2016-07-085-98/+84
| | | | | | | | | | | | | | | | | | 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.
| * | Remove unused argument to CompareService#executeSean McGivern2016-07-082-5/+11
| | |
| * | Fix comments on collapsed and expanded diffsSean McGivern2016-07-081-26/+23
| | | | | | | | | | | | | | | | | | We can't save the HTML as it was on page load, because comments etc. add content that we would lose if we kept the initial HTML. Instead, shuffle elements around.
| * | Allow expanding all diffs at onceSean McGivern2016-07-084-1/+45
| | |
| * | Ensure only renderable text diffs are collapsedSean McGivern2016-07-088-10/+166
| | | | | | | | | | | | | | | Other diffs (those that are too large to render anyway, image diffs, diffs suppressed by .gitattributes) should be rendered immediately.
| * | Added frontend collapsible behaviorLuke "Jared" Bennett2016-07-083-0/+55
| | |
| * | Disable overflow messagesSean McGivern2016-07-086-58/+3
| | | | | | | | | | | | | | | With the option to expand and collapse individual diffs, these aren't needed any more.
| * | Collapse large diffs by defaultSean McGivern2016-07-0817-374/+762
| | | | | | | | | | | | | | | 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 'remove-duplicate-api-field' into 'master' Rémy Coutable2016-07-112-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | entities: remove :description from MergeRequest ## What does this MR do? Removes a duplicate `description` key from API JSON objects. ## Are there points in the code the reviewer needs to double check? No. ## Why was this MR needed? `description` is already exported via `ProjectEntity` and doesn't need to be listed in `MergeRequest` as well. ## What are the relevant issue numbers? N/A ## Screenshots (if relevant) N/A ## Does this MR meet the acceptance criteria? - [ ] [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 - [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [ ] Branch has no merge conflicts with `master` (if you do - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5099
| * | | entities: remove :description from MergeRequestBen Boeckel2016-07-112-1/+1
| | |/ | |/| | | | | | | It is already part of ProjectEntity.
* | | Merge branch 'send-entry-via-Gitlab-Workhorse-Send-Data' into 'master' Douwe Maan2016-07-114-7/+30
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Gitlab-Workhorse-Send-Data to send entry ## What does this MR do? Use Gitlab-Workhorse-Send-Data to send entry: Closes #19224, Closes #19128 Also requires this MR to work: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/53 ## Are there points in the code the reviewer needs to double check? Do we have a test for this? ## Why was this MR needed? This way gitlab-workhorse does not have to call any API. See merge request !5094
| * | | Just remove the prefix, feedback:send-entry-via-Gitlab-Workhorse-Send-DataLin Jen-Shin2016-07-111-1/+2
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5094#note_12987385
| * | | Just give regular 404, feedback:Lin Jen-Shin2016-07-111-1/+1
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5094#note_12984211
| * | | Fix one of the failing tests. Test against the headersLin Jen-Shin2016-07-061-4/+9
| | | |
| * | | Use Gitlab-Workhorse-Send-Data to send entry:Lin Jen-Shin2016-07-053-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #19224, Closes #19128 Also requires this MR to work: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/53
* | | | Merge branch 'remove-not-released-status' into 'master' Robert Speicher2016-07-111-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove "not released" status from documentation [ci skip] See merge request !5024
| * | | | Remove not released statusMax Raab2016-06-301-1/+1
| | | | |
* | | | | Merge branch 'dz-sidebar-shadow' into 'master' Dmitriy Zaporozhets2016-07-111-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add side shadow for unpinned sidebar See merge request !5167
| * | | | | Refactor box-shadow style for sidebar to satisfy css lintdz-sidebar-shadowDmitriy Zaporozhets2016-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | | | Add side shadow for unpinned sidebarDmitriy Zaporozhets2016-07-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | | Merge branch 'dz-today-issue-color' into 'master' Dmitriy Zaporozhets2016-07-111-2/+2
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make color that highligh today issues more lightweight See merge request !5168
| * | | | | Lower case todya issue colorsdz-today-issue-colorDmitriy Zaporozhets2016-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | | | Make color that highligh today issues more lightweightDmitriy Zaporozhets2016-07-091-2/+2
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | Merge branch 'fix-type-in-project-factory' into 'master' Rémy Coutable2016-07-111-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix typo in factory for projects.rb ## What does this MR do? ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? ## What are the relevant issue numbers? ## Screenshots (if relevant) ## Does this MR meet the acceptance criteria? - [ ] [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 - [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [ ] Branch has no merge conflicts with `master` (if you do - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5100
| * | | | | Fix typo in factory for projects.rbYatish Mehta2016-07-051-1/+1
| | | | | |
* | | | | | Merge branch 'sshkey-ux' into 'master' Rémy Coutable2016-07-112-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add reminder to not paste private SSH keys ## What does this MR do? Just got the "How would you make GitLab better?" mail and thought that I could follow it. This commit adds a short reminder to not paste the private part of an SSH key to the form where one can add SSH keys to one's account. I think that's an useful message, both for people who aren't that experienced yet and for people who are sleep-deprived. :-) I decided to just list the most common key type, `ssh-rsa`. The full list of key types in the [CVS repository of OpenSSH](http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/usr.bin/ssh/sshkey.c?rev=HEAD&content-type=text/plain) contains some types which I'd regard as a bit obscure. Mentioning all of those types would probably clutter the form too much. We could think about whether to list what is probably the second most common key type, namely `ssh-dss`. But note that this key type [seems to be deprecated](https://security.stackexchange.com/questions/5096/rsa-vs-dsa-for-ssh-authentication-keys). ## Are there points in the code the reviewer needs to double check? I didn't actually test this one-line change. ## Why was this MR needed? It's not, strictly speaking, needed, but could be considered a nice addition. See merge request !4399
| * | | | | | Add changelog entry for !4399Ingo Blechschmidt2016-07-091-0/+1
| | | | | | |
| * | | | | | Add reminder to not paste private SSH keysIngo Blechschmidt2016-07-091-1/+1
| | |/ / / / | |/| | | |
* | | | | | Merge branch 'fix/remove-import-url-migration' into 'master' Rémy Coutable2016-07-113-106/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove slow migration and add fix to sanitize errors Getting rid of the slow migration and preventing the Error to occur Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/19608 See merge request !5176
| * | | | | | spec and fix for sanitize methodJames Lopez2016-07-112-0/+8
| | | | | | |
| * | | | | | remove fix validatable import url migrationJames Lopez2016-07-111-106/+0
| | | | | | |
* | | | | | | Merge branch 'update-gemfile' into 'master' Rémy Coutable2016-07-110-0/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run bundle install and update Gemfile.lock !5078 didn't update the `Gemfile.lock` even though it added some restrictions on gem versions, this fixes that. cc: @rymai See merge request !5159
| * | | | | | | Run bundle install.update-gemfileConnor Shea2016-07-081-15/+15
| | | | | | | |
* | | | | | | | Merge branch 'compare-avatar-alignment' into 'master' Robert Speicher2016-07-101-0/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix commit avatar alignment in compare view Closes #19567 See merge request !5128
| * | | | | | | | Fixed commit avatar alignment in compare viewcompare-avatar-alignmentPhil Hughes2016-07-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #19567
* | | | | | | | | Merge branch 'blockquote-fence-filter' into 'master' Robert Speicher2016-07-107-2/+367
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add blockquote fence syntax to Markdown Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/16564 Before Markdown rendering happens, this will transform this: ``` Let me quote this here email: >>> Dear friend, How are you? Greetings, Me >>> ``` Into this, saving me from having to prefix all of those lines with `>` manually when I copy some multiline text from another medium: ``` Let me quote this here email: > Dear friend, > > How are you? > > Greetings, > > Me ``` See merge request !3954
| * | | | | | | | | Fix typo in specDouwe Maan2016-07-101-1/+1
| | | | | | | | | |
| * | | | | | | | | Add more comments to regexDouwe Maan2016-07-103-13/+34
| | | | | | | | | |
| * | | | | | | | | Add changelog itemDouwe Maan2016-07-091-0/+1
| | | | | | | | | |
| * | | | | | | | | Add blockquote fence syntax to MarkdownDouwe Maan2016-07-096-2/+345
| | | | | | | | | |
* | | | | | | | | | Merge branch 'rs-gemfile-lock' into 'master' Robert Speicher2016-07-101-15/+15
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Gemfile.lock after versions were added in !5078 See merge request !5171