Commit graph

19 commits

Author SHA1 Message Date
Douglas Barbosa Alexandre
bf0717802f Does not remove the GitHub remote when importing from GitHub 2017-04-18 00:22:33 +00:00
Douglas Barbosa Alexandre
a9af86250c Fix Rubocop offenses 2017-04-03 16:43:27 -03:00
Douglas Barbosa Alexandre
6143642a5f Refactoring Projects::ImportService 2017-04-03 15:50:22 -03:00
Douglas Barbosa Alexandre
336ba94a7b Fetch GitHub project as a mirror to get all refs at once 2017-04-03 15:50:22 -03:00
Douwe Maan
65aafb9917 Merge branch 'ssrf' into 'security'
Protect server against SSRF in project import URLs

See merge request !2068
2017-03-20 18:53:04 -07:00
Sean McGivern
811e598f60 Enable and autocorrect the CustomErrorClass cop 2017-03-01 15:28:10 +00:00
Rémy Coutable
8fc63d1f64 Improve Gitlab::ImportSources
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-19 17:35:51 +01:00
Rémy Coutable
103114e3d7 Rename Gogs to Gitea, DRY the controller and improve views
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-19 17:35:51 +01:00
Kim "BKC" Carlbäcker
5d4531db25 Gogs Importer 2016-12-19 17:35:51 +01:00
Ahmad Sherif
6e590af148 Check if repository already exists before trying to re-import it 2016-10-28 11:12:48 +02:00
James Lopez
29141ed3ea fix broken repo 500 errors in UI and added relevant specs 2016-09-29 16:58:14 +02:00
James Lopez
ad6ff22380 fixes a few issues to do with import_url not being saved correctly for imports. This should prevent the import_data to be created when it should not and output an error properly validating before creating it. 2016-07-12 16:21:28 +02:00
Alejandro Rodríguez
86359ec854 Refactor repository paths handling to allow multiple git mount points 2016-06-29 22:30:31 -04:00
James Lopez
b53ed84843 adapted current services stuff to use new project import, plus fixes a few issues, updated routes, etc... 2016-06-14 20:32:19 +02:00
James Lopez
3f7ed55011 lots of refactoring to reuse import service 2016-06-14 12:47:07 +02:00
James Lopez
b2b3e0e6ee fix empty message on shell error 2016-06-02 21:47:39 -04:00
Douglas Barbosa Alexandre
f2005fa566 Flush repository cache before import project data
GitHub Pull Requests importer handle with the repository while
importing data, we need to make sure that the cached values are valid.
2016-04-04 19:35:39 -03:00
Douglas Barbosa Alexandre
c040323419 Move Gitlab::BitbucketImport::KeyDeleter to it's own importer 2016-01-26 10:56:22 -02:00
Douglas Barbosa Alexandre
6dd88e090e Extract Projects::ImportService service from RepositoryImportWorker 2016-01-25 22:58:30 -02:00