Commit graph

26 commits

Author SHA1 Message Date
Adam Niedzielski
e2c603696a Pass user instance to Labels::FindOrCreateService or skip_authorization: true
Do not pass project.owner because it may return a group and Labels::FindOrCreateService
throws an error in this case.
Fixes #23694.
2016-10-28 11:31:45 +02:00
Douglas Barbosa Alexandre
edef2d15f9 Use LabelsFinder on Fogbuz importer 2016-10-19 17:28:14 -02:00
Douglas Barbosa Alexandre
4f6d1c1d70 Rename Labels::CreateService to Labels::FindOrCreateService 2016-10-19 14:58:28 -02:00
Douglas Barbosa Alexandre
d009d38ed6 User Labes::CreateService to create labels 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
f008cdf218 Remove Issuable#add_labels_by_names 2016-10-19 14:58:26 -02:00
Douglas Barbosa Alexandre
7e11ca86fd Reuse LabelsFinder on Issueable#add_labels_by_names 2016-10-19 14:58:25 -02:00
James Lopez
1322c981a0 create import data in service 2016-05-10 11:10:51 +02:00
James Lopez
a1a1d1f7de refactored create_or_update_import_data 2016-04-07 15:08:38 +02:00
James Lopez
15044e7d85 refactored a few things based on MR feedback 2016-04-07 15:00:20 +02:00
James Lopez
b97654393e fix some issues with credentials 2016-04-06 10:36:30 +02:00
James Lopez
5e51fce4dc some refactoring to symbolise keys across importers and left a TODO 2016-04-05 15:41:15 +02:00
James Lopez
7f7769172e Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/project-import_url
# Conflicts:
#	db/schema.rb
2016-04-04 20:03:25 +02:00
James Lopez
ef85c510fa corrected a couple of based on MR review 2016-04-04 09:57:52 +02:00
James Lopez
43ee65e173 remove useless var 2016-04-01 17:50:50 +02:00
James Lopez
6d12d79d29 fix fogbugz import 2016-04-01 12:04:41 +02:00
James Lopez
2d544d5445 spec and fix for fogbugz lonely user problem 2016-03-30 18:48:28 +02:00
James Lopez
075b56aae2 more fixes after doing more manual testing on importing 2016-03-29 18:43:23 +02:00
James Lopez
c93570d8fb fixing a few issues after testing imports 2016-03-29 16:10:35 +02:00
James Lopez
6967871fc5 fogbugz importer, also refactored migration again to make it easier to add new importers 2016-03-23 12:52:50 +01:00
Douwe Maan
0614793b38 DRY up upload and download services 2016-01-08 17:38:53 +01:00
Douwe Maan
706d7eb0b7 Satisfy Rubocp 2016-01-07 13:37:59 +01:00
Douwe Maan
1886d727f7 Add API project upload endpoint 2016-01-07 13:37:14 +01:00
Gabriel Mazetto
b5291f9599 Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
Guilherme Garnier
59d0263bc8 Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
Jared Szechy
4e2bb80fb3 FogBugz Import: Closed comments may contain user data 2015-09-21 10:49:44 -04:00
Jared Szechy
e156f42079 FogBugz project import 2015-09-08 20:23:01 -04:00