| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Increase ETag cache expiry time
See merge request !10180
|
| |
| |
| |
| | |
As discussed in #29777.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The idea is that after each feature spec example, we block all incoming
requests at the Rack level, go to the 'about:blank' page, and wait until
the current requests reach 0.
This should solve the problem where a request would end after database
cleaner performed the database truncation. The problem was that a GET
request can still lead to records creation (e.g. namespaces or routes).
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\
| |
| |
| |
| |
| |
| | |
Docs and scripts to install Gitaly from source
Closes gitaly#136 and #28446
See merge request !9941
|
| | |
|
| |
| |
| |
| | |
This helps you understand why the command failed.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Add LIKE index for routes.path
Closes #29554
See merge request !10060
|
| |
| |
| |
| |
| |
| |
| |
| | |
Nested groups support uses queries along the lines of `path LIKE 'X/%'`.
For these queries to use an index on PostgreSQL we need to use either
the varchar_pattern_ops or text_pattern_ops operator class.
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/29554
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Return 404 in project issues API endpoint when project cannot be found
Closes #29631
See merge request !10093
|
| |
| |
| |
| | |
Closes #29631
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
'29685-wrong-number-of-arguments-calling-http_url_to_repo-on-cloning-project-wikis' into 'master'
Fix ProjectWiki#http_url_to_repo signature
Closes #29685
See merge request !10079
|
| |/
| |
| |
| |
| |
| |
| | |
New Gitlab::UrlSanitizer.http_credentials_for_user method responsible
for generating a credentials hash from a user.
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Fix Error 500 when application settings are saved
Closes #29674 and #29115
See merge request !10070
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When a VisibilityLevel is an integer formatted as a string, convert it
to an integer, instead of looking it up in the hash map.
When the value is not recognized, default to PRIVATE.
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
nil check for url_blocker?
See merge request !2076
|
| | |
| | |
| | |
| | |
| | | |
Protect server against SSRF in project import URLs
See merge request !2068
|
| | |
| | |
| | |
| | |
| | |
| | | |
Adds rel="noopener noreferrer" to all links with target="_blank"
See merge request !2071
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Fix regressions introduced while adding CI endpoints in API v4
See merge request !9952
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In APIv1 we've been sending all jobs from previous stages and
a `dependencies` list with names of jobs that user want to download
artifacts from. This was selected on Runners side.
In APIv1 we've planned to send only jobs that were defined (if any; and
all previous jobs by default). However I've missed the fact that
it was Runner who selected jobs, not GitLab. And now current version
of APIV4 sends all jobs everytime.
This commit fixes this. If user will define `dependencies` in his job,
then GitLab will send only selected jobs.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Artifacts download for authorization is using a job token of job to
which the artifact belongs. In APIv1 the token was sent with dependent
jobs details and in APIv4 it was designed to also contain it.
However I forgot about this parameter while working on
`/api/v4/jobs/request` endpoint.
This commit adds a missing parameter which is required for APIv4 to work
properly.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In Runner v1.3.0 we've started to send User-Agent header with Runner's
version data. Since GitLab v8.12.0 we've started to use this header to check
if used Runner's version supports 204 status code instead of 404 as a
response when there is no jobs to execute by a Runner.
In APIv4 (introduced in GitLab 9.0.0) will require Runner v9.0.0. And
writing more accurately: GitLab Runner v9.0.0 will require GitLab at
least 9.0.0. Because of such breaking change we are able to switch
entirely to 204 response code and there is no need to do check of
User-Agent.
This commit removes useless code and complexity.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In APIv1 we were using UpdateJob to verify if the runner exists. It was
the only method that was using Runner's token and used in special way
had no side effects (like scheduling a new job or unregisterring a
Runner).
In APIv4 we've change UpdateJob to use job's token as authentication
credentials, and that way we've removed the only endpoint that could
be used to verify if the Runner with a certain token exists in target
GitLab installation.
This commit adds `POST /api/v4/runners/verify` endpoint whose only
responsibility is to respond if Runner with posted credentials exists or
not.
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | | |
See merge request !9623.
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| | |
| | |
| | |
| | | |
Fixed issues pointed out.
|
| | |
| | |
| | |
| | |
| | | |
ref)
https://docs.gitlab.com/omnibus/settings/nginx.html#configuring-gitlab-trusted_proxies-and-the-nginx-real_ip-module
|
| |/
|/| |
|
|\ \
| | |
| | |
| | |
| | | |
Added Gitlab::Database.config
See merge request !10045
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This returns the ActiveRecord configuration for the current environment.
While CE doesn't use this very often, EE will use it in a few places for
the database load balancing code. I'm adding this to CE so we don't end
up with merge conflicts in this file.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Use Gitaly for CommitController#show
See merge request !9629
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use "branch_name" instead "branch" on V3 branch creation API
Closes #29604
See merge request !10030
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
'26470-branch-names-with-reference-prefixes-results-in-buggy-branches' into 'master'
Strip reference prefixes on branch creation
Closes #26470
See merge request !8498
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Matthieu Tardy <matthieu.tardy@gmail.com>
|
| |/ / /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
The GitLab Pages external-http and external-https arguments can be specified multiple times
See merge request !9812
|
| | | | |
| | | | |
| | | | |
| | | | | |
multiple times
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Ensure dots in project and group ID are allowed in the API endpoints
Closes #27988
See merge request !9944
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
API routes
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
'29565-name-of-the-uncompressed-folder-of-a-tag-archive-changed' into 'master'
Fix archive prefix bug for refs containing dots
Closes #29565
See merge request !10007
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Gitlab::Emoji#gl_emoji_tag now returns early instead of raising a 500 error.
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Add 'Undo mark all as done' to Todos
Closes #27114
See merge request !9890
|