- Sep 12, 2019
-
-
This change sets up a usage counter for productivity analytics feature.
-
- Sep 11, 2019
-
-
-
Aleksei Lipniagov authored
Replace 'chronic_duration' to 'gitlab_chronic_duration', to make relevant method calls thread-safe.
-
Peter Leitzen authored
Show a list of obsolete `ignored_columns`
-
Notes on epics promoted from an issue used to get same discussion_id as the notes from the issue the epic was promoted from, which would cause problems when trying to reply to the epic discussion.
-
- Sep 10, 2019
-
-
Qingyu Zhao authored
Move Gitlab::SidekiqMonitor to namespace Gitlab::SidekiqDaemon::Monitor - Class name and file name change - File path change to lib/gitlab/sidekiq_daemon/monitor.rb - Update class usage/reference in other files, including documentation
-
Markus Koller authored
- Avoid N+1 queries for authors and comment counts - Avoid an additional snippet existence query
-
Nick Thomas authored
This reverts commit c6ccc07f.
-
Nick Thomas authored
-
Ahmad Sherif authored
It consists of two parts: 1. Redirecting users to the configured external storage 1. Allowing the external storage to request the static object(s) on behalf of the user by means of specific tokens Part of https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6829
-
- Sep 09, 2019
-
-
Mo Khan authored
-
Kamil Trzcińśki authored
ActiveModel::Serialization is simple in that it recursively calls `as_json` on each object to serialize everything. However, for a model like a Project, this can generate a query for every single association, which can add up to tens of thousands of queries and lead to memory bloat. To improve this, we can do several things: 1. We use `tree:` and `preload:` to automatically generate a list of all preloads that could be used to serialize objects in bulk. 2. We observe that a single project has many issues, merge requests, etc. Instead of serializing everything at once, which could lead to database timeouts and high memory usage, we take each top-level association and serialize the data in batches. For example, we serialize the first 100 issues and preload all of their associated events, notes, etc. before moving onto the next batch. When we're done, we serialize merge requests in the same way. We repeat this pattern for the remaining associations specified in import_export.yml.
-
Francisco Javier López authored
Lowering the limit when performing search from 1001 to 101. This will allow us to speed this process.
-
drew authored
-
- Sep 06, 2019
-
-
Kamil Trzcińśki authored
This brings a significant refactor to how we handle `import_export.yml`, merge it with EE and how we handle that for reader and saver. This is meant to simplify the code, and remove a ton of conditions to handle different models of the structure. This is also meant to prepare the structure to extend it much easier, like adding `preload:` or additional object types when needed. This does not change the behavior of import/export, rather unifies and simplifies the current implementation.
-
Ash McKenzie authored
This class encapsulates our use of the Danger gem.
-
Most of the project templates bundled with GitLab have an empty string set for `external_authorization_classification_label` in their `project.json`. When imported this overrides the default label set on the instance, causing the label to appear empty. This change sets empty labels to nil during import, allowing the default label to override it and be applied to the project.
-
Krasimir Angelov authored
Basic `/internal/pages` endpoint that will be used for Pages virtual domains internal API. The endpoint is currently behind feature flag and provides authetication similar to how Workhorse is authenticating with the GitLab.
-
- Sep 05, 2019
-
-
Fabio Pitino authored
Detect if pipeline runs for a GitHub pull request When using a mirror for CI/CD only we register a pull_request webhook. When a pull_request webhook is received, if the source branch SHA matches the actual head of the branch in the repository we create immediately a new pipeline for the external pull request. Otherwise we store the pull request info for when the push webhook is received. When using "only/except: external_pull_requests" we can detect if the pipeline has a open pull request on GitHub and create or not the job based on that.
-
Cédric Tabin authored
Since it is not possible to dynamically detect if a job is automatically cancellable or not, a this new attribute is necessary. Moreover, it let the maintainer of the repo to adjust the behaviour of the auto cancellation feature to match exactly what he needs.
-
Kyle Wiebers authored
-
These are the structural changes for supporting the EE feature of moving "code_owner_approval_required" state from existing on a project to being on the protected branches individually, allowing for CODEOWNER validation on push events.
-
Heinrich Lee Yu authored
Patches ChronicDuration to use our custom conversions when parsing months
-
Those feature flags were always enabled so we can remove them safely.
-
Now, when the dns rebinging setting is disabled, we will allow urls that are not resolvable.
-
Ash McKenzie authored
RailsHelpers.stub_rails_env takes care of stubbing Rails.env
- Sep 04, 2019
-
-
- `edge_nodes` needs to get called on the object - added `include GlobalID::Identification` in a couple places - renamed `object` to `item` in spec due to conflict
-
- Due to https://github.com/exAspArk/batch-loader/pull/32, we changed BatchLoader.for into BatchLoader::GraphQL.for - since our results are wrapped in a BatchLoader::GraphQL, calling `sync` during authorization is required to get real object - `graphql` now has it's own authorization system. Our `authorized?` method conflicted and required renaming
-
pshutsin authored
Improve diff lines count efficiency
-
- Sep 03, 2019
-
-
Krasimir Angelov authored
Introduce JWTAutheticatable module that can be reused for ai=uthtication between Pages and GitLab (the same way we use do now for Workhorse). Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/61927.
-
Creates new event when an epic is created, closed, reopened or commented.
-
Mayra Cabrera authored
spec/rails_helper.rb was removed on 1068ec2e
-
Modified schema via migrations. Added one-to-one relationship between the two models. Added changelog file
-
Extends the permission of $CI_REGISTRY_USER to allow them to delete tags in addition to just pushing. https://gitlab.com/gitlab-org/gitlab-ce/issues/40096
-
- Sep 02, 2019
-
-
Reuben Pereira authored
Prometheus listen_address can be in formats of :9090 and 0.0.0.0:9090. But before these can be used to connect a project to Prometheus, they have to converted into absolute URIs.
-
- Aug 31, 2019
-
-
Stan Hu authored
Previously the following syntax would fail in the linter with an error 500: ``` include: template: - License-Management.gitlab-ci.yml - Dependency-Scanning.gitlab-ci.yml - SAST.gitlab-ci.yml ``` Now the error will call out specifically that the value is not a string. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66605
-
- Aug 30, 2019
-
-
Andrew Newdigate authored
This fixes a bug in which sidekiq histograms contain invalid labels. See https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/7729 for more details.
-
Ash McKenzie authored
rails_helper.rb's only logic was to require spec_helper.rb.
-
- Aug 29, 2019
-
-
Adds a slash command in slach for closing issues. See https://docs.gitlab.com/ee/integration/slash_commands.html for documentation on the wider feature set.
-