419c53ec62
Add latest changes from gitlab-org/gitlab@16-5-stable-ee
2023-10-19 12:57:54 +00:00
920cbcb389
Add latest changes from gitlab-org/gitlab@16-2-stable-ee
2023-07-31 12:23:51 +00:00
cfb0ebe093
Add latest changes from gitlab-org/gitlab@16-0-stable-ee
2023-06-05 15:44:11 +00:00
1385478346
Add latest changes from gitlab-org/security/gitlab@16-0-stable-ee
2023-06-02 21:59:19 +00:00
361d9dae8b
Add latest changes from gitlab-org/gitlab@16-0-stable-ee
2023-06-02 19:59:37 +00:00
e7b32a77cc
Add latest changes from gitlab-org/gitlab@16-0-stable-ee
2023-05-25 19:51:41 +00:00
0c872e02b2
Add latest changes from gitlab-org/gitlab@15-7-stable-ee
2022-12-20 14:22:11 +00:00
b39512ed75
Add latest changes from gitlab-org/gitlab@15-3-stable-ee
2022-08-18 08:17:02 +00:00
36a59d088e
Add latest changes from gitlab-org/gitlab@15-0-stable-ee
2022-05-19 07:33:21 +00:00
a7b3560714
Add latest changes from gitlab-org/gitlab@14-8-stable-ee
2022-02-18 09:45:46 +00:00
f64a639bcf
Add latest changes from gitlab-org/gitlab@13-10-stable-ee
2021-03-16 18:18:33 +00:00
7e9c479f7d
Add latest changes from gitlab-org/gitlab@13-6-stable-ee
2020-11-19 08:27:35 +00:00
85dc423f70
Add latest changes from gitlab-org/gitlab@13-4-stable-ee
2020-09-19 01:45:44 +00:00
6e4e1050d9
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
2020-08-20 18:42:06 +00:00
f155cc9034
Add latest changes from gitlab-org/gitlab@master
2019-10-16 03:06:12 +00:00
91353779bf
Add changelog entry
2019-08-12 11:16:17 +01:00
1c2554bfd3
Add BitBucketServerImport project filtering
2019-08-12 11:16:17 +01:00
2f6a20ce66
Fix typos in the whole gitlab-ce project
2019-05-20 14:11:44 +00:00
3288e1a874
Adds the Rubocop ReturnNil cop
...
This style change enforces `return if ...` instead of
`return nil if ...` to save maintainers a few minor review points
2019-03-06 17:51:56 +02:00
a0856cf7b9
Fix BitbucketServer::Client failing with Webmock 3.5.1
...
Webmock 3.1.0 changed the behavior to return `nil` for the body if an
HTTP 204 No Content response were received
(b837e64278
).
Update the Bitbucket Server connection to ignore these No Content
response codes.
2019-02-16 15:30:02 -08:00
660dcd5b7c
Fix Bitbucket Server importer error handling
...
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
2019-01-12 22:14:08 -08:00
a06b7a7d5d
Fix Bitbucket Server import only including first 25 pull requests
...
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
2019-01-06 21:13:00 -08:00
39f252254b
Make sure there's only one slash as path separator
...
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-11-09 15:36:45 -08:00
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
f2a99398bf
Use a case statement to determine pull request state
2018-08-02 14:45:54 -07:00
aa5821e571
Assorted Bitbucket Server importer code cleanup based on review
2018-08-01 10:45:04 -07:00
d2fd6d2351
Deal with subpaths and trailing slashes properly
2018-07-31 21:14:36 -07:00
fc5df829bd
Use URI.join to avoid slash headaches
2018-07-31 13:22:40 -07:00
dbef9f2151
Hide error details if there are none
2018-07-31 12:58:26 -07:00
710d82104d
Track parental relationships in comments
2018-07-31 11:12:10 -07:00
3cda8c93d8
Fix merge request SHA
2018-07-30 23:37:54 -07:00
6408cd0020
Use raw_comment
2018-07-28 21:50:48 -07:00
dd937377cf
Use a class method to consolidate timestamp conversion
2018-07-28 21:48:37 -07:00
57d1b60f61
Handle invalid JSON from server
2018-07-27 14:29:05 -07:00
450030e902
Add Accept header for JSON
2018-07-27 12:58:17 -07:00
3f715bb438
Consolidate server errors and add specs
2018-07-26 23:05:22 -07:00
7ee9c3c436
Use project key instead of project name for imports
2018-07-26 15:45:38 -07:00
e52f6bf5f9
Fix failing spec
2018-07-25 22:32:10 -07:00
f7a7a753a4
Add comment about why using first
2018-07-25 21:45:13 -07:00
930b5e7a5b
Add spec for pull request comments and add comments
2018-07-25 21:39:52 -07:00
771dec8470
Clean up implementation
2018-07-25 20:53:25 -07:00
bf2d029a3d
Add spec for pull request activity
2018-07-25 15:39:39 -07:00
4160a8dd81
Enable frozen_string_literal
2018-07-25 05:22:53 -07:00
3fd704b239
Add spec for BitBucketServer pull reuest parsing
2018-07-20 22:30:28 -07:00
7c1aaf68f8
Add spec for BitbucketServer::Representation::Repo
2018-07-20 21:47:00 -07:00
9d59616b95
Fix URL for deleting branches
2018-07-18 23:15:24 -07:00
19cd1ba7bc
Fix identation in lib/bitbucket_server/connection.rb
2018-07-17 22:29:18 -07:00
c793252e8b
Add support for deleting branches via the Bitbucket Server API
2018-07-13 15:39:24 -07:00
ec4109d413
Make Connection#post consistent with Connection#get and add specs
2018-07-12 23:17:05 -07:00
15220291ae
Add spec for BitbucketServer::Connection
2018-07-12 22:33:36 -07:00