Commit Graph

15 Commits

Author SHA1 Message Date
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
Rémy Coutable cddc5cacfb Use described_class when possible
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Rémy Coutable ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Shinya Maeda 8a950baf58 Improve test on spec/models/ci/pipeline_schedule_spec.rb 2017-07-06 01:24:20 +09:00
Shinya Maeda 1bfa818a1f zj nice catchies 3 2017-07-05 18:38:35 +09:00
Shinya Maeda 2f70f3fa35 Improve spec 2017-07-05 18:38:35 +09:00
Shinya Maeda 3acc91866b Fix spec 2017-07-05 18:38:35 +09:00
Shinya Maeda d65d66e08b zj nice catches 2017-07-05 18:38:27 +09:00
Shinya Maeda bbbd5521d2 Improve spec 2017-07-05 18:36:19 +09:00
Shinya Maeda 17f34e5a74 Fix spec 2017-07-05 18:36:19 +09:00
Shinya Maeda 51730b3a15 zj nice catches 2017-07-05 18:36:18 +09:00
Shinya Maeda d278da48f8 pipeline_schedule_variables model/db 2017-07-05 18:36:18 +09:00
Grzegorz Bizon 0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
Shinya Maeda ef61829b58 Add a test for deletion of importing_or_inactive? 2017-05-29 20:02:09 +09:00
Zeger-Jan van de Weg 8df3997a92 Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00