gitlab-org--gitlab-foss/app/services
Fatih Acet c49517a004 Merge branch 'fix/persistent-import-data' into 'master'
Fix import_data being saved as a result of an invalid import_url

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/19479

Seem that in all cases the `import_url` was an empty string. The `import_url` is now validated correctly and no longer creates the `import_data`even if it fails validation. <= Should cover cases 1, 3, and 4 of https://gitlab.com/gitlab-org/gitlab-ce/issues/19479#note_13005276

Also, it now rescues from all exceptions when importing from a URL, so we make sure the `import_status` is failed after that. Covers case 2 of https://gitlab.com/gitlab-org/gitlab-ce/issues/19479#note_13005276

See merge request !5206
2016-07-14 14:50:34 +00:00
..
auth Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
ci
commits Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
files Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
groups
issues Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
members
merge_requests Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
milestones
notes Automatically update diff note positions when MR is pushed to 2016-07-06 18:51:00 -04:00
oauth2
projects Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/persistent-import-data 2016-07-13 13:44:07 +02:00
search
wiki_pages
audit_event_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
base_service.rb
compare_service.rb Remove unused argument to CompareService#execute 2016-07-08 13:53:17 +01:00
create_branch_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
create_commit_builds_service.rb
create_deployment_service.rb
create_release_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
create_snippet_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
create_spam_log_service.rb
create_tag_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
delete_branch_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
delete_tag_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
delete_user_service.rb
destroy_group_service.rb
event_create_service.rb
git_hooks_service.rb
git_push_service.rb Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
git_tag_push_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
gravatar_service.rb
issuable_base_service.rb
notification_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
repair_ldap_blocked_user_service.rb
system_hooks_service.rb
system_note_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
test_hook_service.rb
todo_service.rb
update_release_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
update_snippet_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00