| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| | |
| | |
| | |
| | | |
[Backport] Support multiple assignees for merge requests
See merge request gitlab-org/gitlab-ce!27089
|
| | |
| | |
| | |
| | |
| | | |
Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161
(code out of ee/ folder).
|
| |/
|/| |
|
|/
|
|
| |
Also set the release sha and author
|
|
|
|
|
|
| |
Accessing /namespace/project/tree/master appears to query
FindCommit 5 times with identical parameters. This reduces
the number of FindCommit queries to 1.
|
|
|
|
|
|
|
|
|
|
|
| |
This enables FindCommit caching to the following actions:
* BlobController#show
* RefsController#logs_tree
It also improves caching in CommitsController since some
duplicate requests were occuring inside the before_action
definitions.
|
| |
|
|
|
|
|
| |
This reduces a handful of duplicate FindCommit calls while viewing the
projects and commits pages.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| |
| |
| | |
Add a prometheus proxy API per environment
Closes #58375
See merge request gitlab-org/gitlab-ce!26841
|
| | |
|
| | |
|
| |
| |
| |
| | |
- It is now being done in ProxyService class.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
- Add controls for sorting by title and date
- Execute Gitaly call which now accepts sorting params for wikis
|
|\
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Add subdirectory params for RepositoriesController#archive
|
|\ \
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Simple masking frontend - CE
See merge request gitlab-org/gitlab-ce!26751
|
| | |
| | |
| | |
| | |
| | |
| | | |
Show masked switch for each variable
When toggled on, the variable value will be masked in runner logs
Show warning message if the switch is on but the value is not maskable
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
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
Closes #2810
See merge request gitlab-org/gitlab-ce!26846
|
| |\ \
| | | |
| | | |
| | | | |
jarv/dev-to-gitlab-2019-04-02
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
Fix related branches visible in issues for guests
See merge request gitlab/gitlabhq!2996
|
| | | | |
| | | | |
| | | | |
| | | | | |
Guest user of a project should not see branches
|
| | |\ \ \
| | | |/ /
| | |/| |
| | | | |
| | | | | |
Return cached languages if they've been detected before
See merge request gitlab/gitlabhq!2998
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | | |
controllers""
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows us to set the encoding of an IO passed without reading it
into memory.
This is useful if we want to stream files into Gitaly. Like we do when
uploading a new file to the repository.
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
Allow ref name caching CommitService#find_commit
Closes #57083
See merge request gitlab-org/gitlab-ce!26248
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|/ / /
| | |
| | | |
This reverts merge request !25476
|
| | |
| | |
| | |
| | |
| | | |
Add a masked switch to variable rows
Copy some behavior from the protected switch
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- concerns
- dashboard
- groups
- import
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Remove expand diff to full file feature flag
See merge request gitlab-org/gitlab-ce!26614
|
| |/ / |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
This changes the repository type from a binary `wiki?` to a type. So
we can have more than 2 repository types.
Now everywhere we called `.wiki?` and expected a boolean, we check
that type.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/ |
|
|
|
|
| |
Move common functionality to BoardsActions concern
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Expand diff to entire file
Closes #19054
See merge request gitlab-org/gitlab-ce!24406
|
| |
| |
| |
| | |
Update spec
|