- 19 Nov, 2015 27 commits
-
-
Dmitriy Zaporozhets authored
Add missing dot in confirm modal See merge request !1645
-
Dmitriy Zaporozhets authored
Improve performance of finding issues with/without labels The changes in this MR ultimately lead to finding issues with(out) labels being about 2x faster due to: 1. Newly added indexes on `issues.state` and `projects.visibility_level` 2. Adjusting the query so that finding issues for multiple projects is more efficient See merge request !1787
-
Robert Speicher authored
Improve personal snippet access workflow. Replaces !1709 Fixes #3258 See merge request !1817
-
Robert Speicher authored
Add option to create merge request when editing/creating a file Replaces !1611 Fixes #3059 See merge request !1820
-
Robert Speicher authored
Fix 'Attach a file' link in new tag form Also removed a little bit of code repetition :) See merge request !1834
-
Robert Speicher authored
Update gitlab-shell documentation to 2.6.7 See merge request !1836
-
Robert Schilling authored
-
Yorick Peterse authored
-
Robert Speicher authored
Do not limit workhorse POST/PUT size in NGINX Limiting, if any, should happen in gitlab-workhorse. See merge request !1831
-
Douwe Maan authored
-
Job van der Voort authored
Add link to git-lfs client [ci skip] See merge request !1832
-
Robert Schilling authored
-
Dmitriy Zaporozhets authored
Fix bottom position of scroll buttons in build log page Look at the up/down buttons as well as the **Enable Autoscroll**. The **Enable Autoscroll** could also be alligned with the right grey box. ## Before ![autoscroll_before](/uploads/f410dc353ca66c338d8a29c7c294758a/autoscroll_before.png) ## After ![autoscroll_after](/uploads/015fdf53618a0d6f468d666de1bbab6a/autoscroll_after.png) \cc @dzaporozhets @creamzy See merge request !1792
-
Jacob Vosmaer authored
Limiting, if any, should happen in gitlab-workhorse.
-
Dmitriy Zaporozhets authored
Deploy page should be shown for all pages not just root Related to change already merged to Omnibus - gitlab-org/omnibus-gitlab!540 This change makes it so the deploy page is shown on all GitLab pages if the page exists. Users will no longer receive the 502 when deploys are happening. See merge request !1828
-
Yorick Peterse authored
-
Yorick Peterse authored
When using IssuableFinder/IssuesFinder to find issues for multiple projects it's more efficient to use a JOIN + a "WHERE project_id IN" condition opposed to running a sub-query. This change means that when finding issues without labels we're now using the following SQL: SELECT issues.* FROM issues JOIN projects ON projects.id = issues.project_id LEFT JOIN label_links ON label_links.target_type = 'Issue' AND label_links.target_id = issues.id WHERE ( projects.id IN (...) OR projects.visibility_level IN (20, 10) ) AND issues.state IN ('opened','reopened') AND label_links.id IS NULL ORDER BY issues.id DESC; instead of: SELECT issues.* FROM issues LEFT JOIN label_links ON label_links.target_type = 'Issue' AND label_links.target_id = issues.id WHERE issues.project_id IN ( SELECT id FROM projects WHERE id IN (...) OR visibility_level IN (20,10) ) AND issues.state IN ('opened','reopened') AND label_links.id IS NULL ORDER BY issues.id DESC; The big benefit here is that in the last case PostgreSQL can't properly use all available indexes. In particular it ends up performing a sequence scan on the "label_links" table (processing around 290 000 rows). The new query is roughly 2x as fast as the old query.
-
Yorick Peterse authored
Since this method's returned data doesn't change between calls on the same IssuableFinder instance we can just memoize this similar to the "project" method.
-
Yorick Peterse authored
-
Yorick Peterse authored
-
Yorick Peterse authored
-
Yorick Peterse authored
-
Yorick Peterse authored
This field is queried when filtering issues and due to the lack of an index would end up triggering a sequence scan.
-
Yorick Peterse authored
Improve performance of user profiles, finding groups, and finding projects This MR improves the following: * Rendering of profile pages and Atom feeds * Finding groups (using GroupsFinder & friends) * Finding projects (using ProjectsFinder & friends) Initially this MR was intended to only improve rendering of Atom feeds, but over time other fixes were introduced as well as the same code was the cause of all these problems. See merge request !1790
-
Yorick Peterse authored
-
Dmitriy Zaporozhets authored
Check which folders and archives should be packed before passing to tar command. If user uses backup task with SKIP and skips one of the archives listed(uploads, builds, artifacts) backup create will give an error: `Cannot stat: No such file or directory`. This MR fixes that by checking for skipped items. Additionally, compact everything to avoid `TypeError: no implicit conversion of nil into String` errors. See merge request !1824
-
Kamil Trzcinski authored
-
- 18 Nov, 2015 13 commits
-
-
Yorick Peterse authored
-
Marin Jankovski authored
-
Yorick Peterse authored
-
Douwe Maan authored
-
Drew Blessing authored
-
Dmitriy Zaporozhets authored
Fix huge line height for diff files list Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1826
-
Douwe Maan authored
Backport relevant changes from gitlab-org/gitlab-ee!51 To do: - [x] Update gitlab-shell See merge request !1822
-
Douwe Maan authored
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Yorick Peterse authored
When getting the projects of a user we should get the public _and_ internal projects, not just the public ones.
-
Dmitriy Zaporozhets authored
-
Yorick Peterse authored
Apparently MySQL doesn't support this syntax: (...) UNION (...) instead it only supports: ... UNION ...
-
Yorick Peterse authored
-