Commit graph

259043 commits

Author SHA1 Message Date
David Fernandez f152d1c95b Add support for NPM package metadata 2021-11-10 16:21:52 +00:00
Payton Burdette 3941d96ac3 Fixes broken trigger layout
Fixes broken layout for variables
when using trigger pipeline.

Changelog: fixed
2021-11-10 11:14:44 -05:00
Phil Hughes 7844282c5f Merge branch '330560-remove-depecated-wip-from-graphql' into 'master'
Remove deprecated WIP from GraphQL

See merge request gitlab-org/gitlab!73349
2021-11-10 16:11:02 +00:00
Jan Provaznik 37583c1ba1 Merge branch '340495_create_project_namespace_on_project_create' into 'master'
Create ProjectNamespace when a Project is created

See merge request gitlab-org/gitlab!70972
2021-11-10 16:00:52 +00:00
Martin Wortschack 83deb44d7f Merge branch 'gl-form-github-import' into 'master'
Add gl-form-input class for fields in github import page

See merge request gitlab-org/gitlab!58307
2021-11-10 15:58:51 +00:00
Yogi 778e82abbb Add gl-form-input class for fields in github import page 2021-11-10 15:58:51 +00:00
Olena Horal-Koretska 18e7787480 Merge branch 'remove-issue-notes-startup-js-call' into 'master'
Remove startup JS call for issue notes

See merge request gitlab-org/gitlab!74146
2021-11-10 15:55:52 +00:00
Heinrich Lee Yu aef9904344 Merge branch '25616_reject_multiple_signatures' into 'master'
Reject multiple PGP signatures for commits

See merge request gitlab-org/gitlab!74095
2021-11-10 15:54:50 +00:00
Mikołaj Wawrzyniak 26ef92ac36 Merge branch 'add-cron-for-prometheus-integration-health-check' into 'master'
Add cron for prometheus integration health check

See merge request gitlab-org/gitlab!73884
2021-11-10 15:48:20 +00:00
Jan Provaznik a246e4e5aa Merge branch '341349-fj-remove-linear-group-plans-preloader-ancestors-ff' into 'master'
Enable linear GroupPlanPreloader ancestors queries

See merge request gitlab-org/gitlab!72594
2021-11-10 15:47:15 +00:00
Tetiana Chupryna edf530f5a1 Merge branch 'initialize-sync_partitions' into 'master'
Move database partitioning code from initializers to module for reusing

See merge request gitlab-org/gitlab!74107
2021-11-10 15:41:00 +00:00
Marcin Sedlak-Jakubowski 0397b7e910 Merge branch 'calebcooper-fix-addresses-gmail' into 'master'
Fix inconsistent addresses gmail

See merge request gitlab-org/gitlab!74093
2021-11-10 15:20:45 +00:00
Caleb Cooper 7f0fac83c2 Fix inconsistent addresses gmail 2021-11-10 15:20:44 +00:00
Rémy Coutable 91cd1fa5f0 Merge branch 'georgekoltsov/add-push-rule-to-project-migration' into 'master'
Add Push Rule to Project Migration

See merge request gitlab-org/gitlab!73554
2021-11-10 15:20:37 +00:00
Sean McGivern 1daa906e4c Merge branch 'pks-create-repository-atomic' into 'master'
Prepare for CreateRepository starting to fail with existing repos

See merge request gitlab-org/gitlab!72491
2021-11-10 15:12:35 +00:00
Frédéric Caplette d7f44cc9f0 Merge branch 'suggest-pipeline-banner-to-pipeline-editor' into 'master'
Use Pipeline Editor to add new CI file from Suggest Pipeline banner

See merge request gitlab-org/gitlab!73514
2021-11-10 15:08:40 +00:00
Eugie Limpin 82418b0047 Redirect to Pipeline Editor from Suggest Pipeline banner CTA
Take the user to the Pipeline Editor instead of the File Editor when
they click on the CTA button of the Pipeline Suggest banner.

Changelog: changed
2021-11-10 15:08:40 +00:00
Mikołaj Wawrzyniak d1fcae1932 Merge branch '345252-fix-instrumentation-class-feature-flag-rollout-link' into 'master'
Fix rollout issue url

See merge request gitlab-org/gitlab!74089
2021-11-10 14:35:42 +00:00
release-tools approver bot b75129af8f Merge branch 'release-tools/update-gitaly' into 'master'
Update Gitaly version

See merge request gitlab-org/gitlab!74188
2021-11-10 14:04:33 +00:00
Denys Mishunov 597d62d29c Contextualised translations for SE 2021-11-10 15:00:51 +01:00
Natalia Tepluhina 562f7c582b Merge branch 'vs/rename-env-to-local-env-gql' into 'master'
Rename duplicate GQL type name Environment to LocalEnvironment

See merge request gitlab-org/gitlab!74174
2021-11-10 13:31:58 +00:00
Kushal Pandya bc1b5bf053 Merge branch 'ph/345019/fixMultiNewLineRegex' into 'master'
Fixes multiple new line suggestions not escaping correctly

See merge request gitlab-org/gitlab!74090
2021-11-10 13:09:20 +00:00
GitLab Release Tools Bot 5a4bf380a0 Update gitaly to 9de3dd28a5c 2021-11-10 13:06:05 +00:00
Matthias Käppler 96205e5f25 Merge branch 'aqualls-revise-expiry-message' into 'master'
Revise very wordy expiry messages

See merge request gitlab-org/gitlab!73999
2021-11-10 12:57:51 +00:00
Rémy Coutable 5cce724984 Merge branch 'acunskis-bump-allure-report-publisher' into 'master'
E2E: Bump allure report publisher version

See merge request gitlab-org/gitlab!74173
2021-11-10 12:43:00 +00:00
Marcia Ramos ba24e2d15b Link handbook from deprecation template 2021-11-10 12:38:46 +00:00
Mikołaj Wawrzyniak 43996cb85d Merge branch 'mwaw/add-sync-index-to-events-on-id-creeated_at-343679' into 'master'
Resolve "SaaS Service Ping Metrics Failures causing null UMAU value"

See merge request gitlab-org/gitlab!73670
2021-11-10 12:20:32 +00:00
Aleksei Lipniagov 3bb9f7191d Merge branch 'fix_ar_cop_in_workers' into 'master'
Fix CodeReuse/ActiveRecord offenses in workers

See merge request gitlab-org/gitlab!74150
2021-11-10 12:13:59 +00:00
Patrick Steinhardt ddf054fe50 repository: Do not fail if repository exists already
The `#create_if_not_exists` function is supposed to create a repository
if it doesn't exist yet. It may happen though that the existence-cache
may pretend a repo doesn't exist yet even though it does, and in that
case we'd call the CreateRepository RPC. This worked alright until now
given that this RPC call is idempotent and simply reinitializes the repo
in case it exists already. But Gitaly is going to change semantics of
the RPC such that it raises an error if the repo exists already, where
it then won't touch the preexisting repo at all.

Prepare for this change by introducing a new `RepositoryExists` error
which gets raised when `#create_repository` returns an AlreadyExists
error. This error is rescued from in `#create_if_not_exists` such that
semantics of this RPC call remain the same.
2021-11-10 13:12:36 +01:00
Patrick Steinhardt a40a136ed0 spec: Do not stub temporary repo in sync service shared examples
When synchronizing repositories, then depending on a retry counter we
may either fetch into the real repository, or recreate the repo by first
creating a temporary staging repository, populating that repository and
then moving it into place. Our tests stub out this logic though such
that we always end up fetching into the real repository: this both keeps
us from exercising whether we fetch into the expected repo, and this
logic will break when Gitaly changes semantics of the CreateRepository
RPC to raise an error if the repository exists already.

Fix this issue by not stubbing out the temporary repository. Instead, we
now assert that function calls end up using the correct repository.
2021-11-10 13:12:36 +01:00
Patrick Steinhardt 670827537f spec: Do not recreate existing snippet repositories
In order to set up snippet repositories in some of our tests, we first
copy over a template repository into the target location and then call
Gitaly's `CreateRepository()`. While this call wouldn't do anything if
used with Gitaly only given that the RPC is idempotent, it would create
a database record when Gitaly is proxied by Praefect.

Gitaly is about to drop idempotentcy of `CreateRepository()`, where it
will instead raise an error. Prepare for this by reversing calls such
that we first create the repository in Gitaly, and then copy over
contents of our seed repository.
2021-11-10 13:12:36 +01:00
George Koltsov 4594e7d796 Add Push Rule to Project Migration
- Add an ability to migrate project Push Rule
    to GitLab Group Migration that includes
    projects
2021-11-10 12:03:28 +00:00
Vitaly Slobodin 790eea6760 Merge branch 'fix/country-list-rendering-for-jh' into 'master'
Fix country list rendering for JH

See merge request gitlab-org/gitlab!74037
2021-11-10 11:54:47 +00:00
Alexandru Croitor c51c36edc1 Increment by 1 the number of queries on project import
We probably were already close to the 100 queries limit
and creating a new project namespace on project creation
have spilled it over the limit. When a project is imported
a new project is being created and we also create a project
namespace, so there is an increase in the SQL queries by 1
2021-11-10 13:50:31 +02:00
Andrejs Cunskis 5ba59ea955 Merge branch 'tomi/fix/custom_commit_suggestion' into 'master'
Custom Commit Suggestion Stability Improvement

See merge request gitlab-org/gitlab!72581
2021-11-10 11:50:13 +00:00
Vitaly Slobodin dd954cdce4 Rename duplicate GQL type name Environment to LocalEnvironment
See https://gitlab.com/gitlab-org/gitlab/-/issues/247052
for more information.
2021-11-10 14:38:02 +03:00
Tetiana Chupryna 6ad1b98a36 Merge branch '342730-add-alert-id-to-alert-response' into 'master'
Return alert IIDs and title in create response

See merge request gitlab-org/gitlab!73697
2021-11-10 11:31:05 +00:00
Sean Arnold b84b125280 Return alert IIDs and title in create response 2021-11-10 11:30:59 +00:00
Alper Akgun dc7d88dc62 Merge branch '345372-broken-master-in-docs-lint-markdown' into 'master'
Resolve "Broken master in `docs-lint markdown`"

See merge request gitlab-org/gitlab!74178
2021-11-10 11:17:06 +00:00
Rémy Coutable 7251c40d95 Fix 'MD044/proper-names' markdown linting offenses 2021-11-10 11:11:40 +00:00
Vijay Hawoldar 5fcbee2d37 Add member approval service
When namespace level user caps are enabled and the limit has been
reached, new members will be put into an awaiting state. This service
will handle approving/activating them.

Changelog: added
EE: true
2021-11-10 11:07:17 +00:00
Mikołaj Wawrzyniak 86093d5c4a Merge branch 'psk-revert-insights-url-masking' into 'master'
Revert insights page URL masking handler

See merge request gitlab-org/gitlab!73764
2021-11-10 11:06:59 +00:00
Francisco Javier López 6905dd1c49
Enable linear GroupPlanPreloader ancestors queries
In this commit, we're removing the feature flag
`linear_group_plans_preloaded_ancestor_scopes` to allow
GroupPlanPreloader using linear queries.

Changelog: added
EE: true
2021-11-10 12:01:28 +01:00
Alexandru Croitor 72ffebc5a3 Add specs specific to project namespace creation
Check that project namespace is created when project is
created and also that there is no project namespace created
if the project is not created for any reason.
2021-11-10 12:55:49 +02:00
Phil Hughes 7cc938365a Merge branch 'chronic-duration-js' into 'master'
Frontend: Port gitlab_chronic_duration to JavaScript

See merge request gitlab-org/gitlab!73402
2021-11-10 10:52:40 +00:00
Russell Dickenson 2ac8faae5b Merge branch '338176-add-language-versions-to-ds-docs' into 'master'
Add documentation explaining how analyzers obtain dependency information

See merge request gitlab-org/gitlab!68557
2021-11-10 10:45:54 +00:00
Adam Cohen 847a525a8f Add documentation explaining how analyzers obtain dependency information 2021-11-10 10:45:51 +00:00
Nicolò Maria Mezzopera 14f680ee67 Merge branch 'pipeline-editor/commit-title' into 'master'
Add tooltip and commit title to pipeline editor's status header

See merge request gitlab-org/gitlab!73724
2021-11-10 10:31:03 +00:00
Rémy Coutable 7a15e05d6a Merge branch 'mw/remove-graphql-ff-schema-event-streaming' into 'master'
Remove flag that hides event streaming from graphQL schema

See merge request gitlab-org/gitlab!74092
2021-11-10 10:30:22 +00:00
Matija Čupić 0b87b6d957 Merge branch 'fix-security-template-comments' into 'master'
Fix link in template comments

See merge request gitlab-org/gitlab!74053
2021-11-10 10:21:53 +00:00