gitlab-org--gitlab-foss/spec/controllers/projects
Douwe Maan 25ff16459c Merge branch 'feature/group-level-labels' into 'master'
Add group level labels

## What does this MR do?

Add group level labels.

## Are there points in the code the reviewer needs to double check?

* `LabelsFinder`
* `Gitlab::Gfm::ReferenceRewriter`
* `Banzai::Filter::LabelReferenceFilter`

## Why was this MR needed?

We'll be adding more feature that allow you to do cross-project management of issues.

## Screenshots (if relevant)

* Group Labels
    ![Group Labels](/uploads/2244c06ad68eae4fb246fb4c81bf8060/2.png)

* Project Labels
    ![Project Labels](/uploads/c5839516d2282b51f7418d9dadbeceb4/1.png)

* Expanded references for group labels when moving issue to another project
    ![Expanded references for group labels when moving issue to another project](/uploads/0c9ab248a8420d4978d59349ae3d42e5/3.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)
- [x] API support added
- Tests
  - [x] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] 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)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

#19997

See merge request !6425
2016-10-19 20:41:04 +00:00
..
boards Update board specs to use board factory instead of project_with_board 2016-10-11 11:39:05 -03:00
avatars_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
blame_controller_spec.rb Move a few controller specs to their correct locations 2016-02-18 21:50:49 -05:00
blob_controller_spec.rb Use user from let instead recreate in before 2016-10-09 20:31:28 +05:00
boards_controller_spec.rb Update Projects::BoardsController#show to look up for a specific board 2016-10-11 11:39:05 -03:00
branches_controller_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
commit_controller_spec.rb refactors tests because of gitlab-test repository changes 2016-10-11 16:33:06 +01:00
commits_controller_spec.rb Allow browsing branches that end with '.atom' 2016-10-11 13:31:12 +01:00
compare_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
discussions_controller_spec.rb Address review feedback 2016-08-16 11:04:26 -05:00
environments_controller_spec.rb Incorporate feedback 2016-07-29 13:54:45 +02:00
find_file_controller_spec.rb Merge branch 'master' of github.com:gitlabhq/gitlabhq 2016-01-07 12:56:18 +01:00
forks_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
graphs_controller_spec.rb Fix indentation and change inner matcher 2016-10-13 13:08:19 +02:00
group_links_controller_spec.rb fix group links 404 2016-10-05 09:57:54 +01:00
imports_controller_spec.rb Fix denting and spec 2016-03-13 13:44:31 +01:00
issues_controller_spec.rb Refresh todos count cache when an Issue/MR is deleted 2016-09-08 15:50:07 -03:00
labels_controller_spec.rb Fix sorting by label priorities 2016-10-19 14:58:27 -02:00
merge_requests_controller_spec.rb Merge branch 'master' into merge-conflicts-editor-2 2016-10-17 10:56:55 +01:00
milestones_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
notes_controller_spec.rb Address review feedback 2016-08-16 11:04:26 -05:00
project_members_controller_spec.rb Change the order of tested methods in project_members_controller_spec 2016-10-19 22:14:57 +03:00
protected_branches_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
raw_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
refs_controller_spec.rb Fix Style/AlignHash cop violations 2015-06-22 22:24:39 -07:00
repositories_controller_spec.rb Fix test failure by accessing Content-Type header directly. 2016-09-27 20:52:41 -06:00
services_controller_spec.rb Fix missing flash messages on service edit page 2016-09-05 14:13:15 +03:00
snippets_controller_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
tags_controller_spec.rb Respond with 404 Not Found for non-existent tags 2016-10-05 19:28:39 +02:00
templates_controller_spec.rb Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
todo_controller_spec.rb Cache todos pending/done dashboard query counts 2016-07-12 18:57:52 +02:00
tree_controller_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
uploads_controller_spec.rb Get rid of is_image in FileUploader 2016-07-19 18:51:09 +02:00