Merge branch 'bitbucket-oauth2' into 'master'
Refactor Bitbucket importer to use BitBucket API Version 2
## What does this MR do?
## Are there points in the code the reviewer needs to double check?
## Why was this MR needed?
## What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ce/issues/19946
## Screenshots (if relevant)
This MR needs the following permissions in the Bitbucket OAuth settings:
![image](/uploads/a26ae5e430a724bf581a92da7028ce3c/image.png)
- []
## Does this MR meet the acceptance criteria?
- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
- [ ] Added for this feature/bug
- [ ] All builds are passing
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
See merge request !5995
Showing
... | ... | @@ -22,7 +22,6 @@ gem 'doorkeeper', '~> 4.2.0' |
gem 'omniauth', '~> 1.3.1' | ||
gem 'omniauth-auth0', '~> 1.4.1' | ||
gem 'omniauth-azure-oauth2', '~> 0.0.6' | ||
gem 'omniauth-bitbucket', '~> 0.0.2' | ||
gem 'omniauth-cas3', '~> 1.1.2' | ||
gem 'omniauth-facebook', '~> 4.0.0' | ||
gem 'omniauth-github', '~> 1.1.1' | ||
... | ... |
changelogs/unreleased/bitbucket-oauth2.yml
0 → 100644
config/initializers/public_key.rb
deleted
100644 → 0
29.4 KB
16.1 KB
45.5 KB
14.9 KB
7.08 KB
1.29 KB
8.48 KB
10.8 KB
36 KB
lib/bitbucket/client.rb
0 → 100644
lib/bitbucket/collection.rb
0 → 100644
lib/bitbucket/connection.rb
0 → 100644
lib/bitbucket/error/unauthorized.rb
0 → 100644
lib/bitbucket/page.rb
0 → 100644
lib/bitbucket/paginator.rb
0 → 100644
lib/bitbucket/representation/base.rb
0 → 100644
lib/bitbucket/representation/comment.rb
0 → 100644
lib/bitbucket/representation/issue.rb
0 → 100644
lib/bitbucket/representation/pull_request.rb
0 → 100644
lib/bitbucket/representation/repo.rb
0 → 100644
lib/bitbucket/representation/user.rb
0 → 100644
lib/gitlab/bitbucket_import.rb
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
lib/omniauth/strategies/bitbucket.rb
0 → 100644
spec/lib/bitbucket/collection_spec.rb
0 → 100644
spec/lib/bitbucket/connection_spec.rb
0 → 100644
spec/lib/bitbucket/page_spec.rb
0 → 100644
spec/lib/bitbucket/paginator_spec.rb
0 → 100644