Commit graph

20 commits

Author SHA1 Message Date
James Lopez
8409340b3b Add missing group members to export for I/E 2017-02-07 11:06:05 +01:00
James Lopez
8ea1dafe83 use destroy_all 2017-01-31 19:20:35 +01:00
James Lopez
918eaba0c3 remove old project members from project 2017-01-31 16:32:26 +01:00
James Lopez
e8396d8e73 fix member mapper spec 2017-01-20 14:37:52 +01:00
James Lopez
17c099161e fix and refactor note user mapping 2017-01-18 17:40:24 +01:00
James Lopez
35442766cf do not map usersat all unless admin 2017-01-18 14:13:01 +01:00
Douwe Maan
cfb511ea69 Merge branch 'fix/import-projectmember-security' into 'security'
Fix Import/Export foreign key issue to do with project members

Cleans-up any foreign keys in `ProjectMember` - same as we do with the rest of the models when importing.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23837 and https://gitlab.com/gitlab-org/gitlab-ce/issues/23739

See merge request !2020

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-03 16:04:18 +01:00
James Lopez
f04e9dad47 Support pending invitation project members importing projects 2016-08-08 17:25:17 +02:00
Grzegorz Bizon
9e211091a8 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
James Lopez
833dc3204d few more changes based on feedback 2016-06-13 16:55:51 +02:00
James Lopez
f4d762d7c2 addressing MR feedback, few changes to members mapper 2016-06-13 16:12:40 +02:00
James Lopez
102074c801 more and more refactoring 2016-06-02 10:59:54 +02:00
James Lopez
7c8359b744 started refactoring some stuff based on MR feedback 2016-06-01 18:03:51 +02:00
James Lopez
dd86c91c73 fixed small issue mapping members 2016-05-19 17:02:49 +02:00
James Lopez
1466997755 import uploads. Fixed a few things to do with members, triggers, etc... 2016-05-19 15:36:20 +02:00
James Lopez
bf81c588fd fix issue with mapping members 2016-05-13 19:51:07 +02:00
James Lopez
2e1decd061 restricted actual member mapping to admins 2016-05-13 17:17:46 +02:00
James Lopez
1eb802cde3 fixed leaving comments on notes about missing authors 2016-05-13 16:25:27 +02:00
James Lopez
25a1c6541a add message to notes about missing author on import 2016-05-13 12:33:13 +02:00
James Lopez
97c3aff16f refactored import stuff, moved to lib 2016-04-14 17:10:57 +02:00
Renamed from app/services/projects/import_export/members_mapper.rb (Browse further)