- Sep 12, 2019
-
-
Peter Leitzen authored
Setup counter for Productivity Analytics See merge request gitlab-org/gitlab-ce!32915 (cherry picked from commit 44dd3d2d) 21409095 Setup counter for Productivity Analytics
-
Jan Provaznik authored
Bump the CACHE_COMMONMARK_VERSION See merge request gitlab-org/gitlab-ce!32935 (cherry picked from commit 4200a917) ae862960 Bump the CACHE_COMMONMARK_VERSION
-
- Sep 10, 2019
-
-
Alessio Caiazza authored
This cop prevents you from using file in API, it points you to the development documentation about workhorse file acceleration.
-
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
-
Nick Thomas authored
This reverts commit c6ccc07f.
-
Nick Thomas authored
-
mksionek authored
-
This makes sure we build the correct variables for testing translations. When translating, we could be specifying the variables in different forms for each id: - In the singular we could be using a `%{hash}` interpolation - In the plural we could be using a `%d` interpolation This changes the tests to accommodate for that: We now use the variables used in the relevant translation id as the source for the variables we mix in in specs.
-
Dinesh Panda authored
-
- Sep 09, 2019
-
-
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
-
Mathieu Parent authored
As in documentation. Fixes: #58180. Also remove the requirement between domain_blacklist_enabled and domain_blacklist.
-
Mathieu Parent authored
-
This change implements Application Statistics API
-
- Sep 07, 2019
-
-
Christian Couder authored
This improves code quality by reducing Cognitive Complexity. This fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/67091
-
Andrea Leone authored
-
Andrea Leone authored
-
- Sep 06, 2019
-
-
Lee Tickett authored
-
Alessio Caiazza authored
Wiki attachments can be workhorse accelerated. This commit is backward compatible with older workhorse
-
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.
-
Ash McKenzie authored
This reverts merge request !32196
-
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.
-
Ash McKenzie authored
The benefit of running the danger_local Rake task is that it displays some informational messages for clarity and also exits with 1 if there's any output.
-
Ash McKenzie authored
This class encapsulates our use of the Danger gem.
-
Ash McKenzie authored
-
- 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.
-
Brett Walker authored
-
Kyle Wiebers authored
-
Heinrich Lee Yu authored
Patches ChronicDuration to use our custom conversions when parsing months
-
- Move code for creating a new column from old into a function so that it can be reused. - Also add comments above the methods.
-
-
Those feature flags were always enabled so we can remove them safely.
-
Marcel Amirault authored
-
Now, when the dns rebinging setting is disabled, we will allow urls that are not resolvable.
-