Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2018-06-01Merge branch 'master' into per-project-pipeline-iidShinya Maeda
2018-05-31Merge branch 'rails5-active-sup-subscriber' into 'master'Rémy Coutable
Make ActiveRecordSubscriber rails 5 compatible Closes #44702 See merge request gitlab-org/gitlab-ce!19276
2018-05-31Add merge requests list endpoint for groupsFelipe Artur
2018-05-31Merge branch '41587-osw-mr-metrics-migration-take-two' into 'master'Grzegorz Bizon
Take two for MR metrics population background migration See merge request gitlab-org/gitlab-ce!19097
2018-05-31Export assigned issues in iCalendar feedImre Farkas
2018-05-31Make ActiveRecordSubscriber rails 5 compatibleJarka Kadlecová
2018-05-31Merge branch 'sh-fix-issue-api-perf-n-plus-one' into 'master'Nick Thomas
Eliminate cached N+1 queries for projects in Issue API See merge request gitlab-org/gitlab-ce!19269
2018-05-31Merge branch 'rails5-calendar' into 'master'Yorick Peterse
Replace .having with .where in calendar query Closes #46964 See merge request gitlab-org/gitlab-ce!19230
2018-05-31Merge branch '46445-fix-gitaly-tree-entry-encoding' into 'master'Douwe Maan
Fix encoding bug in Gitaly::Commit::TreeEntry Closes #46445 and gitaly#1208 See merge request gitlab-org/gitlab-ce!19243
2018-05-31Merge branch 'fj-36819-remove-v3-api' into 'master'Douwe Maan
Removal of API v3 from the codebase Closes #36819 See merge request gitlab-org/gitlab-ce!18970
2018-05-31Merge branch 'dm-relative-url-root-in-development' into 'master'Rémy Coutable
Fix various bugs related to relative_url_root in development See merge request gitlab-org/gitlab-ce!19213
2018-05-31Eliminate cached N+1 queries for projects in Issue APIStan Hu
In CE, every `Issue` entity is also a `ProjectEntity`, which calls `entity&.project.try(:id)` to show the project ID. In an API request with 100 issues, this would hit the Rails statement cache 100 times for the same project and cause unnecessary overhead as related models would also be loaded. In EE, we call `Issue#supports_weight?` for each issue, which then calls `project&.feature_available?(:issue_weights)`. If the project is not preloaded, this incurs additional overhead, as each individual Project object has to be queried. This can lead to a significant performance hit. In loading the CE project with 100 issues, this contributed to at least 22% of the load time. See https://gitlab.com/gitlab-org/gitlab-ce/issues/47031 for why testing this is a bit tricky.
2018-05-30Merge branch 'sh-add-usage-ping-api-settings' into 'master'Robert Speicher
Add missing usage_ping_enabled to API settings See merge request gitlab-org/gitlab-ce!19263
2018-05-30Replace .having with .where in calendar queryJan Provaznik
the current syntax doesn't work properly in Rails 5, the resulting query looks like: HAVING "events"."project_id" IN (0) instead of: HAVING "events"."project_id" IN (SELECT "projects"."id" FROM... Also we should not use ActiveRecord internal methods. In this case we can filter projects in WHERE clause instead of doing this in HAVING clause. Usage of WHERE should be also more efficient because grouping is then done on much smaller subset of records.
2018-05-30Add missing usage_ping_enabled to API settingsStan Hu
Identified while resolving conflicts in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5906
2018-05-30Merge branch '46999-line-profiling-modal-width' into 'master'Clement Ho
Line profiling modal width Closes #46999 See merge request gitlab-org/gitlab-ce!19253
2018-05-30Removed API endpoint and specsFrancisco Javier López
2018-05-30Fix UI broken in line profiling modal due to Bootstrap 4Takuya Noguchi
2018-05-30Fix encoding error in Gitaly::Commit::TreeEntryKim "BKC" Carlbäcker
2018-05-30Take two for MR metrics population background migrationOswaldo Ferreira
2018-05-30Merge branch 'dm-api-projects-members-preload' into 'master'Robert Speicher
Only preload member records for the relevant projects/groups/user in projects API See merge request gitlab-org/gitlab-ce!18945
2018-05-30Merge branch 'sh-use-grape-path-helpers' into 'master'Sean McGivern
Replace grape-route-helpers with our own grape-path-helpers Closes #45718 See merge request gitlab-org/gitlab-ce!19240
2018-05-30Only preload member records for the relevant projects/groups/user in ↵Douwe Maan
projects API
2018-05-30Replace grape-route-helpers with our own grape-path-helpersStan Hu
This gem (https://gitlab.com/gitlab-org/grape-path-helpers) makes a number of changes: 1. Brings in @mdelaossa's changes in https://github.com/reprah/grape-route-helpers/pull/21 2. Fixes some broken specs and code for Grape 1.0+ 3. Optimizes the generation of paths by bringing in @dblessing's HashWithIndifferentAccess changes in https://gitlab.com/gitlab-org/gitlab-ce/issues/45718#note_70123793 Closes #45718
2018-05-30Merge branch 'brodock-refactor-hashed-storage-task' into 'master'Douwe Maan
Extracted auxiliary methods from storage.rake into specific RakeHelper See merge request gitlab-org/gitlab-ce!18962
2018-05-30Merge branch 'fix/bitbucket_import_anonymous' into 'master'Douwe Maan
Import bitbucket issues that are reported by an anonymous user Closes #44381 See merge request gitlab-org/gitlab-ce!18199
2018-05-30Merge branch 'mattermost-api-v4' into 'master'Sean McGivern
Updated Mattermost integration to use Mattermost API v4 Closes #41631 See merge request gitlab-org/gitlab-ce!19043
2018-05-30Merge branch 'blackst0ne-squash-and-merge-in-gitlab-core-ce' into 'master'Phil Hughes
Resolve "Squash and merge in GitLab Core (CE)" Closes #34591 See merge request gitlab-org/gitlab-ce!18956
2018-05-30Add build_relations method in Chain::PopulateShinya Maeda
2018-05-30Merge branch 'master' into per-project-pipeline-iidShinya Maeda
2018-05-29Merge branch '6045-extract-ee-specific-specs-lines' into 'master'Robert Speicher
[CE] Resolve "Extract EE specific files/lines for some controller specs" Closes #6045 See merge request gitlab-org/gitlab-ce!19089
2018-05-29Merge remote-tracking branch 'dev/master'Mayra Cabrera
2018-05-29Merge branch 'security-fj-import-export-assignment' into 'master'Mayra Cabrera
[master] Arbitrary assignment of Project fields using "Import project" from a Gitlab tar.gz Closes #2678 See merge request gitlab/gitlabhq!2378
2018-05-29Merge branch 'security-dm-delete-deploy-key' into 'master'Mayra Cabrera
[master] Fix API to remove deploy key from project instead of deleting it entirely See merge request gitlab/gitlabhq!2379
2018-05-29Merge branch '46758-fallout-of-cacheable-attribute' into 'master'Douwe Maan
Ensure ApplicationSetting#performance_bar_allowed_group_id is properly set when retrieved from cache Closes #46758 See merge request gitlab-org/gitlab-ce!19144
2018-05-29Fix various bugs related to relative_url_root in developmentDouwe Maan
2018-05-29Merge branch '44602-clarify-update-docs-text-about-restrictions' into 'master'Achilleas Pipinellis
Resolve "Clarify/Update docs/text about restrictions." See merge request gitlab-org/gitlab-ce!17970
2018-05-29Merge branch ↵Kamil Trzciński
'38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster' into 'master' Resolve "Fetch available parameters directly from GKE when creating a cluster" Closes #38759 See merge request gitlab-org/gitlab-ce!17806
2018-05-29Add 'squash and rebase' feature to CEblackst0ne
2018-05-29Ensure ApplicationSetting#performance_bar_allowed_group_id is properly set ↵Rémy Coutable
when retrieved from cache Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-29Merge branch 'add-artifacts_expire_at-to-api' into 'master'Grzegorz Bizon
Expose artifacts_expire_at field for job entity in api See merge request gitlab-org/gitlab-ce!18872
2018-05-29Merge branch 'sh-tag-queue-duration-api-calls' into 'master'Sean McGivern
Log queue duration for Grape API calls Closes #46601 See merge request gitlab-org/gitlab-ce!19159
2018-05-29Merge branch 'groups-controller-show-performance' into 'master'Douwe Maan
Improve performance of GroupsController#show See merge request gitlab-org/gitlab-ce!18973
2018-05-29Specs covering listing all gitlab:storage:* typesGabriel Mazetto
2018-05-29refactor to remove duplicationGabriel Mazetto
2018-05-29assign helper full name to variable to reduce code lengthGabriel Mazetto
2018-05-29Refactor RakeHelper to reduce complexityGabriel Mazetto
2018-05-29Extracted auxiliary methods from storage.rake into specific RakeHelperGabriel Mazetto
2018-05-28Log queue duration for Grape API callsStan Hu
This mimics the same thing the RailsQueueDuration does for Rails controller requests and will help diagnose issues with API delays. Closes #46601
2018-05-28Merge branch 'add-background-migration-to-fill-file-store' into 'master'Kamil Trzciński
Add background migration to fill file stores from `NULL` to `1` Closes #45337 and #45476 See merge request gitlab-org/gitlab-ce!18557