GitLab Bot
1930898566
Add latest changes from gitlab-org/gitlab@master
2021-08-02 09:10:09 +00:00
GitLab Bot
f4d51a9f71
Add latest changes from gitlab-org/gitlab@master
2021-07-29 15:09:48 +00:00
GitLab Bot
4bf6e14129
Add latest changes from gitlab-org/gitlab@master
2021-07-08 21:09:21 +00:00
GitLab Bot
793034a905
Add latest changes from gitlab-org/gitlab@master
2021-06-22 15:06:55 +00:00
GitLab Bot
3597fb6d33
Add latest changes from gitlab-org/gitlab@master
2021-06-16 18:10:35 +00:00
GitLab Bot
a8476fe0cd
Add latest changes from gitlab-org/gitlab@master
2021-06-15 18:09:57 +00:00
GitLab Bot
f7bc7dc5ea
Add latest changes from gitlab-org/gitlab@master
2021-06-01 21:10:06 +00:00
GitLab Bot
c06178d51a
Add latest changes from gitlab-org/gitlab@master
2021-05-06 09:18:56 +00:00
GitLab Bot
2af44d609e
Add latest changes from gitlab-org/gitlab@master
2021-04-21 12:09:16 +00:00
GitLab Bot
6c5f3e7b4e
Add latest changes from gitlab-org/gitlab@master
2021-02-09 15:09:39 +00:00
GitLab Bot
64f7eb2b37
Add latest changes from gitlab-org/gitlab@master
2021-02-05 12:09:31 +00:00
GitLab Bot
d51d5adf94
Add latest changes from gitlab-org/gitlab@master
2021-01-07 09:10:22 +00:00
GitLab Bot
f3b791d5d5
Add latest changes from gitlab-org/gitlab@master
2020-12-17 18:10:14 +00:00
GitLab Bot
65952e598a
Add latest changes from gitlab-org/gitlab@master
2020-12-10 06:09:47 +00:00
GitLab Bot
7b2635a55d
Add latest changes from gitlab-org/gitlab@master
2020-12-01 12:09:17 +00:00
GitLab Bot
6ab9cdec26
Add latest changes from gitlab-org/gitlab@master
2020-10-06 12:08:38 +00:00
GitLab Bot
61265b9f01
Add latest changes from gitlab-org/gitlab@master
2020-10-05 15:08:56 +00:00
GitLab Bot
8e35232810
Add latest changes from gitlab-org/gitlab@master
2020-09-02 15:10:54 +00:00
GitLab Bot
36b0a5b875
Add latest changes from gitlab-org/gitlab@master
2020-07-21 18:09:45 +00:00
GitLab Bot
c59765a50a
Add latest changes from gitlab-org/gitlab@master
2020-06-24 18:09:03 +00:00
GitLab Bot
6478698293
Add latest changes from gitlab-org/gitlab@master
2020-06-09 21:08:21 +00:00
GitLab Bot
1f1e53f43f
Add latest changes from gitlab-org/gitlab@master
2020-05-28 15:08:02 +00:00
GitLab Bot
77237c5a6b
Add latest changes from gitlab-org/gitlab@master
2020-03-05 00:07:49 +00:00
GitLab Bot
619d0b6922
Add latest changes from gitlab-org/gitlab@master
2020-02-26 18:09:24 +00:00
GitLab Bot
a89cb5cbdd
Add latest changes from gitlab-org/gitlab@master
2020-02-06 21:08:48 +00:00
GitLab Bot
6315ed9630
Add latest changes from gitlab-org/gitlab@master
2020-01-28 18:08:35 +00:00
GitLab Bot
4e375367b7
Add latest changes from gitlab-org/gitlab@master
2019-12-07 00:07:51 +00:00
GitLab Bot
18a102a5b9
Add latest changes from gitlab-org/gitlab@master
2019-11-08 03:06:48 +00:00
GitLab Bot
308146dc39
Add latest changes from gitlab-org/gitlab@master
2019-10-10 00:06:44 +00:00
GitLab Bot
b7dfe2ae40
Add latest changes from gitlab-org/gitlab@master
2019-09-13 13:26:31 +00:00
Manoj MJ
53b17f0301
Add documentation and tests
...
This commit adds
- feature specs
- to test the ability of a user with "developer" permission
to delete tags in repositories.
- documentation
2019-06-19 07:08:56 +00:00
Francisco Javier López
4b868ba8e7
[master] Check access rights when creating/updating ProtectedRefs
2019-01-31 16:52:50 +01:00
Douwe Maan
3a0ae96c0e
Don't run single change checks when changes are unknown
...
When the `changes` passed to `GitAccess` are the literal string `_any`,
which indicates that this is a pre-authorization check, we now check
whether the user can push to any branch in the project in question,
instead of running the per-change check with `oldrev` `_any`, `newrev`
`nil`, and `ref` `nil`.
2019-01-02 15:31:32 +01:00
Douwe Maan
55723c223f
Move magic '_any' string to constant
2019-01-02 15:31:31 +01:00
Francisco Javier López
e9b5b10a45
Skip per-commit validations which have already passed on another change/branch
2018-12-28 10:44:25 +00:00
Tiago Botelho
084a8b6101
Adds tracing messages for slow git pushes
...
Whenever a git push takes more than 50 seconds the user
will receive a trace from each check performed along with
their timings
2018-10-25 10:10:45 +01:00
Alejandro Rodríguez
a99bf447a2
Remove Gitlab::Git::Repository#rugged and Gollum code
...
Cleanup code, and refactor tests that still use Rugged. After this, there should
be no Rugged code that access the instance's repositories on non-test
environments. There is still some rugged code for other tasks like the
repository import task, but since it doesn't access any repository storage path
it can stay.
2018-10-02 16:34:28 -03:00
Jacob Vosmaer (GitLab)
62ffad0802
Remove Repository#path memoization
2018-07-12 09:49:25 +00:00
Mark Chao
a63bce1a4b
Resolve "Rename the `Master` role to `Maintainer`" Backend
2018-07-11 14:36:08 +00:00
Rubén Dávila
b98bff13de
Backport some changes from EE
2018-07-09 12:32:37 -05:00
Stan Hu
4f9068dfc0
Eliminate N+1 queries in LFS file locks checks during a push
...
This significantly improves performance when a user pushes many references.
project.path_locks.any? doesn't cache the output and runs `SELECT 1 AS one
FROM "path_locks" WHERE project_id = N` each time. When there are thousands
of refs being pushed, this can time out the unicorn worker.
CE port for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6159 .
2018-06-18 16:42:20 -07:00
Jacob Vosmaer (GitLab)
a0808df0b6
Find and mark more Git disk access locations
2018-06-05 15:51:14 +00:00
Bob Van Landuyt
7a139c1602
Add username to terms message in git and API calls
...
This will make it clearer to users which account is being used to make
the API/git call. So they know which account needs to be used to
accept the terms.
Closes #46649
2018-05-24 18:19:48 +02:00
Bob Van Landuyt
e0768a9bcb
Allow triggered builds git access
...
Allow builds that have been triggered by a user before terms were
enforced access to git. That way the builds can complete as usual.
2018-05-11 15:20:11 +02:00
Bob Van Landuyt
f7f13f9db0
Block access to API & git when terms are enforced
...
When terms are enforced, but the user has not accepted the terms
access to the API & git is rejected with a message directing the user
to the web app to accept the terms.
2018-05-10 17:02:27 +02:00
Mayra Cabrera
c4f56a8802
Increase test suite around deploy tokens behavior
...
Also, fixes broken specs
2018-04-06 21:20:17 -05:00
Mayra Cabrera
8315861c9a
Include ProjectDeployTokens
...
Also:
- Changes scopes from serializer to use boolean columns
- Fixes broken specs
2018-04-06 21:20:16 -05:00
Mayra Cabrera
370fc05da7
Implement 'read_repo' for DeployTokens
...
This will allow to download a repo using the token from the DeployToken
2018-04-06 21:20:16 -05:00
Stan Hu
a18eea8c32
Automatically cleanup stale worktrees and lock files upon a push
...
git 2.16 will fail badly if there are stale worktrees.
Closes #44115
2018-04-06 08:17:07 -07:00
Tomasz Maczukin
edcba1aa27
Allow HTTP(s) when git request is made by GitLab CI
2018-04-05 12:35:12 +02:00