- 19 3月, 2016 1 次提交
-
-
由 Zeger-Jan van de Weg 提交于
-
- 15 3月, 2016 1 次提交
-
-
由 Yorick Peterse 提交于
The queries that are UNION'd together don't need any eager loading (since we really only use the resulting SQL instead of having ActiveRecord actually run the queries). By dropping any eager loaded associations queries such as the following work instead of producing a SQL error: Project.all.includes(:namespace).search('foo')
-
- 12 3月, 2016 2 次提交
-
-
由 Yorick Peterse 提交于
Similar to the changes made to Project.search the method Project.search_by_title now also uses Arel so it can automatically use ILIKE/LIKE instead of the lower() function.
-
由 Yorick Peterse 提交于
This chance is broken up in two steps: 1. Use ILIKE on PostgreSQL and LIKE on MySQL, instead of using "WHERE lower(x) LIKE lower(y)" as ILIKE is significantly faster than using lower(). In many cases the use of lower() will force a slow sequence scan. 2. Instead of using 1 query that searches both projects and namespaces using a JOIN we're using 2 separate queries that are UNION'd together. Using a JOIN would force a slow sequence scan, using a UNION avoids this. This method now uses Arel as Arel automatically uses ILIKE on PostgreSQL and LIKE on MySQL, removing the need to handle this manually.
-
- 10 3月, 2016 1 次提交
-
-
由 Felipe Artur 提交于
Prevent Groups to have smaller visibility than projects Add default_group_visibility_level to configuration Code improvements
-
- 09 3月, 2016 2 次提交
-
-
-
由 Robert Speicher 提交于
-
- 08 3月, 2016 2 次提交
-
-
由 tiagonbotelho 提交于
-
由 tiagonbotelho 提交于
-
- 26 2月, 2016 1 次提交
-
-
由 Yorick Peterse 提交于
This ensures that if a project is later re-created using the old path it doesn't end up re-using the old cache. This also ensures we don't keep the cache around until its expired by Redis itself. Fixes gitlab-org/gitlab-ce#13790
-
- 19 2月, 2016 1 次提交
-
-
由 Tomasz Maczukin 提交于
-
- 06 1月, 2016 1 次提交
-
-
由 Stan Hu 提交于
-
- 24 12月, 2015 1 次提交
-
-
由 Tomasz Maczukin 提交于
-
- 12 12月, 2015 5 次提交
-
-
由 Stan Hu 提交于
This is needed to support Huboard and a generally useful value.
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
- 09 12月, 2015 2 次提交
-
-
由 Douwe Maan 提交于
-
由 Stan Hu 提交于
-
- 03 12月, 2015 1 次提交
-
-
由 Rubén Dávila 提交于
-
- 19 11月, 2015 1 次提交
-
-
由 Valery Sizov 提交于
-
- 18 11月, 2015 1 次提交
-
-
由 Yorick Peterse 提交于
This method can be used to filter projects to those visible to a given user.
-
- 13 11月, 2015 1 次提交
-
-
由 Kamil Trzcinski 提交于
- Enable CI by default for all new projects
-
- 06 10月, 2015 1 次提交
-
-
由 Yorick Peterse 提交于
This changes the query to use a COUNT nested in an INNER JOIN, instead of a COUNT plus a GROUP BY. There are two reasons for this: 1. Using a COUNT in an INNER JOIN can be quite a bit faster. 2. The use of a GROUP BY means that method calls such as "any?" (and everything else that calls "count") operate on a Hash that counts the amount of notes on a per project basis, instead of just counting the total amount of projects. The query has been moved into Project.trending as its logic is simple enough. As a result of this testing the TrendingProjectsFinder class simply involves testing if the right methods are called, removing the need for setting up database records.
-
- 03 10月, 2015 1 次提交
-
-
由 Guilherme Garnier 提交于
-
- 02 10月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 29 9月, 2015 2 次提交
-
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
- 23 9月, 2015 2 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 18 9月, 2015 1 次提交
-
-
由 Francesco Levorato 提交于
-
- 11 8月, 2015 2 次提交
-
-
由 Dmitriy Zaporozhets 提交于
This reverts commit 5daf44b7, reversing changes made to 2f706fbd.
-
由 Dmitriy Zaporozhets 提交于
This reverts commit 957e849f, reversing changes made to 6b9dbe9f. Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 03 8月, 2015 1 次提交
-
-
由 Atsushi Ishida 提交于
-
- 29 7月, 2015 1 次提交
-
-
由 Douwe Maan 提交于
-
- 15 7月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
- 22 6月, 2015 1 次提交
-
-
由 Robert Speicher 提交于
-
- 10 6月, 2015 1 次提交
-
-
由 Robert Speicher 提交于
-
- 27 5月, 2015 1 次提交
-
-
由 Robert Speicher 提交于
Now there is a single source of information for which attribute a model uses to be referenced, and its special character.
-