summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* \#to_branch_name now uses the iid as postfixissue-branch-iid-postfixZeger-Jan van de Weg2016-03-184-9/+8
| | | | | | | | | | | | | | | Given the branch name 'mep-mep' with an iid being 1, the current way, master's way, would yield a branch name of 1-mep-mep. The problem for larger projects however would be that a developer might forget what iid the issue was. When this developer would try to tab complete it would: - Or result in 20+ branches possibly - Or start with the wrong digit, try again with digit++ - Would see 20 branches, repeat Thus the obvious way of solving this is letting the dev tab complete on the issue title, which is easier to remember.
* Merge branch 'add_avatar_to_issue_mr_header' into 'master' Jacob Schatz2016-03-182-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add avatar to issue and MR pages header closes #14395 # For Issues ### Before ![Screen_Shot_2016-03-18_at_4.27.25_PM](/uploads/b097c8e304c9737e2f46ee25667829bf/Screen_Shot_2016-03-18_at_4.27.25_PM.png) ### After ![Screen_Shot_2016-03-18_at_4.22.10_PM](/uploads/f7d2b12c9455950c2e660b33e27c1827/Screen_Shot_2016-03-18_at_4.22.10_PM.png) # For Merge Request ### Before ![Screen_Shot_2016-03-18_at_4.27.09_PM](/uploads/50c7b6ee346f749f448647004ae6031b/Screen_Shot_2016-03-18_at_4.27.09_PM.png) ### After ![Screen_Shot_2016-03-18_at_4.24.17_PM](/uploads/abd37ccf030e0b6d10521a6937206de6/Screen_Shot_2016-03-18_at_4.24.17_PM.png) See merge request !3301
| * Add avatar to issue and MR pages headeradd_avatar_to_issue_mr_headerArinde Eniola2016-03-182-4/+4
| |
* | Merge branch 'refactor-variables' into 'master' Dmitriy Zaporozhets2016-03-184-33/+64
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Refactor variables Fixes #13803 and other color inconsistency across application cc @jschatz1 @skyruler See merge request !3304
| * | Cleanup somce css colorsDmitriy Zaporozhets2016-03-184-20/+25
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Re-group scss variablesDmitriy Zaporozhets2016-03-181-21/+47
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'trigger-todo-for-mentions-on-commits-page' into 'master' Douwe Maan2016-03-1811-45/+187
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trigger a todo for mentions on commits page Closes #14006 * Screenshot: ![todo-commit](/uploads/5d34de0b7afcea7548123dafddf60c45/todo-commit.png) See merge request !3262
| * | | Refactor `Todo#target`Douglas Barbosa Alexandre2016-03-182-12/+18
| | | |
| * | | Rename `Todo#to_reference` to `Todo#target_reference`Douglas Barbosa Alexandre2016-03-183-5/+5
| | | | | | | | | | | | | | | | Since we're not actually returning a todo reference.
| * | | Update CHANGELOGtrigger-todo-for-mentions-on-commits-pageDouglas Barbosa Alexandre2016-03-181-0/+1
| | | |
| * | | Use `Note#for_project_snippet?` to skip notes on project snippetDouglas Barbosa Alexandre2016-03-181-1/+1
| | | |
| * | | Use `Commit#short_id` instead of `Commit.truncate_sha`Douglas Barbosa Alexandre2016-03-182-2/+4
| | | |
| * | | Reuse `for_commit?` on conditional validationsDouglas Barbosa Alexandre2016-03-181-2/+2
| | | |
| * | | Update schema info comment on todo related filesDouglas Barbosa Alexandre2016-03-183-6/+9
| | | |
| * | | Use todo.done without ! in the controller to mark todo as doneDouglas Barbosa Alexandre2016-03-183-6/+6
| | | |
| * | | Trigger a todo for mentions on commits pageDouglas Barbosa Alexandre2016-03-186-32/+149
| | | |
| * | | Add commit_id to todosDouglas Barbosa Alexandre2016-03-182-0/+8
| | | |
| * | | Change target_id to null on todosDouglas Barbosa Alexandre2016-03-182-1/+6
| | | |
* | | | Merge branch 'filter-label-missing' into 'master' Robert Speicher2016-03-186-9/+9
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Fixes issue with filter label missing on labels & milestones Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14407 See merge request !3297
| * | | Fixes issue with filter label missing on labels & milestonesPhil Hughes2016-03-186-9/+9
| | |/ | |/|
* | | 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