| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
Add path attribute to WikiFile class
Closes #39420
See merge request gitlab-org/gitlab-ce!15019
|
| | |
| |
| |
| | |
Fixes #39420
|
| |/ |
|
| |\
| |
| |
| |
| |
| |
| | |
Move all rugged operation for ff_merge inside Gitlab::Git
Closes gitaly#683
See merge request gitlab-org/gitlab-ce!15011
|
| | |
| |
| |
| | |
We also delete some unused code related to the aforementioned feature.
|
| |\ \
| | |
| | |
| | |
| | | |
Support `Gitaly::User`'s gl_username field
See merge request gitlab-org/gitlab-ce!15016
|
| | | |
| | |
| | |
| | |
| | | |
We also unify conversions from and to `Gitaly::User`s in the
`Gitlab::Git::User` class.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Memoize GitLab logger to reduce open file descriptors
Closes gitlab-ee#3664
See merge request gitlab-org/gitlab-ce!15007
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | | |
That way we can enable the circuitbreaker for just one host at a time.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Prevent ApplicationSetting to cache nil value
Closes #39275
See merge request gitlab-org/gitlab-ce!14952
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Use wiki.disk_path
See merge request gitlab-org/gitlab-ce!14930
|
| | | |/
| |/| |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Resolve "Add a 'custom cop' to RuboCop that bans ENV assignment"
Closes #18765
See merge request gitlab-org/gitlab-ce!14810
|
| | |/ /
| | |
| | |
| | | |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| |/ /
| |
| |
| |
| |
| | |
They're costly. This will also avoid some edge cases where
charlock_holmes assigns a weird encoding to a perfectly valid UTF-8
string.
|
| |\ \
| | |
| | |
| | |
| | | |
Backport all fixes from GitLab 10.1 into master
See merge request gitlab-org/gitlab-ce!14922
|
| | |\ \
| | |/ |
|
| | | |
| | |
| | |
| | |
| | | |
Security fixes for 10.1 RC
See merge request gitlab/gitlabhq!2209
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
SAML fix when auth hash attributes do not define groups
Closes #38923
See merge request gitlab-org/gitlab-ce!14913
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Avoid using `Redis#keys`
See merge request gitlab-org/gitlab-ce!14889
|
| | | | | |
|
| | |/ /
|/| |
| | |
| | | |
This is already handled for diffs, but not commits.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Make the circuitbreaker configurable at runtime
See merge request gitlab-org/gitlab-ce!14842
|
| | | | |
| | | |
| | | |
| | | | |
Instead of from the configuration file
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
Show collapsible tree on the project show page
Closes #30343
See merge request gitlab-org/gitlab-ce!14055
|
| | | | | |
|
| | |\ \ \ |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Since it can technically merge any hash with objects that respond to `==`
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Passing a parent_id will limit ancestors upto the specified parent if
it is found.
Using `ancestors` and `descendants` the `base` relation will not be included
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
Add Gitlab::Git::Env.to_env_hash
See merge request gitlab-org/gitlab-ce!14841
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflict resolution refactor
See merge request gitlab-org/gitlab-ce!14747
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Having a distinct class just for that was a bit overkill
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Rename classes to (hopefully) clearer names while we're doing that.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This prepares the codebase for a Gitaly migration. See
https://gitlab.com/gitlab-org/gitaly/issues/553
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fix diff parser so it tolerates to diff special markers in the content
Closes #34431
See merge request gitlab-org/gitlab-ce!14848
|
| | | |/ / / /
| |/| | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
'fix/sm/38960-collect-usage-pings-gcp-cluster-enabled-and-gcp-cluster-disabled-instead-of-gcp-cluster-count' into 'master'
Collect usage pings `Gcp::Cluster.enabled` and `Gcp::Cluster.disabled`, instead of `Gcp::Cluster.count`
Closes #38960
See merge request gitlab-org/gitlab-ce!14807
|