summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add avatar to issue and MR pages headeradd_avatar_to_issue_mr_headerArinde Eniola2016-03-182-4/+4
|
* Merge branch 'rs-issue-14259' into 'master' Robert Speicher2016-03-181-2/+4
|\ | | | | | | | | | | | | Prevent a 500 when a repository's root_ref is nil Closes #14259 See merge request !3278
| * Prevent a 500 when a repository's root_ref is nilrs-issue-14259Robert Speicher2016-03-171-2/+4
| | | | | | | | Closes #14259
* | Merge branch 'dashboard-labels' into 'master' Robert Speicher2016-03-1812-94/+113
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dashboard labels Previously because there were no JSON endpoint for labels or milestones it was fetching HTML and parsing that. This is wrong. It now fetches from a JSON endpoint. This also fixes the dashboard/issues page not loading labels or milestones as the path used to be only for a single project. So instead I have created a endpoint for labels & milestones JSON on dashboard. See merge request !3253
| * | Fixed failing testsPhil Hughes2016-03-182-7/+6
| | |
| * | Updated controller with before_actionPhil Hughes2016-03-185-10/+8
| | | | | | | | | | | | Fixed other issues based on feedback
| * | Fixes issue on dashboard issuesPhil Hughes2016-03-187-67/+92
| | | | | | | | | | | | They would try to load JSON from a project even though it isn't a single project
| * | Full labels data in JSONPhil Hughes2016-03-181-1/+1
| | |
| * | Fixed issue with labels dropdown getting wrong labelsPhil Hughes2016-03-185-20/+17
|/ /
* | Merge branch 'fix-mr-close-button' into 'master' Jacob Schatz2016-03-182-2/+10
|\ \ | | | | | | | | | | | | | | | | | | Fixes issue with close button not working on MR Closes #14383 See merge request !3295
| * | Added testPhil Hughes2016-03-181-0/+8
| | |
| * | Fixes issue with close button not working on MRfix-mr-close-buttonPhil Hughes2016-03-181-2/+2
| | | | | | | | | | | | Closes #14383
* | | Merge branch 'improved-issue-sidebar' into 'master' Jacob Schatz2016-03-185-89/+145
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improved issue sidebar Updated the spacing throughout the sidebar so that it fits better on smaller screens. Also adds a more participants button to show any other participants after the first row. Closes #13353 See merge request !3097
| * | | Removed global JS varimproved-issue-sidebarPhil Hughes2016-03-182-6/+7
| | | |
| * | | Reused some variablesPhil Hughes2016-03-182-4/+7
| | | | | | | | | | | | | | | | Set global JS variable to sync view up
| * | | Links to user on collapsed issue sidebarPhil Hughes2016-03-182-1/+5
| | | |
| * | | Fixed issue when user doesnt existPhil Hughes2016-03-182-11/+2
| | | | | | | | | | | | | | | | Fixed button hover color
| * | | Fixed tooltip issue for participantsPhil Hughes2016-03-181-1/+1
| | | |
| * | | Improved issue sidebarPhil Hughes2016-03-185-88/+145
| |/ / | | | | | | | | | | | | | | | | | | Updated the spacing throughout the sidebar so that it fits better on smaller screens Added more participants button Closes #13353
* | | Merge branch 'docs_select_version_to_install' into 'master' Achilleas Pipinellis2016-03-184-0/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add note in upgrade guide to choose the correct version tag Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/3448 @rspeicher I'm assigning to you since as a release manager you should know better. Let's keep it in this guide for now and then start copying it in the future ones. See merge request !2284
| * | | Add note in rest of update guidesAchilleas Pipinellis2016-03-183-0/+27
| | | | | | | | | | | | | | | | [ci skip]
| * | | Merge branch 'master' into docs_select_version_to_installAchilleas Pipinellis2016-03-181704-17227/+72648
| |\ \ \ | |/ / / |/| | |
* | | | Merge branch 'fix-mr-source-sha' into 'master' Douwe Maan2016-03-184-1/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix MergeRequest#source_sha when there is no diff Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14170 ### Overview This MR fixes an unhandled Exception when visiting the page of an open Merge Request without diff. ### Description `MergeRequest#source_sha` is expected to return the sha of the source branch last commit. But when an open Merge Request has no diff (e.g. all commits have already been merged to the target branch), `merge_request.source_sha` incorrectly returns `nil`. This was without consequences before – but since !2217 was merged (a few days ago), it makes `Gitlab::Git::Commit.between` raise an "Unexpected nil argument" exception. This can be reproduced when visiting the http://localhost:3000/gitlab-org/gitlab-test/merge_requests/2 page on a fresh local Gitlab setup. This MR fixes the crash, by making sure that `source_sha` returns a correct result even when there is no diff available. I also added tests. @DouweM I believe you wrote most of this code in the first place ; does this looks correct to you, or is there a better way to resolve this issue maybe? See merge request !3135
| * | | | Fix MergeRequest#source_sha when there is no diffPierre de La Morinerie2016-03-164-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `MergeRequest#source_sha` is expected to return the sha of the source branch last commit. But when a open Merge Request has no diff (e.g. all commits have already been merged to the target branch), `merge_request.source_sha` incorrectly returns `nil`. This was un-noticed before – but now that !2217 has been merged, it makes `Gitlab::Git::Commit.between` raise an "Unexpected nil argument" exception. This fixes the crash, by making sure that `source_sha` returns a correct result even when there is no diff available.
| * | | | Add tests for MergeRequest#source_shaPierre de La Morinerie2016-03-161-0/+18
| | | | |
* | | | | Merge branch 'issue-fade-load' into 'master' Jacob Schatz2016-03-186-64/+113
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changing filter dropdowns shows loading Instead of doing a full refresh of the page - i've modified the filterResults method on the Issues object to work for this form as well ![issues](/uploads/3335f09f7df88b6d419de7fd3d6857d2/issues.gif) Closes #14359 See merge request !3237
| * | | | | Another CS style fixissue-fade-loadPhil Hughes2016-03-181-1/+1
| | | | | |
| * | | | | Fixed some CS styling issuesPhil Hughes2016-03-184-74/+85
| | | | | | | | | | | | | | | | | | | | | | | | Fixed bug where wouldn't work on MR index
| * | | | | Fixed issue with dashboard issues not reloadingPhil Hughes2016-03-184-6/+17
| | | | | |
| * | | | | Changing filter dropdowns shows loadingPhil Hughes2016-03-185-15/+42
| | | | | | | | | | | | | | | | | | | | | | | | Instead of doing a full refresh of the page - i've modified the filterResults method on the Issues object to work for this form as well
* | | | | | Merge branch 'confidential-issues' into 'master' Douwe Maan2016-03-1853-74/+867
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add confidential issues Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/3678 More information: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/227 See merge request !3282
| * | | | | | Update CHANGELOGconfidential-issuesDouglas Barbosa Alexandre2016-03-171-0/+1
| | | | | | |
| * | | | | | Restrict access to confidential issues on activity feedDouglas Barbosa Alexandre2016-03-175-5/+43
| | | | | | |
| * | | | | | Add eye-slash icon to confidential issuesDouglas Barbosa Alexandre2016-03-175-0/+9
| | | | | | |
| * | | | | | Restrict access for confidential issues on milestone viewDouglas Barbosa Alexandre2016-03-1710-32/+140
| | | | | | |
| * | | | | | Fix issues count on project viewDouglas Barbosa Alexandre2016-03-172-2/+2
| | | | | | |
| * | | | | | Restrict access to confidential issues on search resultsDouglas Barbosa Alexandre2016-03-176-9/+166
| | | | | | |
| * | | | | | Restrict access to confidential issues through APIDouglas Barbosa Alexandre2016-03-172-3/+112
| | | | | | |
| * | | | | | Restrict access for confidential issues on autocompleteDouglas Barbosa Alexandre2016-03-173-6/+81
| | | | | | |
| * | | | | | Restrict access to references for confidential issuesDouglas Barbosa Alexandre2016-03-1710-5/+102
| | | | | | |
| * | | | | | Restrict access to confidential issuesDouglas Barbosa Alexandre2016-03-176-10/+192
| | | | | | |
| * | | | | | Add an option to user make an issue confidentialDouglas Barbosa Alexandre2016-03-172-1/+10
| | | | | | |
| * | | | | | Add a confidential flag to issuesDouglas Barbosa Alexandre2016-03-172-1/+9
| | | | | | |
* | | | | | | Merge branch 'hide-large-diffs' into 'master' Jacob Vosmaer2016-03-185-13/+35
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show a notice for diffs that are empty/too large This builds upon https://gitlab.com/gitlab-org/gitlab_git/merge_requests/72 but will fail until said MR has been merged. Fixes gitlab-org/gitlab-ce#13912, gitlab-org/gitlab-ce#13644, gitlab-org/gitlab-ce#13557, gitlab-org/gitlab-ce#13267, gitlab-org/gitlab-ce#3906 See merge request !3185
| * | | | | | | Show a notice for diffs that are too largehide-large-diffsYorick Peterse2016-03-185-13/+35
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This builds on the changes introduced in https://gitlab.com/gitlab-org/gitlab_git/merge_requests/72 and results in merge requests with large diffs (e.g. due to them containing minified CSS) loading much faster.
* | | | | | | Fix CHANGELOG by moving 8.5.5 items to 8.6Rémy Coutable2016-03-181-2/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | Merge branch 'improve-diff-ui' into 'master' Jacob Schatz2016-03-181-1/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add space to separate different files in diff I propose to add some visual separation between files in diff. Originally this separation was removed in 8.0 because of different UI layout. Now when we have white layout back I think it will be better to add some space between files. - - - Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !3275
| * | | | | | Add space to separate different files in diffimprove-diff-uiDmitriy Zaporozhets2016-03-171-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | | | Merge branch 'project-cache-worker-without-diverging' into 'master' Jacob Vosmaer2016-03-182-18/+30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed diverging commit count calculation from Repository#build_cache Using a repository with 1000 branches the old `Repository#build_cache` method would take around 180 seconds to complete. Without calculating the diverging commit counts this method "only" takes around 60 seconds. See commit 28cc2413eb5ddf920ce0b5eed803121f8b884754 for more details. This fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/14058 cc @rspeicher See merge request !3274
| * | | | | | | Added tests for Repository#build_cacheproject-cache-worker-without-divergingYorick Peterse2016-03-171-0/+30
| | | | | | | |