- Sep 04, 2019
-
-
pshutsin authored
Improve diff lines count efficiency
-
- Sep 03, 2019
-
-
Creates new event when an epic is created, closed, reopened or commented.
-
Andreas Brandl authored
This fixes a high frequency N+1 issue: `RoutableActions#find_routable!` is used across many controllers to retrieve e.g. the Project or Namespace by path. The `#find_routable!` method calls `#ensure_canonical_path` which in turn retrieves `#full_path` from the given Routable. This in turn triggers a lookup on `routes`, leading to a high frequency of these queries: ```sql SELECT "routes".* FROM "routes" WHERE "routes"."source_id" = $1 AND "routes"."source_type" = $2 LIMIT $3 ``` This is unnecessary as we already join `routes` in `Routable#find_by_full_path` anyways.
-
Modified schema via migrations. Added one-to-one relationship between the two models. Added changelog file
-
Shinya Maeda authored
This commit adds pipeline.type key to PipelineEntity. This key will be used in MR widget in the next iteration.
-
Igor Drozdov authored
It performs an expensive operation, but isn't required in most of tests
-
- Sep 02, 2019
-
-
Brandon Williams authored
When updating group and project members, new system hooks `user_update_for_group` and `user_update_for_team` will be executed. Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/12252
-
Peter Leitzen authored
This commit removes one RuboCop offense from its todo file.
-
Peter Leitzen authored
Before this commit we redefined properties for supported events on each new instance of ChatNotificationService during "runtime". This commit defines the properties only once during "compile time".
-
Sean Carroll authored
-
Wrong format on MS Teams integration push events with multi line commit messages
-
- Aug 31, 2019
-
-
dineshpanda authored
-
- Aug 30, 2019
-
-
This change limits the number of emails for new access requests notifications to 10 most recently active owners/maintainers
-
Stan Hu authored
This is to accomodate prepended modules.
-
James Fargher authored
This does not support upgrading from earlier versions
-
Andreas Brandl authored
We should see the ratio drop down when enabling the Feature. Recommendation by @andrewn
-
-
Andreas Brandl authored
-
Andreas Brandl authored
In order to lookup a Project or Namespace by path, we prefer an exact match (case-sensitive) but in absence of that, we'd also take a case-insensitive match. The case-insensitive matching with preference for the exact match is a bit more involved in SQL as the exact lookup. Yet, the majority of cases will be an exact match. The thinking here is that we can optimize the lookup by performing an exact match first and only if there is no result, we perform the case-insensitive lookup. Data for GitLab.com: * We have about 15M records in routes table * About 2,500 routes exist where there's more than one record with the same `lower(path)` It is possible for a user to craft requests that would always trigger the 2-step search (e.g. we have a route for `/foo/bar`, the request is always for `/FOO/bar`). In this case, the change at hand is not beneficial as it would run an additional query. However, based on the data, it is highly likely that the vast majority of requests can be satisfied with an exact match only. The context for this change is https://gitlab.com/gitlab-org/gitlab-ce/issues/64590#note_208156463.
-
- Aug 29, 2019
-
-
dineshpanda authored
-
Nick Thomas authored
This reverts commit 0eff75fa.
-
George Koltsov authored
-
-
Yorick Peterse authored
This improves the output produced when running an unknown command, running the "help" command, and when trying to run a command you are not allowed to run. The new help output includes links to the project of the chatops integration, and a link to the chatops documentation.
-
- Aug 28, 2019
-
-
Felipe Artur authored
Persists if a board list is collapsed for each user.
-
Victor Zagorodny authored
A new param with_security_reports was added to GET /groups/:id/projects API and the code to support this logic in GroupProjectsFinder and Project model. Also, a DB index was added to ci_job_artifacts table to speed up the search of security reports artifacts for projects
-
Patrick Derichs authored
-
Patrick Derichs authored
-
Stan Hu authored
When a issue is moved from one project to another, all associated Markdown text is rewritten in the context of the new project. If the note contained a link to a commit URL, `CommitRewriter#rewrite` would fail because `Commit#link_reference_pattern` would match `nil` `commit` values in the HTML generated from the Markdown. These `nil` values were passed along to `Project#commits_by` because `Commit#reference_valid?` was always returning `true`. To prevent this issue from happening, we tighten up the check for `Commit#reference_valid?` to look for valid SHA values. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66666
-
Igor Drozdov authored
totalNotes is only used to prerender a number of skeleton containers until real notes are loaded issuable.discussions makes multiple requests, so too expensive for this This commit uses mere notes for this and sends actual totalNotes number if it's less than 10; otherwise it sends 10 - it allows us to avoid bunch of skeleton prerenderings, which are not necessary since they doesn't fit into the whole screen and disappear quite fast
-
Arun Kumar Mohan authored
Only displays the todo body if the todo has a note. This is to avoid redundant Issue or Merge Request titles displayed both in the Todo title and body.
-
- Aug 27, 2019
-
-
Stan Hu authored
During a project import, `LfsLinkService` attempts to link `LfsObjects` that have not already been associated with a project. It's possible for a large repo to have thousands of OIDs, which can cause long database query and parsing times. By processing a batch of 1000 at a time, we can reduce that time at the expense of a few more SQL queries. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66274
-
Tomasz Maczukin authored
-
Etienne Baqué authored
-
- Aug 26, 2019
-
-
Aishwarya authored
Removed unused method for name setter method
-
Zeger-Jan van de Weg authored
The flag defaulted to true, so there's no change unless users turned it off. Given there's a lack of issues regarding object pools, this should be OK.
-
- Aug 24, 2019
-
-
Brett Walker authored
User images and videos will get proxied through the Camo server in order to keep malicious sites from collecting the IP address of users.
-
- Aug 23, 2019
-
-
- Introducting StageEvents to define the available events - Define the event pairing rules, since some events are not compatible - Express default Cycle Analytics stages with the event structure
-
Alexandru Croitor authored
Increase sort options for issues list from updated_at and create_at, to include more options close to what is required in actual issue list UI. This helps us to use REST API for issues list with sorting capabilities https://gitlab.com/gitlab-org/gitlab-ce/issues/57402
-
- Aug 22, 2019
-
-
Root namespaces have storage statistics. This commit allows namespace owners to get those stats via GraphQL queries like the following one { namespace(fullPath: "a_namespace_path") { rootStorageStatistics { storageSize repositorySize lfsObjectsSize buildArtifactsSize packagesSize wikiSize } } }
-