- 19 Jan, 2016 8 commits
-
-
Yorick Peterse authored
This greatly improves the performance of Project#external_issue_tracker by moving most of the fields queried in Ruby to the database and letting the database handle all logic. Prior to this change the process of finding an external issue tracker was along the lines of the following: 1. Load all project services into memory. 2. Reduce the list to only services where "issue_tracker?" returns true 3. Reduce the list from step 2 to service where "default?" returns false 4. Find the first service where "activated?" returns true This has to two big problems: 1. Loading all services into memory only to reduce the list down to a single item later on is a waste of memory (and slow timing wise). 2. Calling Array#select followed by Array#reject followed by Array#find allocates extra objects when this really isn't needed. To work around this the following service fields have been moved to the database (instead of being hardcoded): * category * default This in turn means we can get the external issue tracker using the following query: SELECT * FROM services WHERE active IS TRUE AND default IS FALSE AND category = 'issue_tracker' AND project_id = XXX LIMIT 1 This coupled with memoizing the result (just as before this commit) greatly reduces the time it takes for Project#external_issue_tracker to complete. The exact reduction depends on one's environment, but locally the execution time is reduced from roughly 230 ms to only 2 ms (= a reduction of almost 180x). Fixes gitlab-org/gitlab-ce#10771
-
Robert Speicher authored
Raise an error on page load when there are pending migrations in development mode. Fixes #5990 See merge request !2491
-
Dmitriy Zaporozhets authored
Fix positioning issues with browse files button Issue is that in Firefox clipboard is blocking the browse files from moving all the way to the right. Move clipboard up 1px into -1px to unblock "browse files" SS from firefox: ![Screen_Shot_2016-01-18_at_4.01.58_PM](/uploads/312a5f1e55ca707081f718e2413416fb/Screen_Shot_2016-01-18_at_4.01.58_PM.png) Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/10849 See merge request !2489
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
Dmitriy Zaporozhets authored
Search title gets clipped vertically. Fixed by adding height to search title css. **Before:** ![Screen_Shot_2016-01-16_at_10.12.14_AM](/uploads/2651de6ae38251e1f20acade0c69a629/Screen_Shot_2016-01-16_at_10.12.14_AM.png) **After:** ![Screen_Shot_2016-01-16_at_10.12.05_AM](/uploads/6852e9a653bde1975d7fdfa4dbc302d8/Screen_Shot_2016-01-16_at_10.12.05_AM.png) See merge request !2460
-
Dmitriy Zaporozhets authored
Reduce margin to fit dropdowns ![Screen_Shot_2016-01-18_at_7.51.23_PM](/uploads/03336f86fde25d6d045742297a19751c/Screen_Shot_2016-01-18_at_7.51.23_PM.png) Fixes #10747 See merge request !2492
-
Jacob Schatz authored
Fixes #10747
-
- 18 Jan, 2016 32 commits
-
-
Robert Speicher authored
Move entry `Fix: As an admin, cannot add oneself as a member to a group/project` The CHANGELOG entry said it was fixed in 8.2.3. However, I found https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1942 that suggests it wasn't fixed until 8.3.0. A customer experienced this issue on 8.2.3, still. This ultimately led to me investigating this further. [ci skip] See merge request !2488
-
Robert Speicher authored
Fix limit for `data` column in `events` table when using MySQL Closes #9084 See merge request !2486
-
Robert Speicher authored
[ci skip]
-
Robert Speicher authored
Update devise to version 3.5.4 Closes https://dev.gitlab.org/gitlab/gitlabhq/issues/2642 See merge request !2490
-
Douglas Barbosa Alexandre authored
-
Jacob Schatz authored
Issue is that in Firefox clipboard is blocking the browse files from moving all the way to the right. Move clipboard up 1px into -1px to unblock browse files
-
Tomasz Maczukin authored
-
Tomasz Maczukin authored
-
Tomasz Maczukin authored
-
Tomasz Maczukin authored
-
Grzegorz Bizon authored
Improve UX in build artifacts browser This improves UX in build artifacts browser, and makes it more consistent with repository tree browser we already have. --- Before: ![ux_artifacts_before](/uploads/9869ff74afd5e6636f0df81c7823fb6f/ux_artifacts_before.png) --- After: ![ux_artifacts_after](/uploads/cdb68925f4489bb852fd701870e6d6a0/ux_artifacts_after.png) --- It is easier to click on a file/directory entry now, because we don't need to click on a entry's basename (that can be really short, like `..` parent directory). We also show `Compressed to` size that indicates how much storage does this entry really consume. Row for an entry is also highlighted on hover and we do not have Download button (clicking on a file row / file basename is enough to download a file). Closes #10242 See merge request !2477
-
Drew Blessing authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
Robert Speicher authored
Remove leading comma when user is the only one to award that emoji Fixes #9073 See merge request !2450
-
Robert Speicher authored
-
Robert Speicher authored
Use gitlab-workhorse 0.6.0 [ci skip] See merge request !2483
-
Robert Speicher authored
Ensure Gravatar host looks like an actual host Solves #10243. I've chosen to simplify the method that extracts the host: since we only need the host, let's get rid of the path and thus get rid of the escaping problems! Unit tests should ensure that most of the cases are covered. See merge request !2482
-
Jacob Vosmaer authored
-
Rémy Coutable authored
-
Yorick Peterse authored
See merge request !2481
-
Yorick Peterse authored
See merge request !2480
-
Yorick Peterse authored
See merge request !2479
-
Yorick Peterse authored
When using IssuableFinder with a Group we can greatly reduce the amount of projects operated on (due to not including all public/internal projects) by simply passing it down to the ProjectsFinder class. This reduces the timings of the involved queries from roughly 300 ms to roughly 20 ms. Fixes gitlab-org/gitlab-ce#4071, gitlab-org/gitlab-ce#3707
-
Yorick Peterse authored
-
Yorick Peterse authored
-
Achilleas Pipinellis authored
Document new API pagination headers Document new API pagination headers introduced in !2426. Solves #8098. /cc @dzaporozhets @dblessing See merge request !2435
-
Achilleas Pipinellis authored
- Fix heading names - Fix curl example - Use full request output - Use table for the extra headers
-
Jacob Schatz authored
update old ![Screenshot_2016-01-14_22.46.52](/uploads/d165897a6118c4b276e6b53982077cb5/Screenshot_2016-01-14_22.46.52.png) new ![Screenshot_2016-01-14_22.46.21](/uploads/6b34cd8b1a2799506676103fcbc80450/Screenshot_2016-01-14_22.46.21.png) See merge request !2441
-
Dmitriy Zaporozhets authored
Raise hook url limit 1. Up varchar url limit to 2000 chars instead 255 2. Maybe migration? 3. 255 characters - it is not enough 4. nil 5. nil See merge request !1940
-
Jacob Schatz authored
Removes white line when hiding diff comments in MR Fixes #6071 See merge request !2407
-