| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
As we have a central domain for auto merge process today,
we should use a single worker for any auto merge process.
|
|\
| |
| |
| |
| |
| |
| | |
Automatically update MR merge-ref along merge status
Closes #58495
See merge request gitlab-org/gitlab-ce!28513
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This couples the code that transitions the `MergeRequest#merge_status`
and refs/merge-requests/:iid/merge ref update.
In general, instead of directly telling `MergeToRefService` to update
the merge ref, we should rely on `MergeabilityCheckService` to keep
both the merge status and merge ref synced. Now, if the merge_status is
`can_be_merged` it means the merge-ref is also updated to the latest.
We've also updated the logic to be more systematic and less user-based.
|
| |
| |
| |
| |
| |
| |
| | |
- Renames attributes from stat to project_statistiscs_name and attribute
to statistic_attribute
- Reordes methods on UpdateProjectStatistics concern
- Removes unused module from Ci::Build
|
|\ \ |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Resolve: Milestones leaked via search API
Closes #2822
See merge request gitlab/gitlabhq!2997
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix milestone titles being leaked using search API
when users cannot read milestones
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Disallow invalid MR branch name
See merge request gitlab/gitlabhq!3052
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Gitlab::HTTP now resolves the hostname only once, verifies the IP is not
blocked, and then uses the same IP to perform the actual request, while
passing the original hostname in the `Host` header and SSL SNI field.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add Namespace and ProjectStatistics to GraphQL API
See merge request gitlab-org/gitlab-ce!28277
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
We can query namespaces, and nested projects.
Projects now exposes statistics
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We have one auto merge strategy today - Merge When Pipeline
Succeeds.
In order to add more strategies for Merge Train feature,
we abstract the architecture to be more extensible.
Removed arguments
Fix spec
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Move some project routes under - scope
See merge request gitlab-org/gitlab-ce!28830
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove legacy artifact related code
Closes #58595
See merge request gitlab-org/gitlab-ce!26475
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We've already migrated all the legacy artifacts to the new realm,
which is ci_job_artifacts table.
It's time to remove the old code base that is no longer used.
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
only the year can trip 'start_date_should_be_less_than_due_date'
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Support sorting issues using `relative_position`
Closes #62178
See merge request gitlab-org/gitlab-ce!28566
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
- adding a "Manual" option to the dropdown
- show 100 issues list when manually sorting
|
| | | | | |
|
| |/ / /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Allow downloading report artifacts
Closes #49265
See merge request gitlab-org/gitlab-ce!27974
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Extracts combining the job_artifacts relation with the with_reports
scope for getting report artifacts into a method.
|
| | | | | |
|
| |/ / / |
|
|/ / / |
|
| | |
| | |
| | |
| | | |
Added a changelog entry for the feature
|
| | |
| | |
| | |
| | |
| | | |
These two methods were used in emitting AUTO_DEVOPS_DOMAIN which has now
been dropped.
|
| | |
| | |
| | |
| | | |
Update documentation to reflect removal
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Bump shoulda-matchers to 4.0.1
See merge request gitlab-org/gitlab-ce!28443
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Starting with Rails 5, belongs_to now adds a presence validation to the
association, and so as of shoulda-matchers 4.0.0 the belong_to matcher
follows suit and tests that this validation is there by setting the
association to nil and asserting that there are validation errors. This
exposed an error with the `validate_branches` method: we need to check
the source and target project exist.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Rails 5 requires that belongs_to associations have the associated record
present. These tests were failing because they had nil values.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When Kubernetes clusters were originally built they could only
exist at the project level, and so there was logic included
that assumed there would only ever be a single Kubernetes
namespace per cluster. We now support clusters at the group
and instance level, which allows multiple namespaces.
This change consolidates various project-specific fallbacks to
generate namespaces, and hands all responsibility to the
Clusters::KubernetesNamespace model. There is now no concept of
a single namespace for a Clusters::Platforms::Kubernetes; to
retrieve a namespace a project must now be supplied in all cases.
This simplifies upcoming work to use a separate Kubernetes
namespace per project environment (instead of a namespace
per project).
|
| | |
| | |
| | |
| | |
| | |
| | | |
As this method does have `deployment_platform(environment: self.name)`,
which is what the form EE needs. Allows us to remove two overrides in
EE.
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Immediate configuration is not ideal for group and instance
level clusters as projects that may never be deployed would
still have Kubernetes namespaces and service accounts created
for them.
As of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25586
we now create only the resources that are required for the
project being deployed, at the time of deployment.
|
|\ \
| | |
| | |
| | |
| | | |
Omit max-count for diverging_commit_counts behind feature flag
See merge request gitlab-org/gitlab-ce!28157
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We want to optimize the query for the CountDivergingCommits rpc by
removing the --max-count argument now that we have commit graphs
enabled for all repositories during housekeeping. However, we want to
test this first behind a feature flag.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Sessions can be listed for a given user
See merge request gitlab-org/gitlab-ce!28306
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds ActiveSession#session_ids_for_user for listing session IDs for a
given user, and adds ActiveSession#list_sessions for listing session
data directly.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Optimise upload path calls
See merge request gitlab-org/gitlab-ce!28264
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
String#underscore isn't particularly slow, but it's possible for us to
call it many times in a users autocomplete request, with mostly-static
values ('User', 'Group', etc.). We can memoise this and save a
surprising amount of time (around 10% of the total request time in some
cases).
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix project visibility level validation
Closes #59379
See merge request gitlab-org/gitlab-ce!28305
|
| |/ / / / |
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Adds suffix to enum methods and changes `in_groups` to
`of_groups`
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Udpated user_edit_profile_spec with time preferences
Minor update form fields
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
CE Show disabled project repo mirrors
See merge request gitlab-org/gitlab-ce!27326
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Show disabled mirrors with a badge so that they
can be deleted by project owners.
|