summaryrefslogtreecommitdiff
path: root/lib/bitbucket_server
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add missing fileStan Hu2018-06-281-0/+5
|
* Fix generation of diff line positionsStan Hu2018-06-281-4/+41
|
* Fix line code map omitting repliesStan Hu2018-06-281-1/+1
|
* First iteration of importing diff notesStan Hu2018-06-282-12/+17
|
* Handle threaded comments and prepare for inline commentsStan Hu2018-06-283-42/+112
|
* Import standalone pull request commentsStan Hu2018-06-273-1/+89
|
* More work towards importing pull requestsStan Hu2018-06-261-3/+4
|
* Fix pull request URLsStan Hu2018-06-251-6/+6
|
* Add source/target branch SHAStan Hu2018-06-251-2/+2
|
* More work towards supporting Bitbucket ServerStan Hu2018-06-255-75/+14
|
* WIP: Add support for Bitbucket Server importsStan Hu2018-06-2511-0/+443