GitLab Bot
f82d85a884
Add latest changes from gitlab-org/gitlab@master
2024-05-29 00:11:00 +00:00
GitLab Bot
3e0c035fe3
Add latest changes from gitlab-org/gitlab@master
2022-06-15 12:09:10 +00:00
GitLab Bot
27484d1465
Add latest changes from gitlab-org/gitlab@master
2022-06-03 18:08:54 +00:00
GitLab Bot
d489dd79cf
Add latest changes from gitlab-org/gitlab@master
2022-05-03 00:08:25 +00:00
GitLab Bot
6a5b78ac69
Add latest changes from gitlab-org/gitlab@master
2021-12-07 03:12:22 +00:00
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
430aebe8af
Add latest changes from gitlab-org/gitlab@master
2021-04-21 06:09:28 +00:00
GitLab Bot
61265b9f01
Add latest changes from gitlab-org/gitlab@master
2020-10-05 15:08:56 +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
ae96e65ee2
Add latest changes from gitlab-org/gitlab@master
2020-04-22 12:09:29 +00:00
GitLab Bot
619d0b6922
Add latest changes from gitlab-org/gitlab@master
2020-02-26 18:09:24 +00:00
GitLab Bot
18a102a5b9
Add latest changes from gitlab-org/gitlab@master
2019-11-08 03:06:48 +00:00
Douwe Maan
55723c223f
Move magic '_any' string to constant
2019-01-02 15:31:31 +01:00
Jacob Vosmaer (GitLab)
5cf5680f9c
Deny repository disk access in development and test
2018-06-14 11:18:25 +00:00
Michael Kozono
4be20ba923
Respond 404 when repo does not exist
2018-02-24 16:22:29 -08:00
Jacob Vosmaer (GitLab)
ea18e1bf28
Fix repo existence check in GitAccessWiki
2018-02-22 00:20:30 +00:00
blackst0ne
27c95364b5
Replace '.team << [user, role]' with 'add_role(user)' in specs
2017-12-22 19:18:28 +11:00
Toon Claes
d13669716a
Create idea of read-only database
...
In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo
secondary node). But in GitLab CE it also might be useful to have the
"read-only" idea around. So port it back to GitLab CE.
Also having the principle of read-only in GitLab CE would hopefully
lead to less errors introduced, doing write operations when there
aren't allowed for read-only calls.
Closes gitlab-org/gitlab-ce#37534 .
2017-10-06 22:37:40 +02:00
Rémy Coutable
cddc5cacfb
Use described_class when possible
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Rémy Coutable
ddccd24c13
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Michael Kozono
af784cc6e2
Add “Project moved” error to Git-over-SSH
2017-06-16 14:14:19 -07:00
Michael Kozono
23d37382da
Refactor to let GitAccess errors bubble up
...
No external behavior change.
This allows `GitHttpController` to set the HTTP status based on the type of error. Alternatively, we could have added an attribute to GitAccessStatus, but this pattern seemed appropriate.
2017-06-05 05:32:26 -07:00
Semyon Pupkov
3deb66ea56
Add traits for ProjectFeatures to Project factory
...
https://gitlab.com/gitlab-org/gitlab-ce/issues/24007
2017-02-05 13:11:45 +05:00
Robert Speicher
80a6d2fda2
Use `:empty_project` where possible throughout spec/lib
2017-01-25 12:25:42 -05:00
Lin Jen-Shin
884f57c910
Use consistent names and move checks to the method,
...
and move those checks to be private. Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7383#note_20285012
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7383#note_20285279
2016-12-20 21:19:07 +08:00
Douglas Barbosa Alexandre
e7d794770a
Improve Gitlab::GitAccessWiki spec with download access checks
2016-11-30 16:02:25 -02:00
Douwe Maan
b0bf92140f
Merge branch 'fix-unathorized-cloning' into 'security'
...
Ensure external users are not able to clone disabled repositories.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/23788
See merge request !2017
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-09 12:27:17 +01:00
Kamil Trzcinski
a387ff7ba8
Fix specs after renaming authentication_capabilities
2016-09-16 11:12:22 +02:00
Kamil Trzcinski
e941365f3b
Rename capabilities to authentication_abilities
2016-09-16 11:12:21 +02:00
Kamil Trzcinski
548169cfb5
Fix most of specs
2016-09-15 15:40:53 +02:00
Patricio Cano
8b14d1d2c2
Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] to conform to what GitLab Shell expects and make the `protocol` param in `GitAccess` mandatory.
2016-07-05 16:54:22 -05:00
Douwe Maan
13d6bab177
Tag lib specs
2015-12-09 11:55:42 +01:00
Douwe Maan
4830b2be5e
Refactor GitAccess to use instance variables.
2015-03-24 14:11:48 +01:00
Jeroen van Baarsen
0c4a70a306
Updated rspec to rspec 3.x syntax
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-12 19:17:35 +01:00
Valery Sizov
ef944e83ec
Git hook messages: wiki access fix
2014-11-24 16:21:35 +02:00
Valery Sizov
53bf52f191
Better message for failed pushes because of git hooks
...
Conflicts:
lib/gitlab/git_access.rb
spec/lib/gitlab/git_access_spec.rb
2014-11-18 13:10:07 +02:00
Dmitriy Zaporozhets
0bf99f6557
Developers can push to wiki repo. Protected branches does not affect wiki repo any more
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-10-07 16:05:24 +03:00