gitlab-org--gitlab-foss/spec
Yorick Peterse d0b8f536a1
Remove soft removals related code
This removes all usage of soft removals except for the "pending delete"
system implemented for projects. This in turn simplifies all the query
plans of the models that used soft removals. Since we don't really use
soft removals for anything useful there's no point in keeping it around.

This _does_ mean that hard removals of issues (which only admins can do
if I'm not mistaken) can influence the "iid" values, but that code is
broken to begin with. More on this (and how to fix it) can be found in
https://gitlab.com/gitlab-org/gitlab-ce/issues/31114.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447
2018-01-08 17:04:45 +01:00
..
bin
config
controllers disables the shortcut to the issue boards when issues are disabled 2018-01-08 09:06:25 +00:00
db/production
factories Merge branch 'master' into 22643-manual-job-page 2018-01-04 22:39:01 +00:00
features Merge branch '40549-render-emoj-in-groups-overview' into 'master' 2018-01-08 11:34:22 +00:00
finders EE-BACKPORT group boards 2018-01-04 17:28:10 -02:00
fixtures Remove soft removals related code 2018-01-08 17:04:45 +01:00
helpers Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
initializers
javascripts Remove soft removals related code 2018-01-08 17:04:45 +01:00
lib Remove soft removals related code 2018-01-08 17:04:45 +01:00
mailers Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
migrations Prevent cluster migration spec from interfering with later specs 2018-01-05 17:44:38 +00:00
models Remove soft removals related code 2018-01-08 17:04:45 +01:00
policies Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
presenters Backport 'Rebase' feature from EE to CE 2018-01-05 09:34:59 +01:00
requests Merge branch '22643-manual-job-page' into 'master' 2018-01-06 14:40:45 +00:00
routing
rubocop/cop Use gitlab-styles 2017-12-22 08:34:44 -06:00
serializers Merge branch '40549-render-emoj-in-groups-overview' into 'master' 2018-01-08 11:34:22 +00:00
services Remove soft removals related code 2018-01-08 17:04:45 +01:00
sidekiq/cron
support Merge branch 'master' into 39957-redirect-to-gpc-page-if-users-try-to-create-a-cluster-but-the-account-is-not-enabled 2018-01-05 20:04:33 +01:00
tasks refactor spec, add docs 2018-01-04 11:22:43 +01:00
unicorn
uploaders
validators
views Backport 'Rebase' feature from EE to CE 2018-01-05 09:34:59 +01:00
workers Merge branch '3968-protected-branch-is-not-set-for-default-branch-on-import' into 'master' 2018-01-08 08:37:06 +00:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb