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-12-04CE port Refactor Gitlab::Checks::ChangeAccess classFrancisco Javier López
2018-12-04Revert "Merge branch 'auto-devops-support-for-group-security-dashboard' into ↵Fabio Busatto
'master'" This reverts merge request !23165
2018-12-03Lower the tablesample thresholds/targets.Andreas Brandl
The numbers in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22650#note_117645395 are quite promising with that target.
2018-12-03Move strategies in their own filesAndreas Brandl
This improves readability quite a bit.
2018-12-03Fix comment.Andreas Brandl
2018-12-03Refactor estimate queryAndreas Brandl
2018-12-03Fix rubocop offenses.Andreas Brandl
2018-12-03Add feature flag for tablesample counting.Andreas Brandl
2018-12-03Implement TablesampleCountStrategy.Andreas Brandl
A tablesample count executes in two phases: * Estimate table sizes based on reltuples. * Based on the estimate: * If the table is considered 'small', execute an exact relation count. * Otherwise, count on a sample of the table using TABLESAMPLE. The size of the sample is chosen in a way that we always roughly scan the same amount of rows (see TABLESAMPLE_ROW_TARGET).
2018-12-03More specs for fallback testing.Andreas Brandl
2018-12-03Refactor specs to separate concerns.Andreas Brandl
2018-12-03Flexible approximate counts with fallback strategies.Andreas Brandl
2018-12-03Simplify to use models instead of tables.Andreas Brandl
2018-12-03Add ExactCountStrategy.Andreas Brandl
2018-12-03Extract ReltuplesCountStrategy.Andreas Brandl
2018-12-03Merge branch 'improve_auto_devops_migration_debug' into 'master'Dmitriy Zaporozhets
Add echo so that we know which branch was taken See merge request gitlab-org/gitlab-ce!23499
2018-12-02Add echo so that we know which branch was takenThong Kuah
This should help debug issues like https://gitlab.com/gitlab-org/gitlab-ce/issues/54760
2018-11-30Merge branch 'if-52811-fix_namespaces_api_routing' into 'master'Nick Thomas
Fix API::Namespaces routing to accept namepaces with dots See merge request gitlab-org/gitlab-ce!22912
2018-11-30Merge branch 'generalize-ci-config' into 'master'Grzegorz Bizon
ci/config: generalize Config validation into Gitlab::Config:: module See merge request gitlab-org/gitlab-ce!23443
2018-11-30Fix typo in method name "silence_stderr"Brett Walker
2018-11-29ci/config: generalize Config validation into Gitlab::Config:: moduleKamil Trzciński
This decouples Ci::Config to provide a common interface for handling user configuration files.
2018-11-29Merge branch '51083-fix-move-api' into 'master'Rémy Coutable
Commits API: Preserve file content in move operations if unspecified Closes #52974 et #51083 See merge request gitlab-org/gitlab-ce!23387
2018-11-29Merge branch 'if-40385-prohibit_impersonation' into 'master'Rémy Coutable
Add config to prohibit impersonation See merge request gitlab-org/gitlab-ce!23338
2018-11-29Add config to disable impersonationImre Farkas
Adds gitlab.impersonation_enabled config option defaulting to true to keep the current default behaviour. Only the act of impersonation is modified, impersonation token management is not affected.
2018-11-29Merge branch '33705-merge-request-rebase-api' into 'master'Sean McGivern
Add a rebase API endpoint for merge requests Closes #33705 See merge request gitlab-org/gitlab-ce!23296
2018-11-29Merge branch 'security-11-5-fix-webhook-ssrf-ipv6' into 'security-11-5'Steve Azzopardi
[11.5] Fix SSRF in project integrations See merge request gitlab/gitlabhq!2611
2018-11-29Merge branch 'security-fj-crlf-injection' into 'master'Cindy Pallares
[master] Fix CRLF issue in UrlValidator See merge request gitlab/gitlabhq!2627
2018-11-29Merge branch 'security-fix-pat-web-access' into 'master'Cindy Pallares
[master] Resolve "Personal access token with only `read_user` scope can be used to authenticate any web request" See merge request gitlab/gitlabhq!2583
2018-11-29Merge branch 'security-xss-in-markdown-following-unrecognized-html-element' ↵Cindy Pallares
into 'master' [master] XSS in markdown following unrecognized HTML element Closes #2732 See merge request gitlab/gitlabhq!2599
2018-11-29Merge branch 'security-stored-xss-for-environments' into 'master'Cindy Pallares
[master] Stored XSS for Environments Closes #2727 See merge request gitlab/gitlabhq!2594
2018-11-28Merge branch 'zj-object-pool-path' into 'master'Nick Thomas
Rename Repository table to PoolRepository See merge request gitlab-org/gitlab-ce!23236
2018-11-28Allow the status of a rebase to be determinedNick Thomas
2018-11-28Fix API::Namespaces to accept namepaces with dotsImre Farkas
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
2018-11-28Commits API: Preserve file content in move operations if unspecifiedNick Thomas
2018-11-28Merge branch '50341-cleanup-useless-project-import-attributes' into 'master'Douwe Maan
Removes all the irrelevant code and columns that were migrated from the Project… See merge request gitlab-org/gitlab-ce!21497
2018-11-28Merge branch 'rs-to_h-deprecation' into 'master'Douwe Maan
Remove `options` assignment from ExtractsPath See merge request gitlab-org/gitlab-ce!23389
2018-11-28Ensure all Routables have a parentToon Claes
Or otherwise do not try to write repo config.
2018-11-28Disable the `type` STI column for the migrationToon Claes
There is no need to make a difference between a Group or User namespace, so also no need to define the classes of those.
2018-11-28Always run CleanUp before writing the git configToon Claes
2018-11-28Run repository cleanup on failureToon Claes
2018-11-28Retry the failing projectsToon Claes
2018-11-28Move code to a BackgroundMigrationToon Claes
And run in intervals.
2018-11-27Merge branch 'lock-trace-writes' into 'master'Stan Hu
Lock writes to trace stream Closes #51502 See merge request gitlab-org/gitlab-ce!23332
2018-11-27Merge branch '53763-fix-encrypt-columns-data-loss' into 'master'Stan Hu
Correctly handle data-loss scenarios when encrypting columns Closes #53763 See merge request gitlab-org/gitlab-ce!23306
2018-11-27Correctly handle data-loss scenarios when encrypting columnsNick Thomas
If the EncryptColumns background migration runs in a sidekiq with a stale view of the database schema, or when the purported destination columns don't actually exist, data loss can result. Attempt to work around these issues by reloading schema information before running the migration, and raising errors if the model reports that any of its source or destination columns are missing.
2018-11-27Remove `options` assignment from ExtractsPathRobert Speicher
This assignment is only used by the Projects::NetworkController, so we're needlessly assigning this very generically-named instance variable on every controller which includes `ExtractsPath`, which is quite a few. Further, the way we were passing this hash to `HashWithIndifferentAccess` caused the following deprecation warning after upgrading to Rails 5: DEPRECATION WARNING: #to_hash unexpectedly ignores parameter filtering, and will change to enforce it in Rails 5.1. Enable `raise_on_unfiltered_parameters` to respect parameter filtering, which is the default in new applications. For the existing deprecated behaviour, call #to_unsafe_h instead. (called from new at lib/extracts_path.rb:116)
2018-11-27Add a rebase API endpoint for merge requestsNick Thomas
2018-11-27Merge branch 'issuable-suggestions' into 'master'Filipa Lacerda
Suggest issues when typing title Closes #22071 See merge request gitlab-org/gitlab-ce!22866
2018-11-27Lock writes to trace streamKamil Trzciński
2018-11-27Merge branch 'json-logging-for-k8s' into 'master'Stan Hu
Json logging for k8s Integration See merge request gitlab-org/gitlab-ce!23328