gitlab-org--gitlab-foss/app/workers
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
..
concerns Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
repository_check Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
admin_email_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
build_coverage_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
build_email_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
build_finished_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
build_hooks_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
build_success_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
clear_database_cache_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
delete_merged_branches_worker.rb Add button to delete all merged branches 2016-11-09 21:04:03 +01:00
delete_user_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
email_receiver_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
emails_on_push_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
expire_build_artifacts_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
expire_build_instance_artifacts_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
git_garbage_collect_worker.rb Refine Git garbage collection 2016-11-04 14:30:11 +01:00
gitlab_shell_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
group_destroy_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
import_export_project_cleanup_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
irker_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
merge_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
new_note_worker.rb Does not raise error when Note not found when processing NewNoteWorker 2016-11-11 22:54:11 -02:00
pipeline_hooks_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
pipeline_metrics_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
pipeline_notification_worker.rb include PipelineQueue, feedback: 2016-10-24 17:39:04 +08:00
pipeline_process_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
pipeline_success_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
pipeline_update_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
post_receive.rb remove extra spaces from app/workers/post_receive.rb 2016-11-01 21:46:37 +00:00
process_commit_worker.rb Process commits in a separate worker 2016-11-07 13:11:44 +01:00
project_cache_worker.rb Don't schedule ProjectCacheWorker unless needed 2016-10-25 16:02:36 +02:00
project_destroy_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
project_export_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
project_service_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
project_web_hook_worker.rb Merge branch 'master' into 'add-retry-limit-project-webhook' 2016-10-31 15:00:30 +00:00
prune_old_events_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
remove_expired_group_links_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
remove_expired_members_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
remove_unreferenced_lfs_objects_worker.rb Remove unreferenced LFS objects from DB and fs 2016-10-28 19:39:20 +02:00
repository_archive_cache_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
repository_fork_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
repository_import_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
requests_profiles_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
stuck_ci_builds_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
system_hook_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
trending_projects_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
update_merge_requests_worker.rb Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00