Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-06-18Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot
2020-04-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-08Apply code review feedbackGeorge Koltsov
2019-08-07Add bitbucket_import/importer_spec.rb specGeorge Koltsov
- Replace `username` field with `nickname` due to updates in BitBucket Cloud API - Add new imported spec validating addition of `authod_line`
2019-08-07Convert RestClient to Gitlab::HTTP for Prometheus MonitorDavid Wilkins
- Closes #60024 - Change PrometheusClient.new to accept a base url instead of an already created RestClient - Use Gitlab::HTTP in PrometheusClient instead of creating RestClient in PrometheusService - Move http_options from PrometheusService to PrometheusClient (follow_redirects: false) - ensure that base urls don't have the trailing slash - Created a `PrometheusClient#url` method that might not be strictly required - Change rescued exceptions from RestClient::* to HTTParty::ResponseError where possible and StandardError for the rest
2019-07-26Add frozen_string_literal to spec/lib (part 1)Thong Kuah
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-06-19Avoid storing backtraces from Bitbucket Cloud imports in the databaseStan Hu
We noticed in https://gitlab.com/gitlab-com/gl-infra/production/issues/908 some Bitbucket imports took over a second to load their projects row because `import_error` was huge due to errors. To prevent this, we now: 1. Clean the backtraces 2. Log the details into importer.log 3. Omit the details from the database
2019-06-03Merge branch 'security-60039' into 'master'GitLab Release Tools Bot
Disallow invalid MR branch name See merge request gitlab/gitlabhq!3052
2019-05-08Refactor spec to reload existing_label right after creationPatrick Derichs
This will avoid timestamp comparison issues later within equality check with attributes
2019-05-02Validate MR branch namesMark Chao
Prevents refspec as branch name, which would bypass branch protection when used in conjunction with rebase. HEAD seems to be a special case with lots of occurrence, so it is considered valid for now. Another special case is `refs/head/*`, which can be imported.
2019-03-14Fix Bitbucket importFrancisco Javier López
In https://gitlab.com/gitlab-org/gitlab-ce/commit/ebf16ada856efb85424a98848c141f21e609886a we introduced a SHA validator, to ensure that the data provided in merge request diffs, was legit. Nevertheless, the validator assumed that the SHA should be 40 chars long. When we import a project from BitBucket, the retrieved SHA is shorter (12 chars long). Therefore, this validator prevented to create a valid MergeRequestDiff for ever MergeRequest (triggering an exception).
2019-02-06Add more tests and comments around Wiki formattingStan Hu
2019-02-06Refactor use of Shell.import_repository for WikisStan Hu
The previous behavior would pass in a list of parameters to Shell, but we can improve this by using the WikiFormatter and Project models to give us the same information.
2019-02-06Send project name with Gitaly repository requestsStan Hu
When hashed storage is in use, it's helpful to have the project name associated with the request. Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-16Does not allow an import_url with SSH protocolDouglas Barbosa Alexandre
2018-08-08Fix Bitbucket Cloud importer omitting repliesStan Hu
Inline diff comments did not have the proper position, so even though they had line codes the merge request validation would fail. Now we cache the line position for each parent comment and use that. Closes #50052
2018-06-21Implement `expect_next_instance_of` and use itLin Jen-Shin
We need this because `expect_any_instance_of` doesn't work on prepended models. Now we could use the same code between CE/EE
2018-05-24Import bitbucket issues that are reported by an anonymous userBart Libert
For these kind of issues, the "reporter" field is present but zero. In such a case, "fetch" will not return the default value, but it will return nil. Hence, importing fails, because the "username" field of nil is referenced Fixes issue #44381
2018-04-23Resolve "Namespace factory is problematic"Lin Jen-Shin
2018-04-03Use shard name in Git::GitlabProjects instead of shard pathAhmad Sherif
Closes gitaly#1110
2017-11-20Fix bitbucket wiki import with hashed storage enabledNick Thomas
2017-08-09Enable the Layout/SpaceBeforeBlockBraces copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-07Backport changes in ↵Nick Thomas
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2551 to CE
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-07-27Use described_class when possibleRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-02-23Revert "Enable Style/DotPosition"Douwe Maan
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
2017-02-23Revert "Prefer leading style for Style/DotPosition"Douwe Maan
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
2017-02-23Fix new offensesDouwe Maan
2017-02-23Prefer leading style for Style/DotPositionDouwe Maan
2017-01-25Use `:empty_project` where possible throughout spec/libRobert Speicher
2016-12-19Add Wiki import to BB importerValery Sizov
2016-12-14BB importer: fix specsValery Sizov
2016-12-12Specs for Bitbucket::Connections and Bitbucket::CollectionsValery Sizov
2016-12-09Fix specsValery Sizov
2016-11-22Fix spec for Bitbucket importerStan Hu
2016-11-22Fix Rubocop errors with Bitbucket Importer specStan Hu
2016-11-22Fix Bitbucket importer spec to pass with 2.0 APIStan Hu
2016-11-22Fix BitbucketImport::ProjectCreator specStan Hu
2016-11-22Remove no longer used BitbucketImport::Client specStan Hu
2016-07-18Fix spec to set import_url before attempting to create import_dataStan Hu
2016-06-08Make Omniauth providers specs to not modify global configurationKamil Trzcinski
2016-05-24Enable RSpec/NotToNot cop and auto-correct offensesRobert Speicher
Also removes the note from the development/testing.md guide