An error occurred fetching the project authors.
- 06 Jul, 2017 3 commits
-
-
Valery Sizov authored
-
Yorick Peterse authored
This is allowed for existing instances so we don't end up 76 offenses right away, but for new code one should _only_ use this if they _have_ to remove non database data. Even then it's usually better to do this in a service class as this gives you more control over how to remove the data (e.g. in bulk).
-
Yorick Peterse authored
This removes the need for relying on Rails' "dependent" option for data removal, which is _incredibly_ slow (even when using :delete_all) when deleting large amounts of data. This also ensures data consistency is enforced on DB level and not on application level (something Rails is really bad at). This commit also includes various migrations to add foreign keys to tables that eventually point to "projects" to ensure no rows get orphaned upon removing a project.
-
- 05 Jul, 2017 1 commit
-
-
Douwe Maan authored
-
- 30 Jun, 2017 1 commit
-
-
Adam Niedzielski authored
-
- 29 Jun, 2017 1 commit
-
-
Adam Niedzielski authored
This reverts commit b07c0003, reversing changes made to 2b97d76d.
-
- 28 Jun, 2017 7 commits
-
-
Douwe Maan authored
-
Douglas Barbosa Alexandre authored
-
Tiago Botelho authored
-
Douglas Barbosa Alexandre authored
-
Tiago Botelho authored
-
Tiago Botelho authored
-
Tiago Botelho authored
-
- 27 Jun, 2017 1 commit
-
-
Douglas Barbosa Alexandre authored
-
- 26 Jun, 2017 1 commit
-
-
Ruben Davila authored
-
- 23 Jun, 2017 3 commits
-
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
- 22 Jun, 2017 1 commit
-
-
Eric Eastwood authored
Introduced in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2201
-
- 21 Jun, 2017 6 commits
-
-
Yorick Peterse authored
This optimises how GroupProjectsFinder builds it collection, producing simpler and faster queries in the process. It also cleans up the code a bit to make it easier to understand.
-
Yorick Peterse authored
This method used to use a UNION, which would lead to it performing the same query twice; producing less than ideal performance. Further, in certain cases ActiveRecord could get confused and mess up the variable bindings, though it's not clear how/why exactly this happens. Fortunately we can work around all of this by building some of the WHERE conditions manually, allowing us to use a simple OR statement to get all the data we want without any of the above problems.
-
Yorick Peterse authored
This ensures that Project only includes a single prepend for EE::Project, which in turn takes care of the rest.
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
Yorick Peterse authored
This moves all EE specific code out of the Project model into separate modules. State machine logic is injected using the EE::Project::ImportStatusStateMachine module. By moving all this code out of the Project model we reduce the number of possible merge conflicts.
-
- 19 Jun, 2017 2 commits
-
-
Pawel Chojnacki authored
Remove unnecessary prometheus_service method, that is now handled by new automagic within Project model
-
Yorick Peterse authored
This optimises how GroupProjectsFinder builds it collection, producing simpler and faster queries in the process. It also cleans up the code a bit to make it easier to understand.
-
- 16 Jun, 2017 2 commits
-
-
Pawel Chojnacki authored
-
Yorick Peterse authored
This method used to use a UNION, which would lead to it performing the same query twice; producing less than ideal performance. Further, in certain cases ActiveRecord could get confused and mess up the variable bindings, though it's not clear how/why exactly this happens. Fortunately we can work around all of this by building some of the WHERE conditions manually, allowing us to use a simple OR statement to get all the data we want without any of the above problems.
-
- 15 Jun, 2017 1 commit
-
-
Stan Hu authored
-
- 13 Jun, 2017 2 commits
-
-
Lin Jen-Shin authored
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 12 Jun, 2017 2 commits
-
-
Tiago Botelho authored
-
Yorick Peterse authored
-
- 08 Jun, 2017 2 commits
-
-
Yorick Peterse authored
In EE we don't want to remove import data for mirrors. By moving this logic to a separate method we can simply re-define the method in EE using "prepend" and call "super" whenever necessary.
-
Yorick Peterse authored
This ensures the order of these methods is identical in CE and EE.
-
- 07 Jun, 2017 3 commits
-
-
Nick Thomas authored
-
Nick Thomas authored
-
Kamil Trzcinski authored
-
- 05 Jun, 2017 1 commit
-
-
Tiago Botelho authored
-