- 31 Oct, 2017 4 commits
-
-
Zeger-Jan van de Weg authored
Part of gitlab-org/gitlab-ce#38040
-
James Lopez authored
-
Ahmad Sherif authored
Closes gitaly#673
-
Alejandro Rodríguez authored
-
- 30 Oct, 2017 3 commits
-
-
Mark Fletcher authored
-
Sean McGivern authored
The emails on push feature reuses the same email object, to avoid the expensive work of generating the email body. This interceptor would previously set multiple values for the same header, as that's the mail gem's default behaviour when called with the same header more than once. We don't want to change the emails on push service (although it's the only place where this happens), but fixing the interceptor is just as sensible anyway.
-
AlexWayfer authored
-
- 27 Oct, 2017 3 commits
-
-
Lin Jen-Shin (godfat) authored
-
Ahmad Sherif authored
-
Zeger-Jan van de Weg authored
Now, when requesting a commit from the Repository model, the results are not cached. This means we're fetching the same commit by oid multiple times during the same request. To prevent us from doing this, we now cache results. Caching is done only based on object id (aka SHA). Given we cache on the Repository model, results are scoped to the associated project, eventhough the change of two repositories having the same oids for different commits is small.
-
- 26 Oct, 2017 3 commits
-
-
Jarka Kadlecova authored
-
Ahmad Sherif authored
Fixes #39420
-
Andrew Newdigate authored
-
- 25 Oct, 2017 1 commit
-
-
Alejandro Rodríguez authored
-
- 24 Oct, 2017 3 commits
-
-
Alejandro Rodríguez authored
We also delete some unused code related to the aforementioned feature.
-
Stan Hu authored
We see that in gitlab-org/gitlab-ee#3664 that if we log a lot of data in Sidekiq workers, the number of open file descriptors reaches over 1000. To avoid this, we can memoize the logger per thread via RequestStore. Closes gitlab-org/gitlab-ee#3664
-
Robert Schilling authored
-
- 23 Oct, 2017 6 commits
-
-
Alejandro Rodríguez authored
We also unify conversions from and to `Gitaly::User`s in the `Gitlab::Git::User` class.
-
Yorick Peterse authored
Sherlock::Query generates a backtrace on every call to "new", which is very slow. Formatter queries are also not displayed properly due to the lack of "white-space: pre" in the CSS. We took a look at fixing this, but the produced output is not really better than just displaying queries on one line. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/39351
-
Bob Van Landuyt authored
That way we can enable the circuitbreaker for just one host at a time.
-
Bob Van Landuyt authored
Instead of only checking once within a timeout, check multiple times within a timeout. That means with a timeout of 30 seconds and 3 retries. Each try would be allowed 20 seconds.
-
Bob Van Landuyt authored
The circuitbreaker now has 2 failure modes: - Backing off: This will raise the `Gitlab::Git::Storage::Failing` exception. Access to the shard is blocked temporarily. - Circuit broken: This will raise the `Gitlab::Git::Storage::CircuitBroken` exception. Access to the shard will be blocked until the failures are reset.
-
Zeger-Jan van de Weg authored
-
- 22 Oct, 2017 3 commits
-
-
Maxim Rydkin authored
-
Travis Miller authored
-
Travis Miller authored
-
- 21 Oct, 2017 3 commits
-
-
Alejandro Rodríguez authored
They're costly. This will also avoid some edge cases where charlock_holmes assigns a weird encoding to a perfectly valid UTF-8 string.
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Nick Thomas authored
-
- 19 Oct, 2017 1 commit
-
-
Alejandro Rodríguez authored
They're costly. This will also avoid some edge cases where charlock_holmes assigns a weird encoding to a perfectly valid UTF-8 string.
-
- 18 Oct, 2017 5 commits
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Nick Thomas authored
-
Toon Claes authored
When there are no groups defined in the auth hash attributes, `Gitlab::Saml::AuthHash#groups` should return an empty array, and `Gitlab::Saml::User#find_user` should not mark the user as external. Closes gitlab-org/gitlab-ce#38923.
-
Jacopo authored
In API v4 when requesting a branch with an invalid refname shows an helpful error message: 'The branch refname is invalid'.
-
- 17 Oct, 2017 4 commits
-
-
Jen-Shin Lin authored
Security fixes for 10.1 RC See merge request gitlab/gitlabhq!2209
-
Sean McGivern authored
This is already handled for diffs, but not commits.
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
Instead of from the configuration file
-
- 16 Oct, 2017 1 commit
-
-
Ahmad Sherif authored
Closes gitaly#638
-