Commit Graph

44 Commits

Author SHA1 Message Date
GitLab Bot 4aa6fba6d8 Add latest changes from gitlab-org/gitlab@master 2023-12-21 00:13:46 +00:00
GitLab Bot 7f73b108d4 Add latest changes from gitlab-org/gitlab@master 2023-09-14 12:09:48 +00:00
GitLab Bot 34ee0b51d6 Add latest changes from gitlab-org/gitlab@master 2023-07-14 21:13:45 +00:00
GitLab Bot 92c9eb5c69 Add latest changes from gitlab-org/gitlab@master 2022-12-25 21:09:02 +00:00
GitLab Bot 35272ed523 Add latest changes from gitlab-org/gitlab@master 2022-06-23 18:09:26 +00:00
GitLab Bot 8ed0a009f0 Add latest changes from gitlab-org/gitlab@master 2022-05-04 12:07:48 +00:00
GitLab Bot c70a70ea42 Add latest changes from gitlab-org/gitlab@master 2021-08-20 15:10:24 +00:00
GitLab Bot 9ebfef6a3c Add latest changes from gitlab-org/gitlab@master 2020-11-04 15:08:41 +00:00
GitLab Bot d5cf5cf4f7 Add latest changes from gitlab-org/gitlab@master 2020-07-17 00:09:37 +00:00
GitLab Bot fcda041fc0 Add latest changes from gitlab-org/gitlab@master 2020-07-09 12:08:56 +00:00
GitLab Bot 691ed55a05 Add latest changes from gitlab-org/gitlab@master 2020-07-06 18:09:13 +00:00
GitLab Bot 4774fa00b7 Add latest changes from gitlab-org/gitlab@master 2020-06-15 15:08:20 +00:00
GitLab Bot 2c2dd5e36c Add latest changes from gitlab-org/gitlab@master 2020-01-24 12:09:01 +00:00
George Koltsov 485b8b86ed Add filter param sanitization 2019-08-12 11:16:52 +01:00
George Koltsov 91353779bf Add changelog entry 2019-08-12 11:16:17 +01:00
George Koltsov 1c2554bfd3 Add BitBucketServerImport project filtering 2019-08-12 11:16:17 +01:00
Stan Hu f93b2e02a5 Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
Martin Wortschack 5660690787 Externalize strings in projects controllers
- concerns
- dashboard
- groups
- import
2019-03-27 16:52:52 +00:00
Stan Hu eafccaad73 Fix Bitbucket Server import not allowing personal projects
Bitbucket Server places personal projects in a namespace called
`~username`. This change allows those projects and also strips
them from the GitLab namespace.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53419
2019-01-28 13:06:27 -08:00
Stan Hu 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
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
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Stan Hu aa5821e571 Assorted Bitbucket Server importer code cleanup based on review 2018-08-01 10:45:04 -07:00
Stan Hu b2da3a351a Remove extra space in app/controllers/import/bitbucket_server_controller.rb 2018-08-01 10:04:47 -07:00
Stan Hu 0b2db3324b Inline repo_owner in app/controllers/import/bitbucket_server_controller.rb 2018-08-01 10:04:17 -07:00
Stan Hu d27ae9f55d Fix Rubocop error 2018-07-27 05:14:12 -07:00
Stan Hu 73f366e08f Consolidate validation logic 2018-07-26 23:10:56 -07:00
Stan Hu 3f715bb438 Consolidate server errors and add specs 2018-07-26 23:05:22 -07:00
Stan Hu 0612b07037 Remove unnecessary guard clause 2018-07-25 21:49:29 -07:00
Stan Hu e47cf67e80 Add frozen_string_literal: true to controller 2018-07-25 15:01:37 -07:00
Stan Hu ff3291e56d Tighten up regular expression for project names 2018-07-25 05:19:22 -07:00
Stan Hu 4b3fb68c2d Fix bug in rejecting already added repositories 2018-07-17 21:50:37 -07:00
Stan Hu 15220291ae Add spec for BitbucketServer::Connection 2018-07-12 22:33:36 -07:00
Stan Hu 0936bff496 Finish specs for spec/controllers/import/bitbucket_server_controller_spec.rb 2018-07-09 16:04:41 -07:00
Stan Hu d5ac4ea32f Fix Rubocop error 2018-07-08 21:36:02 -07:00
Stan Hu 589a28889a Test server connection error 2018-07-08 14:57:30 -07:00
Stan Hu 4c5085f68d Add spec for project not found 2018-07-08 07:49:47 -07:00
Stan Hu 5d7e130e64 Add more specs and fix some typos 2018-07-08 07:44:33 -07:00
Stan Hu 022a0c2fde Fix Rubocop errors 2018-07-05 21:11:03 -07:00
Stan Hu a78e36abab Improve error handling of Bitbucket login errors 2018-07-05 14:09:01 -07:00
Stan Hu 3735ce43fc Add a Reconfigure button and improve layout of import screen 2018-07-01 05:13:15 -07:00
Stan Hu a4cbbfe465 Fix Rubocop complaints 2018-06-28 22:26:33 -07:00
Stan Hu 046a5e398d More work towards supporting Bitbucket Server 2018-06-25 22:40:11 -07:00
Stan Hu ebd8e4333a WIP: Add support for Bitbucket Server imports 2018-06-25 13:06:10 -07:00