- 11 Jul, 2017 1 commit
-
-
Paul Charlton authored
-
- 10 Jul, 2017 1 commit
-
-
Sean McGivern authored
-
- 07 Jul, 2017 1 commit
-
-
Tiago Botelho authored
-
- 06 Jul, 2017 3 commits
-
-
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 3 commits
-
-
Douwe Maan authored
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
-
- 04 Jul, 2017 1 commit
-
-
Douwe Maan authored
This reverts merge request !12557
-
- 03 Jul, 2017 3 commits
-
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
-
Douglas Barbosa Alexandre authored
-
- 30 Jun, 2017 3 commits
-
-
Stan Hu authored
In Geo, Project#ensure_repository is used to make sure that a Git repo is available to be fetched on a secondary. If a project were a fork, this directory would never be created. Closes gitlab-org/gitlab-ee#2800
-
Adam Niedzielski authored
-
Lin Jen-Shin authored
-
- 29 Jun, 2017 2 commits
-
-
Douglas Barbosa Alexandre authored
-
Adam Niedzielski authored
This reverts commit 498a8d8560b4, reversing changes made to ecba21e0a524.
-
- 28 Jun, 2017 8 commits
-
-
Douwe Maan authored
-
Douglas Barbosa Alexandre authored
-
Tiago Botelho authored
-
Douglas Barbosa Alexandre authored
-
Tiago Botelho authored
-
Tiago Botelho authored
-
Tiago Botelho authored
-
Lin Jen-Shin 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
-
- 21 Jun, 2017 1 commit
-
-
Grzegorz Bizon authored
-
- 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.
-
- 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.
-
- 05 Jun, 2017 1 commit
-
-
Tiago Botelho authored
-
- 03 Jun, 2017 1 commit
-
-
vanadium23 authored
-
- 02 Jun, 2017 1 commit
-
-
Douwe Maan authored
-