- 06 7月, 2016 3 次提交
-
-
由 Patricio Cano 提交于
-
由 Patricio Cano 提交于
Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] to conform to what GitLab Shell expects and make the `protocol` param in `GitAccess` mandatory.
-
由 Patricio Cano 提交于
-
- 09 5月, 2016 1 次提交
-
-
由 Stan Hu 提交于
If you attempt to push thousands of branches at once, the 60-second timeout will occur because GitAccess checking does a lot of work to check if the user has permission to push to a branch. This changes does two things: 1. Instead of making 1 DB query per branch push, use a memoized list of protected branches to check 2. Memoize what permissions the user has to perform on this project On a test of 10,000 branch pushes, this prevents gitlab-shell from hitting the 60-second timeout. Closes #17225
-
- 06 5月, 2016 2 次提交
-
-
由 Yorick Peterse 提交于
Previously this method would directly receive the output of tag_name(). This method could either return a String or nil. In the previous setup this would somehow magically work but because Rugged::TagCollection#[] doesn't accept nil values it started to fail. To work around this the elsif in change_access_check() assigns the result of tag_name() to a local and then _only_ calls protected_tag?() if the tag name is not nil. The extra parenthesis are put in place to ensure that things are parsed correctly, without these the code would be parsed as follows: elsif tag_ref = (tag_name(ref) && protected_tag(tag_ref)) During runtime this would basically resolve to: elsif tag_ref = (tag_name(ref) && protected_tag(nil)) This is because when you refer to the variable you're assigning _in_ the assignment Ruby returns nil instead of raising an error.
-
由 Yorick Peterse 提交于
This removes the need for retrieving the entire list of tags just to check if a specific one exists.
-
- 16 11月, 2015 1 次提交
-
-
由 Marin Jankovski 提交于
-
- 13 5月, 2015 2 次提交
-
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
- 25 3月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
- 24 3月, 2015 1 次提交
-
-
由 Douwe Maan 提交于
-
- 10 3月, 2015 1 次提交
-
-
由 Douwe Maan 提交于
-
- 19 2月, 2015 1 次提交
-
-
由 Douwe Maan 提交于
-
- 03 2月, 2015 2 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
由 Dmitriy Zaporozhets 提交于
-
- 29 1月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
- 21 1月, 2015 1 次提交
-
-
由 Valery Sizov 提交于
-
- 26 12月, 2014 3 次提交
-
-
由 Marin Jankovski 提交于
-
由 Marin Jankovski 提交于
-
由 Marin Jankovski 提交于
-
- 06 12月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 02 12月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 01 12月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 18 11月, 2014 1 次提交
-
-
由 Valery Sizov 提交于
Conflicts: lib/gitlab/git_access.rb spec/lib/gitlab/git_access_spec.rb
-
- 04 11月, 2014 1 次提交
-
-
由 Ciro Santilli 提交于
commit starts with 7 zeros.
-
- 07 10月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 23 9月, 2014 1 次提交
-
-
由 Jacob Vosmaer 提交于
-
- 02 9月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 30 5月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 22 5月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 15 5月, 2014 2 次提交
-
-
由 Jacob Vosmaer 提交于
-
由 Jacob Vosmaer 提交于
-
- 03 4月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 26 3月, 2014 1 次提交
-
-
由 Steven Thonus 提交于
-
- 21 3月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 20 3月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-