| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| | |
The api will proxy requests to the environment's prometheus server.
The Prometheus::ProxyService class can be reused when we add support for
group prometheus servers.
|
| |
| |
| |
| |
| |
| |
| | |
- rewords examples starting with 'should'
- rewords examples starting with 'it'
Note: I had to manually fixup "onlies" to "only"
|
|/
|
|
|
|
|
|
|
|
| |
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26248 added
support for deduplicating FindCommit requests using Gitaly ref name
caching. However, not all endpoints were covered, and in one case the
Gitaly wrapper wasn't actually surrounding the serialization step. We
can safely cache ref names between FindCommit calls for #index and #show
endpoints for merge requests and pipelines. This can significantly
reduce the number of FindCommit requests.
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| |
| | |
Resolve "Failing group transfer disables expandable sections"
Closes #45511
See merge request gitlab-org/gitlab-ce!26837
|
| | |
|
| |
| |
| |
| |
| | |
This fixes the bug, when approver filter is provided,
but dashboard asks to enter any filter
|
| |
| |
| |
| |
| | |
- added suggestions to mock data
- fixed props to be not required
|
|/
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
Cache FindCommit results in pipelines view
See merge request gitlab-org/gitlab-ce!26776
|
| |
| |
| |
| |
| |
| |
| |
| | |
For each pipeline, the controller will call `Pipeline#latest?` to
determine if the pipeline's ref is the latest for that branch.
Since it's likely that the same branches are being used in each
pipeline, we can reduce Gitaly overhead by caching the results
of the FindCommit call.
|
|\ \
| |/
|/|
| | |
jarv/dev-to-gitlab-2019-04-02
|
| |\
| | |
| | |
| | |
| | | |
Return cached languages if they've been detected before
See merge request gitlab/gitlabhq!2998
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Disallow changing namespace of a project in update method
See merge request gitlab/gitlabhq!3028
|
| | | | |
|
| | | | |
|
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For a given merge request, it's quite common to see duplicate FindCommit
Gitaly requests because the Gitaly CommitService caches the request by
the commit SHA, not by the ref name. However, most of the duplicate
requests use the ref name, so the cache is never actually used in
practice. This leads to unnecessary requests that slow performance.
This commit allows certain callers to bypass the ref name to
OID conversion in the cache. We don't do this by default because it's
possible the tip of the branch changes during the commit, which
would cause the caller to get stale data.
This commit also forces the Ci::Pipeline to use the full ref name
so that caching can work for merge requests.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57083
|
|/ /
| |
| |
| | |
Check if user can access API on GraphqlController
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
* dev/master:
Update CHANGELOG.md for 11.8.3
Update CHANGELOG.md for 11.7.7
Only return `commands_changes` used in frontend
|
| |\ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
'master'
Fix project serialization in quick actions response
Closes #2826
See merge request gitlab/gitlabhq!3001
|
| | |
| | |
| | |
| | |
| | | |
When executing quick actions, this limits the `commands_changes`
response to only those used by the frontend
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Move out link\unlink ability checks to a policy
See merge request gitlab-org/gitlab-ce!26278
|
| | | |
| | | |
| | | |
| | | | |
We can extend the policy in EE for additional behavior
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In production, we see high error rates due to clients attempting to use
the dumb Git HTTP protocol with HEAD /foo/bar.git/info/refs
endpoint. This isn't supported and causes Error 500s because Workhorse
doesn't send along its secret because it's not proxying this request.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54579
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
So the fake can enjoy it, too. We don't use `prepend`
because that'll require we change `allow_any_instance_of` to
`expect_next_instance_of`, but that's not very easy to do.
We can do that later.
|
|/ /
| |
| |
| |
| |
| | |
This mistake seems to have always been there, but it only resulted in
errors on the `/explore*.json` since they were the one that _actually_
relied on the local variables.
|
|\ \
| |/
|/|
| |
| | |
Refactor groups and projects boards actions
See merge request gitlab-org/gitlab-ce!25568
|
| |
| |
| |
| | |
Move this to EE-only. It isn't useful here since there's only one board
|
| |
| |
| |
| | |
Move common functionality to BoardsActions concern
|
|/
|
|
|
|
|
| |
Add a supporting code to separate groups#show
and groups#details which is required for the
proper implementation of the Group Overview
content and Security Dashboard option for it
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Includes instance methods on Group model to detect when a group has
AutoDevOps explicitly/implicitly enabled/disabled.
- Includes migration to add a new column to namespaces table
- Add UI necessary modifications
- Add service and controller to update auto devops
related instances
- Updates project and groups auto devops badges
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Edit Knative domain after it has been deployed
Closes #56937
See merge request gitlab-org/gitlab-ce!25386
|
| |
| |
| |
| | |
- This is to avoid colision with EE ClusterUpdateAppWorker
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Creates new route
- Creates new controller action
- Creates call stack:
Clusterss::ApplciationsController calls -->
Clusters::Applications::UpdateService calls -->
Clusters::Applications::ScheduleUpdateService calls -->
ClusterUpdateAppWorker calls -->
Clusters::Applications::PatchService -->
ClusterWaitForAppInstallationWorker
DRY req params
Adds gcp_cluster:cluster_update_app queue
Schedule_update_service is uneeded
Extract common logic to a parent class (UpdateService will need it)
Introduce new UpdateService
Fix rescue class namespace
Fix RuboCop offenses
Adds BaseService for create and update services
Remove request_handler code duplication
Fixes update command
Move update_command to ApplicationCore so all apps can use it
Adds tests for Knative update_command
Adds specs for PatchService
Raise error if update receives an unistalled app
Adds update_service spec
Fix RuboCop offense
Use subject in favor of go
Adds update endpoint specs for project namespace
Adds update endpoint specs for group namespace
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Expand diff to entire file
Closes #19054
See merge request gitlab-org/gitlab-ce!24406
|
| | |
| | |
| | |
| | | |
Update spec
|
| | | |
|
| |/
| |
| |
| | |
Returns all diff lines for frontend if full is true.
Turn UnfoldForm into presenter, and move controller logic to presenter.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With this we allow authentication using a session or using personal
access token.
Authentication using a session, and CSRF token makes it easy to play
with GraphQL from the Graphiql endpoint we expose.
But we cannot enforce CSRF validity, otherwise authentication for
regular API clients would fail when they use personal access tokens to
authenticate.
|
|\ \
| |/
|/| |
|
| |\
| | |
| | |
| | |
| | | |
[master] Check issue milestone availability
See merge request gitlab/gitlabhq!2788
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add project when creating milestone in specs
We validate milestone is from the same
project/parent group as issuable ->
we need to set project in specs correctly
Improve methods names and specs organization
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
'2802-security-add-public-internal-groups-as-members-to-your-project-idor' into 'master'
Add public/internal groups as members to your Project(IDOR)
See merge request gitlab/gitlabhq!2898
|
| | | | |
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Validate session key when authorizing with GCP to create a cluster
Closes #2805
See merge request gitlab/gitlabhq!2902
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It was previously possible to link a GCP account to another
user's GitLab account by having them visit the callback URL,
as there was no check that they were the initiator of the
request.
We now reject the callback unless the state parameter
matches the one added to the initiating user's session.
|