summaryrefslogtreecommitdiff
path: root/lib/bitbucket_server
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40GitLab Bot2021-03-161-8/+0
|
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-2/+2
|
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-192-1/+9
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-161-1/+1
|
* Add changelog entryGeorge Koltsov2019-08-121-1/+1
|
* Add BitBucketServerImport project filteringGeorge Koltsov2019-08-121-1/+2
|
* Fix typos in the whole gitlab-ce projectYoginth2019-05-201-1/+1
|
* Adds the Rubocop ReturnNil copAndrew Newdigate2019-03-061-2/+2
| | | | | This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points
* Fix BitbucketServer::Client failing with Webmock 3.5.1Stan Hu2019-02-161-0/+1
| | | | | | | | | Webmock 3.1.0 changed the behavior to return `nil` for the body if an HTTP 204 No Content response were received (https://github.com/bblimke/webmock/commit/b837e642782501a6904d0cb1aad391dd6f49ada3). Update the Bitbucket Server connection to ignore these No Content response codes.
* Fix Bitbucket Server importer error handlingStan Hu2019-01-122-14/+17
| | | | | | | | | | | The importer would display a 500 error page if you attempted to import using a non-existent DNS entry. This commit rescues known network issues and consolidates them into BitbucketServer::Connection::ConnectionError`. The previous error handling in the paginator doesn't work because it returns a lazy collection. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56154
* Fix Bitbucket Server import only including first 25 pull requestsStan Hu2019-01-061-3/+9
| | | | | | | | | | | The change to paginate repos in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22825 caused the paginator to stop after 25 pull requests because the limit was set to 25 if none was defined. To fix this, we should only stop if the limit has actually been set and use the limit parameter to determine the maximum number of items to process per page. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55914
* Make sure there's only one slash as path separatorsh-53180-append-pathStan Hu2018-11-091-19/+3
| | | | | | | | | | In Ruby 2.4, `URI.join("http://test//", "a").to_s` will remove the double slash, however it's not the case in Ruby 2.5. Using chomp should work better for the intention, as we're not trying to allow things like ../ or / paths resolution. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53180
* Paginate Bitbucket Server importer projectsStan Hu2018-11-073-10/+49
| | | | | | | To prevent delays in loading the page and reduce memory usage, limit the number of projects shown at 25 per page. Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/50021
* Use a case statement to determine pull request stateStan Hu2018-08-021-2/+3
|
* Assorted Bitbucket Server importer code cleanup based on reviewStan Hu2018-08-012-5/+5
|
* Deal with subpaths and trailing slashes properlyStan Hu2018-07-311-3/+20
|
* Use URI.join to avoid slash headachesStan Hu2018-07-311-3/+3
|
* Hide error details if there are noneStan Hu2018-07-311-1/+1
|
* Track parental relationships in commentsStan Hu2018-07-311-7/+38
|
* Fix merge request SHAStan Hu2018-07-301-3/+11
|
* Use raw_commentStan Hu2018-07-281-3/+3
|
* Use a class method to consolidate timestamp conversionStan Hu2018-07-284-6/+10
|
* Handle invalid JSON from serverStan Hu2018-07-271-6/+7
|
* Add Accept header for JSONStan Hu2018-07-271-1/+6
|
* Consolidate server errors and add specsStan Hu2018-07-261-3/+17
|
* Use project key instead of project name for importsStan Hu2018-07-261-0/+4
|
* Fix failing specStan Hu2018-07-251-4/+4
|
* Add comment about why using `first`Stan Hu2018-07-251-0/+2
|
* Add spec for pull request comments and add commentsStan Hu2018-07-251-4/+28
|
* Clean up implementationStan Hu2018-07-252-7/+20
|
* Add spec for pull request activityStan Hu2018-07-251-28/+8
|
* Enable frozen_string_literalStan Hu2018-07-2511-2/+24
|
* Add spec for BitBucketServer pull reuest parsingStan Hu2018-07-201-12/+12
|
* Add spec for BitbucketServer::Representation::RepoStan Hu2018-07-201-9/+1
|
* Fix URL for deleting branchesStan Hu2018-07-181-1/+1
|
* Fix identation in lib/bitbucket_server/connection.rbStan Hu2018-07-171-6/+6
|
* Add support for deleting branches via the Bitbucket Server APIStan Hu2018-07-132-1/+35
|
* Make Connection#post consistent with Connection#get and add specsStan Hu2018-07-121-11/+11
|
* Add spec for BitbucketServer::ConnectionStan Hu2018-07-123-8/+6
|
* Use browse URL of project to link importsStan Hu2018-07-121-1/+1
|
* Add missing fileStan Hu2018-07-101-0/+21
|
* Fix paginationStan Hu2018-07-052-5/+5
|
* Fix Rubocop errorsStan Hu2018-07-051-1/+1
|
* Improve error handling of Bitbucket login errorsStan Hu2018-07-052-2/+25
|
* Support creating a remote branch to import closed pull requestsStan Hu2018-07-032-1/+25
|
* Fix URL link in Bitbucket statusStan Hu2018-07-011-0/+4
|
* Add a Reconfigure button and improve layout of import screenStan Hu2018-07-012-1/+5
|
* Fix Rubocop complaintsStan Hu2018-06-284-37/+11
|
* Prune unused codeStan Hu2018-06-281-9/+0
|