- 03 Jun, 2016 2 commits
-
-
James Lopez authored
This reverts commit 3e991230.
-
James Lopez authored
# Conflicts: # app/models/project.rb
-
- 01 Jun, 2016 1 commit
-
-
Yorick Peterse authored
There are several changes to this module: 1. The use of an explicit stack in Participable#participants 2. Proc behaviour has been changed 3. Batch permissions checking == Explicit Stack Participable#participants no longer uses recursion to process "self" and all child objects, instead it uses an Array and processes objects in breadth-first order. This allows us to for example create a single Gitlab::ReferenceExtractor instance and pass this to any Procs. Re-using a ReferenceExtractor removes the need for running potentially many SQL queries every time a Proc is called on a new object. == Proc Behaviour Changed Previously a Proc in Participable was expected to return an Array of User instances. This has been changed and instead it's now expected that a Proc modifies the Gitlab::ReferenceExtractor passed to it. The return value of the Proc is ignored. == Permissions Checking The method Participable#participants uses Ability.users_that_can_read_project to check if the returned users have access to the project of "self" _without_ running multiple SQL queries for every user.
-
- 30 May, 2016 1 commit
-
-
Grzegorz Bizon authored
Checks of literals used in conditions. See #17478
-
- 22 May, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 14 May, 2016 3 commits
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
- 13 May, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 12 May, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 09 May, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 29 Apr, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 20 Apr, 2016 1 commit
-
-
Felipe Artur authored
-
- 18 Apr, 2016 10 commits
-
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
- 13 Apr, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 25 Mar, 2016 2 commits
-
-
Rémy Coutable authored
-
- 21 Mar, 2016 2 commits
-
-
Douwe Maan authored
-
Zeger-Jan van de Weg authored
-
- 20 Mar, 2016 1 commit
-
-
Douwe Maan authored
-
- 19 Mar, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
-
- 18 Mar, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
-
- 17 Mar, 2016 6 commits
-
-
Douglas Barbosa Alexandre authored
-
Felipe Artur authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
Discussed it here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2831#note_4190228
-
Grzegorz Bizon authored
-
Felipe Artur authored
-
- 16 Mar, 2016 1 commit
-
-
Felipe Artur authored
-
- 13 Mar, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
The user has the rights of a public user execpt it can never create a project, group, or team. Also it cant view internal projects.
-
- 10 Mar, 2016 1 commit
-
-
Felipe Artur authored
-