- 30 7月, 2019 6 次提交
-
-
由 João Cunha 提交于
- the typo in this factory name was precluding us from properly creating dynamic code to remove duplciation.
-
由 Hordur Freyr Yngvason 提交于
This rake task had been broken for a while. This fixes the breakages, adds a test to help avoid future breakages, and adds a few ergonomic improvements to the task itself.
-
由 Sarah Yasonik 提交于
In preparation for embedding specific metrics in issues https://gitlab.com/gitlab-org/gitlab-ce/issues/62971, this commit moves the BaseService for metrics dashboards to a new services subdirectory. This is purely for the sake of organization and maintainability.
-
由 🙈 jacopo beschi 🙉 提交于
Extends the quick actions "commands applied" banner to show the quick action preview text, but with everything in past tense.
-
由 Thong Kuah 提交于
Otherwise certain machines return IPv6 first, which is non-deterministic
-
由 Jacopo 提交于
Add a zoom link added / removed system note when a zoom link is being added / removed to the issue description.
-
- 29 7月, 2019 3 次提交
-
-
由 Ryan Cobb 提交于
This adds diirect monitoring for sidekiq metrics. This is done via sidekiq middleware and a sampler to pull from sidekiqs api.
-
由 Andreas Brandl 提交于
We dropped MySQL support and a lot of mysql specific code has been removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29608. This comes in from the other direction and removes any `if postgresql?` branches.
-
由 Francisco Javier López 提交于
Added usage ping counter when the user makes a search through the navbar search component.
-
- 26 7月, 2019 4 次提交
-
-
由 Kerri Miller 提交于
The SanitizationFilter was running before the WikiFilter. Since WikiFilter can modify links, we could see links that _should_ be stopped by SanatizationFilter being rendered on the page. I (kerrizor) had previously addressed the bug in: https://gitlab.com/gitlab-org/gitlab-ee/commit/7bc971915bbeadb950bb0e1f13510bf3038229a4 However, an additional exploit was discovered after that was merged. Working through the issue, we couldn't simply shuffle the order of filters, due to some implicit assumptions about the order of filters, so instead we've extracted the logic that sanitizes a Nokogiri-generated Node object, and applied it to the WikiLinkFilter as well. On moving filters around: Once we start moving around filters, we get cascading failures; fix one, another one crops up. Many of the existing filters in the WikiPipeline chain seem to assume that other filters have already done their work, and thus operate on a "transform anything that's left" basis; WikiFilter, for instance, assumes any link it finds in the markdown should be prepended with the wiki_base_path.. but if it does that, it also turns `href="@user"` into `href="/path/to/wiki/@user"`, which the UserReferenceFilter doesn't see as a user reference it needs to transform into a user profile link. This is true for all the reference filters in the WikiPipeline.
-
由 Douwe Maan 提交于
Without this change, we get a NoMethodError on nil
-
由 Thong Kuah 提交于
Note that Performance/UnfreezeString recommends unary plus over "".dup, but unary plus has lower precedence so we have to use parenthesis
-
由 Thong Kuah 提交于
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
-
- 25 7月, 2019 7 次提交
-
-
由 Thong Kuah 提交于
This was shown in specs but surely this will be happening in application code as well if this method is passes a frozen string. We were also trying to force_encode a OmniAuth::AuthHash which had the very confusing behaviour of returning nil when it was sent a method that it did not define. Fix that by only force_encoding a String.
-
由 Shinya Maeda 提交于
Currently, SidekiqMemoryKiller does not feed worker class name in the json structured logging. This commit extends the json parameter.
-
由 Heinrich Lee Yu 提交于
These are not required because MySQL is not supported anymore
-
由 Heinrich Lee Yu 提交于
Changes all calls to data_source_exists? to table_exists? since that is the intent of these calls
-
由 Mayra Cabrera 提交于
* Limits raw requests to 300 per minute and per raw path. * Add a new attribute to ApplicationSettings so user can change this value on their instance. * Uses Gitlab::ActionRateLimiter to limit the raw requests. * Add a new method into ActionRateLimiter to log the event into auth.log Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/48717
-
由 Reuben Pereira 提交于
Signed-off-by: NIstvan szalai <istvan.szalai@savoirfairelinux.com>
-
- 24 7月, 2019 4 次提交
-
-
由 Kamil Trzciński 提交于
- Fix `O(n)` complexity of `append_or_update_attribute`, we append objects to an array and re-save project - Remove the usage of `keys.include?` as it performs `O(n)` search, instead use `.has_key?` - Remove the usage of `.keys.first` as it performs a copy of all keys, instead use `.first.first`
-
由 Luke Duncalfe 提交于
A project can have the same `LfsObject` linked with up to three `LfsObjectsProject` records. Each of these records would be for a different repository, recorded in the `repository_type` property. The different repositories at time of writing are "project", "wiki", and "design". See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13894 This change exports the list of `repository_type`s as a JSON mapping of oid => repository_types, which are imported to recreate the correct `LfsObjectsProject` records. https://gitlab.com/gitlab-org/gitlab-ee/issues/11090
-
由 Peter Leitzen 提交于
Although `flat_map` is equivalent to `map` + `flatten(1)` (note the level 1) we can apply this same refactoring to all cases.
-
由 Stan Hu 提交于
This will help diagnose the source of excessive I/O from Rugged calls. To implement this, we need to obtain the full list of arguments sent to each request method.
-
- 23 7月, 2019 7 次提交
-
-
由 Nick Thomas 提交于
None of this code can be reached any more, so it can all be removed
-
由 Shinya Maeda 提交于
Often live traces are removed even though the archived trace doesn't exist. This commit checkes the existence strictly.
-
由 Małgorzata Ksionek 提交于
Add cr remarks Improve specs according to the review Fix schema Add cr remarks Fix naming Add cr remarks
-
由 Małgorzata Ksionek 提交于
To allow project filtering Prepare summary for accepting multiple groups Modify deploys group summary class Add filtering by project name in issues summary Fix rubocop offences Add changelog entry Change name to id in project filtering Fix rebase problem Add project extraction
-
由 Kamil Trzciński 提交于
It seems that we missed the backward compatibility support for profiles in the existing folder. This commit also fixes some specs to be idempotent and work in a temporary directory which not always seems to be the case. This commit also brings the profile_spec.rb which seems to be missing.
-
由 Alex Kalderimis 提交于
This makes these tests available for other implementations
-
由 Stan Hu 提交于
Previously, in Omnibus, Workhorse expected to listen via the Redis shared state cluster for the `workhorse:notifications` publish/subscribe channel, but the Rails code was using the Sidekiq queue cluster for this. To fix this inconsistency, we make the Rails code use the persistent cluster, since we don't want Workhorse to be looking at anything Sidekiq-related.
-
- 22 7月, 2019 4 次提交
-
-
由 Yorick Peterse 提交于
This backports remaining import/export spec changes from EE to CE.
-
由 Yorick Peterse 提交于
This backports all changes made to an import/export fixture file from EE to CE.
-
由 Yorick Peterse 提交于
This line is already present further down in the YAML file. In EE the line is already removed.
-
由 Steve Abrams 提交于
PATs are accepted using the OAuth2 compliant header "Authorization: Bearer {token}" in order to allow for OAuth requests while 2FA is enabled.
-
- 21 7月, 2019 1 次提交
-
-
由 Alex Kalderimis 提交于
This adds a counter to count page creation, which is reflected in the usage-data we collect. The number created is stored in Redis, avoiding DB access.
-
- 20 7月, 2019 3 次提交
-
-
-
由 Francisco Javier López 提交于
-
由 Stan Hu 提交于
If `GitalyClient#can_use_disk?` returned `false`, it was never cached properly and led to excessive number of Gitaly calls. Instead of using `cached_value.present?`, we need to check `cached_value.nil?`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64802
-
- 19 7月, 2019 1 次提交
-
-
由 Ben Kochie 提交于
* Remove `controller` and `action` labels from duration histogram. * Create a new simple counter for `controller` and `action`. * Adjust histogram buckets to observe smaller response times.
-