- Jan 24, 2018
-
-
Nick Thomas authored
-
- Jan 21, 2018
-
-
Mark Fletcher authored
Given no search term, the `search` and `search_with_secondary_emails` methods will yield an empty result set
-
- Jan 02, 2018
-
-
- Dec 30, 2017
-
-
Mario de la Ossa authored
This change is required because otherwise if a user is created with a value for `projects_limit` that matches the DB default, it gets overwritten by `current_application_settings.default_projects_limit`. By removing the default we once again can allow a user to be created with a limit of 10 projects without the risk that it'll change to 10000
-
- Dec 22, 2017
-
-
blackst0ne authored
-
- Dec 19, 2017
-
-
Robert Speicher authored
-
- Dec 08, 2017
-
-
Douwe Maan authored
(10.2) Avoid partial partial email adresses for matching See merge request gitlab/gitlabhq!2232 (cherry picked from commit 081aa1e91a777c9acb31be4a1e76b3dd7032fa9a) There are unresolved conflicts in app/models/user.rb. fa85a3fd Don't allow searching for partial user emails
-
-
- Dec 07, 2017
-
-
Mike Greiling authored
-
- Nov 23, 2017
-
-
- Nov 16, 2017
-
-
Yorick Peterse authored
By caching the number of personal SSH keys we reduce the number of queries necessary on pages such as ProjectsController#show (which can end up querying this data multiple times). The cache is refreshed/flushed whenever an SSH key is added, removed, or when a user is removed.
-
- Nov 14, 2017
-
-
Bob Van Landuyt authored
These dropdown options are used for creating and transfering projects.
-
- Nov 09, 2017
-
-
Douwe Maan authored
-
- Nov 07, 2017
-
-
Yorick Peterse authored
By using SQL::Union we can return a proper ActiveRecord::Relation, making it possible to select the columns we're interested in (instead of all of them).
-
- Nov 06, 2017
-
-
Douwe Maan authored
-
- Nov 03, 2017
-
-
- Nov 02, 2017
-
-
Douwe Maan authored
-
- Oct 07, 2017
-
-
Jacopo authored
Replaces all the explicit include metadata syntax in the specs (tag: true) into the implicit one (:tag). Added a cop to prevent future errors and handle autocorrection.
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
The helper creates a fork of a project with all provided attributes, but skipping the creation of the repository on disk.
-
- Oct 06, 2017
-
-
Winnie Hellmann authored
-
- Oct 05, 2017
-
-
Douwe Maan authored
-
- Sep 28, 2017
-
-
Markus Koller authored
-
- Sep 24, 2017
-
-
Brett Walker authored
and rubocop fixes
-
- Sep 23, 2017
-
-
Brett Walker authored
-
Brett Walker authored
-
Brett Walker authored
a reconfirmation
-
Brett Walker authored
-
Brett Walker authored
make sure it stays confirmed
-
Brett Walker authored
-
Brett Walker authored
-
- Sep 11, 2017
-
-
Annabel Dunstone Gray authored
This reverts merge request !14148
-
- Sep 08, 2017
-
-
Rubén Dávila authored
Revert "Merge branch '35012-navigation-add-option-to-change-navigation-color-palette' into 'master'" This reverts merge request !13619
-
- Sep 07, 2017
-
-
Yorick Peterse authored
Whenever you push to a branch GitLab will show a button to create a merge request (should one not exist already). The underlying code to display this data was quite inefficient. For example, it involved multiple slow queries just to figure out what the most recent push event was. This commit changes the way this data is retrieved so it's much faster. This is achieved by caching the ID of the last push event on every push, which is then retrieved when loading certain pages. Database queries are only executed if necessary and the cached data is removed automatically once a merge request has been created, or 2 hours after being stored. A trade-off of this approach is that we _only_ track the last event. Previously if you were to push to branch A and B then create a merge request for branch B we'd still show the widget for branch A. As of this commit this is no longer the case, instead we will only show the widget for the branch you pushed to most recently. Once a merge request exists the widget is no longer displayed. Alternative solutions are either too complex and/or too slow, hence the decision was made to settle for this trade-off. Performance Impact ------------------ In the best case scenario (= a user didn't push anything for more than 2 hours) we perform a single Redis GET per page. Should there be cached data we will run a single (and lightweight) SQL query to get the event data from the database. If a merge request already exists we will run an additional DEL to remove the cache key. The difference in response timings can vary a bit per project. On GitLab.com the 99th percentile of time spent in User#recent_push hovers between 100 milliseconds and 1 second, while the mean hovers around 50 milliseconds. With the changes in this MR the expected time spent in User#recent_push is expected to be reduced down to just a few milliseconds. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/35990
-
Annabel Dunstone Gray authored
-
Tiago Botelho authored
-
- Sep 06, 2017
-
-
Annabel Dunstone Gray authored
-
Rubén Dávila authored
-
Alexander Keramidas authored
-
- Sep 05, 2017
-
-
Alexis Reigel authored
-