| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This removes unneeded `.reload` call which
makes AR to load ALL objects, and create its
in-memory representation.
|
|
|
|
|
|
|
|
|
| |
After an initial fetch, the repository will have many loose objects
and refs. Running a `git gc` will compact refs into `packed-refs` and
objects into `.pack` files, which should make importing pull
requests faster.
Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/59477
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Fix real-time updates for projects that contain a reserved word
Closes #60113
See merge request gitlab-org/gitlab-ce!27060
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Projects that included reserved words (e.g. test-create) would fail to
generate a proper ETag key because of the name. To fix this, we add
forward slashes to match the exact name so that /test-create doesn't get
matched, but /create does.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60113
|
|\ \
| | |
| | |
| | |
| | | |
[CE-port] Fix Epic depth validation
See merge request gitlab-org/gitlab-ce!26390
|
| | |
| | |
| | |
| | | |
CE-port of 10546-fix-epic-depth-validation
|
| |/
|/|
| |
| | |
This reverts merge request !26991
|
|\ \
| | |
| | |
| | |
| | | |
Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"
See merge request gitlab-org/gitlab-ce!27051
|
| | |
| | |
| | | |
This reverts merge request !26823
|
|/ /
| |
| |
| |
| | |
'master'"
This reverts merge request !26954
|
| |
| |
| |
| | |
spec/features/groups/group_page_with_external_authorization_service_spec to EE
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes sure that we always have a repository type when trying to
parse a repository from a path.
This is needed because sometimes we want to perform access checks as
if the project already existed, for example when creating a project on
push.
Before this we were only doing that when accessing git over http, this
makes sure it also works correctly when accessing git over SSH
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Require all templates to use default stages
Closes #59992
See merge request gitlab-org/gitlab-ce!26954
|
| |/
| |
| |
| |
| |
| | |
Our templates are free to override the 'stages:'.
However, they should follow the convention to always include
'build', 'test', 'deploy' which are defaults when not defined.
|
|\ \
| | |
| | |
| | |
| | | |
Bump Helm to 2.13.1 and kubectl to 1.11.9
See merge request gitlab-org/gitlab-ce!26991
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- rewords examples starting with 'should'
- rewords examples starting with 'it'
Note: I had to manually fixup "onlies" to "only"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Also refactor the get and json_api_get methods so that the get method
can be reused by the new proxy method.
- The new proxy method makes no changes to the request to the prometheus
server and response from the prometheus server. This allows it to be
used as a proxy to the Prometheus server, hence the name.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Show error when namespace/svc account missing
Closes #54506
See merge request gitlab-org/gitlab-ce!26362
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Create FailedUnmetPrerequisites status to allow custom
messaging for builds that were unable to be queued due
to failing to meet prerequisites (eg. failing to create
Kubernetes namespace for deployment).
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fix is a followup to !24098 which introduced a validation of the
`include:` keyword of a gitlab-ci configuration file when triggered
from /ci/lint API calls.
However, there was a test case missing: the case of a single string as
value. I have added a test case for that which shows that the code was
not validating it correctly.
This commit fixes that to allow all `include:` valid inputs.
|
| | |
| | |
| | |
| | |
| | |
| | | |
We're moving from using terminology related to terminals when
we refer to Websockets connections in Workhorse.
It's more appropiate a concept like channel.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow GraphQL Scalar-fields to be authorized
Closes #57831
See merge request gitlab-org/gitlab-ce!26338
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
By computing the step interval passed to the query_range Prometheus API
call we improve the performance on the Prometheus server and GitLab by
reducing the amount of data points sent back and prevent Prometheus
from sending errors when requesting longer intervals.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
This brings support for untrusted regexp for 'only:refs:' when
enabled via feature flag: alllow_unsafe_ruby_regexp.
This is by default disabled, and should not be used in production
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Extends graphql's platform tracing class to observe duration
of graphql methods.
In graphql 1.8.11 is added prometheus class but it's not very useful
for us because it uses prometheus_exporter to export results.
|
| | |
| | |
| | |
| | |
| | | |
- added suggestions to mock data
- fixed props to be not required
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Add v2 to reserved top level routes
See merge request gitlab-org/gitlab-ce!26540
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
GraphQL Type authorization
Closes #54417
See merge request gitlab-org/gitlab-ce!25724
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Enables authorizations to be defined on GraphQL Types.
module Types
class ProjectType < BaseObject
authorize :read_project
end
end
If a field has authorizations defined on it, and the return type of the
field also has authorizations defined on it. then all of the combined
permissions in the authorizations will be checked and must pass.
Connection fields are checked by "digging" to find the type class of the
"node" field in the expected location of edges->node.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54417
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Download a folder from repository
Closes #24704
See merge request gitlab-org/gitlab-ce!26532
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add `GetArchiveRequest` to git-archive params.
Modifies `Git::Repository#archive_metadata` to append `path`
to `ArchivePrefix` so it'll not hit the cache of repository archive
when it already exists.
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
Support time window parameters in additional metrics endpoint
See merge request gitlab-org/gitlab-ce!26228
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds support for start and end parameters in the #additional_metrics
endpoint of the EnvironmentsController. start and end are meant to be
unix timestamps, per the Prometheus API (as the consumer of this
endpoint will eventually be transitioned to a prometheus endpoint).
This functionality is behind the :metrics_time_window feature flag
for development.
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In order to implement https://gitlab.com/gitlab-org/gitlab-ee/issues/10179
we need several modifications on the CI config file. We are
adding a new ports section in the default Image object.
Each of these ports will accept: number, protocol and name.
By default this new configuration will be only enabled in
the Web IDE config file.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Resolve "Composable Auto DevOps"
Closes #47234
See merge request gitlab-org/gitlab-ce!26520
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Container Scanning, Dependency Scanning, License Management
and SAST parts of Auto DevOps now use the preexisting templates.
Auto DevOps and the DAST job template will now use a
shared job template instead of maintaining two copies
of the job. This also allows Auto DevOps to use custom
authentication with DAST.
|
| |/ /
|/| |
| | |
| | | |
This reverts merge request !26569
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Jarv/dev to gitlab 2019 04 02
Closes #2810
See merge request gitlab-org/gitlab-ce!26846
|
| |\ \ \
| | |/ /
| |/| |
| | | | |
jarv/dev-to-gitlab-2019-04-02
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds a rake task which can be used for removing EXIF
data from existing uploads.
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
Use UntrustedRegexp for CI refs matching
See merge request gitlab/gitlabhq!3005
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This makes ref validation to use always `UntrustedRegexp`.
This also splits the existing RubySyntax into separate
class.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Extends graphql's platform tracing class to observe duration
of graphql methods.
In graphql 1.8.11 is added prometheus class but it's not very useful
for us because it uses prometheus_exporter to export results.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Avoid excessive recursive calls with Rugged TreeEntries
Closes #59759
See merge request gitlab-org/gitlab-ce!26813
|