Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-17 | Fix BitbucketServer::Client failing with Webmock 3.5.1 | Stan Hu | |
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. | |||
2019-01-13 | Fix Bitbucket Server importer error handling | Stan Hu | |
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 | |||
2018-11-10 | Make sure there's only one slash as path separator | Stan Hu | |
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 | |||
2018-08-01 | Assorted Bitbucket Server importer code cleanup based on review | Stan Hu | |
2018-08-01 | Deal with subpaths and trailing slashes properly | Stan Hu | |
2018-07-31 | Use URI.join to avoid slash headaches | Stan Hu | |
2018-07-31 | Hide error details if there are none | Stan Hu | |
2018-07-28 | Handle invalid JSON from server | Stan Hu | |
2018-07-27 | Add Accept header for JSON | Stan Hu | |
2018-07-25 | Enable frozen_string_literal | Stan Hu | |
2018-07-19 | Fix URL for deleting branches | Stan Hu | |
2018-07-18 | Fix identation in lib/bitbucket_server/connection.rb | Stan Hu | |
2018-07-14 | Add support for deleting branches via the Bitbucket Server API | Stan Hu | |
2018-07-13 | Make Connection#post consistent with Connection#get and add specs | Stan Hu | |
2018-07-13 | Add spec for BitbucketServer::Connection | Stan Hu | |
2018-07-06 | Fix pagination | Stan Hu | |
2018-07-06 | Improve error handling of Bitbucket login errors | Stan Hu | |
2018-07-04 | Support creating a remote branch to import closed pull requests | Stan Hu | |
2018-07-01 | Add a Reconfigure button and improve layout of import screen | Stan Hu | |
2018-06-26 | More work towards supporting Bitbucket Server | Stan Hu | |
2018-06-25 | WIP: Add support for Bitbucket Server imports | Stan Hu | |