gitlab-org--gitlab-foss/app/controllers/projects
Douwe Maan 374b8e95c3 Merge branch '21076-deleted-merged-branches' into 'master'
Add button to delete all merged branches

## What does this MR do?

It adds a button to the branches page that the user can use to delete all the branches that are already merged. This can be used to clean up all the branches that were forgotten to delete while merging MRs.

**Note**  
~~This MR is WIP until MR !6408 is merged.~~

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

The UX of the actual "Delete merged branches" button.

## Why was this MR needed?

Fixes #21076

## Screenshots
![Branches page without "Delete all merged" button](/uploads/3a2936a83c3547a0fce92a74af880a2d/Screen_Shot_2016-10-17_at_20.06.30.png)

Before:
![Screen_Shot_2016-10-17_at_20.07.11](/uploads/55efcebf4e0a45dbfc70ba4a11ca152c/Screen_Shot_2016-10-17_at_20.07.11.png)


After:

## 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 [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)
- [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)

## What are the relevant issue numbers?

Closes #21076

See merge request !6449
2016-11-15 12:08:22 +00:00
..
boards Merge branch 'master' into issue-board-sidebar 2016-10-19 22:33:34 +01:00
application_controller.rb Remove project_labels from Projects::ApplicationController 2016-10-19 14:58:24 -02:00
artifacts_controller.rb
avatars_controller.rb
badges_controller.rb
blame_controller.rb
blob_controller.rb
boards_controller.rb Fix board relates specs 2016-10-11 11:47:56 -03:00
branches_controller.rb Add button to delete all merged branches 2016-11-09 21:04:03 +01:00
builds_controller.rb Merge remote-tracking branch 'upstream/master' into pipeline-emails 2016-09-21 16:19:07 +08:00
commit_controller.rb Add Pipelines for Commit 2016-09-27 22:11:13 +01:00
commits_controller.rb Pass `@ref` along so we know which pipeline to show 2016-10-24 22:26:06 +08:00
compare_controller.rb
container_registry_controller.rb
cycle_analytics_controller.rb
deploy_keys_controller.rb
discussions_controller.rb
environments_controller.rb Add logical validation to gitlab-ci.yml 2016-10-18 12:22:51 +02:00
find_file_controller.rb
forks_controller.rb
git_http_client_controller.rb Merge branch 'fix-unathorized-cloning' into 'security' 2016-11-09 12:27:17 +01:00
git_http_controller.rb Merge branch 'fix-unathorized-cloning' into 'security' 2016-11-09 12:27:17 +01:00
graphs_controller.rb Use Linguist::Language[] instead of creating a hash 2016-10-10 16:18:26 +02:00
group_links_controller.rb Only skip group when it's actually a group in the "Share with group" select 2016-11-04 12:42:19 +01:00
hooks_controller.rb
imports_controller.rb
issues_controller.rb add "x of y tasks completed" on issuable 2016-10-28 14:01:36 -02:00
labels_controller.rb Remove unnecessary includes(:priorities) on Projects::LabelsController 2016-10-31 23:27:49 -02:00
lfs_api_controller.rb Move the `objects` method to `LfsHelper` so that it is also available to `LfsStorageController` 2016-11-10 20:04:00 -06:00
lfs_storage_controller.rb
merge_requests_controller.rb Ensure labels are loaded on "show" methods of MR 2016-11-11 14:06:43 -04:00
milestones_controller.rb
network_controller.rb Refactor method name 2016-11-08 05:12:17 +09:00
notes_controller.rb
pipelines_controller.rb Improve code readability in pipelines controller 2016-11-07 13:33:04 +01:00
pipelines_settings_controller.rb
project_members_controller.rb Implement CreateMembers service to make controller thin 2016-11-01 10:17:04 +02:00
protected_branches_controller.rb
raw_controller.rb
refs_controller.rb
releases_controller.rb
repositories_controller.rb
runner_projects_controller.rb
runners_controller.rb
services_controller.rb
snippets_controller.rb
tags_controller.rb Fix lightweight tags not processed correctly by GitTagPushService 2016-10-28 13:53:18 -03:00
templates_controller.rb
todos_controller.rb
tree_controller.rb
triggers_controller.rb
uploads_controller.rb
variables_controller.rb
wikis_controller.rb