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-05Merge branch 'presigned-multipart-uploads' into 'master'Grzegorz Bizon
Support presigned multipart uploads See merge request gitlab-org/gitlab-ce!18855
2018-06-05Merge branch 'sh-add-uncached-query-limiter' into 'master'Rémy Coutable
Remove N+1 query for author in issues API See merge request gitlab-org/gitlab-ce!19345
2018-06-05Merge branch 'perform-ci-build-auth-always-on-primary-ce' into 'master'Grzegorz Bizon
Bring back the EE changes to CE to authentication of builds See merge request gitlab-org/gitlab-ce!19391
2018-06-05Adjust insufficient diff hunks being persisted on NoteDiffFileOswaldo Ferreira
This currently causes 500's errors when loading the MR page (Discussion) in a few scenarios. We were not considering detailed diff headers such as "--- a/doc/update/mysql_to_postgresql.md\n+++ b/doc/update/mysql_to_postgresql.md" to crop the diff. In order to address it, we're now using Gitlab::Diff::Parser, clean the diffs and builds Gitlab::Diff::Line objects we can iterate and filter on.
2018-06-05Remove N+1 query for author in issues APIStan Hu
This was being masked by the statement cache because only one author was used per issue in the test.. Also adds support for an Rspec matcher `exceed_all_query_limit`.
2018-06-04Update validatorKamil Trzciński
2018-06-04Bring back the EE changes to CE to authentication of buildsKamil Trzciński
2018-06-04Backport EE SlashCommand RefactorMark Chao
2018-06-04Merge branch 'rails5-fix-46281' into 'master'Yorick Peterse
Rails5 fix arel from Closes #46281 See merge request gitlab-org/gitlab-ce!19340
2018-06-04Add ability to search wiki titlesFrancisco Javier López
2018-06-04Support presigned multipart uploadsKamil Trzciński
2018-06-04Merge branch 'sh-fix-source-project-nplus-one' into 'master'Sean McGivern
Fix N+1 with source_projects in merge requests API See merge request gitlab-org/gitlab-ce!19346
2018-06-03Fix N+1 with source projects in merge requests APIStan Hu
Now that we are checking `MergeRequest#for_fork?`, we also need the source project preloaded for a merge request.
2018-06-02Rails5 Fix arel fromJasper Maes
2018-06-02Reveert build_relations and simply add a line for creating iidShinya Maeda
2018-06-02Merge branch 'master' into per-project-pipeline-iidShinya Maeda
2018-06-01Use RequestStore to memoize Flipper features so that memoized values are ↵Rémy Coutable
cleared between requests Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-06-01Make http_io honor HTTP(S)_PROXY environment.NLR
2018-06-01Merge branch '46010-add-more-validations-for-runners-and-runner-type' into ↵Kamil Trzciński
'master' Improve validations for Ci::Runner#runner_type See merge request gitlab-org/gitlab-ce!18901
2018-06-01Add "deny disk access" Gitaly feature (tripswitch)Jacob Vosmaer (GitLab)
2018-06-01Merge branch '46481-preserve-warnings-even-if-passed' into 'master'Douwe Maan
Resolve "A lot of constants redefinition warnings" Closes #46481 See merge request gitlab-org/gitlab-ce!19286
2018-06-01Add validation to webhook and service URLs to ensure they are not blocked ↵Francisco Javier López
because of SSRF
2018-06-01Introduce Gitlab::Auth.omniauth_setup_providersLin Jen-Shin
Which could extend from EE
2018-06-01Eliminate constants warnings by:Lin Jen-Shin
* Replace `require` or `require_relative` with `require_dependency` * Remove unneeded `autoload`
2018-06-01Merge branch 'master' into per-project-pipeline-iidShinya Maeda
2018-05-31Preserve warnings even if it passedLin Jen-Shin
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-31Improve Runners API validationsKamil Trzciński
2018-05-31Improve runner registration APIKamil Trzciński
2018-05-31Improve `Ci::Runner#assign_to` to return a flag whether it succeeded or notKamil Trzciński
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