gitlab-org--gitlab-foss/spec/controllers
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
..
admin Only show one error message for an invalid email 2016-10-27 15:46:28 -04:00
ci
groups Refactor create member tests from group_members_controller_spec 2016-10-24 13:14:00 +03:00
import modify github import JS and controller so we can now specify a namespace and/or name for a project. 2016-09-20 10:14:39 +02:00
oauth
profiles fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
projects Merge branch '21076-deleted-merged-branches' into 'master' 2016-11-15 12:08:22 +00:00
abuse_reports_controller_spec.rb
application_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
autocomplete_controller_spec.rb Move to project dropdown with infinite scroll for better performance 2016-08-18 15:31:51 +02:00
blob_controller_spec.rb
groups_controller_spec.rb This fixes a long running tests due to changed Sidekiq state 2016-08-15 23:26:40 +02:00
health_check_controller_spec.rb
help_controller_spec.rb fix error links in help page 2016-11-12 21:45:45 +08:00
invites_controller_spec.rb
notification_settings_controller_spec.rb
projects_controller_spec.rb Merge branch 'use-separate-token-for-incoming-email' into 'master' 2016-11-08 10:47:45 +00:00
registrations_controller_spec.rb Assert against `ActionMailer::Base.deliveries` relatively. 2016-07-05 10:20:32 +05:30
root_controller_spec.rb
sent_notifications_controller_spec.rb Fix initial implementation to actually render the unsubscribe page 2016-09-20 09:52:57 +02:00
sessions_controller_spec.rb Restrict failed login attempts for users with 2FA 2016-10-04 15:01:38 +01:00
snippets_controller_spec.rb Add missing tests for download snippet 2016-10-13 18:08:15 +05:00
uploads_controller_spec.rb
users_controller_spec.rb Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00