Commit graph

9 commits

Author SHA1 Message Date
James Lopez
b0ddc55dc7
refactor code once again to fix IID issues 2018-06-20 16:18:40 +02:00
James Lopez
f5e4adc9bf
add spec replicating both label and milestone duplicated title issues 2018-06-18 15:14:20 +02:00
Francisco Javier López
761d890a68
Blacklisting attributes in the project import process 2018-05-14 09:28:33 +02:00
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
micael.bergeron
de025ad2db fixing group label import 2017-10-06 09:11:29 -04:00
micael.bergeron
a8d9dbc1a6 fix the project import when an issue has a group milestone 2017-10-05 12:05:55 -04:00
micael.bergeron
09a733bac3 fix the spec so it fails before applying the fix 2017-10-04 09:12:01 -04:00
Felipe Artur
91035871d3 Fix project import to group when there are project milestones 2017-08-17 10:40:19 +00:00
James Lopez
cec1e3ebc8 create lighter version of JSON and reuse initial restore in spec to speed up run 2017-02-15 16:45:41 +01:00