Commit graph

21 commits

Author SHA1 Message Date
Stan Hu
5b6d5301d9 Paginate Bitbucket Server importer projects
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
2018-11-07 11:37:46 -08:00
Stan Hu
d2fd6d2351 Deal with subpaths and trailing slashes properly 2018-07-31 21:14:36 -07:00
Stan Hu
710d82104d Track parental relationships in comments 2018-07-31 11:12:10 -07:00
Stan Hu
3cda8c93d8 Fix merge request SHA 2018-07-30 23:37:54 -07:00
Stan Hu
ae6b48d20f Fix failing spec in spec/lib/bitbucket_server/client_spec.rb 2018-07-28 17:09:10 -07:00
Stan Hu
57d1b60f61 Handle invalid JSON from server 2018-07-27 14:29:05 -07:00
Stan Hu
450030e902 Add Accept header for JSON 2018-07-27 12:58:17 -07:00
Stan Hu
3f715bb438 Consolidate server errors and add specs 2018-07-26 23:05:22 -07:00
Stan Hu
079b490ad2 Fix failing specs 2018-07-26 21:55:23 -07:00
Stan Hu
7ee9c3c436 Use project key instead of project name for imports 2018-07-26 15:45:38 -07:00
Stan Hu
930b5e7a5b Add spec for pull request comments and add comments 2018-07-25 21:39:52 -07:00
Stan Hu
d09034acca Add pull request spec 2018-07-25 20:54:15 -07:00
Stan Hu
ae7574f952 Add specs for activity and comments 2018-07-25 20:51:12 -07:00
Stan Hu
6762aa0d45 Fix tense of example description 2018-07-25 05:25:03 -07:00
Stan Hu
7c1aaf68f8 Add spec for BitbucketServer::Representation::Repo 2018-07-20 21:47:00 -07:00
Stan Hu
c73db33f1e Add spec for pages 2018-07-19 23:19:20 -07:00
Stan Hu
af94867733 Add spec for paginator 2018-07-19 23:10:50 -07:00
Stan Hu
9d59616b95 Fix URL for deleting branches 2018-07-18 23:15:24 -07:00
Stan Hu
c793252e8b Add support for deleting branches via the Bitbucket Server API 2018-07-13 15:39:24 -07:00
Stan Hu
ec4109d413 Make Connection#post consistent with Connection#get and add specs 2018-07-12 23:17:05 -07:00
Stan Hu
15220291ae Add spec for BitbucketServer::Connection 2018-07-12 22:33:36 -07:00